summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/lang-ger.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/lang-ger.tex')
-rw-r--r--Master/texmf-dist/tex/context/base/lang-ger.tex158
1 files changed, 37 insertions, 121 deletions
diff --git a/Master/texmf-dist/tex/context/base/lang-ger.tex b/Master/texmf-dist/tex/context/base/lang-ger.tex
index 919748c691f..4434b7dbaa1 100644
--- a/Master/texmf-dist/tex/context/base/lang-ger.tex
+++ b/Master/texmf-dist/tex/context/base/lang-ger.tex
@@ -126,7 +126,7 @@
\c!leftquotation=\upperleftdoublesixquote,
\c!rightquotation=\upperrightdoubleninequote,
\c!date={\v!day,{.},\ ,\v!month,\ ,\v!year},
- \c!default=\s!nl, % patterns
+ \c!default=\s!no,
\c!state=\v!stop]
%D Extra:
@@ -165,111 +165,6 @@
\installlanguage [norwegian] [\s!no]
\installlanguage [norsk] [\s!no] % bonus switch
-% GERMAN
-%
-% %D The next section is dedicated to Tobias Burnus.
-%
-% \startlanguagespecifics[\s!de]
-%
-% \installcompoundcharacter "a {\moveaccent{-.1ex}\"a\midworddiscretionary}
-% \installcompoundcharacter "e {\moveaccent{-.1ex}\"e\midworddiscretionary}
-% \installcompoundcharacter "i {\moveaccent{-.1ex}\"\i\midworddiscretionary}
-% \installcompoundcharacter "o {\moveaccent{-.1ex}\"o\midworddiscretionary}
-% \installcompoundcharacter "u {\moveaccent{-.1ex}\"u\midworddiscretionary}
-% \installcompoundcharacter "s {\SS}
-% \installcompoundcharacter "z {\SS}
-%
-% \installcompoundcharacter "A {\smashaccent\"A}
-% \installcompoundcharacter "E {\smashaccent\"E}
-% \installcompoundcharacter "I {\smashaccent\"I}
-% \installcompoundcharacter "O {\smashaccent\"O}
-% \installcompoundcharacter "U {\smashaccent\"U}
-% \installcompoundcharacter "Z {SZ}
-% \installcompoundcharacter "S {SS}
-%
-% \stoplanguagespecifics
-%
-% \startlanguagespecifics[\s!de]
-%
-% \installcompoundcharacter "ck {\discretionary {k-}{k}{ck}}
-% \installcompoundcharacter "ff {\discretionary{ff-}{f}{ff}}
-% \installcompoundcharacter "ll {\discretionary{ll-}{l}{ll}}
-% \installcompoundcharacter "mm {\discretionary{mm-}{m}{mm}}
-% \installcompoundcharacter "nn {\discretionary{nn-}{n}{nn}}
-% \installcompoundcharacter "pp {\discretionary{pp-}{p}{pp}}
-% \installcompoundcharacter "rr {\discretionary{rr-}{r}{rr}}
-% \installcompoundcharacter "tt {\discretionary{tt-}{t}{tt}}
-%
-% \installcompoundcharacter "CK {\discretionary {K-}{K}{CK}}
-% \installcompoundcharacter "FF {\discretionary{FF-}{F}{FF}}
-% \installcompoundcharacter "LL {\discretionary{LL-}{L}{LL}}
-% \installcompoundcharacter "MM {\discretionary{MM-}{M}{MM}}
-% \installcompoundcharacter "NN {\discretionary{NN-}{N}{NN}}
-% \installcompoundcharacter "PP {\discretionary{PP-}{P}{PP}}
-% \installcompoundcharacter "RR {\discretionary{RR-}{R}{RR}}
-% \installcompoundcharacter "TT {\discretionary{TT-}{T}{TT}}
-%
-% \stoplanguagespecifics
-%
-% \startlanguagespecifics[\s!de]
-%
-% \installcompoundcharacter "` {\handlequotation\c!leftquotation}
-% \installcompoundcharacter "' {\handlequotation\c!rightquotation}
-% \installcompoundcharacter ". {\kern.1em\ignorespaces}
-%
-% \def\setupDElanguage%
-% {\setuplanguage
-% [\s!de]
-% [\c!leftsentence=\leftguillemot,
-% \c!rightsentence=\rightguillemot,
-% \c!leftsubsentence=\leftsubguillemot,
-% \c!rightsubsentence=\rightsubguillemot]}
-%
-% \installcompoundcharacter "< {{\setupDElanguage|<|}}
-% \installcompoundcharacter "> {{\setupDElanguage|>|}}
-%
-% \stoplanguagespecifics
-%
-% %D An experimental hack:
-%
-% \startencoding[pdfdoc]
-% \startlanguagespecifics[\s!de]% hm, a % is needed
-% \defineactivecharacter " {\"} % no {\simplifiedcompoundcharacter"}
-% \stoplanguagespecifics
-% \stopencoding
-%
-% \startencoding[ec]
-% \startlanguagespecifics[\s!de]%
-% \installcompoundcharacter "a {\"a}
-% \installcompoundcharacter "e {\"e}
-% \installcompoundcharacter "i {\"\i}
-% \installcompoundcharacter "o {\"o}
-% \installcompoundcharacter "u {\"u}
-% \installcompoundcharacter "A {\"A}
-% \installcompoundcharacter "E {\"E}
-% \installcompoundcharacter "I {\"I}
-% \installcompoundcharacter "O {\"O}
-% \installcompoundcharacter "U {\"U}
-% \stoplanguagespecifics
-% \stopencoding
-%
-% \startencoding[texnansi]
-% \startlanguagespecifics[\s!de]%
-% \installcompoundcharacter "a {\"a}
-% \installcompoundcharacter "e {\"e}
-% \installcompoundcharacter "i {\"\i}
-% \installcompoundcharacter "o {\"o}
-% \installcompoundcharacter "u {\"u}
-% \installcompoundcharacter "A {\"A}
-% \installcompoundcharacter "E {\"E}
-% \installcompoundcharacter "I {\"I}
-% \installcompoundcharacter "O {\"O}
-% \installcompoundcharacter "U {\"U}
-% \stoplanguagespecifics
-% \stopencoding
-%
-% %D This hack should be perfected.
-
%% NORWEGIAN
%
% These three letters (in this order) are the
@@ -406,12 +301,14 @@
\setuplabeltext [\s!af] [\v!graphic=Grafiek ]
\setuplabeltext [\s!no] [\v!graphic=Grafikk ]
-\setuplabeltext [\s!en] [\v!chapter=]
+%D We don't set these here. One can do that in a style.
+
+\setuplabeltext [\s!en] [\v!chapter=] % Chapter
\setuplabeltext [\s!nl] [\v!chapter=]
-\setuplabeltext [\s!de] [\v!chapter=]
+\setuplabeltext [\s!de] [\v!chapter=] % Kapitel
\setuplabeltext [\s!da] [\v!chapter=]
\setuplabeltext [\s!sv] [\v!chapter=]
-\setuplabeltext [\s!af] [\v!chapter=] % [\v!chapter=hoofstuk]
+\setuplabeltext [\s!af] [\v!chapter=] % Hoofstuk
\setuplabeltext [\s!no] [\v!chapter=]
\setuplabeltext [\s!en] [\v!section=]
@@ -419,7 +316,7 @@
\setuplabeltext [\s!de] [\v!section=]
\setuplabeltext [\s!da] [\v!section=]
\setuplabeltext [\s!sv] [\v!section=]
-\setuplabeltext [\s!af] [\v!section=] % [\v!section=paragraaf]
+\setuplabeltext [\s!af] [\v!section=] % Paragraaf
\setuplabeltext [\s!no] [\v!section=]
\setuplabeltext [\s!en] [\v!subsection=]
@@ -446,12 +343,12 @@
\setuplabeltext [\s!af] [\v!subsubsubsection=]
\setuplabeltext [\s!no] [\v!subsubsubsection=]
-\setuplabeltext [\s!en] [\v!appendix=]
+\setuplabeltext [\s!en] [\v!appendix=] % Appendix
\setuplabeltext [\s!nl] [\v!appendix=]
-\setuplabeltext [\s!de] [\v!appendix=]
-\setuplabeltext [\s!da] [\v!appendix=] % [\v!appendix=bilag]
+\setuplabeltext [\s!de] [\v!appendix=] % Anhang
+\setuplabeltext [\s!da] [\v!appendix=] % Bilag
\setuplabeltext [\s!sv] [\v!appendix=]
-\setuplabeltext [\s!af] [\v!appendix=] % [\v!appendix=bylae]
+\setuplabeltext [\s!af] [\v!appendix=] % Bylae
\setuplabeltext [\s!no] [\v!appendix=]
\setuplabeltext [\s!en] [\v!part=Part ]
@@ -669,18 +566,22 @@
\def\enordinaldaynumber#1%
{#1\ifnum\lasttwodigits{#1}=11
- \ordinalstr{th}%
+ \highordinalstr{th}%
+ \else\ifnum\lasttwodigits{#1}=12
+ \highordinalstr{th}%
+ \else\ifnum\lasttwodigits{#1}=13
+ \highordinalstr{th}%
\else\ifcase\lastdigit{#1}%
- \ordinalstr{th}%
+ \highordinalstr{th}%
\or % 1
- \ordinalstr{st}%
+ \highordinalstr{st}%
\or % 2
- \ordinalstr{nd}%
+ \highordinalstr{nd}%
\or % 3
- \ordinalstr{rd}%
+ \highordinalstr{rd}%
\else
- \ordinalstr{th}%
- \fi\fi}
+ \highordinalstr{th}%
+ \fi\fi\fi\fi}
% \def\enordinaldaynumber#1%
% {#1\ordinalstr{\ifnum\lasttwodigits{#1}=11 th\else\ifcase\lastdigit{#1}
@@ -697,4 +598,19 @@
%D \ShowAllLanguageValues [\s!af] [afrikaans] {Afrikaaner} {boer} % afrikaanse gasvryheid
%D \ShowAllLanguageValues [\s!no] [norwegian] {Norwegian} {wood}
+%D Extra month names:
+
+\setuplabeltext [\s!en] [\v!january :\s!mnem=jan]
+\setuplabeltext [\s!en] [\v!february :\s!mnem=feb]
+\setuplabeltext [\s!en] [\v!march :\s!mnem=mar]
+\setuplabeltext [\s!en] [\v!april :\s!mnem=apr]
+\setuplabeltext [\s!en] [\v!may :\s!mnem=may]
+\setuplabeltext [\s!en] [\v!june :\s!mnem=jun]
+\setuplabeltext [\s!en] [\v!july :\s!mnem=jul]
+\setuplabeltext [\s!en] [\v!august :\s!mnem=aug]
+\setuplabeltext [\s!en] [\v!september:\s!mnem=sep]
+\setuplabeltext [\s!en] [\v!october :\s!mnem=oct]
+\setuplabeltext [\s!en] [\v!november :\s!mnem=nov]
+\setuplabeltext [\s!en] [\v!december :\s!mnem=dec]
+
\protect \endinput