Jarmo Hurri <[email protected]> writes:
> I think I found the issue: fontspec gets included in exported latex even
> though pdflatex is the engine. At least in 9.7.11, in org.el
>
> (defcustom org-latex-default-packages-alist
> '(;; amsmath before fontspec for lualatex and xetex
> ("" "amsmath" t ("lualatex" "xetex"))
> ;; fontspec ASAP for lualatex and xetex
> ("" "fontspec" t ("lualatex" "xetex"))
> ...
FYI, your example works on main and fontspec is not included in the tex
file. Although \begin{circuitikz}[color=white] threw me out - white on white?
--
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>