Last active
May 1, 2018 12:49
-
-
Save cryptstopher/3466fd2dbf4e35b934f6fb7e466335a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; org mode latex standard manuscript formats | |
;; For your org file heading | |
;; #+LaTeX_CLASS: novel (or, short, whichever) | |
;; #+LATEX_HEADER: \runningtitle{Shortened Title} | |
;; #+LATEX_HEADER: \wordcount{?} | |
(require 'ox-latex) | |
(unless (boundp 'org-latex-classes) | |
(setq org-latex-classes nil)) | |
(add-to-list 'org-latex-classes | |
'("novel" | |
"\\documentclass[novel,geometry,letterpaper,courier]{sffms} | |
\\surname{Bloch} | |
\\address{P.O. Box 666\u005C\u005C Beverly Hills, CA.\u005C\u005C mailbox@example.com} | |
\\disposable | |
[NO-DEFAULT-PACKAGES] | |
[NO-PACKAGES]" | |
("\\chapter*{%s}" ) | |
("\\chapter{%s}" ))) | |
(add-to-list 'org-latex-classes | |
'("short" | |
"\\documentclass[geometry,letterpaper,courier]{sffms} | |
\\surname{Bloch} | |
\\address{P.O. Box 666\u005C\u005C Beverly Hills, CA.\u005C\u005C mailbox@example.com} | |
\\disposable | |
[NO-DEFAULT-PACKAGES] | |
[NO-PACKAGES]" | |
("\\newscene{} %% %s" ) | |
("\\newscene{} %% %s" ))) | |
(setq org-latex-to-pdf-process '("pdflatex %f")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment