From 639d4029e54f22cb7264892c562d5a418edd2462 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sun, 17 Sep 2023 17:49:37 +0200 Subject: [PATCH] =?UTF-8?q?[Emacs]=20Use=20user-defined=20labels=20in=20or?= =?UTF-8?q?gmode=E2=80=99s=20LaTeX=20exports?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- org/config/emacs.org | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/org/config/emacs.org b/org/config/emacs.org index 257d881..03f35a7 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -5260,11 +5260,12 @@ and copy its content over to my remote server. :CUSTOM_ID: Packages-Configuration-Org-mode-File-export-LaTeXg2b5fl6184j0 :END: When it comes to exports, I want the LaTeX and PDF exports to be done -with XeLaTeX only. This implies the modification of the following -variable: +with XeTeX only. I also want LaTeX exports to use my labels rather +than org-generated labels. #+NAME: org-latex-compiler #+BEGIN_SRC emacs-lisp :tangle no -(setq org-latex-compiler "xelatex") +(setq org-latex-compiler "xelatex" + org-latex-prefer-user-labels t) #+END_SRC A new backend that was introduced in org-mode for LaTeX source block