Hi Max, Answers inline.
On Fri, 18 Apr 2025 at 19:05, Max Nikulin <maniku...@gmail.com> wrote: > On 18/04/2025 15:13, Pedro Andres Aranda Gutierrez wrote: > > > > I think that trying to address all mappings out-of-the-box is not very > > realistic and would add too much noise. > > Just necessary mappings (for specific document) instead of all ones > should not be perceived as noise. > > > luaotfload.add_fallback("FallbackFonts", { > > "Noto Color Emoji:mode=harf", > > "Noto Sans CJK JP:" > > I do not think CJK fonts or even emoji should be mandatory for those who > do not use them. > I agree. Just for sake of completeness: the TeX proof of concept is to show a possible way of going forward with one of many possible sets of fonts and fallback fonts. It is an addition to the discussion. Let me recollect: 1.- Am I looking at adding a generating a header to cope with fonts and font mappings and avoid #+LATEX_HEADER: blocks? YES 2.- Will they be ALWAYS added to a document: NO, they will be added at user's request controlled by a custom variable 3.- Will Noto and Free be the chosen fonts: NO, once again, there will be custom variables to control which fonts do what, but we need something to start from 4.- Will fallback fonts be ALWAYS provided: Again NO, if the customisation for fallback fonts is empty, they will not appear in the list. > The following thread contains elisp code to get list of used scripts. > Perhaps it should be optimized. > > Juan Manuel MacĂas to emacs-orgmode. Fallback fonts in LaTeX export for > non latin scripts. Wed, 30 Aug 2023 08:25:53 +0000. > https://list.orgmode.org/878r9t7x7y....@posteo.net Will look at it with care and enormous interest. P.S. > Neither noto nor freefont are mandatory. They can be missed. > > aptitude why fonts-noto-cjk > i plasma-desktop Recommends fonts-noto > p fonts-noto Recommends fonts-noto-cjk > aptitude why fonts-noto-color-emoji > i fonts-recommended Depends fonts-noto-color-emoji > aptitude why fonts-freefont-otf > i fonts-recommended Depends fonts-freefont-otf > fonts-recommended is just a convenience package. It looks like I can > easily remove these fonts. > You are 100% correct. This is why everything should be highly flexible and adaptable to the user's needs and setup. PS: I'm using Free/Mono, because they happen to be available cross-OS here at home (Linux, macOS, FreeBSD and occasionally Windows). -- 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