Pedro Andres Aranda Gutierrez <[email protected]> writes:
> attached is a small patch to include package iftex to latex exports. Since
> we support several
> compilers, it is useful to have this package to detect the compiler in
> included latex files.
May you please explain why it is necessary to include iftex in _all_
latex exports? AFAIK, none of the commands provided by this package are
used by ox-latex.
> +*** Added package ~iftex~ when exporting LaTeX documents
> +
> +When exporting LaTeX documents, add =\usepackage{iftex}= at the
> +beginning. Since we support several compilers, the user might
> +need to detect which one if active in supporting personal TeX
> +customisation code.
We generally do not add packages unless they are strictly necessary for
the export.
Also, iftex is not compatible with scrbase, so the proposed change can
be harmful.
--
Ihor Radchenko // yantar92,
Org mode contributor,
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>