summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/polyglossia
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/polyglossia')
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/babel-hebrewalph.def6
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-albanian.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-arabic.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-armenian.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-asturian.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasai.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasam.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-basque.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-bengali.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-brazil.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-breton.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-bulgarian.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-catalan.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-coptic.ldf2
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-croatian.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-czech.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-danish.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-divehi.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-dutch.ldf13
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-english.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-esperanto.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-estonian.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-farsi.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-finnish.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-galician.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-german.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-greek.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-hebrew.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-hindi.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-icelandic.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-interlingua.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-irish.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-italian.ldf97
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-kannada.ldf105
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-lao.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-latin.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-latvian.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-lithuanian.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-lsorbian.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-magyar.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-malayalam.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-marathi.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-norsk.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-nynorsk.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-occitan.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-polish.ldf5
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-portuges.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-romanian.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-russian.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-samin.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-sanskrit.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-scottish.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-serbian.ldf5
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovak.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovenian.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-spanish.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-swedish.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-syriac.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-tamil.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-telugu.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-thai.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkish.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkmen.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-ukrainian.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-urdu.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-usorbian.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-vietnamese.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-welsh.ldf1
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty24
70 files changed, 286 insertions, 33 deletions
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/babel-hebrewalph.def b/Master/texmf-dist/tex/xelatex/polyglossia/babel-hebrewalph.def
index 568a17f52cf..3158d7c7a35 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/babel-hebrewalph.def
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/babel-hebrewalph.def
@@ -4,11 +4,11 @@
Adapted from hebrew.ldf (2005/03/30 v2.3h)]
\newif\if@gim@apost % whether we print apostrophes (gereshayim)
\newif\if@gim@final % whether we use final or initial letters
-\newcommand*{\hebrewnumeral}[1] % no apostrophe, no final letters
+\newrobustcmd*{\hebrewnumeral}[1] % no apostrophe, no final letters
{{\@gim@finalfalse\@gim@apostfalse\@hebrew@numeral{#1}}}
-\newcommand*{\Hebrewnumeral}[1] % apostrophe, no final letters
+\newrobustcmd*{\Hebrewnumeral}[1] % apostrophe, no final letters
{{\@gim@finalfalse\@gim@aposttrue\@hebrew@numeral{#1}}}
-\newcommand*{\Hebrewnumeralfinal}[1] % apostrophe, final letters
+\newrobustcmd*{\Hebrewnumeralfinal}[1] % apostrophe, final letters
{{\@gim@finaltrue\@gim@aposttrue\@hebrew@numeral{#1}}}
\newcommand*{\@hebrew@numeral}[1]{%
\ifnum#1<\z@\space\xpg@warning{Illegal value (#1) for Hebrew numeral}%
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-albanian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-albanian.ldf
index 6185764c00c..915fbeb7461 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-albanian.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-albanian.ldf
@@ -38,6 +38,7 @@
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-arabic.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-arabic.ldf
index 33d849c8e71..7e5a544de40 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-arabic.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-arabic.ldf
@@ -207,4 +207,5 @@
\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 cde838bcbc6..959e0fe7688 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-armenian.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-armenian.ldf
@@ -50,4 +50,5 @@
Նոյեմբեր\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 66f543482f8..6fd643771c3 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-asturian.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-asturian.ldf
@@ -41,4 +41,5 @@
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 c49a5a838cc..23347d5b380 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasai.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasai.ldf
@@ -44,4 +44,5 @@
\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 cd816eb24cd..e4b230dfd3e 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasam.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasam.ldf
@@ -52,4 +52,5 @@
\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 67376b9e588..8315e3e5a6c 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-basque.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-basque.ldf
@@ -38,4 +38,5 @@
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 6257c56c005..81fdcd25b56 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bengali.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bengali.ldf
@@ -75,4 +75,5 @@
\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 7d83a441d7c..57dd8aa925c 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-brazil.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-brazil.ldf
@@ -38,4 +38,5 @@
\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 de8c7b4822d..a98f4b570b5 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-breton.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-breton.ldf
@@ -76,6 +76,7 @@
\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 af105ba28c8..bec5c5cc203 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bulgarian.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bulgarian.ldf
@@ -84,6 +84,7 @@
\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 12403863d84..66594c0c68c 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-catalan.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-catalan.ldf
@@ -126,4 +126,5 @@
\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 5b548011860..5f5f4f3433a 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-coptic.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-coptic.ldf
@@ -2,7 +2,6 @@
\makeatletter
\PolyglossiaSetup{coptic}{
script=Coptic,
- direction=RL,
scripttag=copt,
langtag=COP,
hyphennames={coptic},
@@ -38,4 +37,5 @@
% \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 f875f7475dd..671c5e0d388 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-croatian.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-croatian.ldf
@@ -36,4 +36,5 @@
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 d7921eee35a..03c5dd855d6 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-czech.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-czech.ldf
@@ -38,4 +38,5 @@
ří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 e730b4e1566..8b5830f2f2a 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-danish.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-danish.ldf
@@ -34,4 +34,5 @@
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 c8441b30f9b..bf86c34e374 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-divehi.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-divehi.ldf
@@ -43,4 +43,5 @@
\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 64a29f2b0a8..086174a9404 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-dutch.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-dutch.ldf
@@ -44,22 +44,22 @@
\def\abstractname{Samenvatting}%
\def\bibname{Bibliografie}%
\def\chaptername{Hoofdstuk}%
- \def\appendixname{Bijlage}%
+ \def\appendixname{Bijlage}%
\def\contentsname{Inhoudsopgave}%
- \def\listfigurename{Lijst van figuren}%
- \def\listtablename{Lijst van tabellen}%
+ \def\listfigurename{Lijst van figuren}%
+ \def\listtablename{Lijst van tabellen}%
\def\indexname{Index}%
\def\figurename{Figuur}%
\def\tablename{Tabel}%
\def\partname{Deel}%
- \def\enclname{Bijlage(n)}%
+ \def\enclname{Bijlage(n)}%
\def\ccname{cc}%
\def\headtoname{Aan}%
\def\pagename{Pagina}%
\def\seename{zie}%
\def\alsoname{zie ook}%
- \def\proofname{Bewijs}%
- \def\glossaryname{Verklarende Woordenlijst}%
+ \def\proofname{Bewijs}%
+ \def\glossaryname{Verklarende woordenlijst}%
\def\today{\number\day~\ifcase\month%
\or januari\or februari\or maart\or april\or mei\or juni\or
juli\or augustus\or september\or oktober\or november\or
@@ -78,4 +78,5 @@
\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 07770f3d0ca..a372e433e7f 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-english.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-english.ldf
@@ -109,4 +109,5 @@
\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 5f4bac7ee32..e6d7e3275a3 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-esperanto.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-esperanto.ldf
@@ -63,4 +63,5 @@
\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 eb053d13eb7..f4b3f49c760 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-estonian.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-estonian.ldf
@@ -37,4 +37,5 @@
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 d8c69f947fe..419495c1460 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-farsi.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-farsi.ldf
@@ -123,4 +123,5 @@
\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 b2f0ec57f0f..3bfa1bee434 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-finnish.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-finnish.ldf
@@ -38,6 +38,7 @@
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 c734a066ca8..ad840925170 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf
@@ -116,4 +116,5 @@
\french@punctuation%
}
+\makeatother
\endinput
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-galician.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-galician.ldf
index 3a26e926672..63a65bf2826 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-galician.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-galician.ldf
@@ -37,4 +37,5 @@
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 2cf2d673791..c78940ca5ac 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-german.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-german.ldf
@@ -174,4 +174,5 @@
\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 3d3328393cc..44dd210e1bd 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-greek.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-greek.ldf
@@ -343,5 +343,6 @@
\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 b5766d59060..b033867ad5a 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hebrew.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hebrew.ldf
@@ -117,4 +117,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 2ad5716ba0c..b69aeae3239 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hindi.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hindi.ldf
@@ -96,4 +96,5 @@
\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 488ee06dd13..c2703d19684 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-icelandic.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-icelandic.ldf
@@ -39,6 +39,7 @@
\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 082d4ae3304..61bbdf48b09 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-interlingua.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-interlingua.ldf
@@ -39,4 +39,5 @@
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 16c52abe34e..417001d8141 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-irish.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-irish.ldf
@@ -40,4 +40,5 @@
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 8063478b452..af0015c8e1b 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-italian.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-italian.ldf
@@ -1,4 +1,5 @@
-\ProvidesFile{gloss-italian.ldf}[polyglossia: module for italian]
+% !TEX encoding = UTF-8 Unicode
+\ProvidesFile{gloss-italian.ldf}[polyglossia: module for italian - unofficial test version]
\makeatletter
\PolyglossiaSetup{italian}{
hyphennames={italian},
@@ -8,6 +9,67 @@
fontsetup=true,
}
+
+%%% CHANGES START %%% by Enrico Gregorio
+\define@boolkey{italian}[italian@]{babelshorthands}[true]{}
+
+\ifsystem@babelshorthands
+ \setkeys{italian}{babelshorthands=true}
+\else
+ \setkeys{italian}{babelshorthands=false}
+\fi
+
+\ifcsundef{initiate@active@char}{%
+\input{babelsh.def}%
+\initiate@active@char{"}%
+}{}
+
+\def\italian@shorthands{%
+ \bbl@activate{"}%
+ \def\language@group{italian}%
+ \declare@shorthand{italian}{"}{%
+ \relax\ifmmode
+ \def\xpgit@next{''}%
+ \else
+ \def\xpgit@next{\futurelet\xpgit@temp\xpgit@cwm}%
+ \fi
+ \xpgit@next}%
+}
+
+%%% By Enrico Gregorio and Claudio Beccari %%%
+\def\xpgit@@cwm{\nobreak\discretionary{-}{}{}\nobreak\hskip\z@skip}
+\def\xpgit@cwm{\let\xpgit@@next\relax
+ \ifcat\noexpand\xpgit@temp a%
+ \def\xpgit@@next{\xpgit@@cwm}%
+ \else
+ \if\noexpand\xpgit@temp \string|%
+ \def\xpgit@@next##1{\xpgit@@cwm}%
+ \else
+ \if\noexpand\xpgit@temp \string<%
+ \def\xpgit@@next##1{«\ignorespaces}%
+ \else
+ \if\noexpand\xpgit@temp \string>%
+ \def\xpgit@@next##1{\unskip »}%
+ \else
+ \if\noexpand\xpgit@temp\string/%
+ \def\xpgit@@next##1{\slash}%
+ \else
+ \ifx\xpgit@temp"%
+ \def\xpgit@@next##1{?}%
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \xpgit@@next}
+
+\def\noitalian@shorthands{%
+ \@ifundefined{initiate@active@char}{}{\bbl@deactivate{"}}%
+}
+%%% CHANGES END %%%
+
+%%% ORIGINAL %%% by Claudio Beccari
\def\captionsitalian{%
\def\prefacename{Prefazione}%
\def\refname{Riferimenti bibliografici}%
@@ -36,18 +98,35 @@
gennaio\or febbraio\or marzo\or aprile\or maggio\or giugno\or
luglio\or agosto\or settembre\or ottobre\or novembre\or
dicembre\fi\space \number\year}}
+%%% ORIGINAL END %%%
+
+%%% CHANGES START %%% by Enrico Gregorio
+\AtEndPreamble{% the user or the class might define different values
+ \edef\xpgit@savedvalues{%
+ \clubpenalty=\the\clubpenalty\space
+ \@clubpenalty=\the\@clubpenalty\space
+ \widowpenalty=\the\widowpenalty\space
+ \finalhyphendemerits=\the\finalhyphendemerits}
+}
+
\def\noextras@italian{%
- \lccode"2019=\z@
- }
+ \lccode\string"2019=\z@
+ \noitalian@shorthands
+ \xpgit@savedvalues
+}
\def\blockextras@italian{%
- \lccode"2019="2019
- %TODO ? \clubpenalty3000\widowpenalty3000\finalhyphendemerits50000000 << in Babel
- }
+ \lccode\string"2019=\string"2019
+ \clubpenalty=3000 \@clubpenalty=3000 \widowpenalty=3000
+ \finalhyphendemerits=50000000
+ \ifitalian@babelshorthands\italian@shorthands\fi
+}
\def\inlineextras@italian{%
- \lccode"2019="2019
- }
-
+ \lccode\string"2019=\string"2019
+ \ifitalian@babelshorthands\italian@shorthands\fi
+}
+%%% CHANGES END %%%
\endinput
+
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-kannada.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-kannada.ldf
new file mode 100644
index 00000000000..82e89390d3a
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-kannada.ldf
@@ -0,0 +1,105 @@
+%% gloss-kannada.ldf
+%% Copyright 2011 Aravinda VK <hallimanearavind AT gmail.com>,
+%% Shankar Prasad <prasad.mvs AT gmail.com>,
+%% Team Sanchaya <dev AT lists.sanchaya.net>
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Aravinda VK <hallimanearavind AT gmail.com>.
+%
+% This work consists of the file gloss-kannada.ldf
+\ProvidesFile{gloss-kannada.ldf}[polyglossia: module for kannada]
+\makeatletter
+\PolyglossiaSetup{kannada}{
+ script=Kannada,
+ scripttag=knda,
+ langtag=KNDA,
+ hyphennames={kannada},
+ hyphenmins={2,2},
+ fontsetup=true
+}
+
+%% Defining Kannada digits equivalents to english
+\def\kannadadigits#1{\expandafter\@kannada@digits #1@}
+\def\@kannada@digits#1{%
+ \ifx @#1% then terminate
+ \else
+ \ifx0#1೦\else\ifx1#1೧\else\ifx2#1೨\else\ifx3#1೩\else\ifx4#1೪\else\ifx5#1೫\else\ifx6#1೬\else\ifx7#1೭\else\ifx8#1೮\else\ifx9#1೯\else#1\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
+ \expandafter\@kannada@digits
+ \fi
+}
+
+%% \kannada@numerals variable will be set to true or false depending on the option provided in \setmainlanguage
+%% \kannada@numerals true by default or when we set \setmainlanguage[numerals=Kannada]{kannada}
+%% \kannada@numerals false when we set \setmainlanguage[numerals=Western]{kannada}
+\def\tmp@western{Western}
+\newif\ifkannada@numerals
+\kannada@numeralstrue
+
+\define@key{kannada}{numerals}[Kannada]{%
+ \def\@tmpa{#1}%
+ \ifx\@tmpa\tmp@western
+ \kannada@numeralsfalse
+ \fi}
+
+
+\def\captionskannada{%
+ \def\prefacename{ಮುನ್ನುಡಿ}%
+ \def\refname{ಉಲ್ಲೇಖಗಳು}%
+ \def\abstractname{ಸಾರಾಂಶ}%
+ \def\bibname{ಗ್ರಂಥಸೂಚಿ}%
+ \def\chaptername{ಅಧ್ಯಾಯ}%
+ \def\appendixname{ಅನುಬಂಧ}%
+ \def\contentsname{ವಿಷಯಗಳು}%
+ \def\listfigurename{ಚಿತ್ರಗಳ ಪಟ್ಟಿ}%
+ \def\listtablename{ಕೋಷ್ಟಕಗಳ ಪಟ್ಟಿ}%
+ \def\indexname{ಸೂಚಿ}%
+ \def\figurename{ಚಿತ್ರ}%
+ \def\tablename{ಕೋಷ್ಟಕ}%
+ \def\partname{ಭಾಗ}%
+ \def\enclname{encl}%
+ \def\ccname{cc}%
+ \def\headtoname{ಗೆ}%
+ \def\pagename{ಪುಟ}%
+ \def\seename{ನೋಡು}%
+ \def\alsoname{ಇದನ್ನೂ ಸಹ ನೋಡು}%
+ \def\proofname{ಕರಡುಪ್ರತಿ}%
+}
+
+\def\datekannada{%
+ \def\kannadamonth{%
+ \ifcase\month\or
+ ಜನವರಿ\or
+ ಫೆಬ್ರವರಿ\or
+ ಮಾರ್ಚ್\or
+ ಏಪ್ರಿಲ್\or
+ ಮೇ\or
+ ಜೂನ್\or
+ ಜುಲೈ\or
+ ಆಗಷ್ಟ್\or
+ ಸೆಪ್ಟೆಂಬರ್\or
+ ಅಕ್ಟೋಬರ್\or
+ ನವಂಬರ್\or
+ ಡಿಸಂಬರ್\fi}%
+ \def\today{\kannadanumber\day\space\kannadamonth\space\kannadanumber\year}%
+}
+
+%% Based on the settings displays rrespective numbers
+\def\kannadanumber#1{%
+ \ifkannada@numerals
+ \kannadadigits{\number#1}%
+ \else
+ \number#1%
+ \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 fb1baf4b9e5..cc587b62bb9 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lao.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lao.ldf
@@ -88,4 +88,5 @@
\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 d2f8dfaad41..3d1ad7c0f5b 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-latin.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-latin.ldf
@@ -38,4 +38,5 @@
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 6f0bd0f345f..2334751b51a 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-latvian.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-latvian.ldf
@@ -38,4 +38,5 @@
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 f1bc9344610..3a6de608cc9 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lithuanian.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lithuanian.ldf
@@ -61,4 +61,5 @@
\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 b0796a26020..aa8092497b9 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lsorbian.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lsorbian.ldf
@@ -43,4 +43,5 @@
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 22fdc5fae8e..c35c1120803 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-magyar.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-magyar.ldf
@@ -58,4 +58,5 @@
\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 38b3d10d458..4a2da0c04bc 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-malayalam.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-malayalam.ldf
@@ -51,4 +51,5 @@
\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 5556dd10a2e..68f15d52b28 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-marathi.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-marathi.ldf
@@ -76,4 +76,5 @@
\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 46a7c36bece..d9d5f7b2ad6 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-norsk.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-norsk.ldf
@@ -39,5 +39,6 @@
\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 cd66aea3998..99685ae54ce 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-nynorsk.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-nynorsk.ldf
@@ -39,5 +39,6 @@
\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 c647aa9000f..7e50e524146 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-occitan.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-occitan.ldf
@@ -55,4 +55,5 @@
\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 f49b881c83c..c4bcfebca87 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-polish.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-polish.ldf
@@ -32,11 +32,12 @@
}
\def\datepolish{%
- \def\today{\ifcase\month\or
+ \def\today{\number\day\space\ifcase\month\or
stycznia\or lutego\or marca\or kwietnia\or maja\or czerwca\or
lipca\or sierpnia\or września\or października\or
listopada\or grudnia\fi
- \space\number\day, \number\year}%
+ \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 6b25313974b..e141e1c59f5 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-portuges.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-portuges.ldf
@@ -38,4 +38,5 @@
\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 efe1b9d672b..01e6431dd29 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-romanian.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-romanian.ldf
@@ -40,4 +40,5 @@
\space \number\year}%
}
+\makeatother
\endinput
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-russian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-russian.ldf
index 194b40d5892..14c57a38798 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-russian.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-russian.ldf
@@ -250,5 +250,6 @@
\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 0baa2b38607..ff25db60699 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-samin.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-samin.ldf
@@ -48,4 +48,5 @@
\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 03547800adf..9e94c5d9971 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-sanskrit.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-sanskrit.ldf
@@ -84,4 +84,5 @@
\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 29f8948c4ad..0ebf0cb560b 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-scottish.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-scottish.ldf
@@ -42,4 +42,5 @@
\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 edb18ccdeae..14289b11a0f 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-serbian.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-serbian.ldf
@@ -31,7 +31,7 @@
}%
{\xpg@error{Unknown script `#1' for Serbian language\MessageBreak
Valid values are "Cyrillic" and "Latin"}}%
- }
+ }%
}
\define@key{serbian}{script}[Cyrillic]{\setkeys{serbian}{Script=#1}}
@@ -110,10 +110,11 @@
\def\dateserbian@cyr{%
\def\today{\number\day .~\ifcase\month\or
јануар\or фебруар\or март\or април\or мај\or
- јун\or јул\or август\or септембар\or октобар\or нобембар\or
+ јун\or јул\or август\or септембар\or октобар\or новембар\or
децембар\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 260912f26ab..797424a68c8 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovak.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovak.ldf
@@ -40,4 +40,5 @@
\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 7ef4203ce0a..6901b7562a9 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovenian.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovenian.ldf
@@ -38,4 +38,5 @@
\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 e46bde96987..1035f39ca2f 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-spanish.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-spanish.ldf
@@ -39,4 +39,5 @@
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 748353488bf..eac3baa3edf 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-swedish.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-swedish.ldf
@@ -45,4 +45,5 @@
\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 1140b5adaca..974bd6f9f81 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-syriac.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-syriac.ldf
@@ -156,4 +156,5 @@
\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 ea738e306a8..8101769ac48 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-tamil.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-tamil.ldf
@@ -51,4 +51,5 @@
\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 b71aaa5544b..be9bf04452d 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-telugu.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-telugu.ldf
@@ -54,4 +54,5 @@
\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 e974fc45489..c820dcd7459 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-thai.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-thai.ldf
@@ -133,6 +133,7 @@
\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 b604c6ccacb..2d28dfa3850 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkish.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkish.ldf
@@ -80,4 +80,5 @@
\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 07180c208fd..0c66ec7fa98 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkmen.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkmen.ldf
@@ -40,4 +40,5 @@
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 e49232faf15..57b9319ea7b 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-ukrainian.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-ukrainian.ldf
@@ -78,6 +78,7 @@
\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 43e5598f7fd..00c6550490c 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-urdu.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-urdu.ldf
@@ -135,5 +135,6 @@
\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 810354ce1d4..e74f93d71a7 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-usorbian.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-usorbian.ldf
@@ -45,4 +45,5 @@
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 ac6bcc0f9a2..4121099bd68 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-vietnamese.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-vietnamese.ldf
@@ -40,4 +40,5 @@
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 d861308b2c7..9b76677b979 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-welsh.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-welsh.ldf
@@ -40,4 +40,5 @@
\space\number\year}%
}
+\makeatother
\endinput
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty b/Master/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty
index 030bcbc973b..c3d636b8a7b 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/01 v1.2.0b
+\ProvidesPackage{polyglossia}[2011/10/12 v1.2.0cc
Babel replacement for XeLaTeX]
\RequirePackage{etoolbox}
\RequirePackage{makecmds}
@@ -218,9 +218,8 @@
\fi}%
{\xpg@warning{#1: Invalid value \val\space for key "direction"}}%
\define@key[xpg@setup]{#1}{hyphenmins}[{2,3}]%
- {\edef\@tmpfirst{\xpg@first##1}%
- \edef\@tmpsecond{\xpg@second##1}%
- \setlocalhyphenmins{#1}{\@tmpfirst}{\@tmpsecond}}%
+ {\begingroup\edef\x{\endgroup
+ \noexpand\setlocalhyphenmins{#1}{\xpg@first##1}{\xpg@second##1}}\x}
\define@boolkey[xpg@setup]{#1}[#1@]{frenchspacing}[true]{%
\ifbool{#1@frenchspacing}%
{\csgappto{init@extras@#1}{\frenchspacing}}%
@@ -453,10 +452,14 @@
%\csdef{#1@language}{\language=\csname l@#1\endcsname}%
}
+\newcommand{\xpg@input}[1]{%
+ \chardef\xpg@atcatcode\catcode`\@
+ \input{#1}\catcode`\@=\xpg@atcatcode}
+
\newcommand{\setdefaultlanguage}[2][]{%
\IfFileExists{gloss-#2.ldf}%
{\ifcsundef{#2@loaded}%
- {\input{gloss-#2.ldf}%
+ {\xpg@input{gloss-#2.ldf}%
\xpg@info{Default~ language~ is~ #2}%
\def\languagename{#2}%
% This is needed because \arabic is a built-in LaTeX command:
@@ -567,7 +570,7 @@
\newcommand{\setotherlanguage}[2][]{%
\IfFileExists{gloss-#2.ldf}%
{\ifcsundef{#2@loaded}%
- {\input{gloss-#2.ldf}%
+ {\xpg@input{gloss-#2.ldf}%
\setkeys{#2}{#1}%
\edef\@tmpa{arabic}%
\edef\@tmpb{#2}%
@@ -633,14 +636,14 @@
\expandafter\providecommand\csname otherlanguage*\endcsname{}
\renewenvironment{otherlanguage*}[2][]{%
\ifcsundef{#2@loaded}%
- {\bgroup\xpg@nogloss{#2}}%
- {\bgroup\select@@language{#2}%
+ {\xpg@nogloss{#2}}%
+ {\select@@language{#2}%
\setkeys{#2}{#1}%
\use@localhyphenmins{#2}%
\ifbool{#2@frenchspacing}{\frenchspacing}{\nonfrenchspacing}%
- \csuse{inlineextras@#2}%
+ \csuse{inlineextras@#2}\csuse{date#2}%
}%
-}{\egroup}
+}{}
%Hook that other package authors can use
%(for instance biblatex):
@@ -754,5 +757,6 @@
% }%
% \expandafter\AtEndOfPackage\expandafter{\@temp}%
%}
+\ExplSyntaxOff
\ProcessOptions*
\endinput