Good morning.

I have just pushed a series of commits that (hopefully) show the rationale
behind :tag, which I have renamed to :script, in order to avoid confusion.
Unfortunately, the information in org-latex-language-alist doesn't seem
appropriate to cover all cases auto-magically:

All languages using Latin script can't use :script, specifically if you
want to use different fonts for different languages. In this case you can
to revert to :polyglossia.
I have opted for :polyglossia and introduced the :script tag in
org-latex-polyglossia-font-config to cater for specificalities (see
org-manual.org for a longer explanation with external references).

Let me repeat that this process doesn't necessarily need to be repeated for
each and every document you have.
In my experience, it is similar to what happens when LaTeX defines a
document or beamer template.
If you need (and are allowed to deviate from the template's font
specifications), you will end up with a set of fonts that cover your needs
in most cases and that you put in your ~/Documents folder as a
.dir-locals.el and then you are done with font configuration.

/PA

On Sun, 23 Nov 2025 at 12:10, Ihor Radchenko <[email protected]> wrote:

> Pedro Andres Aranda Gutierrez <[email protected]> writes:
>
> > I have just pushed a modified version of the docstring.
> > Use: read through
> >
> https://www.overleaf.com/latex/examples/how-to-write-multilingual-text-with-different-scripts-in-latex/wfdxqhcyyjxz
>
> I am still confused. Isn't this information already available in
> `org-latex-language-alist'?
> For example, there is
> ("hi" :babel "hindi" :polyglossia "hindi" :lang-name "Hindi" :script
> "devanagari" :script-tag "deva")
> So, there seems to be no real need to specify :tag. It can be
> auto-detected by Org mode itself.
>
> --
> 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>
>


-- 
Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

"Sagen's Paradeiser" (ORF: Als Radiohören gefährlich war) => write BE!
Year 1 of the New Koprocracy

Reply via email to