Add shorthands variable for LaTeX output.

If true, pandoc will allow language-specific shorthands
when loading babel.

Closes #11160.
This commit is contained in:
John MacFarlane
2025-09-24 22:25:07 +02:00
parent 9024df9348
commit 95326e21e6
4 changed files with 11 additions and 6 deletions
+2 -2
View File
@@ -49,9 +49,9 @@ More text in English. ['Zitat auf Deutsch.']{lang=de}
\KOMAoptions{parskip=half}}
\makeatother
\ifLuaTeX
\usepackage[bidi=basic,shorthands=off,]{babel}
\usepackage[bidi=basic,shorthands=off]{babel}
\else
\usepackage[bidi=default,shorthands=off,]{babel}
\usepackage[bidi=default,shorthands=off]{babel}
\fi
\ifLuaTeX
\usepackage{selnolig} % disable illegal ligatures
+2 -2
View File
@@ -43,9 +43,9 @@
\KOMAoptions{parskip=half}}
\makeatother
\ifLuaTeX
\usepackage[bidi=basic,shorthands=off,]{babel}
\usepackage[bidi=basic,shorthands=off]{babel}
\else
\usepackage[bidi=default,shorthands=off,]{babel}
\usepackage[bidi=default,shorthands=off]{babel}
\fi
\ifLuaTeX
\usepackage{selnolig} % disable illegal ligatures