aboutsummaryrefslogtreecommitdiff
path: root/doc/ox-init.el
diff options
context:
space:
mode:
authorLibravatar Comrade Martin Miroslavovich Michalec <martin@michalec.dev>2023-11-25 16:24:10 +0000
committerLibravatar Martin Michalec <martin@michalec.dev>2026-11-07 02:12:00 +0000
commitbca75f071153ddcaa5ceee0722e2152bacfedc78 (patch)
tree7c42e4aa83103aa9813151e4251d2ffb4023ffbe /doc/ox-init.el
downloadlab-01-master.tar.gz
publishHEADmaster
Diffstat (limited to 'doc/ox-init.el')
-rw-r--r--doc/ox-init.el30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/ox-init.el b/doc/ox-init.el
new file mode 100644
index 0000000..708c00e
--- /dev/null
+++ b/doc/ox-init.el
@@ -0,0 +1,30 @@
1;;; ox-init --- Initialization script for async org exprort session
2;;; Commentary:
3;;; Code:
4(org-babel-do-load-languages
5 'org-babel-load-languages
6 '((latex . t)
7 (C . t)))
8
9(require 'ox-extra)
10(ox-extras-activate '(ignore-headlines))
11
12(require 'oc-bibtex)
13
14(setq org-latex-src-block-backend 'minted)
15
16(setq org-latex-bib-compiler "biber")
17
18(setq org-latex-remove-logfiles nil)
19
20(setq org-latex-pdf-process '("%latex -shell-escape -interaction nonstopmode -output-directory %o %f"
21 "%bib %b"
22 "%latex -shell-escape -interaction nonstopmode -output-directory %o %f"))
23(setq org-latex-classes '(("spbstu-report" "\\documentclass[12pt]{spbstu-report}"
24 ("\\section{%s}" . "\\usection{%s}")
25 ("\\subsection{%s}" . "\\subsection*{%s}")
26 ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
27 ("\\paragraph{%s}" . "\\paragraph*{%s}")
28 ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))))
29
30;;; ox-init.el ends here