blob: 536ff648efbf10d4d523a0eb687adb968bebc193 (
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
|
% !TEX encoding = UTF-8 Unicode
\ProvidesFile{gloss-piedmontese.ldf}[2013/02/12 v1.0 polyglossia: module for piedmontese]
\makeatletter
\PolyglossiaSetup{piedmontese}{
bcp47=pms,
hyphennames={piedmontese},
hyphenmins={2,2},
langtag=PMS,
frenchspacing=true,
fontsetup=true,
}
% BCP-47 compliant aliases
\setlanguagealias*{piedmontese}{pms}
\define@boolkey{piedmontese}[piedmontese@]{babelshorthands}[true]{}
\ifsystem@babelshorthands
\setkeys{piedmontese}{babelshorthands=true}
\else
\setkeys{piedmontese}{babelshorthands=false}
\fi
\ifcsundef{initiate@active@char}{%
\input{babelsh.def}%
\initiate@active@char{"}%
\shorthandoff{"}%
}{}
\def\piedmontese@shorthands{%
\bbl@activate{"}%
\def\language@group{piedmontese}%
\declare@shorthand{piedmontese}{"}{%
\relax\ifmmode
\def\xpgpms@next{''}%
\else
\def\xpgpms@next{\futurelet\xpgpms@temp\xpgpms@cwm}%
\fi
\xpgpms@next}%
}
\def\xpgpms@@cwm{\nobreak\discretionary{-}{}{}\nobreak\hskip\z@skip}
\def\xpgpms@cwm{\let\xpgpms@@next\relax
\ifcat\noexpand\xpgpms@temp a%
\def\xpgpms@@next{\pms@@cwm}%
\else
\ifx\xpgpms@temp/%
\def\xpgpms@@next{\bbl@allowhyphens/\bbl@allowhyphens\@gobble}%
\else
\ifx\xpgpms@temp-%
\def\xpgpms@@next{\bbl@allowhyphens-\bbl@allowhyphens\@gobble}%
\else
\ifx\xpgpms@temp"%
\def\xpgpms@@next{``\expandafter\@gobble\string}%
\fi
\fi
\fi
\xpgpms@@next}
\def\nopiedmontese@shorthands{%
\@ifundefined{initiate@active@char}{}{\bbl@deactivate{"}}%
}
\@namedef{captions\CurrentOption}{%
\def\prefacename{Prefassion}%
\def\refname{Riferiment}%
\def\abstractname{Somari}%
\def\bibname{Bibliografìa}%
\def\chaptername{Capìtol}%
\def\appendixname{Gionta}%
\def\contentsname{Tàula}%
\def\listfigurename{Lista dle figure}%
\def\listtablename{Lista dle tabele}%
\def\indexname{Tàula analìtica}%
\def\figurename{Figura}%
\def\tablename{Tabela}%
\def\partname{Part}%
\def\enclname{Gionta/e}%
\def\ccname{Con còpia a}%
\def\headtoname{Për}%
\def\pagename{Pàgina}%
\def\seename{vëd}%
\def\alsoname{vëd anche}%
\def\proofname{Dimostrassion}%
\def\glossaryname{Glossari}%
}
\@namedef{date\CurrentOption}{%
\def\today{\number\day\space\ifcase\month\or
ëd gené\or ëd fevré\or ëd mars\or d'avril\or ëd maj\or ëd giugn\or
ëd luj\or d'agost\or dë stèmber\or d'otóber\or ëd novèmber\or dë dzèmber%
\fi\space dal\space\number\year}}
\AtEndPreamble{%
\edef\xpgpms@savedvalues{%
\clubpenalty=\the\clubpenalty\space
\@clubpenalty=\the\@clubpenalty\space
\widowpenalty=\the\widowpenalty\space
\finalhyphendemerits=\the\finalhyphendemerits}
}
\def\noextras@piedmontese{%
\lccode\string"2019=\z@
\nopiedmontese@shorthands
\xpgpms@savedvalues
}
\def\blockextras@piedmontese{%
\lccode\string"2019=\string"2019
\clubpenalty=3000 \@clubpenalty=3000 \widowpenalty=3000
\finalhyphendemerits=50000000
\ifpiedmontese@babelshorthands\piedmontese@shorthands\fi
}
\def\inlineextras@piedmontese{%
\lccode\string"2019=\string"2019
\ifpiedmontese@babelshorthands\piedmontese@shorthands\fi
}
%%% CHANGES END %%%
\endinput
|