aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/writers-lang-and-dir.latex5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/writers-lang-and-dir.latex b/test/writers-lang-and-dir.latex
index 91f4be8c1..05465e581 100644
--- a/test/writers-lang-and-dir.latex
+++ b/test/writers-lang-and-dir.latex
@@ -56,7 +56,10 @@
\setotherlanguage[]{spanish}
\setotherlanguage[]{french}
\else
- \usepackage[shorthands=off,ngerman,british,nswissgerman,spanish,french,main=english]{babel}
+ \usepackage[ngerman,british,nswissgerman,spanish,french,main=english]{babel}
+% get rid of language-specific shorthands (see #6817):
+\let\LanguageShortHands\languageshorthands
+\def\languageshorthands#1{}
\newcommand{\textgerman}[2][]{\foreignlanguage{ngerman}{#2}}
\newenvironment{german}[2][]{\begin{otherlanguage}{ngerman}}{\end{otherlanguage}}
\newcommand{\textenglish}[2][]{\foreignlanguage{british}{#2}}