summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/polyglossia/gloss-breton.ldf
blob: a21e9669fedd0c923f4a8eb4668a2244e712a789 (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
\ProvidesFile{gloss-breton.ldf}[polyglossia: module for breton]
\makeatletter
\def\breton@font{\normalfontlatin}

\ifx\l@breton\@undefined%
   \xpg@nopatterns{Breton}%
   \adddialect\l@breton0%
\fi

\def\breton@punctuation{%
    \frenchspacing%
    \XeTeXinterchartokenstate=1%
    \XeTeXcharclass `\! 7%
    \XeTeXcharclass `\; 7%
    \XeTeXcharclass `\: 7%
    \XeTeXcharclass `\? 8%
    \XeTeXinterchartoks 0 7 = {\unskip\kern.1667em}%
    \XeTeXinterchartoks 0 8 = {\unskip\kern\fontdimen2\font\kern-1.4\fontdimen3\font}%
    }

\def\nobreton@punctuation{%
    \nonfrenchspacing%
    \XeTeXinterchartokenstate=0%
}


\def\captionsbreton{%
   \def\refname{\textbreton{Daveennoù}}%
   \def\abstractname{\textbreton{Dvierrañ}}%
   \def\bibname{\textbreton{Lennadurezh}}%
   \def\prefacename{\textbreton{Rakskrid}}%
   \def\chaptername{\textbreton{Pennad}}%
   \def\appendixname{\textbreton{Stagadenn}}%
   \def\contentsname{\textbreton{Taolenn}}%
   \def\listfigurename{\textbreton{Listenn ar Figurennoù}}%
   \def\listtablename{\textbreton{Listenn an taolennoù}}%
   \def\indexname{\textbreton{Meneger}}%
   \def\figurename{\textbreton{Figurenn}}%
   \def\tablename{\textbreton{Taolenn}}%
   \def\thepart{\textbreton{}}%
   \def\partname{\textbreton{Lodenn}}%
   \def\pagename{\textbreton{Pajenn}}%
   \def\seename{\textbreton{Gwelout}}%
   \def\alsoname{\textbreton{Gwelout ivez}}%
   \def\enclname{\textbreton{Dielloù kevret}}%
   \def\ccname{\textbreton{Eilskrid da}}%
   \def\headtoname{\textbreton{evit}}%
   \def\proofname{\textbreton{Proof}}%
   \def\glossaryname{\textbreton{Glossary}}%
   }
\def\datebreton{%
   \def\today{\textbreton{\ifnum\day=1\relax 1\/\textsuperscript{añ}\else
    \number\day\fi \space a\space viz\space\ifcase\month\or
    Genver\or C'hwevrer\or Meurzh\or Ebrel\or Mae\or Mezheven\or
    Gouere\or Eost\or Gwengolo\or Here\or Du\or Kerzu\fi
    \space\number\year}}}

\def\breton@language{\protect\language=\l@breton}

\setlocalhyphenmins{breton}{2}{2}

\def\noextras@breton{%
   \nobreton@punctuation%
   }

\def\blockextras@breton{%
   \breton@punctuation%
   }

\def\inlineextras@breton{%
   \breton@punctuation%
   }

\endinput

% These are defined in Babel 
% perhaps we should activate them only if option 
% "ordinalmacros" is given
\def\kentan{1\/\textsuperscript{añ}} %${}^{\rm a\tilde{n}}$}
\def\eil{2\/\textsuperscript{l}} %${}^{\rm l}$}
\def\re{\/\textsuperscript{re}} %${}^{\rm re}$}
\def\trede{3\re}
\def\pevare{4\re}
\def\vet{\/\textsuperscript{vet}} %${}^{\rm vet}$}
\def\pempvet{5\vet}