[Emacs] Switch from XeTeX to Tectonic
This commit is contained in:
parent
2ac463bf17
commit
d87719a476
@ -5026,7 +5026,6 @@ packages:
|
|||||||
(delete package org-latex-default-packages-alist))
|
(delete package org-latex-default-packages-alist))
|
||||||
|
|
||||||
(dolist (package '(("capitalize" "cleveref")
|
(dolist (package '(("capitalize" "cleveref")
|
||||||
("" "svg")
|
|
||||||
("" "booktabs")
|
("" "booktabs")
|
||||||
("" "tabularx")))
|
("" "tabularx")))
|
||||||
(add-to-list 'org-latex-default-packages-alist package t))
|
(add-to-list 'org-latex-default-packages-alist package t))
|
||||||
@ -5041,16 +5040,12 @@ since we are using ~cleveref~:
|
|||||||
(setq org-export-latex-hyperref-format "\\ref{%s}")
|
(setq org-export-latex-hyperref-format "\\ref{%s}")
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
When it comes to the export itself, the latex file needs to be
|
[[https://tectonic-typesetting.github.io/en-US/][Tectonic]] is awesome for processing LaTeX documents! Look how simple it
|
||||||
processed several times through XeLaTeX in order to get some
|
is!
|
||||||
references right. Don’t forget to also run bibtex!
|
|
||||||
#+NAME: org-latex-pdf-process
|
#+NAME: org-latex-pdf-process
|
||||||
#+BEGIN_SRC emacs-lisp :tangle no
|
#+BEGIN_SRC emacs-lisp :tangle no
|
||||||
(setq org-latex-pdf-process
|
(setq org-latex-pdf-process
|
||||||
'("xelatex -8bit -shell-escape -interaction nonstopmode -output-directory %o %f"
|
'("tectonic -Z shell-escape --synctex --outdir=%o %f"))
|
||||||
"bibtex %b"
|
|
||||||
"xelatex -8bit -shell-escape -interaction nonstopmode -output-directory %o %f"
|
|
||||||
"xelatex -8bit -shell-escape -interaction nonstopmode -output-directory %o %f"))
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
Finally, org-mode is supposed to automatically clean logfiles after it
|
Finally, org-mode is supposed to automatically clean logfiles after it
|
||||||
|
Loading…
Reference in New Issue
Block a user