diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/babel-german/ngermanb.ldf')
-rw-r--r-- | Master/texmf-dist/tex/generic/babel-german/ngermanb.ldf | 85 |
1 files changed, 50 insertions, 35 deletions
diff --git a/Master/texmf-dist/tex/generic/babel-german/ngermanb.ldf b/Master/texmf-dist/tex/generic/babel-german/ngermanb.ldf index 72df6ac8578..0dc2d1b1437 100644 --- a/Master/texmf-dist/tex/generic/babel-german/ngermanb.ldf +++ b/Master/texmf-dist/tex/generic/babel-german/ngermanb.ldf @@ -4,13 +4,14 @@ %% %% The original source files were: %% -%% ngermanb.dtx (with options: `germanb') +%% ngermanb.dtx (with options: `ngermanb') %% This is a generated file. %% -%% Copyright 1989--2016 Johannes L. Braams -%% Bernd Raichle -%% Walter Schmidt, -%% Juergen Spitzmueller +%% Copyright 1989--2016 +%% Johannes L. Braams +%% Bernd Raichle +%% Walter Schmidt +%% Juergen Spitzmueller %% All rights reserved. %% %% This file is part of the babel-german bundle, @@ -30,12 +31,15 @@ %% The Current Maintainer of this work is Juergen Spitzmueller. %% %% Please report errors to: Juergen Spitzmueller -%% juergen at spitzmueller dot org +%% via: https://github.com/jspitz/babel-german %% \ProvidesLanguage{ngermanb} - [2016/11/02 v2.9 German support for babel (new orthography)] -\def\bbl@tempa{ngermanb} -\ifx\CurrentOption\bbl@tempa + [2018/03/29 v2.10 German support for babel (post-1996 orthography)] +\def\bbl@opt@ngerman{ngerman} +\def\bbl@opt@ngermanb{ngermanb} +\def\bbl@opt@naustrian{naustrian} +\def\bbl@opt@nswissgerman{nswissgerman} +\ifx\CurrentOption\bbl@opt@ngermanb \def\CurrentOption{ngerman} \fi \LdfInit\CurrentOption{captions\CurrentOption} @@ -43,8 +47,7 @@ \@nopatterns{German (new orthography)} \adddialect\l@ngerman0 \fi -\def\bbl@tempa{naustrian} -\ifx\CurrentOption\bbl@tempa +\ifx\CurrentOption\bbl@opt@naustrian \ifx\l@ngerman\@undefined \@nopatterns{German (new orthography), needed by Austrian (new orthography)} \adddialect\l@naustrian0 @@ -52,8 +55,7 @@ \adddialect\l@naustrian\l@ngerman \fi \fi -\def\bbl@tempa{nswissgerman} -\ifx\CurrentOption\bbl@tempa +\ifx\CurrentOption\bbl@opt@nswissgerman \ifx\l@ngerman\@undefined \@nopatterns{German (new orthography), needed by Swiss German (new orthography)} \adddialect\l@nswissgerman0 @@ -68,37 +70,34 @@ \def\bibname{Literaturverzeichnis}% \def\chaptername{Kapitel}% \def\appendixname{Anhang}% - \def\contentsname{Inhaltsverzeichnis}% % oder nur: Inhalt + \def\contentsname{Inhaltsverzeichnis}% \def\listfigurename{Abbildungsverzeichnis}% \def\listtablename{Tabellenverzeichnis}% \def\indexname{Index}% \def\figurename{Abbildung}% - \def\tablename{Tabelle}% % oder: Tafel + \def\tablename{Tabelle}% \def\partname{Teil}% \def\enclname{Anlage(n)}% - \def\ccname{Verteiler}% % oder: Kopien an + \def\ccname{Verteiler}% \def\headtoname{An}% \def\pagename{Seite}% \def\seename{siehe}% \def\alsoname{siehe auch}% \def\proofname{Beweis}% \def\glossaryname{Glossar}% - } -\def\bbl@tempa{ngerman} -\ifx\CurrentOption\bbl@tempa +} +\ifx\CurrentOption\bbl@opt@ngerman \@namedef{captionsngerman}{% \@nameuse{@captionsngerman}% } \fi -\def\bbl@tempa{naustrian} -\ifx\CurrentOption\bbl@tempa +\ifx\CurrentOption\bbl@opt@naustrian \@namedef{captionsnaustrian}{% \@nameuse{@captionsngerman}% \def\enclname{Beilage(n)}% } \fi -\def\bbl@tempa{nswissgerman} -\ifx\CurrentOption\bbl@tempa +\ifx\CurrentOption\bbl@opt@nswissgerman \@namedef{captionsnswissgerman}{% \@nameuse{@captionsngerman}% \def\enclname{Beilage(n)}% @@ -107,28 +106,39 @@ \def\month@ngerman{\ifcase\month\or Januar\or Februar\or M\"arz\or April\or Mai\or Juni\or Juli\or August\or September\or Oktober\or November\or Dezember\fi} -\def\bbl@tempa{ngerman} -\ifx\CurrentOption\bbl@tempa +\ifx\CurrentOption\bbl@opt@ngerman \def\datengerman{\def\today{\number\day.~\month@ngerman \space\number\year}} \fi -\def\bbl@tempa{nswissgerman} -\ifx\CurrentOption\bbl@tempa +\ifx\CurrentOption\bbl@opt@nswissgerman \def\datenswissgerman{\def\today{\number\day.~\month@ngerman \space\number\year}} \fi -\def\bbl@tempa{naustrian} -\ifx\CurrentOption\bbl@tempa +\ifx\CurrentOption\bbl@opt@naustrian \def\datenaustrian{\def\today{\number\day.~\ifnum1=\month J\"anner\else \month@ngerman\fi \space\number\year}} \fi \initiate@active@char{"} \@namedef{extras\CurrentOption}{% - \languageshorthands{ngerman}} + \languageshorthands{ngerman}% +} \expandafter\addto\csname extras\CurrentOption\endcsname{% \bbl@activate{"}} +\newif\ifntoss\ntossfalse +\newif\ifbbl@ntoss\bbl@ntossfalse +\ifx\bbl@mod@nswissgerman\@undefined\else + \@expandtwoargs\in@{,toss,}{,\bbl@mod@nswissgerman,} + \ifin@ + \ntosstrue + \fi + \addto\extrasnswissgerman{% + \ifntoss\bbl@ntosstrue\else\bbl@ntossfalse\fi} +\fi \expandafter\addto\csname noextras\CurrentOption\endcsname{% \bbl@deactivate{"}} +\ifx\CurrentOption\bbl@opt@nswissgerman + \addto\noextrasnswissgerman{\bbl@ntossfalse} +\fi \expandafter\addto\csname extras\CurrentOption\endcsname{% \babel@savevariable{\lccode25}% \lccode25=25} @@ -143,8 +153,13 @@ \bbl@nonfrenchspacing} \begingroup \catcode`\"12 \def\x{\endgroup + \def\dq{"} \def\@SS{\mathchar"7019 } - \def\dq{"}} + \def\bbl@ss{\ifbbl@ntoss ss\else\textormath{\ss}{\@SS{}}\fi} + \def\bbl@SS{SS} + \def\bbl@sz{\ifbbl@ntoss sz\else\textormath{\ss}{\@SS{}}\fi} + \def\bbl@SZ{SZ} +} \x \declare@shorthand{ngerman}{"a}{\textormath{\"{a}\allowhyphens}{\ddot a}} \declare@shorthand{ngerman}{"o}{\textormath{\"{o}\allowhyphens}{\ddot o}} @@ -157,10 +172,10 @@ \declare@shorthand{ngerman}{"i}{\textormath{\"{\i}}% {\ddot\imath}} \declare@shorthand{ngerman}{"I}{\textormath{\"{I}}{\ddot I}} -\declare@shorthand{ngerman}{"s}{\textormath{\ss}{\@SS{}}} -\declare@shorthand{ngerman}{"S}{\SS} -\declare@shorthand{ngerman}{"z}{\textormath{\ss}{\@SS{}}} -\declare@shorthand{ngerman}{"Z}{SZ} +\declare@shorthand{ngerman}{"s}{\bbl@ss} +\declare@shorthand{ngerman}{"S}{\bbl@SS} +\declare@shorthand{ngerman}{"z}{\bbl@sz} +\declare@shorthand{ngerman}{"Z}{\bbl@SZ} \declare@shorthand{ngerman}{"`}{\glqq} \declare@shorthand{ngerman}{"'}{\grqq} \declare@shorthand{ngerman}{"<}{\flqq} |