Skip to content

Commit

Permalink
Document font fallback variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Jan 20, 2024
1 parent 0110f59 commit 40f84c8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions MANUAL.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 40f84c8

Please sign in to comment.