• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1%%
2%% This is file `macedonian.ldf',
3%% generated with the docstrip utility.
4%%
5%% The original source files were:
6%%
7%% macedonian.dtx  (with options: `code')
8%% This is a generated file.
9%%
10%% Copyright 1989-2005 Johannes L. Braams and any individual authors
11%% listed elsewhere in this file.  All rights reserved.
12%%
13%% This file was generated from file(s) of the Babel system.
14%% ---------------------------------------------------------
15%%
16%% It may be distributed and/or modified under the
17%% conditions of the LaTeX Project Public License, either version 1.3
18%% of this license or (at your option) any later version.
19%% The latest version of this license is in
20%%   http://www.latex-project.org/lppl.txt
21%% and version 1.3 or later is part of all distributions of LaTeX
22%% version 2003/12/01 or later.
23%%
24%% This work has the LPPL maintenance status "maintained".
25%%
26%% The Current Maintainer of this work is Johannes Braams.
27%%
28%% This file may only be distributed together with a copy of the Babel
29%% system. You may however distribute the Babel system without
30%% such generated files.
31%%
32%% The list of all files belonging to the Babel distribution is
33%% given in the file `manifest.bbl'. See also `legal.bbl for additional
34%% information.
35%%
36%% The list of derived (unpacked) files belonging to the distribution
37%% and covered by LPPL is defined by the unpacking scripts (with
38%% extension .ins) which are part of the distribution.
39\ProvidesLanguage{macedonian}
40          [2006/03/31 v1.0e Macedonian support from the babel system]
41%% File `macedonian.dtx'
42%% Babel package for LaTeX version 2e
43%% Copyright (C) 1989-2006
44%%               by Johannes Braams,TeXniek
45%% Macedonian Language Definition File
46%%               Copyright (C) 1995-2005
47%%               by Vasil.Taneski <vasil.taneski at gmail.com>
48%%                  Johannes Braams,TeXniek
49%% Adapted from bulgarian.dtx
50%%               by Vasil.Taneski <vasil.taneski at gmail.com>
51%% Please report errors to:J.L.Braams
52%%               babel at braams.cistron.nl
53\LdfInit{macedonian}{captionsmacedonian}
54\ifx\l@macedonian\@undefined
55  \@nopatterns{Macedonian}
56  \adddialect\l@macedonian0
57\fi
58\let\latinencoding\cf@encoding
59\def\reserved@a#1#2{%
60   \edef\reserved@b{#1}%
61   \edef\reserved@c{#2}%
62   \ifx\reserved@b\reserved@c
63     \let\cyrillicencoding\reserved@c
64   \fi}
65\def\cdp@elt#1#2#3#4{%
66   \reserved@a{#1}{OT2}%
67%   \reserved@a{#1}{LWN}%
68%   \reserved@a{#1}{LCY}%
69%   \reserved@a{#1}{X2}%
70%   \reserved@a{#1}{T2C}%
71%   \reserved@a{#1}{T2B}%
72   \reserved@a{#1}{T2A}
73   }
74\cdp@list
75\ifx\cyrillicencoding\undefined
76  \IfFileExists{ot2enc.def}{\def\cyrillicencoding{OT2}}\relax
77%  \IfFileExists{lwnenc.def}{\def\cyrillicencoding{LWN}}\relax
78%  \IfFileExists{lcyenc.def}{\def\cyrillicencoding{LCY}}\relax
79%  \IfFileExists{x2enc.def}{\def\cyrillicencoding{X2}}\relax
80%  \IfFileExists{t2cenc.def}{\def\cyrillicencoding{T2C}}\relax
81%  \IfFileExists{t2benc.def}{\def\cyrillicencoding{T2B}}\relax
82  \IfFileExists{t2aenc.def}{\def\cyrillicencoding{T2A}}\relax
83\ifx\cyrillicencoding\undefined
84    \PackageError{babel}%
85    {No Cyrillic encoding definition files were found}%
86    {Your installation is incomplete. \MessageBreak
87    You need at least one of the following files: \MessageBreak
88    \space\space
89    x2enc.def, t2aenc.def, t2benc.def, t2cenc.def, \MessageBreak
90    \space\space
91    lcyenc.def, lwnenc.def, ot2enc.def.}%
92  \else
93    \lowercase
94      \expandafter{\expandafter\input\cyrillicencoding enc.def\relax}%
95  \fi
96\fi
97\DeclareRobustCommand{\Macedonian}{%
98  \fontencoding\cyrillicencoding\selectfont
99  \let\encodingdefault\cyrillicencoding
100  \expandafter\set@hyphenmins\macedonianhyphenmins
101  \language\l@macedonian}
102\DeclareRobustCommand{\English}{%
103  \fontencoding\latinencoding\selectfont
104  \let\encodingdefault\latinencoding
105  \expandafter\set@hyphenmins\englishhyphenmins
106  \language\l@english}
107\let\Mak\Macedonian
108\let\mak\Macedonian
109\let\cyrillictext\Macedonian
110\let\cyr\Macedonian
111\let\Eng\English
112\def\selectenglanguage{\selectlanguage{english}}
113\def\selectbglanguage{\selectlanguage{macedonian}}
114\expandafter\ifx\csname T@X2\endcsname\relax\else
115  \def\@Alph@eng#1{{\fontencoding{\latinencoding}\selectfont
116      \ifcase#1\or A\or B\or C\or D\or E\or F\or G\or H\or I\or J\or
117      K\or L\or M\or N\or O\or P\or Q\or R\or S\or T\or U\or V\or W\or
118      X\or Y\or Z\else \@ctrerr\fi}}%
119  \def\@alph@eng#1{{\fontencoding{\latinencoding}\selectfont
120      \ifcase#1\or a\or b\or c\or d\or e\or f\or g\or h\or i\or j\or
121      k\or l\or m\or n\or o\or p\or q\or r\or s\or t\or u\or v\or w\or
122      x\or y\or z\else \@ctrerr\fi}}%
123  \let\@Alph\@Alph@eng
124  \let\@alph\@alph@eng
125  \DeclareTextSymbolDefault{\AA}{OT1}
126  \DeclareTextSymbolDefault{\aa}{OT1}
127  \DeclareTextCommand{\AA}{OT1}{\r A}
128  \DeclareTextCommand{\aa}{OT1}{\r a}
129\fi
130\begingroup\catcode`\"=12
131\def\@tempa#1{\expandafter\@tempb\meaning#1\relax\relax\relax\relax
132 "0000\@nil#1}
133\def\@tempb#1"#2#3#4#5#6\@nil#7{%
134\ifnum"#2=7 \count@"1#3#4#5\relax
135\ifnum\count@<"1000 \else \global\mathchardef#7="0#3#4#5\relax \fi
136 \fi}
137\@tempa\Gamma\@tempa\Delta\@tempa\Theta\@tempa\Lambda\@tempa\Xi
138\@tempa\Pi\@tempa\Sigma\@tempa\Upsilon\@tempa\Phi\@tempa\Psi
139\@tempa\Omega
140\def\@tempa#1#2\@nil{\def\@tempc{#1}}\def\@tempb{\mathaccent}
141\expandafter\@tempa\hat\relax\relax\@nil
142\ifx\@tempb\@tempc
143\def\@tempa#1\@nil{#1}%
144\def\@tempb#1{\afterassignment\@tempa\mathchardef\@tempc=}%
145\def\do#1"#2{}
146\def\@tempd#1{\expandafter\@tempb#1\@nil
147 \ifnum\@tempc>"FFF
148 \xdef#1{\mathaccent"\expandafter\do\meaning\@tempc\space}%
149 \fi}
150\@tempd\hat\@tempd\check\@tempd\tilde\@tempd\acute\@tempd\grave
151\@tempd\dot\@tempd\ddot\@tempd\breve\@tempd\bar
152\fi
153\endgroup
154\@ifpackageloaded{inputenc}{}{%
155\def\reserved@a{LWN}%
156\ifx\reserved@a\cyrillicencoding\else
157\def\reserved@a{T2A}%
158\ifx\reserved@a\cyrillicencoding\else
159\def\reserved@a{OT2}%
160\ifx\reserved@a\cyrillicencoding\else
161\PackageWarning{babel}%
162{No input encoding specified for Macedonian language}\fi\fi\fi}
163\let\lat\latintext
164\DeclareTextFontCommand{\textcyrillic}{\cyrillictext}
165\addto\captionsmacedonian{%
166  \def\prefacename{%
167    {\cyr\CYRP\cyrr\cyre\cyrd\cyrg\cyro\cyrv\cyro\cyrr}}%
168  \def\refname{%
169    {\cyr\CYRL\cyri\cyrt\cyre\cyrr\cyra\cyrt\cyru\cyrr\cyra}}%
170  \def\abstractname{%
171    {\cyr\CYRP\cyrr\cyre\cyrg\cyrl\cyre\cyrd}}%
172  \def\bibname{%
173    {\cyr\CYRB\cyri\cyrb\cyrl\cyri\cyro\cyrg\cyrr\cyra\cyrf\cyri\cyrje\cyra}}%
174  \def\chaptername{%
175    {\cyr\CYRG\cyrl\cyra\cyrv\cyra}}%
176  \def\appendixname{%
177    {\cyr\CYRP\cyrr\cyri\cyrl\cyro\cyrg}}%
178  \def\contentsname{%
179    {\cyr\CYRS\cyro\cyrd\cyrr\cyrzh\cyri\cyrn\cyra}}%
180  \def\listfigurename{%
181    {\cyr\CYRS\cyrl\cyri\cyrk\cyri}}%
182  \def\listtablename{%
183    {\cyr\CYRT\cyra\cyrb\cyre\cyrl\cyri}}%
184  \def\indexname{%
185    {\cyr\CYRI\cyrn\cyrd\cyre\cyrk\cyrs}}%
186  \def\authorname{%
187    {\cyr\CYRA\cyrv\cyrt\cyro\cyrr}}%
188  \def\figurename{%
189    {\cyr\CYRS\cyrl\cyri\cyrk\cyra}}%
190  \def\tablename{%
191    {\cyr\CYRT\cyra\cyrb\cyre\cyrl\cyra}}%
192  \def\partname{%
193    {\cyr\CYRD\cyre\cyrl}}%
194  \def\enclname{%
195    {\cyr\CYRP\cyrr\cyri\cyrl\cyro\cyrz\cyri}}%
196  \def\ccname{%
197    {\cyr\cyrk\cyro\cyrp\cyri\cyrje\cyra}}%
198  \def\headtoname{%
199    {\cyr\CYRZ\cyra}}%
200  \def\pagename{%
201    {\cyr\CYRS\cyrt\cyrr.}}%
202  \def\seename{%
203    {\cyr\cyrv\cyri\cyrd\cyri:}}%
204  \def\alsoname{%
205    {\cyr\cyrv\cyri\cyrd\cyri\ \cyri:}}%
206  \def\proofname{%
207   \cyr\CYRD\cyro\cyrk\cyra\cyrz:}%
208  \def\glossaryname{%
209   \cyr\CYRR\cyre\cyrch\cyrn\cyri\cyrok}%
210}
211%%
212\def\datemacedonian{%
213  \def\month@macedonian{\ifcase\month\or
214    \cyrje\cyra\cyrn\cyru\cyra\cyrr\cyri\or
215    \cyrf\cyre\cyrv\cyrr\cyru\cyra\cyrr\cyri\or
216    \cyrm\cyra\cyrr\cyrt\or
217    \cyra\cyrp\cyrr\cyri\cyrl\or
218    \cyrm\cyra\cyrje\or
219    \cyrje\cyru\cyrn\cyri\or
220    \cyrje\cyru\cyrl\cyri\or
221    \cyra\cyrv\cyrg\cyru\cyrs\cyrt\or
222    \cyrs\cyre\cyrp\cyrt\cyre\cyrm\cyrv\cyrr\cyri\or
223    \cyro\cyrk\cyrt\cyro\cyrm\cyrv\cyrr\cyri\or
224    \cyrn\cyro\cyre\cyrm\cyrv\cyrr\cyri\or
225    \cyrd\cyre\cyrk\cyre\cyrm\cyrv\cyrr\cyri\fi}%
226  \def\month@Roman{\expandafter\@Roman\month}%
227  \def\today{\number\day~\month@macedonian\ \number\year~\cyrg.}%
228  \def\todayRoman{\number\day.\,\month@Roman.\,\number\year~\cyrg.}%
229}
230\def\Romannumeral#1{\uppercase\expandafter{\romannumeral #1}}
231\def\todayRoman{\number\day.\Romannumeral{\month}.\number\year~\cyrg.}
232\addto\extrasmacedonian{\cyrillictext}
233\addto\noextrasmacedonian{\latintext}
234\initiate@active@char{"}
235\addto\extrasmacedonian{\languageshorthands{macedonian}}
236\addto\extrasmacedonian{%
237  \bbl@activate{"}}
238\addto\noextrasmacedonian{%
239  \bbl@deactivate{"}}
240\begingroup \catcode`\"12
241\def\reserved@a{\endgroup
242  \def\@SS{\mathchar"7019}
243  \def\dq{"}}
244\reserved@a
245\declare@shorthand{macedonian}{"`}{\glqq}
246\declare@shorthand{macedonian}{"'}{\grqq}
247\declare@shorthand{macedonian}{"<}{\flqq}
248\declare@shorthand{macedonian}{">}{\frqq}
249\declare@shorthand{macedonian}{""}{\hskip\z@skip}
250\declare@shorthand{macedonian}{"~}{\textormath{\leavevmode\hbox{-}}{-}}
251\declare@shorthand{macedonian}{"=}{\nobreak-\hskip\z@skip}
252\declare@shorthand{macedonian}{"|}{%
253\textormath{\nobreak\discretionary{-}{}{\kern.03em}%
254\allowhyphens}{}}
255\declare@shorthand{macedonian}{"-}{%
256  \def\macedonian@sh@tmp{%
257    \if\macedonian@sh@next-\expandafter\macedonian@sh@emdash
258    \else\expandafter\macedonian@sh@hyphen\fi
259  }%
260  \futurelet\macedonian@sh@next\macedonian@sh@tmp}
261\def\macedonian@sh@hyphen{\nobreak\-\bbl@allowhyphens}
262\def\macedonian@sh@emdash#1#2{\cdash-#1#2}
263\ifx\cdash\undefined % should be defined earlier
264\def\cdash#1#2#3{\def\tempx@{#3}%
265\def\tempa@{-}\def\tempb@{~}\def\tempc@{*}%
266 \ifx\tempx@\tempa@\@Acdash\else
267  \ifx\tempx@\tempb@\@Bcdash\else
268   \ifx\tempx@\tempc@\@Ccdash\else
269    \errmessage{Wrong usage of cdash}\fi\fi\fi}
270\def\@Acdash{\ifdim\lastskip>\z@\unskip\nobreak\hskip.2em\fi
271\cyrdash\hskip.2em\ignorespaces}%
272\def\@Bcdash{\leavevmode\ifdim\lastskip>\z@\unskip\fi
273 \nobreak\cyrdash\penalty\exhyphenpenalty\hskip\z@skip\ignorespaces}%
274\def\@Ccdash{\leavevmode
275 \nobreak\cyrdash\nobreak\hskip.35em\ignorespaces}%
276\ifx\cyrdash\undefined
277\def\cyrdash{\hbox to.8em{--\hss--}}
278\fi
279\declare@shorthand{macedonian}{",}{\nobreak\hskip.2em\ignorespaces}
280\providehyphenmins{\CurrentOption}{\tw@\tw@}
281\fi
282\addto\extrasmacedonian{\bbl@frenchspacing}
283\addto\noextrasmacedonian{\bbl@nonfrenchspacing}
284\def\enumMak{\let\@Alph\@Alph@mak \let\@alph\@alph@mak}
285\def\enumEng{\let\@Alph\@Alph@eng \let\@alph\@alph@eng}
286\def\enumLat{\let\@Alph\@Alph@eng \let\@alph\@alph@eng}
287\addto\extrasmacedonian{\enumMak}
288\addto\noextrasmacedonian{\enumLat}
289\def\@Alph@mak#1{%
290  \ifcase#1\or
291  \CYRA\or \CYRB\or \CYRV\or \CYRG\or \CYRD\or \CYRGJ\or \CYRE\or \CYRZH\or \CYRZ\or \CYRDZ\or \CYRI\or \CYRJE\or \CYRK\or \CYRL\or \CYRLJ\or \CYRM\or \CYRN\or \CYRNJ\or \CYRO\or \CYRP\or \CYRR\or \CYRS\or \CYRT\or \CYRKJ\or \CYRU\or \CYRF\or \CYRH\or \CYRC\or \CYRCH\or \CYRDZH\or \CYRSH\else
292  \@ctrerr\fi
293 }
294\def\@Alph@eng#1{%
295  \ifcase#1\or
296  A\or B\or C\or D\or E\or F\or G\or H\or I\or J\or K\or L\or M\or N\or O\or P\or Q\or R\or S\or T\or U\or V\or W\or X\or Y\or Z\else
297  \@ctrerr\fi
298  }
299\def\@alph@mak#1{%
300  \ifcase#1\or
301  \cyra\or \cyrb\or \cyrv\or \cyrg\or \cyrd\or \cyrgj\or \cyre\or \cyrzh\or \cyrz\or \cyrdz\or \cyri\or \cyrje\or \cyrk\or \cyrl\or \cyrlj\or \cyrm\or \cyrn\or \cyrnj\or \cyro\or \cyrp\or \cyrr\or \cyrs\or \cyrt\or \cyrkj\or \cyru\or \cyrf\or \cyrh\or \cyrc\or \cyrch\or \cyrdzh\or \cyrsh\else
302  \@ctrerr\fi
303  }
304\def\@alph@eng#1{%
305  \ifcase#1\or
306  a\or b\or c\or d\or e\or f\or g\or h\or i\or j\or k\or l\or m\or n\or o\or p\or q\or r\or s\or t\or u\or v\or w\or x\or y\or z\else
307  \@ctrerr\fi
308  }
309\@ifundefined{sym\cyrillicencoding letters}{}{%
310\SetSymbolFont{\cyrillicencoding letters}{bold}\cyrillicencoding
311  \rmdefault\bfdefault\updefault
312\DeclareSymbolFontAlphabet\cyrmathrm{\cyrillicencoding letters}
313\DeclareMathAlphabet\cyrmathbf\cyrillicencoding
314  \rmdefault\bfdefault\updefault
315\DeclareMathAlphabet\cyrmathsf\cyrillicencoding
316  \sfdefault\mddefault\updefault
317\DeclareMathAlphabet\cyrmathit\cyrillicencoding
318  \rmdefault\mddefault\itdefault
319\DeclareMathAlphabet\cyrmathtt\cyrillicencoding
320  \ttdefault\mddefault\updefault
321\SetMathAlphabet\cyrmathsf{bold}\cyrillicencoding
322  \sfdefault\bfdefault\updefault
323\SetMathAlphabet\cyrmathit{bold}\cyrillicencoding
324  \rmdefault\bfdefault\itdefault
325}
326\def\sh{\mathop{\operator@font sh}\nolimits}
327\def\ch{\mathop{\operator@font ch}\nolimits}
328\def\tg{\mathop{\operator@font tg}\nolimits}
329\def\arctg{\mathop{\operator@font arctg}\nolimits}
330\def\arcctg{\mathop{\operator@font arcctg}\nolimits}
331\addto\extrasrussian{%
332  \babel@save{\th}%
333  \let\ltx@th\th
334  \def\th{\textormath{\ltx@th}%
335                     {\mathop{\operator@font th}\nolimits}}%
336  }
337\def\ctg{\mathop{\operator@font ctg}\nolimits}
338\def\cth{\mathop{\operator@font cth}\nolimits}
339\def\cosec{\mathop{\operator@font cosec}\nolimits}
340\DeclareRobustCommand{\No}{%
341    \ifmmode{\nfss@text{\textnumero}}\else\textnumero\fi}
342\ldf@finish{macedonian}
343%%
344%% \CharacterTable
345%%  {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
346%%   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
347%%   Digits        \0\1\2\3\4\5\6\7\8\9
348%%   Exclamation   \!     Double quote \"    Hash (number) \#
349%%   Dollar        \$     Percent      \%    Ampersand     \&
350%%   Acute accent  \'     Left paren   \(    Right paren   \)
351%%   Asterisk      \*     Plus         \+    Comma         \,
352%%   Minus         \-     Point        \.    Solidus       \/
353%%   Colon         \:     Semicolon    \;    Less than     \<
354%%   Equals        \=     Greater than \>    Question mark \?
355%%   Commercial at \@     Left bracket \[    Backslash     \\
356%%   Right bracket \]     Circumflex   \^    Underscore    \_
357%%   Grave accent  \`     Left brace   \{    Vertical bar  \|
358%%   Right brace   \}     Tilde        \~}
359%%
360\endinput
361%%
362%% End of file `macedonian.ldf'.
363