Open nerosun64 opened 3 years ago
Evaluating (setq org-latex-compiler "xelatex")
(via SPC ;
) in an org buffer and then running the export (via SPC m e l o
) works for me.
Update: problem appears only if Body only
switch is on
(space m e C-b
in default configuration).
After setting Body only
to off
export works as expected - xelatex is used.
What did you expect to happen?
I need to change latex compiler from
pdflatex
toxelatex
. I've expected that changingorg-latex-compiler
and/ororg-latex-compilers
variables and/or setting#+LATEX_COMPILER
org header will change my latex compiler.What actually happened?
Latex compiler didn't change. pdflatex is used instead of xelatex.
Describe your attempts to resolve the issue
I've searched all standard ways of changing latex compiler for org's export. I've set variables in my config.el:
Also I've set header
#+LATEX_COMPILER: xelatex
in my org file. After that, I've synced my configuration with doom sync and confirmed that those variables is set.Googling "doom emacs change org compiler" and "doom emacs change latex compiler" gives nothing useful up to 3d page. Setting those variables in vanilla emacs works as expected.
Steps to reproduce
In my
init.el
those flags is set for latex and org:System Information
https://pastebin.com/sptznH9H