Debian Codegraph @

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

raw
1 %\iffalse
2 % glossaries-magyar.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-magyar
9 % Created on 2014/11/24 18:53
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-magyar}
42 \author{Nicola Talbot}
43 \date{version 1.0 (2014-11-23)}
44
45 \begin{document}
46 \DocInput{glossaries-magyar.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-magyar-noenc.ldf>
62 % \end{macrocode}
63 %\fi
64 %\subsection{glossaries-magyar-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-magyar-utf8.ldf file should've been loaded instead.
71 % \begin{macrocode}
72 \newcommand*{\glossariescaptionsmagyar}{%
73 \renewcommand*{\glossaryname}{\textmagyar{Sz\'ojegyz\'ek}}%
74 \renewcommand*{\acronymname}{\textmagyar{Bet\H uszavak}}%
75 \renewcommand*{\entryname}{\textmagyar{Kifejez\'es}}%
76 \renewcommand*{\descriptionname}{\textmagyar{Magyar\'azat}}%
77 \renewcommand*{\symbolname}{\textmagyar{Jel\"ol\'es}}%
78 \renewcommand*{\pagelistname}{\textmagyar{Oldalsz\'am}}%
79 \renewcommand*{\glssymbolsgroupname}{\textmagyar{Jelek}}%
80 \renewcommand*{\glsnumbersgroupname}{\textmagyar{Sz\'amjegyek}}%
81 }%
82 }
83 {%
84 \newcommand*{\glossariescaptionsmagyar}{%
85 \renewcommand*{\glossaryname}{Sz\'ojegyz\'ek}%
86 \renewcommand*{\acronymname}{Bet\H uszavak}%
87 \renewcommand*{\entryname}{Kifejez\'es}%
88 \renewcommand*{\descriptionname}{Magyar\'azat}%
89 \renewcommand*{\symbolname}{Jel\"ol\'es}%
90 \renewcommand*{\pagelistname}{Oldalsz\'am}%
91 \renewcommand*{\glssymbolsgroupname}{Jelek}%
92 \renewcommand*{\glsnumbersgroupname}{Sz\'amjegyek}%
93 }%
94 }
95 % \end{macrocode}
96 %\iffalse
97 % \begin{macrocode}
98 %</glossaries-magyar-noenc.ldf>
99 % \end{macrocode}
100 %\fi
101 %\iffalse
102 % \begin{macrocode}
103 %<*glossaries-magyar-utf8.ldf>
104 % \end{macrocode}
105 %\fi
106 %\subsection{glossaries-magyar-utf8.ldf}
107 % \begin{macrocode}
108 \@ifpackageloaded{polyglossia}%
109 {%
110 \newcommand*{\glossariescaptionsmagyar}{%
111 \renewcommand*{\glossaryname}{\textmagyar{Szójegyzék}}%
112 \renewcommand*{\acronymname}{\textmagyar{Betűszavak}}%
113 \renewcommand*{\entryname}{\textmagyar{Kifejezés}}%
114 \renewcommand*{\descriptionname}{\textmagyar{Magyarázat}}%
115 \renewcommand*{\symbolname}{\textmagyar{Jelölés}}%
116 \renewcommand*{\pagelistname}{\textmagyar{Oldalszám}}%
117 \renewcommand*{\glssymbolsgroupname}{\textmagyar{Jelek}}%
118 \renewcommand*{\glsnumbersgroupname}{\textmagyar{Számjegyek}}%
119 }%
120 }
121 {%
122 \newcommand*{\glossariescaptionsmagyar}{%
123 \renewcommand*{\glossaryname}{Szójegyzék}%
124 \renewcommand*{\acronymname}{Betűszavak}%
125 \renewcommand*{\entryname}{Kifejezés}%
126 \renewcommand*{\descriptionname}{Magyarázat}%
127 \renewcommand*{\symbolname}{Jelölés}%
128 \renewcommand*{\pagelistname}{Oldalszám}%
129 \renewcommand*{\glssymbolsgroupname}{Jelek}%
130 \renewcommand*{\glsnumbersgroupname}{Számjegyek}%
131 }%
132 }
133 % \end{macrocode}
134 %\iffalse
135 % \begin{macrocode}
136 %</glossaries-magyar-utf8.ldf>
137 % \end{macrocode}
138 %\fi
139 %\iffalse
140 % \begin{macrocode}
141 %<*glossaries-magyar.ldf>
142 % \end{macrocode}
143 %\fi
144 %\subsection{glossaries-magyar.ldf}
145 % \begin{macrocode}
146 \ProvidesGlossariesLang{magyar}[2014/11/23 v1.0]
147
148 \glsifusedtranslatordict{Magyar}
149 {%
150 \addglossarytocaptions{\CurrentTrackedLanguage}%
151 \addglossarytocaptions{\CurrentTrackedDialect}%
152 }
153 {%
154 \ifdefstring{\inputencodingname}{utf8}
155 {\input{glossaries-magyar-utf8.ldf}}%
156 {%
157 \ifdef{\XeTeXinputencoding}% XeTeX defaults to UTF-8
158 {\input{glossaries-magyar-utf8.ldf}}%
159 {\input{glossaries-magyar-noenc.ldf}}
160 }
161 \ifcsdef{captions\CurrentTrackedDialect}
162 {%
163 \csappto{captions\CurrentTrackedDialect}%
164 {%
165 \glossariescaptionsmagyar
166 }%
167 }%
168 {%
169 \ifcsdef{captions\CurrentTrackedLanguage}
170 {
171 \csappto{captions\CurrentTrackedLanguage}%
172 {%
173 \glossariescaptionsmagyar
174 }%
175 }%
176 {%
177 }%
178 }%
179 \glossariescaptionsmagyar
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-magyar.ldf>
198 % \end{macrocode}
199 %\fi
200 %\iffalse
201 % \begin{macrocode}
202 %<*glossaries-dictionary-Magyar.dict>
203 % \end{macrocode}
204 %\fi
205 %\subsection{glossaries-dictionary-Magyar.dict}
206 % \begin{macrocode}
207 \ProvidesDictionary{glossaries-dictionary}{Magyar}
208
209 \providetranslation{Glossary}{Sz\'ojegyz\'ek}
210 \providetranslation{Acronyms}{Bet\H uszavak}
211 \providetranslation{Notation (glossaries)}{Kifejez\'es}
212 \providetranslation{Description (glossaries)}{Magyar\'azat}
213 \providetranslation{Symbol (glossaries)}{Jel\"ol\'es}
214 \providetranslation{Page List (glossaries)}{Oldalsz\'am}
215 \providetranslation{Symbols (glossaries)}{Jelek}
216 \providetranslation{Numbers (glossaries)}{Sz\'amjegyek}
217 % \end{macrocode}
218 %\iffalse
219 % \begin{macrocode}
220 %</glossaries-dictionary-Magyar.dict>
221 % \end{macrocode}
222 %\fi
223 %\Finale
224 \endinput