Debian Codegraph @

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

raw
1 %\iffalse
2 % glossaries-irish.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-irish
9 % Created on 2014/11/24 18:36
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-irish}
42 \author{Nicola Talbot}
43 \date{version 1.0 (2014-11-23)}
44
45 \begin{document}
46 \DocInput{glossaries-irish.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-irish-noenc.ldf>
62 % \end{macrocode}
63 %\fi
64 %\subsection{glossaries-irish-noenc.ldf}
65 % \begin{macrocode}
66 \@ifpackageloaded{polyglossia}%
67 {%
68 % \end{macrocode}
69 % This is unlikely to occur, since if polyglossia has been loaded
70 % then the glossaries-irish-utf8.ldf file should've been loaded instead.
71 % \begin{macrocode}
72 \newcommand*{\glossariescaptionsirish}{%
73 \renewcommand*{\glossaryname}{\textirish{Gluais}}%
74 \renewcommand*{\acronymname}{\textirish{Acrainmneacha}}%
75 \renewcommand*{\entryname}{\textirish{Ciall}}%
76 \renewcommand*{\descriptionname}{\textirish{Tuairisc}}%
77 \renewcommand*{\symbolname}{\textirish{Comhartha}}%
78 \renewcommand*{\glssymbolsgroupname}{\textirish{Comhartha\'{\i}}}%
79 \renewcommand*{\pagelistname}{\textirish{Leathanaigh}}%
80 \renewcommand*{\glsnumbersgroupname}{\textirish{Uimhreacha}}%
81 }%
82 }%
83 {%
84 \newcommand*{\glossariescaptionsirish}{%
85 \renewcommand*{\glossaryname}{Gluais}%
86 \renewcommand*{\acronymname}{Acrainmneacha}%
87 % \end{macrocode}
88 % Wasn't sure whether to go for N\'ota (Note), Ciall (`Meaning',
89 % `sense') or Br\'{\i} (`Meaning'). In the end I chose Ciall.
90 % \begin{macrocode}
91 \renewcommand*{\entryname}{Ciall}%
92 \renewcommand*{\descriptionname}{Tuairisc}%
93 % \end{macrocode}
94 % Again, not sure whether to use Comhartha/Comhartha\'{\i} or
95 % Siombail/Siombaile, so have chosen the former.
96 % \begin{macrocode}
97 \renewcommand*{\symbolname}{Comhartha}%
98 \renewcommand*{\glssymbolsgroupname}{Comhartha\'{\i}}%
99 \renewcommand*{\pagelistname}{Leathanaigh}%
100 \renewcommand*{\glsnumbersgroupname}{Uimhreacha}%
101 }%
102 }
103 % \end{macrocode}
104 %\iffalse
105 % \begin{macrocode}
106 %</glossaries-irish-noenc.ldf>
107 % \end{macrocode}
108 %\fi
109 %\iffalse
110 % \begin{macrocode}
111 %<*glossaries-irish-utf8.ldf>
112 % \end{macrocode}
113 %\fi
114 %\subsection{glossaries-irish-utf8.ldf}
115 % \begin{macrocode}
116 \@ifpackageloaded{polyglossia}%
117 {%
118 \newcommand*{\glossariescaptionsirish}{%
119 \renewcommand*{\glossaryname}{\textirish{Gluais}}%
120 \renewcommand*{\acronymname}{\textirish{Acrainmneacha}}%
121 \renewcommand*{\entryname}{\textirish{Ciall}}%
122 \renewcommand*{\descriptionname}{\textirish{Tuairisc}}%
123 \renewcommand*{\symbolname}{\textirish{Comhartha}}%
124 \renewcommand*{\glssymbolsgroupname}{\textirish{Comharthaí}}%
125 \renewcommand*{\pagelistname}{\textirish{Leathanaigh}}%
126 \renewcommand*{\glsnumbersgroupname}{\textirish{Uimhreacha}}%
127 }%
128 }
129 {%
130 \newcommand*{\glossariescaptionsirish}{%
131 \renewcommand*{\glossaryname}{Gluais}%
132 \renewcommand*{\acronymname}{Acrainmneacha}%
133 \renewcommand*{\entryname}{Ciall}%
134 \renewcommand*{\descriptionname}{Tuairisc}%
135 \renewcommand*{\symbolname}{Comhartha}%
136 \renewcommand*{\glssymbolsgroupname}{Comharthaí}%
137 \renewcommand*{\pagelistname}{Leathanaigh}%
138 \renewcommand*{\glsnumbersgroupname}{Uimhreacha}%
139 }%
140 }
141 % \end{macrocode}
142 %\iffalse
143 % \begin{macrocode}
144 %</glossaries-irish-utf8.ldf>
145 % \end{macrocode}
146 %\fi
147 %\iffalse
148 % \begin{macrocode}
149 %<*glossaries-irish.ldf>
150 % \end{macrocode}
151 %\fi
152 %\subsection{glossaries-irish.ldf}
153 % \begin{macrocode}
154 \ProvidesGlossariesLang{irish}[2014/11/23 v1.0]
155
156 \glsifusedtranslatordict{Irish}
157 {%
158 \addglossarytocaptions{\CurrentTrackedLanguage}%
159 \addglossarytocaptions{\CurrentTrackedDialect}%
160 }
161 {%
162 \ifdefstring{\inputencodingname}{utf8}
163 {\input{glossaries-irish-utf8.ldf}}%
164 {%
165 \ifdef{\XeTeXinputencoding}% XeTeX defaults to UTF-8
166 {\input{glossaries-irish-utf8.ldf}}%
167 {\input{glossaries-irish-noenc.ldf}}
168 }
169 \ifcsdef{captions\CurrentTrackedDialect}
170 {%
171 \csappto{captions\CurrentTrackedDialect}%
172 {%
173 \glossariescaptionsirish
174 }%
175 }%
176 {%
177 \ifcsdef{captions\CurrentTrackedLanguage}
178 {
179 \csappto{captions\CurrentTrackedLanguage}%
180 {%
181 \glossariescaptionsirish
182 }%
183 }%
184 {%
185 }%
186 }%
187 \glossariescaptionsirish
188 }
189 % \end{macrocode}
190 % General default plural suffix:
191 % \begin{macrocode}
192 \renewcommand*{\glspluralsuffix}{s}
193 % \end{macrocode}
194 % Acronym default plural suffix:
195 % \begin{macrocode}
196 \renewcommand*{\glsacrpluralsuffix}{\glspluralsuffix}
197 % \end{macrocode}
198 % Acronym in \cs{textsc} default plural suffix
199 % (\cs{glstextup} is used to cancel the effect of \cs{textsc}):
200 % \begin{macrocode}
201 \renewcommand*{\glsupacrpluralsuffix}{\glstextup{\glsacrpluralsuffix}}
202 % \end{macrocode}
203 %\iffalse
204 % \begin{macrocode}
205 %</glossaries-irish.ldf>
206 % \end{macrocode}
207 %\fi
208 %\iffalse
209 % \begin{macrocode}
210 %<*glossaries-dictionary-Irish.dict>
211 % \end{macrocode}
212 %\fi
213 %\subsection{glossaries-dictionary-Irish.dict}
214 % \begin{macrocode}
215 \ProvidesDictionary{glossaries-dictionary}{Irish}
216
217 \providetranslation{Glossary}{Gluais}
218 \providetranslation{Acronyms}{Acrainmneacha}
219 \providetranslation{Notation (glossaries)}{Ciall}
220 \providetranslation{Description (glossaries)}{Tuairisc}
221 \providetranslation{Symbol (glossaries)}{Comhartha}
222 \providetranslation{Page List (glossaries)}{Leathanaigh}
223 \providetranslation{Symbols (glossaries)}{Comhartha\'{\i}}
224 \providetranslation{Numbers (glossaries)}{Uimhreacha}
225 % \end{macrocode}
226 %\iffalse
227 % \begin{macrocode}
228 %</glossaries-dictionary-Irish.dict>
229 % \end{macrocode}
230 %\fi
231 %\Finale
232 \endinput