Debian Codegraph @

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

raw
1 %\iffalse
2 % glossaries-polish.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-polish
9 % Created on 2014/11/24 18:58
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-polish}
42 \author{Nicola Talbot}
43 \date{version 1.0 (2014-11-23)}
44
45 \begin{document}
46 \DocInput{glossaries-polish.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-polish-noenc.ldf>
62 % \end{macrocode}
63 %\fi
64 %\subsection{glossaries-polish-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-polish-utf8.ldf file should've been loaded instead.
71 % \begin{macrocode}
72 \newcommand*{\glossariescaptionspolish}{%
73 \renewcommand*{\glossaryname}{\textpolish{S{\l}ownik termin\'ow}}%
74 \renewcommand*{\acronymname}{\textpolish{Skr\'ot}}%
75 \renewcommand*{\entryname}{\textpolish{Termin}}%
76 \renewcommand*{\descriptionname}{\textpolish{Opis}}%
77 \renewcommand*{\symbolname}{\textpolish{Symbol}}%
78 \renewcommand*{\pagelistname}{\textpolish{Strony}}%
79 \renewcommand*{\glssymbolsgroupname}{\textpolish{Symbole}}%
80 \renewcommand*{\glsnumbersgroupname}{\textpolish{Liczby}}%
81 }%
82 }
83 {%
84 \newcommand*{\glossariescaptionspolish}{%
85 \renewcommand*{\glossaryname}{S{\l}ownik termin\'ow}%
86 \renewcommand*{\acronymname}{Skr\'ot}%
87 \renewcommand*{\entryname}{Termin}%
88 \renewcommand*{\descriptionname}{Opis}%
89 \renewcommand*{\symbolname}{Symbol}%
90 \renewcommand*{\pagelistname}{Strony}%
91 \renewcommand*{\glssymbolsgroupname}{Symbole}%
92 \renewcommand*{\glsnumbersgroupname}{Liczby}%
93 }%
94 }
95 % \end{macrocode}
96 %\iffalse
97 % \begin{macrocode}
98 %</glossaries-polish-noenc.ldf>
99 % \end{macrocode}
100 %\fi
101 %\iffalse
102 % \begin{macrocode}
103 %<*glossaries-polish-utf8.ldf>
104 % \end{macrocode}
105 %\fi
106 %\subsection{glossaries-polish-utf8.ldf}
107 % \begin{macrocode}
108 \@ifpackageloaded{polyglossia}%
109 {%
110 \newcommand*{\glossariescaptionspolish}{%
111 \renewcommand*{\glossaryname}{\textpolish{Słownik terminów}}%
112 \renewcommand*{\acronymname}{\textpolish{Skrót}}%
113 \renewcommand*{\entryname}{\textpolish{Termin}}%
114 \renewcommand*{\descriptionname}{\textpolish{Opis}}%
115 \renewcommand*{\symbolname}{\textpolish{Symbol}}%
116 \renewcommand*{\pagelistname}{\textpolish{Strony}}%
117 \renewcommand*{\glssymbolsgroupname}{\textpolish{Symbole}}%
118 \renewcommand*{\glsnumbersgroupname}{\textpolish{Liczby}}%
119 }%
120 }
121 {%
122 \newcommand*{\glossariescaptionspolish}{%
123 \renewcommand*{\glossaryname}{Słownik terminów}%
124 \renewcommand*{\acronymname}{Skrót}%
125 \renewcommand*{\entryname}{Termin}%
126 \renewcommand*{\descriptionname}{Opis}%
127 \renewcommand*{\symbolname}{Symbol}%
128 \renewcommand*{\pagelistname}{Strony}%
129 \renewcommand*{\glssymbolsgroupname}{Symbole}%
130 \renewcommand*{\glsnumbersgroupname}{Liczby}%
131 }%
132 }
133 % \end{macrocode}
134 %\iffalse
135 % \begin{macrocode}
136 %</glossaries-polish-utf8.ldf>
137 % \end{macrocode}
138 %\fi
139 %\iffalse
140 % \begin{macrocode}
141 %<*glossaries-polish.ldf>
142 % \end{macrocode}
143 %\fi
144 %\subsection{glossaries-polish.ldf}
145 % \begin{macrocode}
146 \ProvidesGlossariesLang{polish}[2014/11/23 v1.0]
147
148 \glsifusedtranslatordict{Polish}
149 {%
150 \addglossarytocaptions{\CurrentTrackedLanguage}%
151 \addglossarytocaptions{\CurrentTrackedDialect}%
152 }
153 {%
154 \ifdefstring{\inputencodingname}{utf8}
155 {\input{glossaries-polish-utf8.ldf}}%
156 {%
157 \ifdef{\XeTeXinputencoding}% XeTeX defaults to UTF-8
158 {\input{glossaries-polish-utf8.ldf}}%
159 {\input{glossaries-polish-noenc.ldf}}
160 }
161 \ifcsdef{captions\CurrentTrackedDialect}
162 {%
163 \csappto{captions\CurrentTrackedDialect}%
164 {%
165 \glossariescaptionspolish
166 }%
167 }%
168 {%
169 \ifcsdef{captions\CurrentTrackedLanguage}
170 {
171 \csappto{captions\CurrentTrackedLanguage}%
172 {%
173 \glossariescaptionspolish
174 }%
175 }%
176 {%
177 }%
178 }%
179 \glossariescaptionspolish
180 }
181 % \end{macrocode}
182 % General default plural suffix:
183 % \begin{macrocode}
184 \renewcommand*{\glspluralsuffix}{s}
185 % \end{macrocode}
186 % Acronym default plural suffix:
187 % \begin{macrocode}
188 \renewcommand*{\glsacrpluralsuffix}{\glspluralsuffix}
189 % \end{macrocode}
190 % Acronym in \cs{textsc} default plural suffix
191 % (\cs{glstextup} is used to cancel the effect of \cs{textsc}):
192 % \begin{macrocode}
193 \renewcommand*{\glsupacrpluralsuffix}{\glstextup{\glsacrpluralsuffix}}
194 % \end{macrocode}
195 %\iffalse
196 % \begin{macrocode}
197 %</glossaries-polish.ldf>
198 % \end{macrocode}
199 %\fi
200 %\iffalse
201 % \begin{macrocode}
202 %<*glossaries-dictionary-Polish.dict>
203 % \end{macrocode}
204 %\fi
205 %\subsection{glossaries-dictionary-Polish.dict}
206 % \begin{macrocode}
207 \ProvidesDictionary{glossaries-dictionary}{Polish}
208
209 \providetranslation{Glossary}{S{\l}ownik termin\'ow}
210 \providetranslation{Acronyms}{Skr\'ot}
211 \providetranslation{Notation (glossaries)}{Termin}
212 \providetranslation{Description (glossaries)}{Opis}
213 \providetranslation{Symbol (glossaries)}{Symbol}
214 \providetranslation{Page List (glossaries)}{Strony}
215 \providetranslation{Symbols (glossaries)}{Symbole}
216 \providetranslation{Numbers (glossaries)}{Liczby}
217 % \end{macrocode}
218 %\iffalse
219 % \begin{macrocode}
220 %</glossaries-dictionary-Polish.dict>
221 % \end{macrocode}
222 %\fi
223 %\Finale
224 \endinput