Debian Codegraph @

texmf-dist/source/latex/glossaries-danish/glossaries-danish.dtx

raw
1 %\iffalse
2 % glossaries-danish.dtx generated using makedtx version 1.1 (c) Nicola Talbot
3 % Command line args:
4 % -src "(.*.ldf)=>\1"
5 % -src "(.*.dict)=>\1"
6 % -doc "glossaries-module.tex"
7 % -author "Nicola Talbot"
8 % glossaries-danish
9 % Created on 2014/11/24 18:09
10 %\fi
11 %\iffalse
12 %<*package>
13 %% \CharacterTable
14 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
15 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
16 %% Digits \0\1\2\3\4\5\6\7\8\9
17 %% Exclamation \! Double quote \" Hash (number) \#
18 %% Dollar \$ Percent \% Ampersand \&
19 %% Acute accent \' Left paren \( Right paren \)
20 %% Asterisk \* Plus \+ Comma \,
21 %% Minus \- Point \. Solidus \/
22 %% Colon \: Semicolon \; Less than \<
23 %% Equals \= Greater than \> Question mark \?
24 %% Commercial at \@ Left bracket \[ Backslash \\
25 %% Right bracket \] Circumflex \^ Underscore \_
26 %% Grave accent \` Left brace \{ Vertical bar \|
27 %% Right brace \} Tilde \~}
28 %</package>
29 %\fi
30 % \iffalse
31 % Doc-Source file to use with LaTeX2e
32 % Copyright (C) 2014 Nicola Talbot, all rights reserved.
33 % \fi
34 % \iffalse
35 %<*driver>
36 \documentclass{nlctdoc}
37
38 \usepackage[utf8]{inputenc}
39 \usepackage[T1]{fontenc}
40
41 \title{Glossaries Language Module: glossaries-danish}
42 \author{Nicola Talbot}
43 \date{version 1.0 (2014-11-23)}
44
45 \begin{document}
46 \DocInput{glossaries-danish.dtx}
47 \end{document}
48 %</driver>
49 %\fi
50 %\maketitle
51 %
52 %This language module simply needs to be installed. The \sty{glossaries}
53 %package will automatically load it if required.
54 %
55 %
56 %
57 %\StopEventually{}
58 %\section{The Code}
59 %\iffalse
60 % \begin{macrocode}
61 %<*glossaries-danish.ldf>
62 % \end{macrocode}
63 %\fi
64 %\subsection{glossaries-danish.ldf}
65 % \begin{macrocode}
66 \ProvidesGlossariesLang{danish}[2014/11/23 v1.0]
67
68 \glsifusedtranslatordict{Danish}
69 {%
70 \addglossarytocaptions{\CurrentTrackedLanguage}%
71 \addglossarytocaptions{\CurrentTrackedDialect}%
72 }
73 {%
74 \@ifpackageloaded{polyglossia}%
75 {%
76 \newcommand*{\glossariescaptionsdanish}{%
77 \renewcommand*{\glossaryname}{\textdanish{Ordliste}}%
78 \renewcommand*{\acronymname}{\textdanish{Akronymer}}%
79 \renewcommand*{\entryname}{\textdanish{Symbolforklaring}}%
80 \renewcommand*{\descriptionname}{\textdanish{Beskrivelse}}%
81 \renewcommand*{\symbolname}{\textdanish{Symbol}}%
82 \renewcommand*{\pagelistname}{\textdanish{Side}}%
83 \renewcommand*{\glssymbolsgroupname}{\textdanish{Symboler}}%
84 \renewcommand*{\glsnumbersgroupname}{\textdanish{Tal}}%
85 }%
86 }
87 {%
88 \newcommand*{\glossariescaptionsdanish}{%
89 \renewcommand*{\glossaryname}{Ordliste}%
90 \renewcommand*{\acronymname}{Akronymer}%
91 \renewcommand*{\entryname}{Symbolforklaring}%
92 \renewcommand*{\descriptionname}{Beskrivelse}%
93 \renewcommand*{\symbolname}{Symbol}%
94 \renewcommand*{\pagelistname}{Side}%
95 \renewcommand*{\glssymbolsgroupname}{Symboler}%
96 \renewcommand*{\glsnumbersgroupname}{Tal}%
97 }%
98 }%
99 \ifcsdef{captions\CurrentTrackedDialect}
100 {
101 \csappto{captions\CurrentTrackedDialect}%
102 {%
103 \glossariescaptionsdanish
104 }%
105 }
106 {%
107 \ifcsdef{captions\CurrentTrackedLanguage}
108 {
109 \csappto{captions\CurrentTrackedLanguage}%
110 {%
111 \glossariescaptionsdanish
112 }%
113 }
114 {%
115 }
116 }
117 \glossariescaptionsdanish
118 }
119 % \end{macrocode}
120 % General default plural suffix:
121 % \begin{macrocode}
122 \renewcommand*{\glspluralsuffix}{s}
123 % \end{macrocode}
124 % Acronym default plural suffix:
125 % \begin{macrocode}
126 \renewcommand*{\glsacrpluralsuffix}{\glspluralsuffix}
127 % \end{macrocode}
128 % Acronym in \cs{textsc} default plural suffix
129 % (\cs{glstextup} is used to cancel the effect of \cs{textsc}):
130 % \begin{macrocode}
131 \renewcommand*{\glsupacrpluralsuffix}{\glstextup{\glsacrpluralsuffix}}
132 % \end{macrocode}
133 %\iffalse
134 % \begin{macrocode}
135 %</glossaries-danish.ldf>
136 % \end{macrocode}
137 %\fi
138 %\iffalse
139 % \begin{macrocode}
140 %<*glossaries-dictionary-Danish.dict>
141 % \end{macrocode}
142 %\fi
143 %\subsection{glossaries-dictionary-Danish.dict}
144 % \begin{macrocode}
145 \ProvidesDictionary{glossaries-dictionary}{Danish}
146
147 \providetranslation{Glossary}{Ordliste}
148 \providetranslation{Acronyms}{Akronymer}
149 \providetranslation{Notation (glossaries)}{Symbolforklaring}
150 \providetranslation{Description (glossaries)}{Beskrivelse}
151 \providetranslation{Symbol (glossaries)}{Symbol}
152 \providetranslation{Page List (glossaries)}{Side}
153 \providetranslation{Symbols (glossaries)}{Symboler}
154 \providetranslation{Numbers (glossaries)}{Tal}
155 % \end{macrocode}
156 %\iffalse
157 % \begin{macrocode}
158 %</glossaries-dictionary-Danish.dict>
159 % \end{macrocode}
160 %\fi
161 %\Finale
162 \endinput