---------- Forwarded message ---------
From: Pedro Andres Aranda Gutierrez <paag...@gmail.com>
Date: Fri, 13 Jun 2025 at 19:02
Subject: Re: babel (LaTeX) support in feature/all-tex-fonts branch
To: Jacob S. Gordon <jacob.as.gor...@gmail.com>


Hi again

answers inline...


On Fri, 13 Jun 2025 at 18:39, Jacob S. Gordon <jacob.as.gor...@gmail.com>
wrote:

> Hey Pedro,
>
> On 2025-06-13 01:27, Pedro Andres Aranda Gutierrez wrote:
> > The idea behind the current structure is that there might be other
> > things beyond the mode that go in the feature list, therefore I
> > didn't want it to be that specific
>
> Makes sense! I just mentioned it since the trailing ':' seems to be
> necessary in the fallback font names, and it might trip someone up.
>

Good point...


> > Could you please elaborate a bit more on defaultfontfeatures?
>
> Instead of specifying a feature for each font, e.g. old‐style numbers
> everywhere:
>
> #+begin_src latex
> \setmainfont{TeX Gyre Pagella}[Numbers=OldStyle]
> \setsansfont{TeX Gyre Heros}[Numbers=OldStyle]
> \setmonofont{TeX Gyre Cursor}[Numbers=OldStyle]
> #+end_src
>
> you can set it once in `defaultfontfeatures':
>
> #+begin_src latex
> \defaultfontfeatures{Numbers=OldStyle}
> \setmainfont{TeX Gyre Pagella}
> \setsansfont{TeX Gyre Heros}
> \setmonofont{TeX Gyre Cursor}
> #+end_src
>

Ahh... I see. Will look for more documentation on this, because it
positively makes sense (!)

>
> Other features like the font path and extension can be factored out
> this way too.
>
> One more thing I forgot to mention, consider the document:
>
> #+begin_src org
> ,#+OPTIONS: toc:nil
> ,#+LATEX_COMPILER: lualatex
> \[\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}\]
> #+end_src
>
> On main, `amsmath' is loaded and we get one style of calligraphic
> symbols. On this branch, `unicode-math' is loaded by default which
> means we get another style from Latin Modern Math. Personally, I think
> the trade‐off is worth it, but since it could change the look of
> existing documents it might be worth an option or a line of
> documentation.
>

That's part of the discussion... when the feature branch makes it to main,
we will have a 'legacy mode' for people who absolutely need their documents
without change.

Thanks,
>
> --
> Jacob S. Gordon
> jacob.as.gor...@gmail.com
>
> ======================
>
> Please avoid sending me HTML emails and MS Office documents.
> https://useplaintext.email/#etiquette
> https://www.gnu.org/philosophy/no-word-attachments.html
>

Thank _you_ for the feedback, /PA

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

Sagen's Paradeiser, write BE!
Year 1 of the New Koprocracy



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

Sagen's Paradeiser, write BE!
Year 1 of the New Koprocracy

Reply via email to