remove apa6 latex class, add letter class

This commit is contained in:
willemml 2023-03-05 15:46:27 -08:00
parent aec606e794
commit 503c17417c
Signed by: willemml
GPG key ID: C3DE5DF6198DACBD

View file

@ -680,14 +680,7 @@ in
(add-hook 'post-self-insert-hook #'krofna-hack 'append 'local))) (add-hook 'post-self-insert-hook #'krofna-hack 'append 'local)))
(add-to-list 'exec-path "${config.home.profileDirectory}/bin") (add-to-list 'exec-path "${config.home.profileDirectory}/bin")
(add-to-list 'org-latex-classes
'("apa6"
"\\documentclass{apa6}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
(add-to-list 'org-latex-classes (add-to-list 'org-latex-classes
'("mla" '("mla"
"\\documentclass{mla}" "\\documentclass{mla}"
@ -696,6 +689,12 @@ in
("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
(add-to-list 'org-latex-classes
'("letter"
"\\documentclass{letter}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
(plist-put org-format-latex-options :scale 3) (plist-put org-format-latex-options :scale 3)
@ -750,6 +749,7 @@ in
:publishing-function org-latex-publish-to-pdf) :publishing-function org-latex-publish-to-pdf)
("all" :components ("html" "pdf")) ("all" :components ("html" "pdf"))
)) ))
''; '';
hook = [ hook = [
"(org-babel-after-execute . org-redisplay-inline-images)" "(org-babel-after-execute . org-redisplay-inline-images)"