emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Small patch: add \usepackage{iftex} when exporting to LaTeX


From: Ihor Radchenko
Subject: Re: Small patch: add \usepackage{iftex} when exporting to LaTeX
Date: Sat, 23 Mar 2024 14:33:16 +0000

Pedro Andres Aranda Gutierrez <paaguti@gmail.com> 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>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]