LaTeX template: skip \babelprovide if babel-lang is empty.
This avoids an error. See #7945.
This commit is contained in:
parent
c3cf339f1d
commit
bc7f74968e
1 changed files with 2 additions and 0 deletions
|
@ -368,7 +368,9 @@ $if(lang)$
|
|||
\else
|
||||
\usepackage[bidi=default]{babel}
|
||||
\fi
|
||||
$if(babel-lang)$
|
||||
\babelprovide[main,import]{$babel-lang$}
|
||||
$endif$
|
||||
$for(babel-otherlangs)$
|
||||
\babelprovide[import]{$babel-otherlangs$}
|
||||
$endfor$
|
||||
|
|
Loading…
Add table
Reference in a new issue