From 40f84c841c7aa4691fb223e0e6eb50a76a75a6b1 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 19 Jan 2024 17:49:04 -0800 Subject: [PATCH] Document font fallback variables. --- MANUAL.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/MANUAL.txt b/MANUAL.txt index 2c15b1c77fbf..ba3df7954f1f 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -2938,6 +2938,17 @@ Pandoc uses these variables when [creating a PDF] with a LaTeX engine. - Numbers=Proportional ... +`mainfontfallback`, `sansfontfallback`, `monofontfallback` +: fonts to try if a glyph isn't found in `mainfont`, `sansfont`, or `monofont` + respectively. These can be lists. The font name must be followed by a colon + and optionally a set of options, for example: + + mainfontfallback: + - "FreeSans:" + - "NotoColorEmoji:mode=harf" + + Font fallbacks currently only work with `--pdf-engine=lualatex`. + `babelfonts` : a map of Babel language names (e.g. `chinese`) to the font to be used with the language: