summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/babel-piedmontese/piedmontese.ldf
blob: c2b541746d9f998f17f3d202fa57e496770c08ec (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
%%
%% This is file `piedmontese.ldf',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% piedmontese.dtx  (with options: `code')
%%   ______________________________________________________
%%   The piedmontese file for babel
%%   Copyright (C) 2013 Claudio Beccari
%%   All rights reserved
%% 
%%   License information appended
%% 
\ProvidesLanguage{piedmontese}
\ProvidesFile{piedmontese}
     [2013/02/12 v.1.0 Piedmontese support for the babel system]
\LdfInit{\CurrentOption}{captions\CurrentOption}
\LdfInit\CurrentOption{captions\CurrentOption}
\ifx\l@piedmontese\@undefined
    \@nopatterns{piedmontese}
    \ifx\l@italian\@undefined
        \@nopatterns{italian}
        \adddialect\l@piedmontese\l@english
    \else
        \adddialect\l@piedmontese\l@italian
    \fi
\fi
\@namedef{captions\CurrentOption}{%
    \def\prefacename{Prefassion}%
    \def\refname{Riferiment}%
    \def\abstractname{Somari}%
    \def\bibname{Bibliograf\`ia}%
    \def\chaptername{Cap\`itol}%
    \def\appendixname{Gionta}%
    \def\contentsname{T\`aula}%
    \def\listfigurename{Lista dle figure}%
    \def\listtablename{Lista dle tabele}%
    \def\indexname{T\`aula anal\`itica}%
    \def\figurename{Figura}%
    \def\tablename{Tabela}%
    \def\partname{Part}%
    \def\enclname{Gionta/e}%
    \def\ccname{Con c\`opia a}%
    \def\headtoname{P\"er}%
    \def\pagename{P\`agina}%
    \def\seename{v\"ed}%
    \def\alsoname{v\"ed anche}%
    \def\proofname{Dimostrassion}%
    \def\glossaryname{Glossari}%
}
\@namedef{date\CurrentOption}{%
    \def\today{\number\day\space \space\ifcase\month\or
      \"ed gen\'e\or \"ed fevr\'e\or \"ed mars\or d'avril\or
      \"ed maj\or \"ed giugn\or \"ed luj\or d'agost\or
      d\"e st\`ember\or d'ot\'ober\or \"ed nov\`ember\or
      d\"e dz\`ember\fi\space dal\space\number\year}}
\providehyphenmins{\CurrentOption}{\tw@\tw@}
\expandafter\addto\csname extras\CurrentOption\endcsname{%
  \babel@savevariable\clubpenalty
  \babel@savevariable\widowpenalty
  \babel@savevariable\@clubpenalty
  \clubpenalty3000\widowpenalty3000\@clubpenalty\clubpenalty}%
\expandafter\addto\csname extras\CurrentOption\endcsname{%
  \babel@savevariable\finalhyphendemerits
  \finalhyphendemerits50000000}%
\expandafter\addto\csname extras\CurrentOption\endcsname{%
  \lccode`'=`'}%
\expandafter\addto\csname noextras\CurrentOption\endcsname{%
  \lccode`'=0}%
\initiate@active@char{"}%
\expandafter\addto\csname extras\CurrentOption\endcsname{%
\bbl@activate{"}\languageshorthands{piedmontese}}%
\declare@shorthand{piedmontese}{"}{%
\ifmmode
    \def\pms@next{''}%
\else
    \def\pms@next{\futurelet\pms@temp\pms@cwm}%
\fi
\pms@next
}%
\DeclareRobustCommand*{\pms@cwm}{\let\pms@@next\relax
\ifcat\noexpand\pms@temp a%
    \def\pms@@next{\pms@@cwm}%
\else
    \ifx\pms@temp/%
        \def\pms@@next{\bbl@allowhyphens/\bbl@allowhyphens\@gobble}%
    \else
        \ifx\pms@temp-%
           \def\pms@@next{\bbl@allowhyphens-\bbl@allowhyphens\@gobble}%
        \else
            \ifx\pms@temp"%
                \def\pms@@next{``\expandafter\@gobble\string}%
            \fi
        \fi
    \fi
\fi
\pms@@next}%
\expandafter\addto\csname noextras\CurrentOption\endcsname{%
\bbl@deactivate{"}}
\ldf@finish\CurrentOption

%% Copyright 2013 Claudio Beccari
%% 
%% Distributable under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
%% this license is at: http://www.latex-project.org/lppl.txt
%% 
%% This work is "author-maintained"
%% 
%% This work consists of this file piedmontese.dtx,
%% and the derived files piedmontese.ldf and piedmontese.pdf.
%% 
%%
%% End of file `piedmontese.ldf'.