aboutsummaryrefslogtreecommitdiff
path: root/doc/ox-init.el
diff options
context:
space:
mode:
authorLibravatar Martin Michalec <martin@michalec.dev>2026-11-08 04:19:33 +0000
committerLibravatar Martin Michalec <martin@michalec.dev>2026-11-08 04:22:48 +0000
commita4aafb5caea268dae350bdaa6a9c53b65b00910e (patch)
treeb9f0b26d9c835963e7bb65ddc31ec4b49976d7d7 /doc/ox-init.el
downloadlab-03-a4aafb5caea268dae350bdaa6a9c53b65b00910e.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..a7cfed5
--- /dev/null
+++ b/doc/ox-init.el
@@ -0,0 +1,30 @@
1;;; ox-init.el --- 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 (haskell . t)))
8
9(require 'ox-extra)
10(ox-extras-activate '(ignore-headlines))
11
12(setq org-latex-src-block-backend 'minted)
13
14(require 'oc-bibtex)
15(setq org-latex-bib-compiler "biber")
16
17(setq org-latex-remove-logfiles nil)
18
19(setq org-latex-caption-above '(table src-block special-block))
20
21(setq org-latex-pdf-process '("%latex -shell-escape -interaction nonstopmode -output-directory %o %f"
22 "%bib %b"
23 "%latex -shell-escape -interaction nonstopmode -output-directory %o %f"))
24(setq org-latex-classes '(("spbstu-report" "\\documentclass[12pt]{spbstu-report}"
25 ("\\section{%s}" . "\\section*{%s}")
26 ("\\subsection{%s}" . "\\subsection*{%s}")
27 ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
28 ("\\paragraph{%s}" . "\\paragraph*{%s}")
29 ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))))
30;;; ox-init.el ends here