Pedro Andres Aranda Gutierrez <[email protected]> writes: >> The default LaTeX fonts are >> Computer Modern Roman/Sans Serif/Typewriter (pdflatex) >> Latin Modern Roman/Sans/Mono (lualatex and xelatex) >> >> If not specified, they might be used as defaults. >> Or do I miss something? > > Maybe you are missing a corner case. You are right that for many popular > LaTeX classes, the lm.. fonts are used for lua/xelatex. > They are the default fonts, but only, as long as the LaTeX class doesn't > specify others internally. > So we don't have a 100% guarantee that these are the fonts that will be > needed if defining a fallback is necessart. > And I do hesitate to mention them, because that might lead to greater > confusion.
Hmm. I feel that most users will default to these, and default :font will make things easier - without default, users will have to lookup default fonts anyway. But let's not argue about this. I will compile the things we see differently later and ask for user input in a separate thread. > What are the next steps? The next thing I find important to have is some way to define fonts inside Org document itself, via keywords. We can already do with file-local variables, but having a keyword setting will be idiomatic for org export. The rough idea is something like #+LATEX_FONT_MAIN: Font name #+LATEX_FONT_SANS: Font name2 #+LATEX_FONT_MONO: Font name3 #+LATEX_FONT_MATH: Font name4:<font props> WDYT? Apart from this, I think that we need to provide special handling for #+begin_language <lang> ... #+end_language special blocks to avoid the awkwardness of using different way to specify language for babel vs polyglossia. No other items in my priority list. -- 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>
