forked from YannickChevalier/hevea-mathjax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
german-common.hva
67 lines (66 loc) · 2.35 KB
/
german-common.hva
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
%%%% Hevea support for babel option 'german'.
%%%% Support for
%%%% a) date
%%%% b) usual shorthands (\' \` \^ etc.)
%%%% c) names of various part descriptors (contentsname etc.)
%%%% d) \dq
%%%% e) Different quotations marks (\glqq etc.)
\@primitives{german}
\newcommand{\common@common@german@babel}{
\renewcommand\prefacename{Vorwort}%
\renewcommand\refname{Literatur}%
\renewcommand\abstractname{Zusammenfassung}%
\renewcommand\bibname{Literaturverzeichnis}%
\renewcommand\chaptername{Kapitel}%
\renewcommand\appendixname{Anhang}%
\renewcommand\contentsname{Inhaltsverzeichnis}%
\renewcommand\listfigurename{Abbildungsverzeichnis}%
\renewcommand\listtablename{Tabellenverzeichnis}%
\renewcommand\indexname{Index}%
\renewcommand\figurename{Abbildung}%
\renewcommand\tablename{Tabelle}%
\renewcommand\partname{Teil}%
\renewcommand\enclname{Anlage(n)}%
\renewcommand\ccname{Verteiler}%
\renewcommand\headtoname{An}%
\renewcommand\pagename{Seite}%
\renewcommand\headpagename{Siete}%
\renewcommand\seename{siehe}%
\renewcommand\alsoseename{siehe auch}%
\renewcommand\dq{\@print{"}}%
\catcode`\"=13\let\@hevea@dquote\@german@dquote%
}
\newcommand{\common@german@babel}{%
\common@common@german@babel%
\def\german@month
{\ifthenelse{\value{month}=1}{Januar}
{\ifthenelse{\value{month}=2}{Februar}
{\ifthenelse{\value{month}=3}{M\"arz}
{\ifthenelse{\value{month}=4}{April}
{\ifthenelse{\value{month}=5}{Mai}
{\ifthenelse{\value{month}=6}{Juni}
{\ifthenelse{\value{month}=7}{Juli}
{\ifthenelse{\value{month}=8}{August}
{\ifthenelse{\value{month}=9}{September}
{\ifthenelse{\value{month}=10}{Oktober}
{\ifthenelse{\value{month}=11}{November}
{\ifthenelse{\value{month}=12}{Dezember}{}
}}}}}}}}}}}}%
\renewcommand\today{\theday.~\german@month~\theyear}}
%%%
\newcommand{\common@austrian@babel}{%
\def\austrian@month
{\ifthenelse{\value{month}=1 }{J\"anner}
{\ifthenelse{\value{month}=2 }{Februar}
{\ifthenelse{\value{month}=3 }{M\"arz}
{\ifthenelse{\value{month}=4 }{April}
{\ifthenelse{\value{month}=5 }{Mai}
{\ifthenelse{\value{month}=6 }{Juni}
{\ifthenelse{\value{month}=7 }{Juli}
{\ifthenelse{\value{month}=8 }{August}
{\ifthenelse{\value{month}=9 }{September}
{\ifthenelse{\value{month}=10}{Oktober}
{\ifthenelse{\value{month}=11}{November}
{\ifthenelse{\value{month}=12}{Dezember}{}
}}}}}}}}}}}}%
\renewcommand\today{\theday.~\austrian@month~\theyear}}