[Org] Minor rework of ox integration

This commit is contained in:
Daniel - 2018-05-05 20:41:49 +02:00
parent 6facb40d15
commit 12136f699a
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 11 additions and 10 deletions

View File

@ -874,17 +874,18 @@ Resulting org mode file will have CATEGORY and FILETAGS set."
(setq org-export-use-babel nil)
(eval-after-load 'ox
'(progn
(add-to-list 'org-latex-classes
'("scrartcl" "\\documentclass[11pt]{scrartcl}\n\\usepackage{babel}\n"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
(with-eval-after-load "ox-latex"
(add-to-list 'org-latex-classes
'("scrartcl" "\\documentclass{scrartcl}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))))
(require 'ox-md)))
(use-package ox
:defer t
:config (require 'ox-md))
;;; Hydra