org-latex-pdf-process in literate config file.

Commit
b86df4b1fa657c359a0ceca160c801c0c486cb33
Author
Blendoit <blendoit@gmail.com>
Author date
Committer
Blendoit <blendoit@gmail.com>
Committer date
Changed files
blendoit/blendoit-init.org
index 84229645..aadb00cc 100644..100644
@@ -7,18 +7,16 @@
7 7 #+INCLUDE: ~/.emacs.d/templates/documents/general.org_title
8 8
9 9 #+LATEX: \begin{abstract}
10 Removed: GNU Emacs is most often used as a text editor.
11 Removed: The utmost level of customization is afforded by enabling the user
12 Removed: to rewrite \textit{any} part of the source code and observe the editor's
13 Removed: modified behaviour in real time. Since its inception in 1984, GNU Emacs
14 Removed: has grown to be much more than a full-featured, high-productivity
15 Removed: text editor---new \textit{modes} have been written to interact with
16 Removed: hundreds of file formats, including \texttt{.txt}, \texttt{.pdf},
17 Removed: \texttt{.jpg}, \texttt{.csv}, and \texttt{.zip} just to name a few.
18 Removed: This configuration file itself was written in \textit{Org mode},
19 Removed: a collection of functions enabling the harmonious mixing of code
20 Removed: and comments in view of publication:
21 Removed: this is the endgame of \textit{literate programming}.
10 Added: GNU Emacs is most often used as a text editor. The utmost level of
11 Added: customization is afforded by enabling the user to rewrite \textit{any} part of
12 Added: the source code and observe the editor's modified behaviour in real time. Since
13 Added: its inception in 1984, GNU Emacs has grown to be much more than a
14 Added: full-featured, high-productivity text editor---new \textit{modes} have been
15 Added: written to interact with hundreds of file formats, including \texttt{.txt},
16 Added: \texttt{.pdf}, \texttt{.jpg}, \texttt{.csv}, and \texttt{.zip} just to name a
17 Added: few. This configuration file itself was written in \textit{Org mode}, a
18 Added: collection of functions enabling the harmonious mixing of code and comments in
19 Added: view of publication: this is the endgame of \textit{literate programming}.
22 20 #+LATEX: \end{abstract}
23 21
24 22 * Introduction
@@ -389,6 +387,27 @@
389 387 #+END_SRC
390 388
391 389 *** LaTeX export
390 Added:
391 Added: We'll be compiling our documents with LuaTeX. This will afford us some
392 Added: future-proofing, since it was designated as the successor to pdfTeX by the
393 Added: latter's creators.
394 Added:
395 Added: First, we define the command executed when an Org file is exported to
396 Added: LaTeX. We'll use =latexmk=, the Perl script which automagically runs binaries
397 Added: related to LaTeX in the correct order and the right amount of times.
398 Added:
399 Added: Options and why we need them:
400 Added: - ~-shell-excape~ :: required by minted to color source blocks
401 Added: - ~-pdflatex=lualatex~ :: we use lualatex to generate our PDF
402 Added: - ~-interaction=nonstopmode~ :: go as far as possible without prompting user
403 Added: for input
404 Added:
405 Added: #+BEGIN_SRC emacs-lisp
406 Added: (setq org-latex-pdf-process
407 Added: '("latexmk -pdf -f \
408 Added: -pdflatex=lualatex -shell-escape \
409 Added: -interaction=nonstopmode -outdir=%o %f"))
410 Added: #+END_SRC
392 411
393 412 We customize the format for org time stamps to make them pop in our exported
394 413 LaTeX documents.
blendoit/blendoit-init.pdf
index 1f28bb50..cbea2609 100644..100644

Binary files differ

init-custom.el
index 3574a4ef..de83b8b1 100644..100644
@@ -81,8 +81,6 @@
81 81 ("\\subsubsection*{%s}" . "\\subsubsection*{%s}"))))
82 82 '(org-latex-logfiles-extensions
83 83 '("aux" "bcf" "blg" "fdb_latexmk" "fls" "figlist" "idx" "log" "nav" "out" "ptc" "run.xml" "snm" "toc" "vrb" "xdv"))
84 Removed: '(org-latex-pdf-process
85 Removed: '("latexmk -pdf -f -interaction=nonstopmode -shell-escape -pdflatex=\"lualatex\" -outdir=%o %f"))
86 84 '(org-latex-toc-command "\\tableofcontents\\clearpage")
87 85 '(org-log-done 'time)
88 86 '(org-startup-align-all-tables t)