summaryrefslogtreecommitdiff
path: root/language/guarani/guarani.ldf
blob: 390cc17ea8865548bf22adb22bd82c14033bd889 (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
% This is file is guarani.ldf
%
% Copyright (c) 2004 Javier Bezos
% All rights reserved.
%
% Please report bugs to: jbezos@wanadoo.es

\LdfInit{guarani}\captionsguarani

\ifx\l@guarani\@undefined
  \@nopatterns{guarani}
  \adddialect\l@guarani0\fi
  
% Captions

\addto\captionsspanish{%
  \def\prefacename{Prefacio}%
  \def\refname{Referencias}%
  \def\abstractname{Resumen}%
  \def\bibname{Bibliograf\'{\i}a}%
  \def\chaptername{Cap\'{\i}tulo}%
  \def\appendixname{Ap\'endice}%
  \def\listfigurename{\'Indice de figuras}%
  \def\listtablename{\'Indice de cuadros}%
  \def\indexname{\'Indice alfab\'etico}%
  \def\figurename{Figura}%
  \def\tablename{Cuadro}%
  \def\partname{Parte}%
  \def\enclname{Adjunto}%
  \def\ccname{Copia a}%
  \def\headtoname{A}%
  \def\pagename{P\'agina}%
  \def\seename{v\'ease}%
  \def\alsoname{v\'ease tambi\'en}%
  \def\proofname{Demostraci\'on}%
  \def\glossaryname{Glosario}}
  
% Date

\def\dateguarani{%
  \def\today{\number\day{--a}~de~\ifcase\month\or
    januaro\or februaro\or marto\or aprilo\or majo\or junio\or
    julio\or a\u{u}gusto\or septembro\or oktobro\or novembro\or
    decembro\fi,\space \number\year}}
    
% Guarani puso
    
\def\setguaranipuso#1#2#3{%
  \def\gn@bpuso{#1}%
  \def\gn@mpuso{#2}%
  \def\gn@epuso{#3}}

% Shorthands

\addto\extrasguarani{%
  \languageshorthands{guarani}%
  \lccode`'=`'
  \bbl@frenchspacing}%
\addto\noextrasguarani{%
  \lccode`'=\z@
  \bbl@nonfrenchspacing}%

\initiate@active@char{^}
\addto\extrasguarani{\bbl@activate{^}}
\addto\noextrasguarani{\bbl@deactivate{^}}

\declare@shorthand{system}{^}{\csname normal@char\string^\endcsname}

\declare@shorthand{guarani}{^a}{\allowhyphens\~{a}\allowhyphens}
\declare@shorthand{guarani}{^A}{\allowhyphens\~{A}\allowhyphens}
\declare@shorthand{guarani}{^e}{\allowhyphens\~{e}\allowhyphens}
\declare@shorthand{guarani}{^E}{\allowhyphens\~{E}\allowhyphens}
\declare@shorthand{guarani}{^i}{\allowhyphens\~{\i}\allowhyphens}
\declare@shorthand{guarani}{^I}{\allowhyphens\~{I}\allowhyphens}
\declare@shorthand{guarani}{^o}{\allowhyphens\~{o}\allowhyphens}
\declare@shorthand{guarani}{^O}{\allowhyphens\~{O}\allowhyphens}
\declare@shorthand{guarani}{^u}{\allowhyphens\~{u}\allowhyphens}
\declare@shorthand{guarani}{^U}{\allowhyphens\~{U}\allowhyphens}
\declare@shorthand{guarani}{^y}{\allowhyphens\~{y}\allowhyphens}
\declare@shorthand{guarani}{^Y}{\allowhyphens\~{Y}\allowhyphens}
\declare@shorthand{guarani}{^g}{\allowhyphens\~{g}\allowhyphens}
\declare@shorthand{guarani}{^G}{\allowhyphens\~{G}\allowhyphens}
\declare@shorthand{guarani}{^n}{\allowhyphens\~{n}\allowhyphens}
\declare@shorthand{guarani}{^N}{\allowhyphens\~{N}\allowhyphens}

\initiate@active@char{"}
\addto\extrasguarani{\bbl@activate{"}}
\addto\noextrasguarani{\bbl@deactivate{"}}

\declare@shorthand{guarani}{"a}{\allowhyphens\'{a}\allowhyphens}
\declare@shorthand{guarani}{"A}{\allowhyphens\'{A}\allowhyphens}
\declare@shorthand{guarani}{"e}{\allowhyphens\'{e}\allowhyphens}
\declare@shorthand{guarani}{"E}{\allowhyphens\'{E}\allowhyphens}
\declare@shorthand{guarani}{"i}{\allowhyphens\'{\i}\allowhyphens}
\declare@shorthand{guarani}{"I}{\allowhyphens\'{I}\allowhyphens}
\declare@shorthand{guarani}{"o}{\allowhyphens\'{o}\allowhyphens}
\declare@shorthand{guarani}{"O}{\allowhyphens\'{O}\allowhyphens}
\declare@shorthand{guarani}{"u}{\allowhyphens\'{u}\allowhyphens}
\declare@shorthand{guarani}{"U}{\allowhyphens\'{U}\allowhyphens}
\declare@shorthand{guarani}{"y}{\allowhyphens\'{y}\allowhyphens}
\declare@shorthand{guarani}{"Y}{\allowhyphens\'{Y}\allowhyphens}

\initiate@active@char{'}
\addto\extrasguarani{\bbl@activate{'}}
\addto\noextrasguarani{\bbl@deactivate{'}}

\declare@shorthand{guarani}{'}{%
  \if$\gn@bpuso\gn@mpuso\gn@epuso$%
    \string'%
  \else
    \allowhyphens
    \kern-\gn@bpuso
    \lower\gn@mpuso\hbox{\string'}%
    \kern-\gn@epuso
    \allowhyphens
  \fi}

\setguaranipuso{}{}{}

\ldf@finish{guarani}

\endinput