From 3cf4de1b5e83a9e3b87a545c9fba8ca1edac0bc6 Mon Sep 17 00:00:00 2001 From: Rolf Niepraschk <Rolf.Niepraschk@ptb.de> Date: Wed, 12 Mar 2025 11:29:52 +0100 Subject: [PATCH] Problem mit Babel --- ptbposter/ptbposter.cls | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ptbposter/ptbposter.cls b/ptbposter/ptbposter.cls index f9ab385..acb0bfa 100644 --- a/ptbposter/ptbposter.cls +++ b/ptbposter/ptbposter.cls @@ -125,6 +125,7 @@ \ExecuteOptions{serif,raggedTitle,layout2020} \ProcessOptions\relax +\iffalse % The default language should be `ngerman', `english' should also be present. \def\@tempa{english}\def\@tempb{english,ngerman} \@for\CurrentOption:=\@classoptionslist\do{% @@ -133,6 +134,7 @@ \fi }% \edef\@classoptionslist{\@tempb,\@classoptionslist} +\fi \LoadClass{scrartcl} @@ -196,7 +198,7 @@ \providecommand*\microtypesetup[1]{} -\RequirePackage{babel} +\RequirePackage[english,ngerman]{babel} % ??? \AtEndOfClass{% \shorthandon{"}% @@ -204,7 +206,8 @@ \iflanguage{ngerman}{\PTB@german@true}{% \iflanguage{german}{\PTB@german@true}{}% } - \if@tempswa + %\if@tempswa + \ifPTB@german@ \defineshorthand{"`}{\guillemotright}% \defineshorthand{"'}{\guillemotleft}% \fi -- GitLab