From c715ae59d9847d8e90b6f2145cda450752bc941b Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Thu, 19 Nov 2020 11:28:41 +0100 Subject: [PATCH] [Emacs] Fix weird LaTeX output with tabs in source blocks --- org/config/emacs.org | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/org/config/emacs.org b/org/config/emacs.org index 4dd1a0e..db6ca48 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -1957,9 +1957,9 @@ By the way, reference links in LaTeX should be written in this format: When it comes to the export itself, the latex file needs to be processed several times through XeLaTeX. #+BEGIN_SRC emacs-lisp (setq org-latex-pdf-process - '("xelatex -shell-escape -interaction nonstopmode -output-directory %o %f" - "xelatex -shell-escape -interaction nonstopmode -output-directory %o %f" - "xelatex -shell-escape -interaction nonstopmode -output-directory %o %f")) + '("xelatex -8bit -shell-escape -interaction nonstopmode -output-directory %o %f" + "xelatex -8bit -shell-escape -interaction nonstopmode -output-directory %o %f" + "xelatex -8bit -shell-escape -interaction nonstopmode -output-directory %o %f")) #+END_SRC For Reveal.JS exports, I need to set where to find the framework by default: