summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/polyglossia
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-08-07 21:45:43 +0000
committerKarl Berry <karl@freefriends.org>2015-08-07 21:45:43 +0000
commita395e96459bb0e174924a5738ed16da58e86f1ee (patch)
treea09a124bed9726a15b115a9d6d59b54163698955 /Master/texmf-dist/source/latex/polyglossia
parent809a2782f6a6514f7689c13bdc1875a4fd388e5a (diff)
polyglossia (7aug15)
git-svn-id: svn://tug.org/texlive/trunk@38072 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/polyglossia')
-rw-r--r--Master/texmf-dist/source/latex/polyglossia/polyglossia.dtx379
1 files changed, 353 insertions, 26 deletions
diff --git a/Master/texmf-dist/source/latex/polyglossia/polyglossia.dtx b/Master/texmf-dist/source/latex/polyglossia/polyglossia.dtx
index 4c43c9aa3fe..4137eee9bdf 100644
--- a/Master/texmf-dist/source/latex/polyglossia/polyglossia.dtx
+++ b/Master/texmf-dist/source/latex/polyglossia/polyglossia.dtx
@@ -11,7 +11,7 @@
¦----------------------------------------------¦
¦ ¦
- ¦ THE POLYGLOSSIA PACKAGE v1.40.1 ¦
+ ¦ THE POLYGLOSSIA PACKAGE v1.42.0 ¦
¦ ¦
¦ Modern multilingual typesetting ¦
¦ with XeLaTeX and LuaLaTeX ¦
@@ -20,7 +20,7 @@
This package provides an alternative to Babel for users of XeLaTeX and LuaLaTeX
(with a few languages incompletely supported for the latter). This version
-includes support for 75 different languages.
+includes support for 76 different languages.
Polyglossia makes it possible to automate the following tasks:
@@ -40,6 +40,17 @@ Polyglossia makes it possible to automate the following tasks:
* Ensuring the proper directionality if the document contains languages
written from right to left (via the package bidi, available separately).
+LICENSE
+
+Copyright (c) 2008-2010 François Charette, 2013 Élie Roux, 2011-2015 Arthur Reutenauer
+
+Polyglossia is placed under the terms of the LaTeX Project Public Licence
+(LPPL), either version 1.3, or, at your option, any later version. See
+LICENCE.txt for the text of the LPPL v1.3c, or
+http://www.latex-project.org/lppl.txt for the latest version.
+
+This work has the LPPL maintenance status ‘maintained’. The current maintainer is Arthur Reutenauer.
+
BUGS
Polyglossia has no bug, of course.
@@ -125,6 +136,7 @@ http://github.com/reutenauer/polyglossia/issues
\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-khmer.ldf}{\from{polyglossia.dtx}{gloss-khmer.ldf}}}
\generate{\file{gloss-korean.ldf}{\from{polyglossia.dtx}{gloss-korean.ldf}}}
\generate{\file{gloss-lao.ldf}{\from{polyglossia.dtx}{gloss-lao.ldf}}}
\generate{\file{gloss-latin.ldf}{\from{polyglossia.dtx}{gloss-latin.ldf}}}
@@ -373,21 +385,23 @@ http://github.com/reutenauer/polyglossia/issues
% ^^A Produced with tools/insert-language-list.rb -- AR, 2015-07-14
% \begin{tabular}{lllll}
% \hline
-% albanian & czech & \TX{hindi} & nko & slovenian \\
-% amharic & danish & icelandic & norsk & spanish \\
-% \TX{arabic} & divehi & interlingua & nynorsk & swedish \\
-% armenian & \TX{dutch} & irish & occitan & \TX{syriac} \\
-% asturian & \TX{english} & \TX{italian} & piedmontese & tamil \\
-% bahasai & \TX{esperanto} & kannada & polish & telugu \\
-% bahasam & estonian & korean & portuges & \TX{thai} \\
-% basque & \TX{farsi} & \TX{lao} & romanian & tibetan \\
-% \TX{bengali} & finnish & \TX{latin} & romansh & turkish \\
-% brazil[ian] & french & latvian & \TX{russian} & turkmen \\
-% breton & friulan & lithuanian & samin & \TX{ukrainian}\\
-% bulgarian & galician & \TX{lsorbian} & \TX{sanskrit} & urdu \\
-% \TX{catalan} & \TX{german} & \TX{magyar} & scottish & \TX{usorbian} \\
-% coptic & \TX{greek} & malayalam & \TX{serbian} & vietnamese \\
-% croatian & \TX{hebrew} & marathi & slovak & welsh \\\hline
+% albanian & danish & icelandic & nko & \TX{slovenian}\\
+% amharic & divehi & interlingua & norsk & spanish \\
+% \TX{arabic} & \TX{dutch} & irish & nynorsk & swedish \\
+% armenian & \TX{english} & \TX{italian} & occitan & \TX{syriac} \\
+% asturian & \TX{esperanto} & kannada & piedmontese & tamil \\
+% bahasai & estonian & khmer & polish & telugu \\
+% bahasam & \TX{farsi} & \TX{korean} & portuges & \TX{thai} \\
+% basque & finnish & \TX{lao} & romanian & tibetan \\
+% \TX{bengali} & french & \TX{latin} & romansh & turkish \\
+% brazil[ian] & friulan & latvian & \TX{russian} & turkmen \\
+% breton & galician & lithuanian & samin & \TX{ukrainian}\\
+% bulgarian & \TX{german} & \TX{lsorbian} & \TX{sanskrit} & urdu \\
+% \TX{catalan} & \TX{greek} & \TX{magyar} & scottish & \TX{usorbian} \\
+% coptic & \TX{hebrew} & malayalam & \TX{serbian} & vietnamese \\
+% croatian & \TX{hindi} & marathi & slovak & \TX{welsh} \\
+% czech \\
+% \hline
% \end{tabular}
% \caption{Languages currently supported in \pkg{polyglossia}}
% \end{table}
@@ -546,7 +560,8 @@ http://github.com/reutenauer/polyglossia/issues
% \subsection{bengali}\label{bengali}\new{v1.2.0}
% \textbf{Options}:
% \begin{itemize}
-% \item \TB{numerals} = Western or \textit{Devanagari}
+% \item \TB{numerals} = Western, Bengali or \textit{Devanagari}
+% \item \TB{changecounternumbering} = true or \textit{false}
% \end{itemize}
%
% \subsection{catalan}\label{catalan}
@@ -704,6 +719,10 @@ http://github.com/reutenauer/polyglossia/issues
% break alowing line breaks in the second compound word fragment.
% \end{itemize}
%
+% \subsection{korean}\label{korean}\new{v1.40.0}
+% The language definition file includes U. S. hyphenation patterns in order to
+% enable hyphenation when writing English within Korean text.
+%
% \subsection{lao}\label{lao}\new{v1.2.0}
% \textbf{Options}:
% \begin{itemize}
@@ -760,6 +779,12 @@ http://github.com/reutenauer/polyglossia/issues
% \item \TB{script} = \textit{cyrillic} or latin
% \end{itemize}
%
+% \subsection{slovenian}\label{slovenian}
+% \textbf{Options}:
+% \begin{itemize}
+% \item \TB{localaph} = true \textit{false}
+% \end{itemize}
+%
% \subsection{syriac}\label{syriac}
% \textbf{Options}:
% \begin{itemize}
@@ -791,6 +816,12 @@ http://github.com/reutenauer/polyglossia/issues
% \item \Cmd\asbuk: same in lowercase
% \end{itemize}
%
+% \subsection{welsh}\label{welsh}
+% \textbf{Options}:
+% \begin{itemize}
+% \item \TB{date} = long or \textit{short}
+% \end{itemize}
+%
% \section{Modifying or extending captions and date formats}
%
% To redefine internal macros, you can use the command ¦\gappto¦ from the package
@@ -1726,6 +1757,7 @@ the output is not guaranteed to be correct\MessageBreak
and may look very wrong.}
\fi
\RequirePackage{devanagaridigits}
+\RequirePackage{bengalidigits}
\PolyglossiaSetup{bengali}{
script=Bengali,
@@ -1741,13 +1773,53 @@ and may look very wrong.}
\def\tmp@western{Western}
\newif\ifbengali@devanagari@numerals
\bengali@devanagari@numeralstrue
+\def\tmp@bengali{Bengali}
+\newif\ifbengali@bengali@numerals
+\bengali@bengali@numeralsfalse % Implied, but you never know
+
\define@key{bengali}{numerals}[Devanagari]{%
\def\@tmpa{#1}%
\ifx\@tmpa\tmp@western
\bengali@devanagari@numeralsfalse
+ \else\ifx\@tmpa\tmp@bengali
+ \bengali@devanagari@numeralsfalse
+ \bengali@bengali@numeralstrue\fi
\fi}
+\def\extras@bengali{}
+\def\noextras@bengali{}
+
+\define@boolkey{bengali}[bengali@]{changecounternumbering}{
+ \def\@tmpa{#1}
+ \def\@tmptrue{true}
+ \ifx\@tmpa\@tmptrue
+ \def\extras@bengali{%
+ % FIXME Tied to the article class! And horrible coding style
+ \let\savethepage\thepage
+ \let\savethesection\thesection
+ \let\savethesubsection\thesubsection
+ \let\savethesubsubsection\thesubsubsection
+ \let\savetheparagraph\theparagraph
+ \let\savethesubparagraph\thesubparagraph
+ \def\thepage{\bengalinumeral{page}}
+ \def\thesection{\bengalinumeral{section}}
+ \def\thesubsection{\bengalinumeral{subsection}}
+ \def\thesubsubsection{\bengalinumeral{subsubsection}}
+ \def\theparagraph{\bengalinumeral{paragraph}}
+ \def\thesubparagraph{\bengalinumeral{subparagraph}}
+ }
+ \def\noextras@bengali{%
+ \let\thepage\savethepage
+ \let\thesection\savethesection
+ \let\thesubsection\savethesubsection
+ \let\thesubsubsection\savethesubsubsection
+ \let\theparagraph\savetheparagraph
+ \let\thesubparagraph\savethesubparagraph
+ }
+ \fi
+}
+
\def\captionsbengali{%
\def\refname{তথ্যসুত্রসমূহ}%
\def\abstractname{সারসংক্ষেপ}%
@@ -1794,9 +1866,19 @@ and may look very wrong.}
\ifbengali@devanagari@numerals
\devanagaridigits{\number#1}%
\else
- \number#1%
+ \ifbengali@bengali@numerals
+ \bengalidigits{\number#1}%
+ \else % Assumed Western
+ \number#1%
+ \fi
\fi}
+\def\bengalinumber#1{\bengalidigits{\number#1}}% Takes number
+\def\bengalinumeral#1{\bengalinumber{\csname c@#1\endcsname}}% Takes counter
+
+\def\blockextras@bengali{\extras@bengali}
+\def\inlineextras@bengali{\extras@bengali}
+
% \end{macrocode}
% \iffalse
%</gloss-bengali.ldf>
@@ -2576,7 +2658,7 @@ and may look very wrong.}
\xpg@info{Option: english variant=american}}%
{\ifstrequal{#1}{usmax}%
{\@british@hyphenfalse\english@ordinalmonthdayfalse
- \setkeys[xpg@setup]{english}{hyphennames={usenglishmax}}%
+ \ifluatex\else\setkeys[xpg@setup]{english}{hyphennames={usenglishmax}}\fi
\xpg@info{Option: english variant=american (with additional patterns)}%
\ifcsundef{l@usenglishmax}%
{\xpg@warning{No hyphenation patterns were loaded for "US English Max"\MessageBreak
@@ -2593,7 +2675,7 @@ and may look very wrong.}
}}}}}}%
\if@british@locale\@british@hyphentrue\english@ordinalmonthdaytrue\fi
\if@british@hyphen
- \setkeys[xpg@setup]{english}{hyphennames={ukenglish,british,UKenglish}}%
+ \ifluatex\else\setkeys[xpg@setup]{english}{hyphennames={ukenglish,british,UKenglish}}\fi
\ifcsundef{l@ukenglish}%
{\xpg@warning{No hyphenation patterns were loaded for British English\MessageBreak
I will use the patterns for US English instead}%
@@ -4493,6 +4575,171 @@ and may look very wrong.}
% \end{macrocode}
% \iffalse
%</gloss-kannada.ldf>
+%<*gloss-khmer.ldf>
+% \fi
+% \clearpage
+%
+% \subsection{gloss-khmer.ldf}
+% \begin{macrocode}
+\ProvidesFile{gloss-khmer.ldf}[polyglossia: module for Khmer]
+\PolyglossiaSetup{khmer}{
+ script=Khmer,%
+ scripttag=khmr,%
+ langtag=KHM,%
+ hyphennames={nohyphenation},%
+ fontsetup=true%
+}
+\newif\if@khmer@numerals
+\def\tmp@khmer{khmer}
+\define@key{khmer}{numerals}[arabic]{%
+ \def\@tmpa{#1}%
+ \ifx\@tmpa\tmp@khmer\@khmer@numeralstrue%
+ \else\@khmer@numeralsfalse\fi%
+}
+\setkeys{khmer}{numerals}
+\def\captionskhmer{%
+ \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\pagename{ទំព័រ}%
+ \def\seename{មើល}%
+ \def\alsoname{មើលបន្ថែម}%
+ \def\enclname{ឯកសារភ្ជាប់}%
+ \def\ccname{ចម្លងជួន}%
+ \def\headtoname{ផ្ញើរទៅ}%
+ \def\proofname{សម្រាយ}%
+ \def\glossaryname{សទានុក្រម}%
+}
+\def\datekhmer{%
+ \def\khmer@month{%
+ \ifcase\month\or%
+ មករា\or%
+ កុម្ភៈ\or%
+ មិនា\or%
+ មេសា\or%
+ ឧសភា\or%
+ មិថុនា\or%
+ កក្កដា\or%
+ សីហា\or%
+ កញ្ញា\or%
+ តុលា\or%
+ វិច្ឆិកា\or%
+ ធ្នូ\fi}%
+ \def\today{\khmernumber\day\space\khmer@month\space\khmernumber\year}%
+}
+\def\khmerdigits#1{\expandafter\@khmer@digits #1@}
+\def\@khmer@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\@khmer@digits%
+ \fi
+}
+\def\khmernumber#1{%
+ \if@khmer@numerals%
+ \khmerdigits{\number#1}%
+ \else%
+ \number#1%
+ \fi}
+\def\khmer@globalnumbers{%
+ \let\orig@arabic\@arabic%
+ \let\@arabic\khmernumber%
+ \renewcommand{\thefootnote}{\protect\khmernumber{\c@footnote}}%
+}
+\def\nokhmer@globalnumbers{%
+ \let\@arabic\orig@arabic%
+ \renewcommand\thefootnote{\protect\number{\c@footnote}}%
+}
+\def\thepart{\arabic{part}}
+\def\@khmeralph#1{%
+\ifcase#1%
+\or ក\or ខ\or គ\or ឃ\or ង%
+\or ច\or ឆ\or ជ\or ឈ\or ញ%
+\or ដ\or ឋ\or ឌ\or ឍ\or ណ%
+\or ត\or ថ\or ទ\or ធ\or ន%
+\or ប\or ផ\or ព\or ភ\or ម%
+\or យ\or រ\or ល\or វ\or ស\or ហ\or ឡ\or អ%
+\else\xpg@ill@value{#1}{@khmeralph}\fi}
+\def\khmerAlph#1{\expandafter\@khmerAlph\csname c@#1\endcsname}
+\def\@khmerAlph#1{%
+\ifcase#1%
+\or ក\or ខ\or គ\or ឃ\or ង%
+\or ច\or ឆ\or ជ\or ឈ\or ញ%
+\or ដ\or ឋ\or ឌ\or ឍ\or ណ%
+\or ត\or ថ\or ទ\or ធ\or ន%
+\or ប\or ផ\or ព\or ភ\or ម%
+\or យ\or រ\or ល\or វ\or ស\or ហ\or ឡ\or អ%
+\else\xpg@ill@value{#1}{@khmeralph}\fi}
+\def\khmer@numbers{%
+ \let\@latinalph\@alph%
+ \let\@latinAlph\@Alph%
+ \if@khmer@numerals
+ \let\@alph\@khmeralph%
+ \let\@Alph\@khmerAlph%
+ \fi%
+}
+\def\nokhmer@numbers{%
+ \let\@alph\@latinalph%
+ \let\@Alph\@latinAlph%
+}
+\def\blockextras@khmer{%
+ \XeTeXlinebreaklocale "kh" %
+ \XeTeXlinebreakskip = 0pt plus 1pt minus 1pt
+% \let\orig@baselinestretch\baselinestretch%
+% \renewcommand{\baselinestretch}{1.2}% not work
+}
+\def\noblockextras@khmer{%
+ \XeTeXlinebreaklocale "en"%
+% \let\baselinestretch\orig@baselinestretch%
+}
+\@ifclassloaded{beamer}{%
+ \usefonttheme{professionalfonts}%
+ \def\factname{ស្វ័យសត្យ}%
+ \def\lemmaname{បទគន្លិះ}%
+ \def\theoremname{ទ្រឹស្ដីបទ}%
+ \def\corollaryname{អនុសាធ្យ}%
+ \def\problemname{ចំណោទ}%
+ \def\solutionname{ដំណោះស្រាយ}%
+ \def\definitionname{និយមន័យ}%
+ \def\examplename{ឧទាហរណ៏}%
+ \uselanguage{khmer}%
+ \languagepath{khmer}%
+ \deftranslation[to=khmer]{Fact}{\factname}%
+ \deftranslation[to=khmer]{Lemma}{\lemmaname}%
+ \deftranslation[to=khmer]{Theorem}{\theoremname}%
+ \deftranslation[to=khmer]{Corollary}{\corollaryname}%
+ \deftranslation[to=khmer]{Problem}{\problemname}%
+ \deftranslation[to=khmer]{Solution}{\solutionname}%
+ \deftranslation[to=khmer]{Definition}{\definitionname}%
+ \deftranslation[to=khmer]{Definitions}{\definitionname}%
+ \deftranslation[to=khmer]{Example}{\examplename}%
+ \deftranslation[to=khmer]{Examples}{\examplename}%
+ \AtEndDocument{\immediate\write\@auxout{\string\@writefile{nav}%
+ {\noexpand\headcommand{\noexpand\def\noexpand%
+ \inserttotalframenumber{\khmernumber{\the\c@framenumber}}}}}}%
+}{}
+% \end{macrocode}
+% \iffalse
+%</gloss-khmer.ldf>
%<*gloss-korean.ldf>
% \fi
% \clearpage
@@ -4882,6 +5129,7 @@ and may look very wrong.}
% set modern as default
\def\latin@variant{\l@latin}%
+\ifluatex\xpg@set@language@luatex@ii{latin}\fi
\def\captionslatin{\modernlatincaptions}%
\def\datelatin{\modernlatindate}%
\def\classicuclccodes{\lccode`\V=`\u \uccode`\u=`\V}
@@ -4894,6 +5142,7 @@ and may look very wrong.}
\def\@tempa{#1}%
\ifx\@tempa\tmp@medieval
\def\latin@variant{\l@latin}%
+ \xpg@set@language@luatex@ii{latin}
\def\captionslatin{\medievallatincaptions}%
\def\datelatin{\classiclatindate}%
\classicuclccodes
@@ -4914,6 +5163,7 @@ and may look very wrong.}
\xpg@info{Option: Classic Latin}%
\else
\def\latin@variant{\l@latin}%
+ \xpg@set@language@luatex@ii{latin}
\def\captionslatin{\modernlatincaptions}%
\def\datelatin{\modernlatindate}%
\xpg@info{Option: Modern Latin}%
@@ -6641,6 +6891,17 @@ and may look very wrong.}
fontsetup=true,
}
+\providebool{slovenian@localalph}
+\define@boolkey{slovenian}[slovenian@]{localalph}[false]{%
+ \def\@tmpa{#1}%
+ \def\@tmptrue{true}%
+ \ifx\@tmpa\@tmptrue
+ \slovenian@localalphtrue
+ \fi
+ \setlocalalph
+}
+
+
\def\captionsslovenian{%
\def\refname{Literatura}%
\def\abstractname{Povzetek}%
@@ -6673,6 +6934,23 @@ and may look very wrong.}
\space \number\year}%
}
+\def\slovenian@alph#1{%
+ \ifcase#1\or a\or b\or c\or č\or d\or e\or f\or g\or h\or i\or j\or k\or l\or
+ m\or n\or o\or p\or r\or s\or š\or t\or u\or v\or z\or ž\else#1\fi
+}
+\def\slovenian@Alph#1{%
+ \ifcase#1\or A\or B\or C\or Č\or D\or E\or F\or G\or H\or I\or J\or K\or L\or
+ M\or N\or O\or P\or R\or S\or Š\or T\or U\or V\or Z\or Ž\else#1\fi}
+\def\abeceda#1{\expandafter\slovenian@alph\csname c@#1\endcsname}
+\def\Abeceda#1{\expandafter\slovenian@Alph\csname c@#1\endcsname}
+
+\def\setlocalalph{%
+ \def\extras@slovenian{\let\savealph\alph\let\saveAlph\Alph\let\alph\abeceda\let\Alph\Abeceda}
+ \def\blockextras@slovenian{\extras@slovenian}
+ \def\inlineextras@slovenian{\extras@slovenian}
+ \def\noextras@slovenian{\let\alph\savealph\let\Alph\saveAlph}
+}
+
% \end{macrocode}
% \iffalse
%</gloss-slovenian.ldf>
@@ -7940,6 +8218,15 @@ and may look very wrong.}
fontsetup=true,
}
+\providebool{welsh@formaldate}
+
+% TODO (maybe) Interface to change that mid-document
+\define@key{welsh}{date}{%
+ \ifstrequal{#1}{long}{%
+ \welsh@formaldatetrue
+ }% Anything else gives \welsh@formaldatefalse
+}
+
\def\captionswelsh{%
\def\refname{Cyfeiriadau}%
\def\abstractname{Crynodeb}%
@@ -7960,18 +8247,28 @@ and may look very wrong.}
\def\alsoname{gweler hefyd}%
\def\enclname{amgaeëdig}%
\def\ccname{copïau}%
- \def\headtoname{At}%
+ \def\headtoname{At}% ‘at’ on letters meaning ‘to (a person)’;
+ % ‘to (a place)’ is ‘i’ in Welsh
\def\proofname{Prawf}%
\def\glossaryname{Rhestr termau}%
}
\def\datewelsh{%
- \def\today{\ifnum\day=1\relax 1\/\textsuperscript{añ}\else
- \number\day\fi\space\ifcase\month\or
+ \def\today{\ifwelsh@formaldate\formaltoday\else\standardtoday\fi}
+ \def\standardtoday{%
+ \ifcase\day\or 1af\or 2ail\or 3ydd\or 4ydd\or 5ed\or 6ed%
+ \or 7fed\or 8fed\or 9fed\or 10fed\or 11eg\or 12fed\or 13eg\or
+ 14eg\or 15fed\or 16eg\or 17eg\or 18fed\or 19eg\or
+ 20fed\else\number\day ain\fi\space\ifcase\month\or
Ionawr\or Chwefror\or Mawrth\or Ebrill\or
Mai\or Mehefin\or Gorffennaf\or Awst\or
Medi\or Hydref\or Tachwedd\or Rhagfyr\fi%
\space\number\year}%
+
+ \def\formaltoday{%
+ \space\ifcase\day\or y\space cyntaf\or yr\space ail\or y\space trydydd\or y\space pedwerydd\or
+ y\space pumed\or y\space chweched\or y\space seithfed\or yr\space wythfed\or y\space nawfed\or y\space degfed\or yr\space unfed ar ddeg\or y\space deuddegfed\or y\space trydydd ar ddeg\or y\space pedwerydd ar ddeg\or y\space pymthegfed\or yr\space unfed ar bymtheg\or yr\space ail ar bymtheg\or y\space deunawfed\or y\space pedwerydd ar bymtheg\or yr\space ugeinfed\or yr\space unfed ar hugain\or yr\space ail ar hugain\or y\space trydydd ar hugain\or y\space pedwerydd ar hugain\or y\space pumed ar hugain\or y\space chweched ar hugain\or y\space seithfed ar hugain\or yr\space wythfed ar hugain\or y\space nawfed ar hugain\or y\space degfed ar hugain\or yr\space unfed ar ddeg ar hugain\fi\space o\space\ifcase\month\or Ionawr\or Chwefror\or Fawrth\or Ebrill\or Fai\or Fehefin\or Orffenaf\or Awst\or Fedi\or Hydref\or Dachwedd\or Ragfyr\fi
+ \space\number\year}%
}
% \end{macrocode}
@@ -8550,7 +8847,7 @@ polyglossia.enable_hyphenation = enable_hyphenation
¦----------------------------------------------¦
¦ ¦
- ¦ THE POLYGLOSSIA PACKAGE v1.40.1 ¦
+ ¦ THE POLYGLOSSIA PACKAGE v1.42.0 ¦
¦ ¦
¦ Modern multilingual typesetting ¦
¦ with XeLaTeX and LuaLaTeX ¦
@@ -8559,7 +8856,7 @@ polyglossia.enable_hyphenation = enable_hyphenation
This package provides an alternative to Babel for users of XeLaTeX and LuaLaTeX
(with a few languages incompletely supported for the latter). This version
-includes support for 75 different languages.
+includes support for 76 different languages.
Polyglossia makes it possible to automate the following tasks:
@@ -8579,6 +8876,17 @@ Polyglossia makes it possible to automate the following tasks:
* Ensuring the proper directionality if the document contains languages
written from right to left (via the package bidi, available separately).
+LICENSE
+
+Copyright (c) 2008-2010 François Charette, 2013 Élie Roux, 2011-2015 Arthur Reutenauer
+
+Polyglossia is placed under the terms of the LaTeX Project Public Licence
+(LPPL), either version 1.3, or, at your option, any later version. See
+LICENCE.txt for the text of the LPPL v1.3c, or
+http://www.latex-project.org/lppl.txt for the latest version.
+
+This work has the LPPL maintenance status ‘maintained’. The current maintainer is Arthur Reutenauer.
+
BUGS
Polyglossia has no bug, of course.
@@ -8587,6 +8895,25 @@ Hum, sorry, wishful thinking. Please report any bugs, problems or requests on:
http://github.com/reutenauer/polyglossia/issues
%</../README>
%<*Changelog>
+06-08-2015
+ * Add Bengali digits package, and option to reset all numbering functions
+
+05-08-2015
+ * Add “long” option for Welsh date
+ * Add local alphabet in Slovenian, for enumerations and such
+
+04-08-2015
+ * Fix long-standing bug with Welsh: date should use ordinals
+
+03-08-2015
+ * Fix for Latin with LuaTeX: all variants had same problems as Classic
+
+02-08-2015
+ * Fixed error with British variant of English and LuaTeX (issue #86)
+
+1.41.0 (16-07-2015)
+ * Added support for Khmer, by Say Ol (private email)
+
1.40.1 (14-07-2015)
* Bugfix for Korean, by Kim Dohyun (pull request #103)