blob: f7f344dc555bbf491c1043f5e40efeb72a1aee18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
\ProvidesFile{gloss-esperanto.ldf}[polyglossia: module for esperanto]
\PolyglossiaSetup{esperanto}{
bcp47=eo,
hyphennames={esperanto},
hyphenmins={2,2},
langtag=NTO,
fontsetup=true,
%TODO localalph={esperanto@alph,esperanto@Alph}
}
% BCP-47 compliant aliases
\setlanguagealias*{esperanto}{eo}
\def\captionsesperanto{%
\def\refname{Citaĵoj}%
\def\abstractname{Resumo}%
\def\bibname{Bibliografio}%
\def\prefacename{Antaŭparolo}%
\def\chaptername{Ĉapitro}%
\def\appendixname{Apendico}%
\def\contentsname{Enhavo}%
\def\listfigurename{Listo de figuroj}%
\def\listtablename{Listo de tabeloj}%
\def\indexname{Indekso}%
\def\figurename{Figuro}%
\def\tablename{Tabelo}%
%\def\thepart{}%
%\def\partname{}%
\def\pagename{Paĝo}%
\def\seename{vidu}%
\def\alsoname{Parto}%
\def\enclname{Aldono(j)}%
\def\ccname{Kopie al}%
\def\headtoname{Al}%
\def\proofname{Pruvo}%
\def\glossaryname{Glosaro}%
}
\def\dateesperanto{%
\def\today{\number\day{–a}~de~\ifcase\month\or
januaro\or februaro\or marto\or aprilo\or majo\or junio\or
julio\or aŭgusto\or septembro\or oktobro\or novembro\or
decembro\fi,\space \number\year}%
\def\hodiau{la \today}%
\def\hodiaun{la \number\day{–an}~de~\ifcase\month\or
januaro\or februaro\or marto\or aprilo\or majo\or junio\or
julio\or aŭgusto\or septembro\or oktobro\or novembro\or
decembro\fi, \space \number\year}%
}
\def\esperanto@alph#1{%
\ifcase#1\or a\or b\or c\or ĉ\or d\or e\or f\or g\or ĝ\or
h\or ĥ\or i\or j\or ĵ\or k\or l\or m\or n\or o\or
p\or r\or s\or ŝ\or t\or u\or ŭ\or v\or z\else\xpg@ill@value{#1}{esperanto@alph}\fi}%
\def\esperanto@Alph#1{%
\ifcase#1\or A\or B\or C\or Ĉ\or D\or E\or F\or G\or Ĝ\or
H\or Ĥ\or I\or J\or Ĵ\or K\or L\or M\or N\or O\or
P\or R\or S\or Ŝ\or T\or U\or Ŭ\or V\or Z\else\xpg@ill@value{#1}{esperanto@Alph}\fi}%
\def\esperanto@numbers{%
\let\@Alph\esperanto@Alph%
\let\@alph\esperanto@alph%
}
\def\noesperanto@numbers{%
\let\@Alph\latin@Alph%
\let\@alph\latin@alph%
}
\endinput
|