diff options
| author | John MacFarlane <[email protected]> | 2023-03-28 16:23:51 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2023-03-28 16:23:51 -0700 |
| commit | a5159c2c505cd9a87856877b3287aa0b88e4e0ba (patch) | |
| tree | b940008b04de1abed518367e97360b56ac18f560 /data | |
| parent | 8db71cecb51a9854d3ee1d60f51b24e657bfb8f6 (diff) | |
Fix `\babelfont` in default latex template.
The first invocation should not specify a language, because
it's the default. If we specify a language, we get an error
in some cases. Closes #8728.
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/default.latex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex index 341bf2589..bc5f54e81 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -363,7 +363,7 @@ $if(babel-lang)$ $if(mainfont)$ \ifPDFTeX \else -\babelfont[$babel-lang$]{rm}[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$} +\babelfont{rm}[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$} \fi $endif$ $endif$ |
