aboutsummaryrefslogtreecommitdiff
path: root/doc/ox-init.el
diff options
context:
space:
mode:
authorLibravatar Martin Michalec <martin@michalec.dev>2026-11-09 17:48:23 +0000
committerLibravatar Martin Michalec <martin@michalec.dev>2026-11-09 18:03:25 +0000
commitbd1b82e7eba0695ad7bb62ca0482e756dc374ba4 (patch)
tree8cc51952853cd21cd55b48974c94d57f955ea555 /doc/ox-init.el
downloadsummer-practice-master.tar.gz
publishHEADmaster
Diffstat (limited to 'doc/ox-init.el')
-rw-r--r--doc/ox-init.el31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/ox-init.el b/doc/ox-init.el
new file mode 100644
index 0000000..94aec5f
--- /dev/null
+++ b/doc/ox-init.el
@@ -0,0 +1,31 @@
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 (C . 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))
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
31;;; ox-init.el ends here