Debian Codegraph @

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

raw
1 %\iffalse
2 %<*package>
3 %% \CharacterTable
4 %% {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
5 %% 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
6 %% Digits \0\1\2\3\4\5\6\7\8\9
7 %% Exclamation \! Double quote \" Hash (number) \#
8 %% Dollar \$ Percent \% Ampersand \&
9 %% Acute accent \' Left paren \( Right paren \)
10 %% Asterisk \* Plus \+ Comma \,
11 %% Minus \- Point \. Solidus \/
12 %% Colon \: Semicolon \; Less than \<
13 %% Equals \= Greater than \> Question mark \?
14 %% Commercial at \@ Left bracket \[ Backslash \\
15 %% Right bracket \] Circumflex \^ Underscore \_
16 %% Grave accent \` Left brace \{ Vertical bar \|
17 %% Right brace \} Tilde \~}
18 %</package>
19 %\fi
20 % \iffalse
21 % Doc-Source file to use with LaTeX2e
22 % \fi
23 % \iffalse
24 %<*driver>
25 \documentclass{ltxdoc}
26
27 \usepackage[utf8]{inputenc}
28 \usepackage[T1]{fontenc}
29
30 \usepackage{url}
31
32 \title{Glossaries Language Module: glossaries-portuges}
33 \author{Nicola Talbot}
34 \date{version 1.1 (2015-01-15)}
35
36 \CheckSum{192}
37
38 \begin{document}
39 \DocInput{glossaries-portuges.dtx}
40 \end{document}
41 %</driver>
42 %\fi
43 %\maketitle
44 %
45 %This language module simply needs to be installed. The \textsf{glossaries}
46 %package will automatically load it if required.
47 %
48 %There is currently no maintainer for this module. If you would like
49 %to volunteer please contact me at
50 %\url{http://www.dickimaw-books.com/contact.html}
51 %
52 %\StopEventually{}
53 %\section{The Code}
54 %\iffalse
55 % \begin{macrocode}
56 %<*glossaries-portuges-noenc.ldf>
57 % \end{macrocode}
58 %\fi
59 %\subsection{glossaries-portuges-noenc.ldf}
60 % \begin{macrocode}
61 \@ifpackageloaded{polyglossia}%
62 {%
63 % \end{macrocode}
64 % This is unlikely to occur, since if polyglossia has been loaded
65 % then the glossaries-portuges-utf8.ldf file should've been loaded instead.
66 % \begin{macrocode}
67 \newcommand*{\glossariescaptionsportuges}{%
68 \renewcommand*{\glossaryname}{\textportuges{Gloss\'ario}}%
69 \renewcommand*{\acronymname}{\textportuges{Siglas}}%
70 \renewcommand*{\entryname}{\textportuges{Nota\c c\~ao}}%
71 \renewcommand*{\descriptionname}{\textportuges{Descri\c c\~ao}}%
72 \renewcommand*{\symbolname}{\textportuges{S\'imbolo}}%
73 \renewcommand*{\pagelistname}{\textportuges{Lista de P\'aginas}}%
74 \renewcommand*{\glssymbolsgroupname}{\textportuges{S\'imbolos}}%
75 \renewcommand*{\glsnumbersgroupname}{\textportuges{N\'umeros}}%
76 }%
77 }
78 {%
79 \newcommand*{\glossariescaptionsportuges}{%
80 \renewcommand*{\glossaryname}{Gloss\'ario}%
81 \renewcommand*{\acronymname}{Siglas}%
82 \renewcommand*{\entryname}{Nota\c c\~ao}%
83 \renewcommand*{\descriptionname}{Descri\c c\~ao}%
84 \renewcommand*{\symbolname}{S\'imbolo}%
85 \renewcommand*{\pagelistname}{Lista de P\'aginas}%
86 \renewcommand*{\glssymbolsgroupname}{S\'imbolos}%
87 \renewcommand*{\glsnumbersgroupname}{N\'umeros}%
88 }%
89 }
90 % \end{macrocode}
91 %\iffalse
92 % \begin{macrocode}
93 %</glossaries-portuges-noenc.ldf>
94 % \end{macrocode}
95 %\fi
96 %\iffalse
97 % \begin{macrocode}
98 %<*glossaries-portuges-utf8.ldf>
99 % \end{macrocode}
100 %\fi
101 %\subsection{glossaries-portuges-utf8.ldf}
102 %\changes{1.1}{2015-01-15}{fixed typo in description name}
103 % \begin{macrocode}
104 \@ifpackageloaded{polyglossia}%
105 {%
106 \newcommand*{\glossariescaptionsportuges}{%
107 \renewcommand*{\glossaryname}{\textportuges{Glossário}}%
108 \renewcommand*{\acronymname}{\textportuges{Siglas}}%
109 \renewcommand*{\entryname}{\textportuges{Notação}}%
110 \renewcommand*{\descriptionname}{\textportuges{Descrição}}%
111 \renewcommand*{\symbolname}{\textportuges{Símbolo}}%
112 \renewcommand*{\pagelistname}{\textportuges{Lista de Páginas}}%
113 \renewcommand*{\glssymbolsgroupname}{\textportuges{Símbolos}}%
114 \renewcommand*{\glsnumbersgroupname}{\textportuges{Números}}%
115 }%
116 }
117 {%
118 \newcommand*{\glossariescaptionsportuges}{%
119 \renewcommand*{\glossaryname}{Glossário}%
120 \renewcommand*{\acronymname}{Siglas}%
121 \renewcommand*{\entryname}{Notação}%
122 \renewcommand*{\descriptionname}{Descrição}%
123 \renewcommand*{\symbolname}{Símbolo}%
124 \renewcommand*{\pagelistname}{Lista de Páginas}%
125 \renewcommand*{\glssymbolsgroupname}{Símbolos}%
126 \renewcommand*{\glsnumbersgroupname}{Números}%
127 % \end{macrocode}
128 %\changes{1.1}{2015-01-15}{added missing closing brace}
129 % \begin{macrocode}
130 }%
131 }
132 % \end{macrocode}
133 %\iffalse
134 % \begin{macrocode}
135 %</glossaries-portuges-utf8.ldf>
136 % \end{macrocode}
137 %\fi
138 %\iffalse
139 % \begin{macrocode}
140 %<*glossaries-portuges.ldf>
141 % \end{macrocode}
142 %\fi
143 %\subsection{glossaries-portuges.ldf}
144 % These translations were provided by a Brazilian Portuguese
145 % speaker. I don't know if they're identical to other Portuguese
146 % dialects. If they are identical rename
147 % \texttt{glossaries-dictionary-Brazilian.dict} to
148 % \texttt{glossaries-dictionary-Portuguese.dict} and remove
149 % \texttt{glossaries-pt-BR.ldf}. If they're not identical, make the
150 % relevant adjustments to \texttt{glossaries-portuges-*.ldf} and
151 % to \texttt{glossaries-pt-BR.ldf} and add
152 % \texttt{glossaries-dictionary-Portuguese.dict} as appropriate.
153 % \begin{macrocode}
154 \ProvidesGlossariesLang{portuges}[2014/11/23 v1.0]
155
156 \glsifusedtranslatordict{Portuguese}%
157 {%
158 \addglossarytocaptions{\CurrentTrackedLanguage}%
159 \addglossarytocaptions{\CurrentTrackedDialect}%
160 }
161 {%
162 \ifdefstring{\inputencodingname}{utf8}
163 {\input{glossaries-portuges-utf8.ldf}}%
164 {%
165 \ifdef{\XeTeXinputencoding}% XeTeX defaults to UTF-8
166 {\input{glossaries-portuges-utf8.ldf}}%
167 {\input{glossaries-portuges-noenc.ldf}}
168 }
169 \ifcsdef{captions\CurrentTrackedDialect}
170 {%
171 \csappto{captions\CurrentTrackedDialect}%
172 {%
173 \glossariescaptionsportuges
174 }%
175 }%
176 {%
177 \ifcsdef{captions\CurrentTrackedLanguage}
178 {
179 \csappto{captions\CurrentTrackedLanguage}%
180 {%
181 \glossariescaptionsportuges
182 }%
183 }%
184 {%
185 }%
186 }%
187 \glossariescaptionsportuges
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-portuges.ldf>
206 % \end{macrocode}
207 %\fi
208 %\iffalse
209 % \begin{macrocode}
210 %<*glossaries-pt-BR.ldf>
211 % \end{macrocode}
212 %\fi
213 %\subsection{glossaries-pt-BR.ldf}
214 % \begin{macrocode}
215 \ProvidesGlossariesLang{pt-BR}[2014/11/23 v1.0]
216
217 \glsifusedtranslatordict{Brazilian}
218 {%
219 \addglossarytocaptions{\CurrentTrackedLanguage}%
220 \addglossarytocaptions{\CurrentTrackedDialect}%
221 }
222 {%
223 \ifdefstring{\inputencodingname}{utf8}
224 {\input{glossaries-portuges-utf8.ldf}}%
225 {%
226 \ifdef{\XeTeXinputencoding}% XeTeX defaults to UTF-8
227 {\input{glossaries-portuges-utf8.ldf}}%
228 {\input{glossaries-portuges-noenc.ldf}}
229 }
230 \ifcsdef{captions\CurrentTrackedDialect}
231 {%
232 \csappto{captions\CurrentTrackedDialect}%
233 {%
234 \glossariescaptionsportuges
235 }%
236 }%
237 {%
238 \ifcsdef{captions\CurrentTrackedLanguage}
239 {
240 \csappto{captions\CurrentTrackedLanguage}%
241 {%
242 \glossariescaptionsportuges
243 }%
244 }%
245 {%
246 }%
247 }%
248 \glossariescaptionsportuges
249 }
250 % \end{macrocode}
251 % General default plural suffix:
252 % \begin{macrocode}
253 \renewcommand*{\glspluralsuffix}{s}
254 % \end{macrocode}
255 % Acronym default plural suffix:
256 % \begin{macrocode}
257 \renewcommand*{\glsacrpluralsuffix}{\glspluralsuffix}
258 % \end{macrocode}
259 % Acronym in \cs{textsc} default plural suffix
260 % (\cs{glstextup} is used to cancel the effect of \cs{textsc}):
261 % \begin{macrocode}
262 \renewcommand*{\glsupacrpluralsuffix}{\glstextup{\glsacrpluralsuffix}}
263 % \end{macrocode}
264 %\iffalse
265 % \begin{macrocode}
266 %</glossaries-pt-BR.ldf>
267 % \end{macrocode}
268 %\fi
269 %\iffalse
270 % \begin{macrocode}
271 %<*glossaries-dictionary-Brazilian.dict>
272 % \end{macrocode}
273 %\fi
274 %\subsection{glossaries-dictionary-Brazilian.dict}
275 % This is a dictionary file provided by Thiago de~Melo
276 % \begin{macrocode}
277 \ProvidesDictionary{glossaries-dictionary}{Brazilian}
278
279 \providetranslation{Glossary}{Gloss\'ario}
280 \providetranslation{Acronyms}{Siglas}
281 \providetranslation{Notation (glossaries)}{Nota\c c\~ao}
282 \providetranslation{Description (glossaries)}{Descri\c c\~ao}
283 \providetranslation{Symbol (glossaries)}{S\'imbolo}
284 \providetranslation{Page List (glossaries)}{Lista de P\'aginas}
285 \providetranslation{Symbols (glossaries)}{S\'imbolos}
286 \providetranslation{Numbers (glossaries)}{N\'umeros}
287 % \end{macrocode}
288 %\iffalse
289 % \begin{macrocode}
290 %</glossaries-dictionary-Brazilian.dict>
291 % \end{macrocode}
292 %\fi
293 %\Finale
294 \endinput