diff options
Diffstat (limited to 'Master/texmf-dist/tex')
74 files changed, 148 insertions, 137 deletions
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-albanian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-albanian.ldf index 915fbeb7461..dcafbad943b 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-albanian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-albanian.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-albanian.ldf}[polyglossia: module for albanian] -\makeatletter \PolyglossiaSetup{albanian}{ hyphennames={albanian}, @@ -38,7 +37,6 @@ Qershor\or Korrik\or Gusht\or Shtator\or Tetor\or Nëntor\or Dhjetor\fi \space \number\year}}} -\makeatother \endinput %\def\sh{\mathop{\operator@font sh}\nolimits} % same as \sinh diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-amharic.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-amharic.ldf index 7dbc124d9bb..9a33de9fb90 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-amharic.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-amharic.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-amharic.ldf}[polyglossia: module for amharic] -\makeatletter \PolyglossiaSetup{amharic}{ script=Ethiopic, scripttag=ethi, diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-arabic.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-arabic.ldf index 7e5a544de40..9ffc71b16ef 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-arabic.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-arabic.ldf @@ -2,7 +2,6 @@ \RequirePackage{bidi} \RequirePackage{arabicnumbers} \RequirePackage{hijrical} -\makeatletter \PolyglossiaSetup{arabic}{ script=Arabic, @@ -207,5 +206,4 @@ \let\MakeUppercase\orig@MakeUppercase% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-armenian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-armenian.ldf index 959e0fe7688..2f22748e713 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-armenian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-armenian.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-armenian.ldf}[polyglossia: module for armenian] -\makeatletter \PolyglossiaSetup{armenian}{ script=Armenian, @@ -50,5 +49,4 @@ Նոյեմբեր\or Դեկտեմբեր\fi \number\day,\space\number\year}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-asturian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-asturian.ldf index 6fd643771c3..b1eb5089331 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-asturian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-asturian.ldf @@ -2,7 +2,6 @@ % Contributed by Kevin Godby <godbyk at gmail dot com> % \ProvidesFile{gloss-asturian.ldf}[polyglossia: module for asturian] -\makeatletter \PolyglossiaSetup{asturian}{ hyphennames={asturian,catalan}, hyphenmins={2,2}, @@ -41,5 +40,4 @@ d'avientu\fi\space de~\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasai.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasai.ldf index 23347d5b380..28dc408a4ea 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasai.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasai.ldf @@ -1,6 +1,5 @@ \ProvidesFile{gloss-bahasai.ldf}[polyglossia: module for bahasa indonesia] \RequirePackage{hijrical} -\makeatletter \PolyglossiaSetup{bahasai}{% language=Bahasa Indonesia, @@ -44,5 +43,4 @@ \DefineFormatHijriDate{bahasai}{% \number\value{Hijriday}\space\hijrimonthbahasai{\value{Hijrimonth}}\space\number\value{Hijriyear}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasam.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasam.ldf index e4b230dfd3e..eb5c3749c85 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasam.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasam.ldf @@ -1,6 +1,5 @@ \ProvidesFile{gloss-bahasam.ldf}[polyglossia: module for bahasa melayu] \RequirePackage{hijrical} -\makeatletter \PolyglossiaSetup{bahasam}{% language=Bahasa Melayu, hyphennames={malay,melayu,bahasam,bahasa,bahasai,indonesian,indon}, @@ -52,5 +51,4 @@ \DefineFormatHijriDate{bahasam}{% \number\value{Hijriday}\space\hijrimonthbahasam{\value{Hijrimonth}}\space\number\value{Hijriyear}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-basque.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-basque.ldf index 8315e3e5a6c..c6c1d3d1b92 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-basque.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-basque.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-basque.ldf}[polyglossia: module for basque] -\makeatletter \PolyglossiaSetup{basque}{ hyphennames={basque}, hyphenmins={2,2}, @@ -38,5 +37,4 @@ irailaren\or urriaren\or azaroaren\or abenduaren\fi~\number\day}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bengali.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bengali.ldf index 81fdcd25b56..c27a65ba8f4 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bengali.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bengali.ldf @@ -3,7 +3,6 @@ \ProvidesFile{gloss-bengali.ldf}[polyglossia: module for bengali] \RequirePackage{devanagaridigits} -\makeatletter \PolyglossiaSetup{bengali}{ script=Bengali, @@ -75,5 +74,4 @@ \number#1% \fi} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-brazil.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-brazil.ldf index 57dd8aa925c..3079e0778d3 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-brazil.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-brazil.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-brazil.ldf}[polyglossia: module for portuguese] -\makeatletter \PolyglossiaSetup{brazil}{ language=Brazilian Portuguese, hyphennames={brazil,portuguese,portuges}, @@ -38,5 +37,4 @@ \fi\space de\space\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-breton.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-breton.ldf index a98f4b570b5..21ab4a12da8 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-breton.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-breton.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-breton.ldf}[polyglossia: module for breton] -\makeatletter \PolyglossiaSetup{breton}{ hyphennames={breton}, hyphenmins={2,2}, @@ -76,7 +75,6 @@ \breton@punctuation% } -\makeatother \endinput % These are defined in Babel diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bulgarian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bulgarian.ldf index bec5c5cc203..4739d9916bf 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bulgarian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bulgarian.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-bulgarian.ldf}[polyglossia: module for bulgarian] -\makeatletter \PolyglossiaSetup{bulgarian}{ script=Cyrillic, scripttag=cyrl, @@ -84,7 +83,6 @@ \def\todayRoman{\number\day.\,\month@Roman.\,\number\year~г.}% } -\makeatother \endinput %% TODO? diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-catalan.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-catalan.ldf index 66594c0c68c..8d349c9bcda 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-catalan.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-catalan.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-catalan.ldf}[polyglossia: module for catalan] -\makeatletter \PolyglossiaSetup{catalan}{ hyphennames={catalan}, hyphenmins={2,2}, @@ -126,5 +125,4 @@ \def\inlineextras@catalan{% \ifcatalan@babelshorthands\catalan@shorthands\fi% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-coptic.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-coptic.ldf index 5f5f4f3433a..76a4fb151a5 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-coptic.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-coptic.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-coptic.ldf}[polyglossia: module for coptic] -\makeatletter \PolyglossiaSetup{coptic}{ script=Coptic, scripttag=copt, @@ -37,5 +36,4 @@ % \def\today{<++>}% % } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-croatian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-croatian.ldf index 671c5e0d388..c43775077a4 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-croatian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-croatian.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-croatian.ldf}[polyglossia: module for croatian] -\makeatletter \PolyglossiaSetup{croatian}{ hyphennames={croatian}, hyphenmins={2,2}, @@ -36,5 +35,4 @@ lipnja\or srpnja\or kolovoza\or rujna\or listopada\or studenog\or prosinca\fi \space \number\year.}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-czech.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-czech.ldf index 03c5dd855d6..8704aa043be 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-czech.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-czech.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-czech.ldf}[polyglossia: module for czech] -\makeatletter \PolyglossiaSetup{czech}{ hyphennames={czech}, hyphenmins={2,2}, @@ -38,5 +37,4 @@ října\or listopadu\or prosince\fi \space \number\year}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-danish.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-danish.ldf index 8b5830f2f2a..282ea8277f6 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-danish.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-danish.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-danish.ldf}[polyglossia: module for danish] -\makeatletter \PolyglossiaSetup{danish}{ hyphennames={danish}, hyphenmins={2,3}, @@ -34,5 +33,4 @@ juli\or august\or september\or oktober\or november\or december\fi \space\number\year} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-divehi.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-divehi.ldf index bf86c34e374..bbf0bb50a2a 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-divehi.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-divehi.ldf @@ -1,6 +1,5 @@ \ProvidesFile{gloss-divehi.ldf}[polyglossia: module for divehi] \RequirePackage{bidi} -\makeatletter \PolyglossiaSetup{divehi}{ script=Thaana, scripttag=thaa, @@ -43,5 +42,4 @@ \let\MakeUppercase\@@MakeUppercase% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-dutch.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-dutch.ldf index 086174a9404..2633956a9d8 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-dutch.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-dutch.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-dutch.ldf}[polyglossia: module for dutch] -\makeatletter \PolyglossiaSetup{dutch}{ hyphennames={dutch}, hyphenmins={2,2}, @@ -78,5 +77,4 @@ \ifdutch@babelshorthands\dutch@shorthands\fi% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-english.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-english.ldf index a372e433e7f..f10c7197748 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-english.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-english.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-english.ldf}[polyglossia: module for english] -\makeatletter \PolyglossiaSetup{english}{ hyphennames={english,american,usenglish,USenglish}, hyphenmins={2,3}, @@ -109,5 +108,4 @@ \fi}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-esperanto.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-esperanto.ldf index e6d7e3275a3..e3bc8d31ac4 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-esperanto.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-esperanto.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-esperanto.ldf}[polyglossia: module for esperanto] -\makeatletter \PolyglossiaSetup{esperanto}{ hyphennames={esperanto}, hyphenmins={2,2}, @@ -63,5 +62,4 @@ \let\@alph\latin@alph% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-estonian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-estonian.ldf index f4b3f49c760..e84aa304712 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-estonian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-estonian.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-estonian.ldf}[polyglossia: module for estonian] -\makeatletter \PolyglossiaSetup{estonian}{ hyphennames={estonian}, hyphenmins={2,2}, @@ -37,5 +36,4 @@ juuli\or august\or september\or oktoober\or november\or detsember\fi\space\number\year.\space a.}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-farsi.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-farsi.ldf index 419495c1460..d3aeeb2922d 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-farsi.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-farsi.ldf @@ -3,7 +3,6 @@ \RequirePackage{arabicnumbers} \RequirePackage{farsical} \RequirePackage{hijrical} -\makeatletter \PolyglossiaSetup{farsi}{ script=Arabic, direction=RL, @@ -123,5 +122,4 @@ \def\noextras@farsi{% \let\MakeUppercase\@@MakeUppercase% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-finnish.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-finnish.ldf index 3bfa1bee434..6b271e531d9 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-finnish.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-finnish.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-finnish.ldf}[polyglossia: module for finnish] -\makeatletter \PolyglossiaSetup{finnish}{ hyphennames={finnish}, hyphenmins={2,2}, @@ -38,7 +37,6 @@ syyskuuta\or lokakuuta\or marraskuuta\or joulukuuta\fi \space\number\year}} -\makeatother \endinput % TODO ? this is set in babel: diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf index ad840925170..612094c57b6 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-french.ldf}[polyglossia: module for french] -\makeatletter \PolyglossiaSetup{french}{% language=French, @@ -116,5 +115,4 @@ \french@punctuation% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-friulan.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-friulan.ldf new file mode 100644 index 00000000000..d0ef8b77daa --- /dev/null +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-friulan.ldf @@ -0,0 +1,67 @@ +\ProvidesFile{gloss-friulan.ldf}[polyglossia: module for friulan] +\makeatletter +\PolyglossiaSetup{friulan}{% + hyphennames={friulan,furlan}, + hyphenmins={2,2}, + indentfirst=false, + fontsetup=true, + frenchspacing=true, +} + + +\def\captionsfriulan{% + \def\prefacename{Prefazion}% + \def\refname{Riferiments}% + \def\abstractname{Somari}% + \def\bibname{Bibliografie}% + \def\chaptername{Cjapitul}% + \def\appendixname{Zonte}% + \def\contentsname{Tabele gjenerâl}% + \def\listfigurename{Liste des figuris}% + \def\listtablename{Liste des tabelis}% + \def\indexname{Tabele analitiche}% + \def\figurename{Figure}% + \def\tablename{Tabele}% + \def\partname{Part}% + \def\enclname{Zonte(is)}% + \def\ccname{Cun copie a}% + \def\headtoname{Par}% + \def\pagename{Pagjine}% + \def\seename{cjale}% + \def\alsoname{cjale ancje}% + \def\proofname{Dimostrazion}% + \def\glossaryname{Glossari}% + } + +\def\datefriulan{% + \def\today{\number\day\space di\space\ifcase\month\or + Genâr\or Fevrâr\or Març\or Avril\or Mai\or Jugn\or + Lui\or Avost\or Setembar\or Otobar\or Novembar\or Dicembar% + \fi\space dal\space\number\year}} + +\AtEndPreamble{% the user or the class might define different values + \edef\xpgfu@savedvalues{% + \clubpenalty=\the\clubpenalty\space + \@clubpenalty=\the\@clubpenalty\space + \widowpenalty=\the\widowpenalty\space + \finalhyphendemerits=\the\finalhyphendemerits} +} + + +\def\noextras@friulan{% + \lccode\string"2019=\z@ + % TODO Figure out what the two lines below were supposed to be good for. + % \noitalian@shorthands + % \xpgit@savedvalues +} + +\def\blockextras@friulan{% + \lccode\string"2019=\string"2019 + \clubpenalty=3000 \@clubpenalty=3000 \widowpenalty=3000 + \finalhyphendemerits=50000000 +} + +\def\inlineextras@friulan{% + \lccode\string"2019=\string"2019 +} + diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-galician.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-galician.ldf index 63a65bf2826..76459f275cd 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-galician.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-galician.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-galician.ldf}[polyglossia: module for galician] -\makeatletter \PolyglossiaSetup{galician}{ hyphennames={galician}, hyphenmins={2,2}, @@ -37,5 +36,4 @@ xullo\or agosto\or setembro\or outubro\or novembro\or decembro\fi \space de~\number\year}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-german.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-german.ldf index c78940ca5ac..b9a79ee33b2 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-german.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-german.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-german.ldf}[polyglossia: module for german] -\makeatletter \PolyglossiaSetup{german}{ hyphenmins={2,2}, frenchspacing=true, @@ -174,5 +173,4 @@ \ifgerman@babelshorthands\german@shorthands\fi } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-greek.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-greek.ldf index 44dd210e1bd..229688ef5bc 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-greek.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-greek.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-greek.ldf}[polyglossia: module for greek] -\makeatletter \PolyglossiaSetup{greek}{ script=Greek, scripttag=grek, @@ -343,6 +342,5 @@ \let\greek@Alph\@undefined% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hebrew.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hebrew.ldf index b033867ad5a..5167833d833 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hebrew.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hebrew.ldf @@ -1,7 +1,8 @@ \ProvidesFile{gloss-hebrew.ldf}[polyglossia: module for hebrew] \RequirePackage{bidi} \RequirePackage{hebrewcal} -\makeatletter + +\providebool{@hebrew@marcheshvan} \PolyglossiaSetup{hebrew}{ script=Hebrew, @@ -16,6 +17,7 @@ \newif\if@calendar@hebrew \def\tmp@hebrew{hebrew} \define@key{hebrew}{calendar}[gregorian]{% + \message{Setting \string\if@calendar@hebrew} \def\@tmpa{#1}% \ifx\@tmpa\tmp@hebrew% \@calendar@hebrewtrue% @@ -23,6 +25,17 @@ \@calendar@hebrewfalse% \fi} +\define@boolkey{hebrew}[@xpg@hebrew@]{marcheshvan}[false]{% + \def\@tmpa{#1}% + \def\@tmptrue{true}% + \ifx\@tmpa\@tmptrue + \@xpg@hebrew@marcheshvantrue + \else + \@xpg@hebrew@marcheshvanfalse + \fi} + +\setkeys{hebrew}{marcheshvan} + % hebrewcal.sty also defines the boolean key fullyear (default=false) \newif\if@hebrew@numerals @@ -117,5 +130,5 @@ \def\noextras@hebrew{% \let\MakeUppercase\@@MakeUppercase% } -\makeatother + \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hindi.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hindi.ldf index b69aeae3239..6223a494987 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hindi.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hindi.ldf @@ -4,7 +4,6 @@ \ProvidesFile{gloss-hindi.ldf}[polyglossia: module for hindi] \RequirePackage{devanagaridigits} -\makeatletter \PolyglossiaSetup{hindi}{ script=Devanagari, scripttag=deva, @@ -96,5 +95,4 @@ \let\MakeUppercase\@@MakeUppercase% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-icelandic.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-icelandic.ldf index c2703d19684..2678b4f6129 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-icelandic.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-icelandic.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-icelandic.ldf}[polyglossia: module for icelandic] -\makeatletter \PolyglossiaSetup{icelandic}{ hyphennames={icelandic}, hyphenmins={2,2}, @@ -39,7 +38,6 @@ \space\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-interlingua.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-interlingua.ldf index 61bbdf48b09..9e4ca395d6a 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-interlingua.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-interlingua.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-interlingua.ldf}[polyglossia: module for interlingua] -\makeatletter \PolyglossiaSetup{interlingua}{ hyphennames={interlingua}, hyphenmins={2,2}, @@ -39,5 +38,4 @@ decembre\fi \space \number\year}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-irish.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-irish.ldf index 417001d8141..23b0b567c30 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-irish.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-irish.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-irish.ldf}[polyglossia: module for irish] -\makeatletter \PolyglossiaSetup{irish}{ hyphennames={irish}, hyphenmins={2,2}, @@ -40,5 +39,4 @@ Mí na Samhna\or Mí na Nollag\fi \space \number\year}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-italian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-italian.ldf index af0015c8e1b..538ed63e18e 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-italian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-italian.ldf @@ -1,6 +1,5 @@ % !TEX encoding = UTF-8 Unicode -\ProvidesFile{gloss-italian.ldf}[polyglossia: module for italian - unofficial test version] -\makeatletter +\ProvidesFile{gloss-italian.ldf}[polyglossia: module for italian] \PolyglossiaSetup{italian}{ hyphennames={italian}, hyphenmins={2,2}, diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-kannada.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-kannada.ldf index 82e89390d3a..cca3488e646 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-kannada.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-kannada.ldf @@ -17,7 +17,6 @@ % % This work consists of the file gloss-kannada.ldf \ProvidesFile{gloss-kannada.ldf}[polyglossia: module for kannada] -\makeatletter \PolyglossiaSetup{kannada}{ script=Kannada, scripttag=knda, @@ -101,5 +100,4 @@ \fi } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lao.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lao.ldf index cc587b62bb9..16e58fc5fa2 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lao.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lao.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-lao.ldf}[polyglossia: module for Lao] -\makeatletter \PolyglossiaSetup{lao}{ script=Lao, scripttag=lao, @@ -88,5 +87,4 @@ \renewcommand\thefootnote{\protect\number{\c@footnote}}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-latin.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-latin.ldf index 3d1ad7c0f5b..66be7360066 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-latin.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-latin.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-latin.ldf}[polyglossia: module for latin] -\makeatletter \PolyglossiaSetup{latin}{ hyphennames={latin}, hyphenmins={2,2}, @@ -38,5 +37,4 @@ Decembris\fi% \space \uppercase\expandafter{\romannumeral\year}}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-latvian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-latvian.ldf index 2334751b51a..9993cadf4a0 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-latvian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-latvian.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-latvian.ldf}[polyglossia: module for latvian] -\makeatletter \PolyglossiaSetup{latvian}{ hyphennames={latvian}, hyphenmins={2,2}, @@ -38,5 +37,4 @@ jūlijā\or augustā\or septembrī\or% oktobrī\or novembrī\or decembrī\fi}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lithuanian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lithuanian.ldf index 3a6de608cc9..f1bc9344610 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lithuanian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lithuanian.ldf @@ -61,5 +61,4 @@ \let\fnum@table\fnum@table@orig } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lsorbian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lsorbian.ldf index aa8092497b9..55b58e3b9f0 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lsorbian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lsorbian.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-lsorbian.ldf}[polyglossia: module for lower sorbian] -\makeatletter \PolyglossiaSetup{lsorbian}{ hyphennames={lsorbian,lowersorbian,Lsorbian}, hyphenmins={2,2}, @@ -43,5 +42,4 @@ godownika\fi\space \number\year}}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-magyar.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-magyar.ldf index c35c1120803..3f6839a932f 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-magyar.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-magyar.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-magyar.ldf}[polyglossia: module for magyar] -\makeatletter \PolyglossiaSetup{magyar}{ hyphennames={magyar,hungarian}, hyphenmins={2,2}, @@ -58,5 +57,4 @@ \let\ontoday\@undefined } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-malayalam.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-malayalam.ldf index 4a2da0c04bc..1630b3c78bf 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-malayalam.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-malayalam.ldf @@ -1,6 +1,5 @@ \ProvidesFile{gloss-malayalam.ldf}[polyglossia: module for malayalam] % Translations provided by Kevin & Siji, 01-11-2009 -\makeatletter \PolyglossiaSetup{malayalam}{ script=Malayalam, @@ -51,5 +50,4 @@ \space\number\day}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-marathi.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-marathi.ldf index 68f15d52b28..a7fd12c7df3 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-marathi.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-marathi.ldf @@ -3,7 +3,6 @@ \ProvidesFile{gloss-marathi.ldf}[polyglossia: module for marathi] \RequirePackage{devanagaridigits} -\makeatletter \PolyglossiaSetup{marathi}{ script=Devaganari, @@ -76,5 +75,4 @@ \def\today{\marathinumber\day\space\marathimonth\space\marathinumber\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-norsk.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-norsk.ldf index d9d5f7b2ad6..975cd109c7c 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-norsk.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-norsk.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-norsk.ldf}[polyglossia: module for norwegian] -\makeatletter \PolyglossiaSetup{norsk}{ hyphennames={norsk}, hyphenmins={2,2}, @@ -39,6 +38,5 @@ \fi\space\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-nynorsk.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-nynorsk.ldf index 99685ae54ce..8051d902e16 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-nynorsk.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-nynorsk.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-nynorsk.ldf}[polyglossia: module for norwegian (Nynorsk)] -\makeatletter \PolyglossiaSetup{nynorsk}{ hyphennames={nynorsk}, hyphenmins={2,2}, @@ -39,6 +38,5 @@ \fi\space\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-occitan.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-occitan.ldf index 7e50e524146..c647aa9000f 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-occitan.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-occitan.ldf @@ -55,5 +55,4 @@ \def\today{\occitanday \occitanmonth\space de~\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-polish.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-polish.ldf index c4bcfebca87..30f350e4a93 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-polish.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-polish.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-polish.ldf}[polyglossia: module for polish] -\makeatletter \PolyglossiaSetup{polish}{ hyphennames={polish}, hyphenmins={2,2}, @@ -39,5 +38,4 @@ \number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-portuges.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-portuges.ldf index e141e1c59f5..310f958f160 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-portuges.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-portuges.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-portuges.ldf}[polyglossia: module for portuguese] -\makeatletter \PolyglossiaSetup{portuges}{ hyphennames={portuges,portuguese}, hyphenmins={2,3}, @@ -38,5 +37,4 @@ \space de\space\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-romanian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-romanian.ldf index 01e6431dd29..43a3d173f35 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-romanian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-romanian.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-romanian.ldf}[polyglossia: module for romanian] -\makeatletter \PolyglossiaSetup{romanian}{ hyphennames={romanian}, @@ -40,5 +39,4 @@ \space \number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-romansh.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-romansh.ldf new file mode 100644 index 00000000000..40d75f47e7b --- /dev/null +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-romansh.ldf @@ -0,0 +1,41 @@ +\ProvidesFile{gloss-romansh.ldf}[polyglossia: module for romansh] +\makeatletter +\PolyglossiaSetup{romansh}{% + hyphennames={romansh}, + hyphenmins={2,2}, + indentfirst=true, + fontsetup=true, +} + + +\def\captionsromansh{% + \def\prefacename{Prefaziun}% + \def\refname{Bibliografia}% + \def\abstractname{Recapitulaziun}% + \def\bibname{Index bibliografic}% + \def\chaptername{Chapitel}% + \def\appendixname{Appendix}% + \def\contentsname{Tavla dal cuntegn}% + \def\listfigurename{Tavla da las figuras}% + \def\listtablename{Tavla da las tabellas}% + \def\indexname{Register da materias}% Index? + \def\figurename{Figura}% + \def\tablename{Tabella}% + \def\partname{Part}% + \def\enclname{Agiunta(s)}% + \def\ccname{Copia a}% + \def\headtoname{A}% + \def\pagename{pagina}% + \def\seename{vesair }% + \def\alsoname{vesair era}% + \def\proofname{Demonstraziun}% + \def\glossaryname{Glossari}% + } + +\def\dateromansh{% + \def\today{\ifcase\day\or1.\else ils~\number\day\fi~da~% + \ifcase\month\or + schaner\or favrer\or mars\or avrigl\or matg\or zercladur\or + fanadur\or avust\or settember\or october\or november\or + december\fi\space \number\year}} +\makeatother diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-russian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-russian.ldf index 14c57a38798..3d600d60151 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-russian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-russian.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-russian.ldf}[polyglossia: module for russian] -\makeatletter \PolyglossiaSetup{russian}{ script=Cyrillic, scripttag=cyrl, @@ -250,6 +249,5 @@ \def\Proj {\mathop{\mathrm{Пр}}\nolimits} %\DeclareRobustCommand{\No}{№} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-samin.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-samin.ldf index ff25db60699..e9d834a6489 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-samin.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-samin.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-samin.ldf}[polyglossia: module for samin] -\makeatletter \PolyglossiaSetup{samin}{ hyphennames={samin}, @@ -48,5 +47,4 @@ \space\number\day.~b.\space\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-sanskrit.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-sanskrit.ldf index 9e94c5d9971..287620615c4 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-sanskrit.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-sanskrit.ldf @@ -1,6 +1,5 @@ \ProvidesFile{gloss-sanskrit.ldf}[polyglossia: module for sanskrit] \RequirePackage{devanagaridigits} -\makeatletter \PolyglossiaSetup{sanskrit}{ langtag=SAN, @@ -84,5 +83,4 @@ \sanskrit@punctuation% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-scottish.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-scottish.ldf index 0ebf0cb560b..6c76b71076c 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-scottish.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-scottish.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-scottish.ldf}[polyglossia: module for scottish] -\makeatletter \PolyglossiaSetup{scottish}{ hyphennames={scottish}, @@ -42,5 +41,4 @@ \space \number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-serbian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-serbian.ldf index 14289b11a0f..436ac751366 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-serbian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-serbian.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-serbian.ldf}[polyglossia: module for serbian] -\makeatletter %TODO split into gloss-serbiancyr.ldf and gloss-serbianlat.ldf %% load these automatically from polyglossia.sty according to the script option ?? %% same thing for all languages that have a "script" key ! @@ -114,7 +113,6 @@ децембар\fi \space \number\year.}% } -\makeatother \endinput % TODO ? stuff from babel diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovak.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovak.ldf index 797424a68c8..21a62d65bdf 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovak.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovak.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-slovak.ldf}[polyglossia: module for slovak] -\makeatletter \PolyglossiaSetup{slovak}{ hyphennames={slovak}, @@ -40,5 +39,4 @@ \space \number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovenian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovenian.ldf index 6901b7562a9..7ef4203ce0a 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovenian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovenian.ldf @@ -38,5 +38,4 @@ \space \number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-spanish.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-spanish.ldf index 1035f39ca2f..312c3b3b8f2 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-spanish.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-spanish.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-spanish.ldf}[polyglossia: module for spanish] -\makeatletter \PolyglossiaSetup{spanish}{ hyphennames={spanish}, hyphenmins={2,2}, @@ -39,5 +38,4 @@ diciembre\fi\space \number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-swedish.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-swedish.ldf index eac3baa3edf..748353488bf 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-swedish.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-swedish.ldf @@ -45,5 +45,4 @@ \def\today{\number\day/\number\month\space\number\year}}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-syriac.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-syriac.ldf index 974bd6f9f81..75e5ce0731d 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-syriac.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-syriac.ldf @@ -1,7 +1,6 @@ \ProvidesFile{gloss-syriac.ldf}[polyglossia: module for syriac] \RequirePackage{bidi} \RequirePackage{arabicnumbers} -\makeatletter \PolyglossiaSetup{syriac}{ script=Syriac, @@ -156,5 +155,4 @@ \let\MakeUppercase\@@MakeUppercase% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-tamil.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-tamil.ldf index 8101769ac48..c3ef7110ba6 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-tamil.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-tamil.ldf @@ -1,6 +1,5 @@ \ProvidesFile{gloss-tamil.ldf}[polyglossia: module for tamil] % Translations provided by Kevin & Siji, 01-11-2009 -\makeatletter \PolyglossiaSetup{tamil}{ script=Tamil, @@ -51,5 +50,4 @@ \space\number\day}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-telugu.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-telugu.ldf index be9bf04452d..f7f6a63dc5f 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-telugu.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-telugu.ldf @@ -1,6 +1,5 @@ \ProvidesFile{gloss-telugu.ldf}[polyglossia: module for telugu] % Translations provided by Anmol Sharma <unmole.in@gmail.com> -\makeatletter \PolyglossiaSetup{telugu}{ script=Telugu, @@ -54,5 +53,4 @@ \def\today{\telugu@month\space\number\day,\space\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-thai.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-thai.ldf index c820dcd7459..16e90ea7dc1 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-thai.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-thai.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-thai.ldf}[polyglossia: module for thai] -\makeatletter %% This is partly based on thai-latex for Babel: %%%% Copyright (C) 1999 - 2006 %%%% by Surapant Meknavin, @@ -133,7 +132,6 @@ \let\baselinestrech\orig@baselinestretch% } -\makeatother \endinput %TODO ? diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkish.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkish.ldf index 2d28dfa3850..6f40cf2cd3d 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkish.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkish.ldf @@ -1,6 +1,5 @@ \ProvidesFile{gloss-turkish.ldf}[polyglossia: module for turkish] \RequirePackage{hijrical} -\makeatletter \PolyglossiaSetup{turkish}{ hyphennames={turkish}, hyphenmins={2,2}, @@ -80,5 +79,4 @@ \turkish@punctuation% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkmen.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkmen.ldf index 0c66ec7fa98..19b257272aa 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkmen.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkmen.ldf @@ -1,6 +1,5 @@ \ProvidesFile{gloss-turkmen.ldf}[polyglossia: module for turkmen] %% Translations provided by Nazar Annagurban <nazartm at gmail dot com> -\makeatletter \PolyglossiaSetup{turkmen}{ hyphennames={turkmen}, hyphenmins={2,2}, @@ -40,5 +39,4 @@ Dekabr\fi \space\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-ukrainian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-ukrainian.ldf index 57b9319ea7b..26d3906ff4e 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-ukrainian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-ukrainian.ldf @@ -1,7 +1,6 @@ \ProvidesFile{gloss-ukrainian.ldf}[polyglossia: module for ukrainian] % Strings taken from Babel % and revised by Roman Kyrylych -\makeatletter \PolyglossiaSetup{ukrainian}{ script=Cyrillic, @@ -78,7 +77,6 @@ \let\@alph\latin@alph% } -\makeatother \endinput %TODO? stuff from Babel diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-urdu.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-urdu.ldf index 00c6550490c..028f0cdd885 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-urdu.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-urdu.ldf @@ -3,7 +3,6 @@ \RequirePackage{bidi} \RequirePackage{arabicnumbers} \RequirePackage{hijrical} -\makeatletter \PolyglossiaSetup{urdu}{ script=Arabic, @@ -135,6 +134,5 @@ \let\MakeUppercase\@@MakeUppercase% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-usorbian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-usorbian.ldf index e74f93d71a7..810354ce1d4 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-usorbian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-usorbian.ldf @@ -45,5 +45,4 @@ hodownika\fi \space \number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-vietnamese.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-vietnamese.ldf index 4121099bd68..96969508254 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-vietnamese.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-vietnamese.ldf @@ -2,7 +2,7 @@ %% Strings contributed by Daniel Owens < dhowens . pmbx . net > \PolyglossiaSetup{vietnamese}{ - hyphennames={vietnamese}, + hyphennames={nohyphenation}, hyphenmins={2,2}, langtag=VIT, frenchspacing=true, @@ -40,5 +40,4 @@ năm \number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-welsh.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-welsh.ldf index 9b76677b979..d861308b2c7 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-welsh.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-welsh.ldf @@ -40,5 +40,4 @@ \space\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/hebrewcal.sty b/Master/texmf-dist/tex/xelatex/polyglossia/hebrewcal.sty index 5e433a3e308..c75b2f5faa9 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/hebrewcal.sty +++ b/Master/texmf-dist/tex/xelatex/polyglossia/hebrewcal.sty @@ -1,8 +1,16 @@ \ProvidesPackage{hebrewcal} - [2008/07/01 v2.4 % + [2012/04/29 v2.5 % Hebrew calendar for polyglossia (adapted from hebcal.sty in Babel)] +\RequirePackage{xkeyval} \RequirePackage{bidi} +\newif\if@xpg@hebrewcal@marcheshvan +\DeclareOption{marcheshvan}{\@xpg@hebrewcal@marcheshvantrue} +\ifx\if@xpg@hebrew@marcheshvan\undefined + \newif\if@xpg@hebrew@marcheshvan + \@xpg@hebrew@marcheshvanfalse +\fi + %% TODO rewrite this on the basis of Reingold & Dershowitz %% on the model of hijrical (using calc) @@ -21,6 +29,9 @@ \@FormatForEnglish{\hebrewday}{\hebrewmonth}{\hebrewyear}% \fi} \def\hebrewtoday{\hebrewdate{\day}{\month}{\year}} +% The command name is capitalised in the doc, and this is consistent +% with other names such as \Hijritoday and \Jalalitoday. +\let\Hebrewtoday=\hebrewtoday \def\hebrewsetreg{% \HebrewFromGregorian{\day}{\month}{\year}% {\hebrewday}{\hebrewmonth}{\hebrewyear}} @@ -55,7 +66,7 @@ \ifcase#1% % nothing for 0 \or תשרי% - \or השון% + \or\if@xpg@hebrewcal@marcheshvan מרחשון\else\if@xpg@hebrew@marcheshvan מרחשון\else חשון\fi\fi% \or כסלו% \or טבת% \or שבט% @@ -80,7 +91,8 @@ \ifcase #1% % nothing for 0 \or Tishrei% - \or Heshvan% + % \or\if@xpg@hebrewcal@marcheshvan Marcheshvan\else\if@xpg@hebrew@marcheshvan Marcheshvan\else Heshvan\fi\fi% + \or\if@xpg@hebrewcal@marcheshvan Marcheshvan\else\if@xpg@hebrew@marcheshvan Marcheshvan\else Heshvan\fi\fi% \or Kislev% \or Tebeth% \or Shebat% @@ -265,7 +277,8 @@ 304 \or% 334% \fi% - \if@GregorianLeap{#2}% + \@CheckIfGregorianLeap{#2}% + \if@GregorianLeap% \ifnum #1 > 2% % if month after February \advance #3 by 1% % add leap day \fi% @@ -328,4 +341,5 @@ \repeat% \global\advance #5 by -1% \global\advance #4 by -\tmpy}} +\ProcessOptions* \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/hijrical.sty b/Master/texmf-dist/tex/xelatex/polyglossia/hijrical.sty index d4f3fe91d07..79da8d0020b 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/hijrical.sty +++ b/Master/texmf-dist/tex/xelatex/polyglossia/hijrical.sty @@ -7,6 +7,8 @@ \@ifpackageloaded{l3calc}{\PackageError{hijrical}{\MessageBreak Package l3calc is loaded, which replaces the functionality of calc. Computation of Hijri dates will not work properly with +% FIXME by Arthur: François couldn’t possibly mean ‘l3calc’ on the +% following line :-) Find out if he meant ‘calc’. l3calc! The latest version of expl3 on CTAN no longer loads l3calc. Please update expl3! }{}}{} @@ -80,7 +82,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \@namedef{FormatHijriDate@#1}{#2}} % we provide this as a reasonable default. -% Further definitions are in polyglossia's language definition files. +% Further definitions are in polyglossia’s language definition files. \DefineFormatHijriDate{defaultRTL}{\@ensure@RTL{% \arabicdigits{\value{Hijriday}}\space\HijriMonthArabic{\value{Hijrimonth}}\space\arabicdigits{\value{Hijriyear}}}} diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty b/Master/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty index c3d636b8a7b..3c35d6b8884 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty +++ b/Master/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty @@ -1,5 +1,5 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{polyglossia}[2011/10/12 v1.2.0cc +\ProvidesPackage{polyglossia}[2012/04/29 v1.2.1 Babel replacement for XeLaTeX] \RequirePackage{etoolbox} \RequirePackage{makecmds} @@ -454,6 +454,7 @@ \newcommand{\xpg@input}[1]{% \chardef\xpg@atcatcode\catcode`\@ + \makeatletter \input{#1}\catcode`\@=\xpg@atcatcode} \newcommand{\setdefaultlanguage}[2][]{% |