[Emacs] Use user-defined labels in orgmode’s LaTeX exports

This commit is contained in:
Lucien Cartier-Tilet 2023-09-17 17:49:37 +02:00
parent 6c25f19639
commit 639d4029e5
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -5260,11 +5260,12 @@ and copy its content over to my remote server.
:CUSTOM_ID: Packages-Configuration-Org-mode-File-export-LaTeXg2b5fl6184j0 :CUSTOM_ID: Packages-Configuration-Org-mode-File-export-LaTeXg2b5fl6184j0
:END: :END:
When it comes to exports, I want the LaTeX and PDF exports to be done 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 with XeTeX only. I also want LaTeX exports to use my labels rather
variable: than org-generated labels.
#+NAME: org-latex-compiler #+NAME: org-latex-compiler
#+BEGIN_SRC emacs-lisp :tangle no #+BEGIN_SRC emacs-lisp :tangle no
(setq org-latex-compiler "xelatex") (setq org-latex-compiler "xelatex"
org-latex-prefer-user-labels t)
#+END_SRC #+END_SRC
A new backend that was introduced in org-mode for LaTeX source block A new backend that was introduced in org-mode for LaTeX source block