Re: Fallback fonts in LuaTeX via 'luaotfload.add_fallback' (was "Fontsets")

2022-07-15 Thread Max Nikulin
On 12/07/2022 22:26, Juan Manuel Macías wrote: Today I discovered that luaotfload included in v. 3.12 a new experimental function, luaotfload.add_fallback, to be able to add a list of fallback fonts to a LuaTeX document, at a low level. ... \documentclass{article} \usepackage{fontspec}

Fallback fonts in LuaTeX via 'luaotfload.add_fallback' (was "Fontsets")

2022-07-12 Thread Juan Manuel Macías
Today I discovered that luaotfload included in v. 3.12 a new experimental function, luaotfload.add_fallback, to be able to add a list of fallback fonts to a LuaTeX document, at a low level. (More info on page 18 of the luaotfload manual, with some examples). I've been experimenting a bit with thi

Re: fontsets

2022-07-12 Thread Juan Manuel Macías
Stefan Nobis writes: > Hmmm... maybe add optional extra config/output option to the fontset, > like so: > > ┌ > │ ;; Fonts > │ ((myfonta . ((pdflatex . "etc.") (lualatex ...) (html ...) ...)) > │ (myfontb ...) > │ ...) > │ ;; Fontsets > │ ((myfontset

Re: fontsets

2022-07-12 Thread Stefan Nobis
..)) │ (myfontb ...) │ ...) │ ;; Fontsets │ ((myfontset . │ ((sans . myfonta) │(serif . myfontb) │(mono . myfontc) │(extra . ((lualatex . "\\defaultfontfeatures{Scale=MatchLowercase}") │ (html "some CSS...")...)) │...)) │ ...) └ This way it may be po

Re: fontsets

2022-07-11 Thread Juan Manuel Macías
me . > │ ((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 sepe

Re: fontsets (was: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful..."))

2022-07-11 Thread Timothy
tually, 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) │