summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/babel-german/germanb.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/generic/babel-german/germanb.dtx')
-rw-r--r--Master/texmf-dist/source/generic/babel-german/germanb.dtx25
1 files changed, 15 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/generic/babel-german/germanb.dtx b/Master/texmf-dist/source/generic/babel-german/germanb.dtx
index 396ea5b9a0b..8c367c5d6e2 100644
--- a/Master/texmf-dist/source/generic/babel-german/germanb.dtx
+++ b/Master/texmf-dist/source/generic/babel-german/germanb.dtx
@@ -2,7 +2,7 @@
%
% File `germanb.dtx'
%
-% Copyright 1989--2013 Johannes L. Braams
+% Copyright 1989--2014 Johannes L. Braams
% Bernd Raichle
% Walter Schmidt,
% Juergen Spitzmueller
@@ -24,7 +24,7 @@
%
% The Current Maintainer of this work is Juergen Spitzmueller.
% \fi
-% \CheckSum{407}
+% \CheckSum{413}
%
% \iffalse
% Tell the \LaTeX\ system who we are and write an entry on the
@@ -38,7 +38,7 @@
%<germanb>\ProvidesLanguage{germanb}
%\fi
%\ProvidesFile{germanb.dtx}
- [2013/12/13 v2.7 German support for babel (traditional orthography)]
+ [2014/10/10 v2.7b German support for babel (traditional orthography)]
%\iffalse
%
%<*filedriver>
@@ -287,14 +287,19 @@
% For the Swiss variety, we attempt to load the specific
% \texttt{swissgerman} hyphenation patterns and fall back to
% \texttt{german} if those are not available.
+% \changes{germanb-2.7b}{2014/10/10}{Do not warn about missing swissgerman patterns
+% if swissgerman is not loaded}
% \begin{macrocode}
-\ifx\l@swissgerman\@undefined
- \ifx\l@german\@undefined
- \@nopatterns{swissgerman and german}
- \adddialect\l@swissgerman0
- \else
- \@nopatterns{swissgerman}
- \adddialect\l@swissgerman\l@german
+\def\bbl@tempa{swissgerman}
+\ifx\CurrentOption\bbl@tempa
+ \ifx\l@swissgerman\@undefined
+ \ifx\l@german\@undefined
+ \@nopatterns{swissgerman and german}
+ \adddialect\l@swissgerman0
+ \else
+ \@nopatterns{swissgerman}
+ \adddialect\l@swissgerman\l@german
+ \fi
\fi
\fi
% \end{macrocode}