summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-02-06 23:12:42 +0000
committerKarl Berry <karl@freefriends.org>2016-02-06 23:12:42 +0000
commit1b8f7f1bf982c75d77d85ac6855d48332cd41ca4 (patch)
tree261ef201fa077c36e0d301fa8d387a6197f36cd5 /Master/texmf-dist/tex/latex
parent0bbf286606c818036d1e621fdedf050bb9372eb5 (diff)
gloss-occitan (7feb16)
git-svn-id: svn://tug.org/texlive/trunk@39609 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/gloss-occitan/gloss-occitan.ldf157
1 files changed, 157 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/gloss-occitan/gloss-occitan.ldf b/Master/texmf-dist/tex/latex/gloss-occitan/gloss-occitan.ldf
new file mode 100644
index 00000000000..8a14b6efe06
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/gloss-occitan/gloss-occitan.ldf
@@ -0,0 +1,157 @@
+%%
+%% This is file `gloss-occitan.ldf',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% gloss-occitan.dtx (with options: `ldf')
+%% ------------------------------------------------------------------
+%% The gloss-occitan module for polyglossia
+%% Copyright (C) 2016 Cédric Valmary
+%% All rights reserved
+%%
+%% Licence information appended
+%%
+%% Created by Cédric Valmary: cvalmary at yahoo dot fr
+%% of Tot en òc <http://www.totenoc.eu/>
+%%
+\ProvidesFile{gloss-occitan.ldf}[2016/02/04 v0.3 polyglossia:
+ module for Occitan]
+\PolyglossiaSetup{occitan}{
+ hyphennames={occitan},
+ hyphenmins={2,2},
+ frenchspacing=true,
+ indentfirst=true,
+ fontsetup=true,
+}
+\define@boolkey{occitan}[occitan@]{babelshorthands}[true]{}
+
+\ifsystem@babelshorthands
+ \setkeys{occitan}{babelshorthands=true}
+\else
+ \setkeys{occitan}{babelshorthands=false}
+\fi
+\ifcsundef{initiate@active@char}{%
+\input{babelsh.def}%
+\initiate@active@char{"}%
+}{}
+\def\occitan@shorthands{%
+ \bbl@activate{"}%
+ \def\language@group{occitan}%
+ \declare@shorthand{occitan}{"}{%
+ \relax\ifmmode
+ \def\xpgoc@next{''}%
+ \else
+ \def\xpgoc@next{\futurelet\xpgoc@temp\xpgoc@cwm}%
+ \fi
+ \xpgoc@next}%
+}
+\def\xpgoc@@cwm{\nobreak\discretionary{-}{}{}\nobreak\hskip\z@skip}
+\def\xpgoc@ponchinterior{%
+ \nobreak\discretionary{-}{}{\mbox{$\cdot$}}\nobreak\hskip\z@skip}
+\def\xpgoc@cwm{\let\xpgoc@@next\relax
+ \ifcat\noexpand\xpgoc@temp a%
+ \def\xpgoc@@next{\xpgoc@@cwm}%
+ \else
+ \if\noexpand\xpgoc@temp \string|%
+ \def\xpgoc@@next##1{\xpgoc@@cwm}%
+ \else
+ \if\noexpand\xpgoc@temp \string<%
+ \def\xpgoc@@next##1{«\ignorespaces}%
+ \else
+ \if\noexpand\xpgoc@temp \string>%
+ \def\xpgoc@@next##1{\unskip»}%
+ \else
+ \if\noexpand\xpgoc@temp\string/%
+ \def\xpgoc@@next##1{\slash}%
+ \else
+ \if\noexpand\xpgoc@temp\string.%
+ \def\xpgoc@@next##1{\xpgoc@ponchinterior}%
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \xpgoc@@next}
+\def\nooccitan@shorthands{%
+ \@ifundefined{initiate@active@char}{}{\bbl@deactivate{"}}%
+}
+\def\captionsoccitan{%
+ \def\refname{Referéncias}%
+ \def\abstractname{Resumit}%
+ \def\bibname{Bibliografia}%
+ \def\prefacename{Prefaci}%
+ \def\chaptername{Capítol}%
+ \def\appendixname{Annèx}%
+ \def\contentsname{Ensenhador}%
+ \def\listfigurename{Taula de las figuras}%
+ \def\listtablename{Taula dels tablèus}%
+ \def\indexname{Indèx}%
+ \def\figurename{Figura}%
+ \def\tablename{Tablèu}%
+ %\def\thepart{}%
+ \def\partname{Partida}%
+ \def\pagename{Pagina}%
+ \def\seename{vejatz}%
+ \def\alsoname{vejatz tanben}%
+ \def\enclname{Pèça junta}%
+ \def\ccname{còpia a}%
+ \def\headtoname{A}%
+ \def\proofname{Demostracion}%
+ \def\glossaryname{Glossari}%
+}
+\def\dateoccitan{%
+ \def\occitanmonth{\ifcase\month\or
+ de~genièr\or
+ de~febrièr\or
+ de~març\or
+ d'abril\or
+ de~mai\or
+ de~junh\or
+ de~julhet\or
+ d'agost\or
+ de~setembre\or
+ d'octobre\or
+ de~novembre\or
+ de~decembre\fi
+ }%
+ \def\occitanday{\ifcase\day\or
+ 1èr\else% primièr
+ \number\day\fi% all other numbers
+ }%
+ \def\today{\occitanday\space \occitanmonth\space de~\number\year}%
+}
+\let\xpgoc@savedvalues\empty
+\AtEndPreamble{% the user or the class might define different values
+ \edef\xpgoc@savedvalues{%
+ \clubpenalty=\the\clubpenalty\space
+ \@clubpenalty=\the\@clubpenalty\space
+ \widowpenalty=\the\widowpenalty\space
+ \finalhyphendemerits=\the\finalhyphendemerits}
+}
+\def\noextras@occitan{%
+ \lccode\string"2019=\z@
+ \nooccitan@shorthands
+ \xpgoc@savedvalues
+}
+\def\blockextras@occitan{%
+ \lccode\string"2019=\string"2019
+ \clubpenalty=3000 \@clubpenalty=3000 \widowpenalty=3000
+ \finalhyphendemerits=50000000
+ \ifoccitan@babelshorthands\occitan@shorthands\fi
+}
+
+\def\inlineextras@occitan{%
+ \lccode\string"2019=\string"2019
+ \ifoccitan@babelshorthands\occitan@shorthands\fi
+}
+%% 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"
+%% The maintainer is Cédric Valmary
+%%
+%%
+%% End of file `gloss-occitan.ldf'.