[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fontsets (was: [possible patch] Basic fontspec code for LuaLaTeX and
From: |
Timothy |
Subject: |
Re: fontsets (was: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful...")) |
Date: |
Tue, 12 Jul 2022 01:45:57 +0800 |
User-agent: |
mu4e 1.8.5; emacs 28.1.50 |
Hi Juan,
> When you talk about fontset, I understand that you mean lists of
> families with their options that you have previously defined, is that
> right?
Yep, so in my config’s implementation I have an alist of fontset names and
individual fonts. For something part of org-mode itself, we’d probably want to
add a format level to this, something like:
┌────
│ ((fontset-name .
│ ((serif .
│ ((pdflatex . "\\usepackage{myserif}")
│ (lualatex . "etc.")
│ (html . "and so on")))
│ (sans ...) ... ))
│ (another-fontset ...) ...)
└────
Actually, now that I think of it maybe it would be better to seperate out the
fontsets and fots, e.g.
┌────
│ ;; Fonts
│ ((myfonta . ((pdflatex . "etc.") (lualatex ...) (html ...) ...))
│ (myfontb ...)
│ ...)
│ ;; Fontsets
│ ((myfontset .
│ ((sans . myfonta)
│ (serif . myfontb)
│ (mono . myfontc)
│ ...))
│ ...)
└────
> In any case, I think it would also be nice if the user could add only
> one family for roman, sans, mono or math, if he/she prefers it that way.
> Something like:
>
> #+options: rmfont:Minion Pro
Sure. There’s another bit of functionality in my config which I think is worth
noting, you can add a -sans/-serif/-mono suffix to the fontset name to override
the default body text font.
All the best,
Timothy
- Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX?, (continued)
- Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX?, Juan Manuel Macías, 2022/07/09
- Message not available
- Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX?, Juan Manuel Macías, 2022/07/09
- [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful..."), Juan Manuel Macías, 2022/07/10
- Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful..."), Juan Manuel Macías, 2022/07/10
- Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful..."), Tim Cross, 2022/07/10
- Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful..."), Juan Manuel Macías, 2022/07/11
- Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful..."), Ihor Radchenko, 2022/07/10
- Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful..."), Stefan Nobis, 2022/07/11
- Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful..."), Timothy, 2022/07/11
- Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful..."), Juan Manuel Macías, 2022/07/11
- Re: fontsets (was: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful...")),
Timothy <=
- Re: fontsets, Juan Manuel Macías, 2022/07/11
- Re: fontsets, Stefan Nobis, 2022/07/12
- Re: fontsets, Juan Manuel Macías, 2022/07/12
- Fallback fonts in LuaTeX via 'luaotfload.add_fallback' (was "Fontsets"), Juan Manuel Macías, 2022/07/12
- Re: Fallback fonts in LuaTeX via 'luaotfload.add_fallback' (was "Fontsets"), Max Nikulin, 2022/07/15
- Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful..."), Greg Minshall, 2022/07/10
- Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful..."), Stefan Nobis, 2022/07/11
- Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful..."), Juan Manuel Macías, 2022/07/11
- Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful..."), Juan Manuel Macías, 2022/07/11
- Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful..."), Max Nikulin, 2022/07/11