aboutsummaryrefslogtreecommitdiff
path: root/doc/ox-init.el
diff options
context:
space:
mode:
authorLibravatar Martin Michalec <martin@michalec.dev>2026-11-07 05:06:01 +0000
committerLibravatar Martin Michalec <martin@michalec.dev>2026-11-07 05:38:49 +0000
commit04f8b646c1c8a2435931bea9d1acffdde138f81e (patch)
tree892354a7b485c3ac53e51a7d3e3388254ac877b7 /doc/ox-init.el
downloadcoursework-04f8b646c1c8a2435931bea9d1acffdde138f81e.tar.gz
publishHEADmaster
Diffstat (limited to 'doc/ox-init.el')
-rw-r--r--doc/ox-init.el32
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/ox-init.el b/doc/ox-init.el
new file mode 100644
index 0000000..913d021
--- /dev/null
+++ b/doc/ox-init.el
@@ -0,0 +1,32 @@
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-caption-above '(table src-block special-block))
21
22(setq org-latex-pdf-process '("%latex -shell-escape -interaction nonstopmode -output-directory %o %f"
23 "%bib %b"
24 "%latex -shell-escape -interaction nonstopmode -output-directory %o %f"))
25(setq org-latex-classes '(("spbstu-report" "\\documentclass[12pt]{spbstu-report}"
26 ("\\section{%s}" . "\\usection{%s}")
27 ("\\subsection{%s}" . "\\subsection*{%s}")
28 ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
29 ("\\paragraph{%s}" . "\\paragraph*{%s}")
30 ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))))
31
32;;; ox-init.el ends here