change org-latex-pdf-process to use lualatex not %latex

This commit is contained in:
2021-05-16 19:11:08 +02:00
parent c601bebd7e
commit 3b5f9b7753

View File

@@ -874,11 +874,17 @@ contextual information."
:config
(setq org-latex-compiler "lualatex") ;; %latex in org-latex-pdf-process
(setq org-latex-bib-compiler "biber") ;; %bib in org-latex-pdf-process
;; pdflatex
;; (setq org-latex-pdf-process
;; '("%latex -shell-escape -interaction nonstopmode -output-directory %o %f"
;; "%bib %b"
;; "%latex -shell-escape -interaction nonstopmode -output-directory %o %f"
;; "%latex -shell-escape -interaction nonstopmode -output-directory %o %f"))
(setq org-latex-pdf-process
'("%latex -shell-escape -interaction nonstopmode -output-directory %o %f"
"%bib %b"
"%latex -shell-escape -interaction nonstopmode -output-directory %o %f"
"%latex -shell-escape -interaction nonstopmode -output-directory %o %f"))
'("lualatex --interaction=nonstopmode --output-directory=%o %f"
"biber %b"
"lualatex --interaction=nonstopmode --output-directory=%o %f"
"laulatex --interaction=nonstopmode --output-directory=%o %f"))
(setq org-latex-listings t)
(setq org-latex-listings-options
'(("numbers" "left")