aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMax Heller <[email protected]>2024-01-20 11:32:48 -0500
committerJohn MacFarlane <[email protected]>2024-01-20 09:47:12 -0800
commit74f4ae25d21c40a8f4dc921b810d04244c0595b4 (patch)
treee9d0c08281b38eb34e2cb3231b8d38c54b827f07 /data
parent40f84c841c7aa4691fb223e0e6eb50a76a75a6b1 (diff)
LaTeX writer: set font fallback for babel main font
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.latex2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex
index 72b22896c..605a82d9e 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -413,7 +413,7 @@ $if(babel-lang)$
$if(mainfont)$
\ifPDFTeX
\else
-\babelfont{rm}[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
+\babelfont{rm}[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$$if(mainfontfallback)$,RawFeature={fallback=mainfontfallback}$endif$]{$mainfont$}
\fi
$endif$
$endif$