aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-02-10 13:22:33 -0800
committerJohn MacFarlane <[email protected]>2025-02-10 13:22:33 -0800
commit49d154c769173048583dbff14dc8f1552fedec69 (patch)
treebfc6d337ac3ebfefbc914482074e828a572b8700 /test
parent4948d27fee8c527652cbc8727150abfd21e8e38d (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 'test')
-rw-r--r--test/command/9472.md7
-rw-r--r--test/writers-lang-and-dir.latex7
2 files changed, 4 insertions, 10 deletions
diff --git a/test/command/9472.md b/test/command/9472.md
index 1c4ed72d2..dffd103fc 100644
--- a/test/command/9472.md
+++ b/test/command/9472.md
@@ -49,13 +49,10 @@ More text in English. ['Zitat auf Deutsch.']{lang=de}
\KOMAoptions{parskip=half}}
\makeatother
\ifLuaTeX
-\usepackage[bidi=basic]{babel}
+\usepackage[bidi=basic,shorthands=off,]{babel}
\else
-\usepackage[bidi=default]{babel}
+\usepackage[bidi=default,shorthands=off,]{babel}
\fi
-% get rid of language-specific shorthands (see #6817):
-\let\LanguageShortHands\languageshorthands
-\def\languageshorthands#1{}
\ifLuaTeX
\usepackage{selnolig} % disable illegal ligatures
\fi
diff --git a/test/writers-lang-and-dir.latex b/test/writers-lang-and-dir.latex
index 559ec8c92..61ee63801 100644
--- a/test/writers-lang-and-dir.latex
+++ b/test/writers-lang-and-dir.latex
@@ -43,13 +43,10 @@
\KOMAoptions{parskip=half}}
\makeatother
\ifLuaTeX
-\usepackage[bidi=basic]{babel}
+\usepackage[bidi=basic,shorthands=off,]{babel}
\else
-\usepackage[bidi=default]{babel}
+\usepackage[bidi=default,shorthands=off,]{babel}
\fi
-% get rid of language-specific shorthands (see #6817):
-\let\LanguageShortHands\languageshorthands
-\def\languageshorthands#1{}
\ifLuaTeX
\usepackage{selnolig} % disable illegal ligatures
\fi