Re: [RFC] LaTeX - automatically configure encoding when exporting non-Latin languages

2024-02-02 Thread Pedro Andres Aranda Gutierrez
Hi, I’m just trying to cover the “legacy” latex. I’ve finally migrated to lualatex for my stuff, and it has really been worthwhile. But who knows what a conference might want me to use ;-P Differentiating between pdflatex and lualatex was what my last patch was for. I also sent a PoC for the

Re: [RFC] LaTeX - automatically configure encoding when exporting non-Latin languages

2024-02-02 Thread Juan Manuel Macías
Ihor Radchenko writes: > #+LANGUAGE: fa > #+LaTeX_Header: \usepackage[AUTO]{polyglossia} > > #+latex_header: \usepackage[AUTO]{fontspec} I think Pedro is referring to fontenc not fontspec. fontenc cannot be used in either lualatex or XelaTeX. fontspec is for advanced selection of truetype and

[RFC] LaTeX - automatically configure encoding when exporting non-Latin languages

2024-02-02 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > some days ago I sent a proof-of-concept for customising the coding for the > fontenc package. Before continuing with this, I'd like to know what other > people think and/or need. > > The simplest approach was in the PoC: a custom variable you can set in