summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-05-22 22:00:35 +0000
committerKarl Berry <karl@freefriends.org>2014-05-22 22:00:35 +0000
commit6ea3ea065d72f1dd1229cd1ab37be377019501ad (patch)
tree03d1972fc5cc0d75a1c379819257b6644dd4f482 /Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf
parenta8821950ae08fd013ee64b64531ab848daf3a52d (diff)
polyglossia (22may14)
git-svn-id: svn://tug.org/texlive/trunk@34205 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf')
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf30
1 files changed, 22 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf
index dc29c14f254..e3e343c48eb 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf
@@ -33,6 +33,15 @@
\fi
}
+\newif\if@austrian@locale
+\@austrian@localefalse
+\def\tmp@austrian{austrian}
+\define@key{german}{variant}[german]{%
+ \def\@tmpa{#1}%
+ \ifx\@tmpa\tmp@austrian\@austrian@localetrue\else
+ \@austrian@localefalse%
+ \fi}
+
\newif\if@german@fraktur
\def\tmp@fraktur{fraktur}
\define@key{german}{script}[latin]{%
@@ -125,13 +134,17 @@
}
\def\date@german{%
\def\today{\number\day.%
- \space \ifcase\month%TODO add option for Austrian forms (Jänner etc)
- \or Januar\or Februar\or März\or April\or Mai\or Juni\or%
- Juli\or August\or September\or Oktober\or November\or%
- Dezember\fi
+ \space \ifcase\month%
+ \or\if@austrian@locale Jänner\else Januar\fi\or Februar\or März\or%
+ April\or Mai\or Juni\or Juli\or August\or September\or Oktober\or%
+ November\or Dezember\fi
\space \number\year}%
}
+\def\captions@german@austrian{%
+ \def\enclname{Beilage(n)}%
+}
+
%%Strings for Fraktur contributed by Gerrit <z0idberg . gmx . de>
\def\captions@german@fraktur{%
\captions@german%
@@ -143,15 +156,16 @@
\def\date@german@fraktur{%
\def\today{\number\day.%
- \space \ifcase\month%TODO add option for Austrian forms (Jänner etc)
- \or Januar\or Februar\or März\or April\or Mai\or Juni\or%
- Juli\or Auguſt\or September\or Oktober\or November\or%
- Dezember\fi
+ \space \ifcase\month%
+ \or\if@austrian@locale Jänner\else Januar\fi\or Februar\or März\or%
+ April\or Mai\or Juni\or Juli\or Auguſt\or September\or Oktober\or%
+ November\or Dezember\fi
\space \number\year}%
}
\def\captionsgerman{%
\if@german@fraktur\captions@german@fraktur\else\captions@german\fi
+ \if@austrian@locale\captions@german@austrian\fi
}
\def\dategerman{%