Max Nikulin <maniku...@gmail.com> writes: > On 09/05/2023 18:34, Ihor Radchenko wrote: >> I can easily see Lualatex-specific preamble simply failing to work on >> Latex. Or things being rendered wrongly. > > iftex.sty has \ifpdftex and \iftutex (XeTeX, LuaTeX, LuaHBTeX) commands, > so it is possible to create universal preamble with some additional efforts.
Sure. I mostly had user-specified #+LATEX_HEADER options in mind. They are unlikely to be universal. -- 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>