summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/README27
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdfbin0 -> 67506 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex2
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/example-thai.pdfbin0 -> 23013 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/examples.pdfbin0 -> 148678 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/examples.tex2
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdfbin171586 -> 149630 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex9
-rw-r--r--Master/texmf-dist/source/xelatex/polyglossia/polyglossia.dtx403
-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
79 files changed, 662 insertions, 100 deletions
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/README b/Master/texmf-dist/doc/xelatex/polyglossia/README
index b5d025524ae..25159508afa 100644
--- a/Master/texmf-dist/doc/xelatex/polyglossia/README
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/README
@@ -1,7 +1,7 @@
¦----------------------------------------------¦
¦ ¦
- ¦ THE POLYGLOSSIA PACKAGE v1.2.0b ¦
+ ¦ THE POLYGLOSSIA PACKAGE v1.2.0cc ¦
¦ ¦
¦ Modern multilingual typesetting with XeLaTeX ¦
¦ ¦
@@ -46,16 +46,27 @@ and follow the instructions displayed.
BUGS
Users are encouraged to report bugs on the github tracker:
-http://github.com/fc7/polyglossia/issues
+http://github.com/reutenauer/polyglossia/issues
CHANGES
-1.2.0b (03-10-2011)
+1.2.0cc (12-10-2011) [First update by Arthur Reutenauer]
+ * Update to gloss-italian.ldf by Claudio Beccari, incorporating changes
+ by Enrico Gregorio.
+ * Conclude every gloss file with \makeatother to match the initial
+ \makeatletter.
+ * Conclude polyglossia.sty with \ExplSyntaxOff to match the initial
+ \ExplSyntaxOn.
+ * Added gloss file for Kannada, contributed by Aravinda VK and others.
+ * Corrections to the gloss-dutch.ldf thanks to Wouter Bolsterlee.
+ * Several patches by Enrico Gregorio, fixing long-standing bugs.
+
+1.2.0b (03-10-2011) [Update by Philipp Stephani]
* Load xkeyval package explicitly since newer versions
of fontspec don't load it any more
-1.2.0a (27-07-2010)
+1.2.0a (27-07-2010) [Last update by François Charette]
* Initialize \fontfamily acc to value of \familydefault
(Fixes a bug when using polyglossia with beamer)
* Remove spurious space in def of \dateenglish
@@ -177,6 +188,10 @@ CHANGES
------------------------------
- François Charette, July 2010
- <firmicus ατ gmx δοτ net>
+ Arthur Reutenauer, October 2011
+ <arthur 'dot' reutenauer 'at' normalesup 'dot' org>
+
+ Original author:
+ François Charette
+ <firmicus ατ gmx δοτ net>
------------------------------
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdf
new file mode 100644
index 00000000000..218f6a71a56
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex
index b685956d09f..1cd3266346f 100644
--- a/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex
@@ -1,7 +1,7 @@
\documentclass[a4paper]{book}%
\usepackage[no-math]{fontspec}
\usepackage{xltxtra,url,amsmath}
-\setromanfont{Linux Libertine}
+\setromanfont{Linux Libertine O}
\defaultfontfeatures{Scale=MatchLowercase}
\newfontfamily\arabicfont[Script=Arabic,Scale=1.3]{Scheherazade}%
\newfontfamily\arabicfonttt[Script=Arabic,Scale=.75]{DejaVu Sans Mono}
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.pdf
new file mode 100644
index 00000000000..307a87ecda8
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf
new file mode 100644
index 00000000000..5288044498e
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/examples.tex b/Master/texmf-dist/doc/xelatex/polyglossia/examples.tex
index b423123144a..9cb164c5b71 100644
--- a/Master/texmf-dist/doc/xelatex/polyglossia/examples.tex
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/examples.tex
@@ -11,7 +11,7 @@
\setotherlanguage[spelling=new,latesthyphen=true,babelshorthands=true]{german}
\setotherlanguages{latin,russian,turkish,polish,latvian,sanskrit,ukrainian,farsi,syriac,divehi,hebrew,amharic}
\setotherlanguage[calendar=gregorian,numerals=western]{urdu}
-\setromanfont{Linux Libertine}
+\setromanfont{Linux Libertine O}
\defaultfontfeatures{Scale=MatchLowercase,RawFeature={+locl}}
\setmonofont{Inconsolata}
\newfontfamily\arabicfont[Script=Arabic]{Scheherazade}%
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf
index c4cc8f07bfd..da9e682560e 100644
--- a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex
index 180bdb694e3..4850b778081 100644
--- a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex
@@ -67,7 +67,7 @@
%%%
%% fontspec declarations:
-\setromanfont[Mapping=tex-text]{Linux Libertine}
+\setromanfont[Mapping=tex-text]{Linux Libertine O}
\defaultfontfeatures{Scale=MatchLowercase}
\setmonofont{DejaVu Sans Mono}
\setsansfont{Lucida Sans Unicode}
@@ -92,7 +92,7 @@
\fontspec{GFS Ambrosia}
Π$\;\,$ο$\;\,$λ$\;\,$υ$\;\,$γ$\;\,$λ$\;\,$ω$\;\,$σ$\;\,$σ$\;\,$ι$\;\,$α}\\[16pt]
\color{myblue}Polyglossia: A Babel Replacement for \XeLaTeX}
-\author{\scshape\color{myblue}François Charette}
+\author{\scshape\color{myblue}François Charette\\\color{myblue}Current maintainer: \scshape Arthur Reutenauer}
\date{\filedate \qquad \fileversion\\
\footnotesize (\textsc{pdf} file generated on \today)}
@@ -761,13 +761,14 @@ itself a slight modification of ¦ftoday.sty¦ in Farsi\TeX.\footnote{ %
One day I may rewrite \pkg{farsical} from scratch using the algorithm in
Reingold \& Gershowitz (ref.~n.~\ref{reingold}).}
Here we have renamed the command \cmd\ftoday\ to
-\Cmd\Jalalitoday. %Example: today is \Jalalitoday.
+\Cmd\Jalalitoday.
+%Example: today is \Jalalitoday.
%\section{Varia}
-\section{Acknowledgements}
+\section{Acknowledgements (by François Charette)}
\pkg{Polyglossia} is notable for being a recycle box of previous contributions
by other people. I take this opportunity to thank the following individuals,
whose splendid work has made my task almost trivial in comparision: Johannes
diff --git a/Master/texmf-dist/source/xelatex/polyglossia/polyglossia.dtx b/Master/texmf-dist/source/xelatex/polyglossia/polyglossia.dtx
index b9140555aa1..525802eb613 100644
--- a/Master/texmf-dist/source/xelatex/polyglossia/polyglossia.dtx
+++ b/Master/texmf-dist/source/xelatex/polyglossia/polyglossia.dtx
@@ -2,7 +2,7 @@
% polyglossia.dtx generated using mkpolyglossiadtx.pl
% (derived from makedtx.pl version 0.94b (c) Nicola Talbot)
%
-% Created on 2011/10/3 1:06
+% Created on 2011/10/13 22:17
%<*internal>
\iffalse
%</internal>
@@ -10,7 +10,7 @@
¦----------------------------------------------¦
¦ ¦
- ¦ THE POLYGLOSSIA PACKAGE v1.2.0b ¦
+ ¦ THE POLYGLOSSIA PACKAGE v1.2.0cc ¦
¦ ¦
¦ Modern multilingual typesetting with XeLaTeX ¦
¦ ¦
@@ -55,16 +55,27 @@ and follow the instructions displayed.
BUGS
Users are encouraged to report bugs on the github tracker:
-http://github.com/fc7/polyglossia/issues
+http://github.com/reutenauer/polyglossia/issues
CHANGES
-1.2.0b (03-10-2011)
+1.2.0cc (12-10-2011) [First update by Arthur Reutenauer]
+ * Update to gloss-italian.ldf by Claudio Beccari, incorporating changes
+ by Enrico Gregorio.
+ * Conclude every gloss file with \makeatother to match the initial
+ \makeatletter.
+ * Conclude polyglossia.sty with \ExplSyntaxOff to match the initial
+ \ExplSyntaxOn.
+ * Added gloss file for Kannada, contributed by Aravinda VK and others.
+ * Corrections to the gloss-dutch.ldf thanks to Wouter Bolsterlee.
+ * Several patches by Enrico Gregorio, fixing long-standing bugs.
+
+1.2.0b (03-10-2011) [Update by Philipp Stephani]
* Load xkeyval package explicitly since newer versions
of fontspec don't load it any more
-1.2.0a (27-07-2010)
+1.2.0a (27-07-2010) [Last update by François Charette]
* Initialize \fontfamily acc to value of \familydefault
(Fixes a bug when using polyglossia with beamer)
* Remove spurious space in def of \dateenglish
@@ -186,8 +197,12 @@ CHANGES
------------------------------
- François Charette, July 2010
- <firmicus ατ gmx δοτ net>
+ Arthur Reutenauer, October 2011
+ <arthur 'dot' reutenauer 'at' normalesup 'dot' org>
+
+ Original author:
+ François Charette
+ <firmicus ατ gmx δοτ net>
------------------------------
%</README>
%<*internal>
@@ -204,14 +219,15 @@ CHANGES
____________________________
The polyglossia package
- (C) 2008–2011 François Charette
+ (C) 2008–2010 François Charette
+ (C) 2011 Arthur Reutenauer
License information appended
\endpreamble
\postamble
- Copyright (C) 2011 by François Charette <firmicus ατ gmx δοτ net>
+ Copyright (C) 2011 by Arthur Reutenauer <arthur 'dot' reutenauer 'at' normalesup 'dot' org>
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
@@ -223,7 +239,7 @@ CHANGES
This work has the LPPL maintenance status `maintained'.
- The Current Maintainer of this work is François Charette.
+ The Current Maintainer of this work is Arthur Reutenauer.
\endpostamble
@@ -270,6 +286,7 @@ CHANGES
\generate{\file{gloss-interlingua.ldf}{\from{polyglossia.dtx}{gloss-interlingua.ldf}}}
\generate{\file{gloss-irish.ldf}{\from{polyglossia.dtx}{gloss-irish.ldf}}}
\generate{\file{gloss-italian.ldf}{\from{polyglossia.dtx}{gloss-italian.ldf}}}
+\generate{\file{gloss-kannada.ldf}{\from{polyglossia.dtx}{gloss-kannada.ldf}}}
\generate{\file{gloss-lao.ldf}{\from{polyglossia.dtx}{gloss-lao.ldf}}}
\generate{\file{gloss-latin.ldf}{\from{polyglossia.dtx}{gloss-latin.ldf}}}
\generate{\file{gloss-latvian.ldf}{\from{polyglossia.dtx}{gloss-latvian.ldf}}}
@@ -391,7 +408,7 @@ CHANGES
%%%
%% fontspec declarations:
-\setromanfont[Mapping=tex-text]{Linux Libertine}
+\setromanfont[Mapping=tex-text]{Linux Libertine O}
\defaultfontfeatures{Scale=MatchLowercase}
\setmonofont{DejaVu Sans Mono}
\setsansfont{Lucida Sans Unicode}
@@ -427,7 +444,7 @@ CHANGES
% \fontspec{GFS Ambrosia}
% Π$\;\,$ο$\;\,$λ$\;\,$υ$\;\,$γ$\;\,$λ$\;\,$ω$\;\,$σ$\;\,$σ$\;\,$ι$\;\,$α}\\[16pt]
% \color{myblue}Polyglossia: A Babel Replacement for \XeLaTeX}
-% \author{\scshape\color{myblue}François Charette}
+% \author{\scshape\color{myblue}François Charette\\\color{myblue}Current maintainer: \scshape Arthur Reutenauer}
% \date{\filedate \qquad \fileversion\\
% \footnotesize (\textsc{pdf} file generated on \today)}
%
@@ -1096,13 +1113,14 @@ CHANGES
% One day I may rewrite \pkg{farsical} from scratch using the algorithm in
% Reingold \& Gershowitz (ref.~n.~\ref{reingold}).}
% Here we have renamed the command \cmd\ftoday\ to
-% \Cmd\Jalalitoday. %Example: today is \Jalalitoday.
+% \Cmd\Jalalitoday.
+% ^^AExample: today is \Jalalitoday.
%
%
% ^^A\section{Varia}
%
%
-% \section{Acknowledgements}
+% \section{Acknowledgements (by François Charette)}
% \pkg{Polyglossia} is notable for being a recycle box of previous contributions
% by other people. I take this opportunity to thank the following individuals,
% whose splendid work has made my task almost trivial in comparision: Johannes
@@ -1139,7 +1157,7 @@ CHANGES
% \subsection{polyglossia.sty}
% \begin{macrocode}
\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}
@@ -1358,9 +1376,8 @@ CHANGES
\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}}%
@@ -1593,10 +1610,14 @@ CHANGES
%\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:
@@ -1707,7 +1728,7 @@ CHANGES
\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}%
@@ -1773,14 +1794,14 @@ CHANGES
\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):
@@ -1894,6 +1915,7 @@ CHANGES
% }%
% \expandafter\AtEndOfPackage\expandafter{\@temp}%
%}
+\ExplSyntaxOff
\ProcessOptions*
% \end{macrocode}
% \iffalse
@@ -2556,11 +2578,11 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
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}%
@@ -3386,6 +3408,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
Qershor\or Korrik\or Gusht\or Shtator\or Tetor\or Nëntor\or
Dhjetor\fi \space \number\year}}}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-albanian.ldf>
@@ -3817,6 +3840,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\let\MakeUppercase\orig@MakeUppercase%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-arabic.ldf>
@@ -3878,6 +3902,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
Նոյեմբեր\or
Դեկտեմբեր\fi
\number\day,\space\number\year}}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-armenian.ldf>
@@ -3930,6 +3955,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
d'avientu\fi\space de~\number\year}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-asturian.ldf>
@@ -3985,6 +4011,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\DefineFormatHijriDate{bahasai}{%
\number\value{Hijriday}\space\hijrimonthbahasai{\value{Hijrimonth}}\space\number\value{Hijriyear}}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-bahasai.ldf>
@@ -4048,6 +4075,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\DefineFormatHijriDate{bahasam}{%
\number\value{Hijriday}\space\hijrimonthbahasam{\value{Hijrimonth}}\space\number\value{Hijriyear}}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-bahasam.ldf>
@@ -4097,6 +4125,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
irailaren\or urriaren\or azaroaren\or
abenduaren\fi~\number\day}}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-basque.ldf>
@@ -4183,6 +4212,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\number#1%
\fi}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-bengali.ldf>
@@ -4232,6 +4262,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\fi\space de\space\number\year}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-brazil.ldf>
@@ -4319,6 +4350,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\breton@punctuation%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-breton.ldf>
@@ -4414,6 +4446,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\def\todayRoman{\number\day.\,\month@Roman.\,\number\year~г.}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-bulgarian.ldf>
@@ -4551,6 +4584,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\def\inlineextras@catalan{%
\ifcatalan@babelshorthands\catalan@shorthands\fi%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-catalan.ldf>
@@ -4564,7 +4598,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\makeatletter
\PolyglossiaSetup{coptic}{
script=Coptic,
- direction=RL,
scripttag=copt,
langtag=COP,
hyphennames={coptic},
@@ -4600,6 +4633,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
% \def\today{<++>}%
% }
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-coptic.ldf>
@@ -4647,6 +4681,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
lipnja\or srpnja\or kolovoza\or rujna\or listopada\or studenog\or
prosinca\fi \space \number\year.}}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-croatian.ldf>
@@ -4696,6 +4731,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
října\or listopadu\or prosince\fi
\space \number\year}}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-czech.ldf>
@@ -4741,6 +4777,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
juli\or august\or september\or oktober\or november\or december\fi
\space\number\year}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-danish.ldf>
@@ -4795,6 +4832,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\let\MakeUppercase\@@MakeUppercase%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-divehi.ldf>
@@ -4850,22 +4888,22 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\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
@@ -4884,6 +4922,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\ifdutch@babelshorthands\dutch@shorthands\fi%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-dutch.ldf>
@@ -5004,6 +5043,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\fi}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-english.ldf>
@@ -5078,6 +5118,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\let\@alph\latin@alph%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-esperanto.ldf>
@@ -5126,6 +5167,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
juuli\or august\or september\or oktoober\or november\or
detsember\fi\space\number\year.\space a.}}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-estonian.ldf>
@@ -5260,6 +5302,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\def\noextras@farsi{%
\let\MakeUppercase\@@MakeUppercase%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-farsi.ldf>
@@ -5309,6 +5352,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
syyskuuta\or lokakuuta\or marraskuuta\or joulukuuta\fi
\space\number\year}}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-finnish.ldf>
@@ -5436,6 +5480,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\french@punctuation%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-french.ldf>
@@ -5484,6 +5529,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
xullo\or agosto\or setembro\or outubro\or novembro\or decembro\fi
\space de~\number\year}}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-galician.ldf>
@@ -5669,6 +5715,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\ifgerman@babelshorthands\german@shorthands\fi
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-german.ldf>
@@ -6023,6 +6070,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\let\greek@Alph\@undefined%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-greek.ldf>
@@ -6151,6 +6199,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\def\noextras@hebrew{%
\let\MakeUppercase\@@MakeUppercase%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-hebrew.ldf>
@@ -6258,6 +6307,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\let\MakeUppercase\@@MakeUppercase%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-hindi.ldf>
@@ -6308,6 +6358,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\space\number\year}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-icelandic.ldf>
@@ -6358,6 +6409,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
decembre\fi
\space \number\year}}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-interlingua.ldf>
@@ -6409,6 +6461,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
Mí na Samhna\or Mí na Nollag\fi
\space \number\year}}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-irish.ldf>
@@ -6418,7 +6471,8 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
%
% \subsection{gloss-italian.ldf}
% \begin{macrocode}
-\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},
@@ -6428,6 +6482,67 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
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}%
@@ -6456,23 +6571,152 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
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 %%%
% \end{macrocode}
% \iffalse
%</gloss-italian.ldf>
+%<*gloss-kannada.ldf>
+% \fi
+% \clearpage
+%
+% \subsection{gloss-kannada.ldf}
+% \begin{macrocode}
+%% 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
+% \end{macrocode}
+% \iffalse
+%</gloss-kannada.ldf>
%<*gloss-lao.ldf>
% \fi
% \clearpage
@@ -6569,6 +6813,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\renewcommand\thefootnote{\protect\number{\c@footnote}}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-lao.ldf>
@@ -6618,6 +6863,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
Decembris\fi%
\space \uppercase\expandafter{\romannumeral\year}}}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-latin.ldf>
@@ -6667,6 +6913,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
jūlijā\or augustā\or septembrī\or%
oktobrī\or novembrī\or decembrī\fi}}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-latvian.ldf>
@@ -6739,6 +6986,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\let\fnum@table\fnum@table@orig
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-lithuanian.ldf>
@@ -6793,6 +7041,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
godownika\fi\space \number\year}}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-lsorbian.ldf>
@@ -6862,6 +7111,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\let\ontoday\@undefined
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-magyar.ldf>
@@ -6924,6 +7174,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\space\number\day}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-malayalam.ldf>
@@ -7011,6 +7262,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\def\today{\marathinumber\day\space\marathimonth\space\marathinumber\year}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-marathi.ldf>
@@ -7061,6 +7313,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\fi\space\number\year}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-norsk.ldf>
@@ -7111,6 +7364,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\fi\space\number\year}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-nynorsk.ldf>
@@ -7177,6 +7431,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\def\today{\occitanday \occitanmonth\space de~\number\year}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-occitan.ldf>
@@ -7220,13 +7475,14 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
}
\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
% \end{macrocode}
% \iffalse
%</gloss-polish.ldf>
@@ -7276,6 +7532,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\space de\space\number\year}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-portuges.ldf>
@@ -7327,6 +7584,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\space \number\year}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-romanian.ldf>
@@ -7588,6 +7846,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\def\Proj {\mathop{\mathrm{Пр}}\nolimits}
%\DeclareRobustCommand{\No}{№}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-russian.ldf>
@@ -7647,6 +7906,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\space\number\day.~b.\space\number\year}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-samin.ldf>
@@ -7742,6 +8002,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\sanskrit@punctuation%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-sanskrit.ldf>
@@ -7795,6 +8056,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\space \number\year}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-scottish.ldf>
@@ -7837,7 +8099,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
}%
{\xpg@error{Unknown script `#1' for Serbian language\MessageBreak
Valid values are "Cyrillic" and "Latin"}}%
- }
+ }%
}
\define@key{serbian}{script}[Cyrillic]{\setkeys{serbian}{Script=#1}}
@@ -7916,10 +8178,11 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\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
% \end{macrocode}
% \iffalse
%</gloss-serbian.ldf>
@@ -7971,6 +8234,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\space \number\year}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-slovak.ldf>
@@ -8020,6 +8284,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\space \number\year}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-slovenian.ldf>
@@ -8070,6 +8335,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
diciembre\fi\space \number\year}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-spanish.ldf>
@@ -8126,6 +8392,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\def\today{\number\day/\number\month\space\number\year}}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-swedish.ldf>
@@ -8293,6 +8560,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\let\MakeUppercase\@@MakeUppercase%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-syriac.ldf>
@@ -8355,6 +8623,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\space\number\day}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-tamil.ldf>
@@ -8420,6 +8689,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\def\today{\telugu@month\space\number\day,\space\number\year}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-telugu.ldf>
@@ -8564,6 +8834,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\let\baselinestrech\orig@baselinestretch%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-thai.ldf>
@@ -8655,6 +8926,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\turkish@punctuation%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-turkish.ldf>
@@ -8706,6 +8978,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
Dekabr\fi
\space\number\year}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-turkmen.ldf>
@@ -8795,6 +9068,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\let\@alph\latin@alph%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-ukrainian.ldf>
@@ -8941,6 +9215,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\let\MakeUppercase\@@MakeUppercase%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-urdu.ldf>
@@ -8997,6 +9272,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
hodownika\fi \space \number\year}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-usorbian.ldf>
@@ -9048,6 +9324,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
năm \number\year}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-vietnamese.ldf>
@@ -9099,6 +9376,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\space\number\year}%
}
+\makeatother
% \end{macrocode}
% \iffalse
%</gloss-welsh.ldf>
@@ -9237,7 +9515,7 @@ U+0039 <> U+0E59 ;
¦----------------------------------------------¦
¦ ¦
- ¦ THE POLYGLOSSIA PACKAGE v1.2.0b ¦
+ ¦ THE POLYGLOSSIA PACKAGE v1.2.0cc ¦
¦ ¦
¦ Modern multilingual typesetting with XeLaTeX ¦
¦ ¦
@@ -9282,16 +9560,27 @@ and follow the instructions displayed.
BUGS
Users are encouraged to report bugs on the github tracker:
-http://github.com/fc7/polyglossia/issues
+http://github.com/reutenauer/polyglossia/issues
CHANGES
-1.2.0b (03-10-2011)
+1.2.0cc (12-10-2011) [First update by Arthur Reutenauer]
+ * Update to gloss-italian.ldf by Claudio Beccari, incorporating changes
+ by Enrico Gregorio.
+ * Conclude every gloss file with \makeatother to match the initial
+ \makeatletter.
+ * Conclude polyglossia.sty with \ExplSyntaxOff to match the initial
+ \ExplSyntaxOn.
+ * Added gloss file for Kannada, contributed by Aravinda VK and others.
+ * Corrections to the gloss-dutch.ldf thanks to Wouter Bolsterlee.
+ * Several patches by Enrico Gregorio, fixing long-standing bugs.
+
+1.2.0b (03-10-2011) [Update by Philipp Stephani]
* Load xkeyval package explicitly since newer versions
of fontspec don't load it any more
-1.2.0a (27-07-2010)
+1.2.0a (27-07-2010) [Last update by François Charette]
* Initialize \fontfamily acc to value of \familydefault
(Fixes a bug when using polyglossia with beamer)
* Remove spurious space in def of \dateenglish
@@ -9413,8 +9702,12 @@ CHANGES
------------------------------
- François Charette, July 2010
- <firmicus ατ gmx δοτ net>
+ Arthur Reutenauer, October 2011
+ <arthur 'dot' reutenauer 'at' normalesup 'dot' org>
+
+ Original author:
+ François Charette
+ <firmicus ατ gmx δοτ net>
------------------------------
%</README>
%<*examples.tex>
@@ -9431,7 +9724,7 @@ CHANGES
\setotherlanguage[spelling=new,latesthyphen=true,babelshorthands=true]{german}
\setotherlanguages{latin,russian,turkish,polish,latvian,sanskrit,ukrainian,farsi,syriac,divehi,hebrew,amharic}
\setotherlanguage[calendar=gregorian,numerals=western]{urdu}
-\setromanfont{Linux Libertine}
+\setromanfont{Linux Libertine O}
\defaultfontfeatures{Scale=MatchLowercase,RawFeature={+locl}}
\setmonofont{Inconsolata}
\newfontfamily\arabicfont[Script=Arabic]{Scheherazade}%
@@ -9560,7 +9853,7 @@ Quamquam sermone nativo fungi desinit, cumque nostris diebus perpauci Latine loq
\documentclass[a4paper]{book}%
\usepackage[no-math]{fontspec}
\usepackage{xltxtra,url,amsmath}
-\setromanfont{Linux Libertine}
+\setromanfont{Linux Libertine O}
\defaultfontfeatures{Scale=MatchLowercase}
\newfontfamily\arabicfont[Script=Arabic,Scale=1.3]{Scheherazade}%
\newfontfamily\arabicfonttt[Script=Arabic,Scale=.75]{DejaVu Sans Mono}
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