diff options
| author | John MacFarlane <[email protected]> | 2025-02-10 13:22:33 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-02-10 13:22:33 -0800 |
| commit | 49d154c769173048583dbff14dc8f1552fedec69 (patch) | |
| tree | bfc6d337ac3ebfefbc914482074e828a572b8700 /data | |
| parent | 4948d27fee8c527652cbc8727150abfd21e8e38d (diff) | |
Use babel options `shorthands=off`.
This has been fixed now in Babel for some time. So we can now
get rid of the ugly code that disabled language-specific shorthands
(see e26d31d).
Closes #6817.
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/common.latex | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/data/templates/common.latex b/data/templates/common.latex index e19f54c34..cb745941d 100644 --- a/data/templates/common.latex +++ b/data/templates/common.latex @@ -183,9 +183,9 @@ $-- Babel language support $-- $if(lang)$ \ifLuaTeX -\usepackage[bidi=basic$for(babeloptions)$,$babeloptions$$endfor$]{babel} +\usepackage[bidi=basic,shorthands=off,$for(babeloptions)$,$babeloptions$$endfor$]{babel} \else -\usepackage[bidi=default$for(babeloptions)$,$babeloptions$$endfor$]{babel} +\usepackage[bidi=default,shorthands=off,$for(babeloptions)$,$babeloptions$$endfor$]{babel} \fi $if(babel-lang)$ $if(mainfont)$ @@ -198,9 +198,6 @@ $endif$ $for(babelfonts/pairs)$ \babelfont[$babelfonts.key$]{rm}{$babelfonts.value$} $endfor$ -% get rid of language-specific shorthands (see #6817): -\let\LanguageShortHands\languageshorthands -\def\languageshorthands#1{} \ifLuaTeX \usepackage{selnolig} % disable illegal ligatures \fi |
