From a67f4837aa711121254d9aca436feeb3d1675469 Mon Sep 17 00:00:00 2001 From: mirabilos <thorsten.glaser@teckids.org> Date: Thu, 29 Jun 2017 00:10:56 +0200 Subject: [PATCH] =?UTF-8?q?[verein.git]=20Fix=20misuse=20of=20the=20?= =?UTF-8?q?=E2=80=9Cbabel=E2=80=9D=20Te=CF=87=20package:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • never(!) load either the “german†or “ngerman†package (nor “germanb†or “ngermanbâ€) • use appropriate options for the “babel†package, correctly disabling shorthands and setting the default language for the whole document Look at print/leaflet_teckids_common.tex for a deformed German example (replace a̲l̲l̲ “ngerman†with “german†in the babel line for 1901 German) and at print/a6.tex for an English example of correct usage. --- teckids-brief.lco | 3 +-- teckids.sty | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/teckids-brief.lco b/teckids-brief.lco index 336af99..91b4b46 100644 --- a/teckids-brief.lco +++ b/teckids-brief.lco @@ -2,8 +2,7 @@ \usepackage{tabularx} \usepackage[utf8]{inputenc} \usepackage{marvosym} -\usepackage{ngerman} -\usepackage[ngerman]{babel} +\usepackage[british,ngerman,shorthands=off,safe=none,math=normal,main=ngerman,headfoot=ngerman,hyphenmap=other*]{babel}% \usepackage{color} \usepackage{graphicx} \usepackage[T1]{fontenc} diff --git a/teckids.sty b/teckids.sty index 1b25cda..e42549b 100644 --- a/teckids.sty +++ b/teckids.sty @@ -34,8 +34,7 @@ \RequirePackage{intcalc} \RequirePackage[utf8]{inputenc} -\RequirePackage{ngerman} -\RequirePackage[ngerman]{babel} +\RequirePackage[british,ngerman,shorthands=off,safe=none,math=normal,main=ngerman,headfoot=ngerman,hyphenmap=other*]{babel}% \RequirePackage{color} \RequirePackage[T1]{fontenc} \RequirePackage{textcomp} -- GitLab