summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/polyglossia
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-11-29 21:10:53 +0000
committerKarl Berry <karl@freefriends.org>2022-11-29 21:10:53 +0000
commit0113d35094ec2b9667d9ed9a9d1d1cc45337d67d (patch)
tree0193419adf227972bb4acc157eacfb9ded4463cb /Master/texmf-dist/source/latex/polyglossia
parent8bcb0bdbed8e8df6a76b01d3adf580afb27c1a76 (diff)
polyglossia (29nov22)
git-svn-id: svn://tug.org/texlive/trunk@65144 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/polyglossia')
-rw-r--r--Master/texmf-dist/source/latex/polyglossia/polyglossia.dtx1662
1 files changed, 1129 insertions, 533 deletions
diff --git a/Master/texmf-dist/source/latex/polyglossia/polyglossia.dtx b/Master/texmf-dist/source/latex/polyglossia/polyglossia.dtx
index c73188a8608..7fa73852832 100644
--- a/Master/texmf-dist/source/latex/polyglossia/polyglossia.dtx
+++ b/Master/texmf-dist/source/latex/polyglossia/polyglossia.dtx
@@ -8,11 +8,11 @@
\iffalse
%</internal>
%<*README>
-# THE POLYGLOSSIA PACKAGE v1.58
+# THE POLYGLOSSIA PACKAGE v1.59
## Multilingual typesetting with XeLaTeX and LuaLaTeX
This package provides an alternative to Babel for users of XeLaTeX and LuaLaTeX.
-This version includes support for over 70 different languages, some of which in
+This version includes support for over 80 different languages, some of which in
different regional or national varieties, or using a different writing system.
Polyglossia makes it possible to automate the following tasks:
@@ -160,6 +160,7 @@ to track the issues and follow progress.
\generate{\file{gloss-canadian.ldf}{\from{polyglossia.dtx}{gloss-canadian.ldf}}}
\generate{\file{gloss-canadien.ldf}{\from{polyglossia.dtx}{gloss-canadien.ldf}}}
\generate{\file{gloss-catalan.ldf}{\from{polyglossia.dtx}{gloss-catalan.ldf}}}
+\generate{\file{gloss-chinese.ldf}{\from{polyglossia.dtx}{gloss-chinese.ldf}}}
\generate{\file{gloss-ckb-Arab.ldf}{\from{polyglossia.dtx}{gloss-ckb-Arab.ldf}}}
\generate{\file{gloss-ckb-Latn.ldf}{\from{polyglossia.dtx}{gloss-ckb-Latn.ldf}}}
\generate{\file{gloss-ckb.ldf}{\from{polyglossia.dtx}{gloss-ckb.ldf}}}
@@ -305,12 +306,14 @@ to track the issues and follow progress.
\generate{\file{gloss-nswissgerman.ldf}{\from{polyglossia.dtx}{gloss-nswissgerman.ldf}}}
\generate{\file{gloss-nynorsk.ldf}{\from{polyglossia.dtx}{gloss-nynorsk.ldf}}}
\generate{\file{gloss-occitan.ldf}{\from{polyglossia.dtx}{gloss-occitan.ldf}}}
+\generate{\file{gloss-pa.ldf}{\from{polyglossia.dtx}{gloss-pa.ldf}}}
\generate{\file{gloss-persian.ldf}{\from{polyglossia.dtx}{gloss-persian.ldf}}}
\generate{\file{gloss-piedmontese.ldf}{\from{polyglossia.dtx}{gloss-piedmontese.ldf}}}
\generate{\file{gloss-polish.ldf}{\from{polyglossia.dtx}{gloss-polish.ldf}}}
\generate{\file{gloss-polutonikogreek.ldf}{\from{polyglossia.dtx}{gloss-polutonikogreek.ldf}}}
\generate{\file{gloss-portuges.ldf}{\from{polyglossia.dtx}{gloss-portuges.ldf}}}
\generate{\file{gloss-portuguese.ldf}{\from{polyglossia.dtx}{gloss-portuguese.ldf}}}
+\generate{\file{gloss-punjabi.ldf}{\from{polyglossia.dtx}{gloss-punjabi.ldf}}}
\generate{\file{gloss-romanian.ldf}{\from{polyglossia.dtx}{gloss-romanian.ldf}}}
\generate{\file{gloss-romansh.ldf}{\from{polyglossia.dtx}{gloss-romansh.ldf}}}
\generate{\file{gloss-russian.ldf}{\from{polyglossia.dtx}{gloss-russian.ldf}}}
@@ -343,10 +346,13 @@ to track the issues and follow progress.
\generate{\file{gloss-uyghur.ldf}{\from{polyglossia.dtx}{gloss-uyghur.ldf}}}
\generate{\file{gloss-vietnamese.ldf}{\from{polyglossia.dtx}{gloss-vietnamese.ldf}}}
\generate{\file{gloss-welsh.ldf}{\from{polyglossia.dtx}{gloss-welsh.ldf}}}
+\generate{\file{gloss-zh-CN.ldf}{\from{polyglossia.dtx}{gloss-zh-CN.ldf}}}
+\generate{\file{gloss-zh-TW.ldf}{\from{polyglossia.dtx}{gloss-zh-TW.ldf}}}
\generate{\file{arabicdigits.map}{\from{polyglossia.dtx}{arabicdigits.map}}}
\generate{\file{bengalidigits.map}{\from{polyglossia.dtx}{bengalidigits.map}}}
\generate{\file{devanagaridigits.map}{\from{polyglossia.dtx}{devanagaridigits.map}}}
\generate{\file{farsidigits.map}{\from{polyglossia.dtx}{farsidigits.map}}}
+\generate{\file{gurmukhidigits.map}{\from{polyglossia.dtx}{gurmukhidigits.map}}}
\generate{\file{thaidigits.map}{\from{polyglossia.dtx}{thaidigits.map}}}
\def\MetaPrefix{-- }
\generate{\file{polyglossia-french.lua}{\from{polyglossia.dtx}{polyglossia-french.lua}}}
@@ -393,14 +399,25 @@ to track the issues and follow progress.
pdfauthor={F Charette, A Reutenauer, B Roucariès, J Spitzmüller},
pdfkeywords={xetex, xelatex, luatex, lualatex, multilingual, babel, hyphenation}
]{hyperref}
+\usepackage{array}
\usepackage{metalogo}
\let\XeTeX\undefined
\let\XeLaTeX\undefined
\usepackage[babelshorthands]{polyglossia}
\usepackage{farsical}
+%
+% Languages we need in the documentation. See below for fonts
\setmainlanguage[variant=british,ordinalmonthday=false]{english}
-\setotherlanguages{arabic,armenian,hebrew,syriac,greek,russian,serbian,catalan,georgian}
-\usepackage[protrusion]{microtype}
+\setotherlanguages{arabic,armenian,hebrew,syriac,greek,russian,serbian,catalan,georgian,chinese}
+\usepackage[protrusion,nopatch=footnote]{microtype}
+\renewcommand\MacroFont{\footnotesize\color{xpgblue}\ttfamily}
+% Customizable version of \DescribeMacro (e.g. if macro is too long)
+\newcommand*\DescribeMacroCust[2]{%
+ \let\origMacroFont\MacroFont%
+ \renewcommand\MacroFont{\footnotesize\color{xpgblue}\ttfamily#1}%
+ \DescribeMacro{#2}%
+ \let\MacroFont\origMacroFont%
+}
\newcommand*\Cmd[1]{\cmd{#1}\DescribeMacro{#1}\xspace}
\newcommand*\pkg[1]{\textsf{\color{xpgblue}#1}}
\newcommand*\file[1]{\texttt{\color{xpgblue}#1}}
@@ -418,7 +435,9 @@ to track the issues and follow progress.
\def\Ie{\textit{I.e.,}\xspace}
\def\etc{\@ifnextchar.{\textit{etc}}{\textit{etc.}\@\xspace}}
+%
%% Commands for documenting options
+%
\newcommand*\xpgoption[1]{\textcolor{xpgblue}{\ttfamily\bfseries #1}}
\newcommand*\xpgvalue[1]{\texttt{#1}}
\newcommand*\xpgpresetvalue[1]{\texttt{\textit{#1}}}
@@ -473,15 +492,34 @@ to track the issues and follow progress.
\vskip 0pt plus #1\pagebreak[3]\vskip 0pt plus -#1\relax}
\pretocmd{\subsection}{\condbreak{2\baselineskip}}{}{}
+%
+% Fonts
+% We try to use fonts that are shipped with TeXLive
+% (see #478)
+%
%% fontspec declarations:
-\setmainfont{Linux Libertine O}[Numbers=OldStyle]
-\setsansfont{Linux Biolinum O}
-\setmonofont[Scale=MatchLowercase]{DejaVu Sans Mono}
-\newfontfamily\arabicfont[Script=Arabic]{Amiri}
-\newfontfamily\armenianfont[Script=Armenian]{DejaVu Sans}
+% Main font: Package libertine (Linux Libertine and Biolinum Mono)
+\usepackage[osf]{libertine}
+% Monospace: Package dejavu-otf
+\setmonofont[Scale=MatchLowercase]{DejaVuSansMono}
+% Libertine includes Hebrew, but we load it separately since
+% osf is not supported with this script and we want to avoid the
+% respective warnings
+\newfontfamily\hebrewfont[Script=Hebrew]{Linux Libertine O}
+% Package dejavu-otf
+\newfontfamily\armenianfont[Script=Armenian,Scale=MatchLowercase]{DejaVuSans}
+\newfontfamily\georgianfont[Scale=MatchLowercase]{DejaVuSerif}
+% Package amiri
+\newfontfamily\arabicfont[Script=Arabic]{Amiri-Regular}
+% No Syriac otf/ttf font seems available on CTAN
+% This one, from the Syriac Institute, is included on Linux
+% in the x11-fonts set and can be downloaded from
+% https://bethmardutho.org/meltho/ (Meltho Fonts Package)
\newfontfamily\syriacfont[Script=Syriac]{Serto Jerusalem}
-\newfontfamily\hebrewfont[Script=Hebrew]{Ezra SIL}
-\newfontfamily\georgianfont{DejaVu Serif}
+% Our decorative title: package gfscomplutum
+\newfontfamily\xpgtitlefont[Scale=1.4, LetterSpace=30]{GFSPolyglot.otf}
+% Package noto, notoCJKsc
+\newfontfamily\chinesefont{Noto Serif CJK SC}[Script=CJK]
\linespread{1.05}
\frenchspacing
@@ -507,7 +545,7 @@ to track the issues and follow progress.
% \hyphenation{Kha-li-ghi Reu-ten-auer new-zea-land}
% \GetFileInfo{polyglossia.sty}
%
-% \title{\textcolor{lightblue}{\Huge\fontspec[LetterSpace=40]{GFS Ambrosia} Πολυγλωσσια}
+% \title{{\textgreek{\xpgtitlefont\color{lightblue}\MakeUppercase{Πολυγλωσσία}}}
% \\[16pt]
% \color{xpgblue}Polyglossia: Modern multilingual typesetting with \XeLaTeX\ and \LuaLaTeX}
% \author{\TA{François Charette} \and \TA{Arthur Reutenauer}\thanks{Current maintainer}
@@ -605,29 +643,29 @@ to track the issues and follow progress.
%
% \begin{table}[ht]\centering
% \caption{\label{tab:lang}Languages currently supported in \pkg{polyglossia}}
-% ^^A Produced with tools/insert-language-list.rb -- JS, 2019-11-01
-% ^^A Edited by hand -- JS, 2019-11-01
+% ^^A Produced with tools/insert-language-list.rb -- JS, 2022-11-23
+% ^^A Edited by hand -- JS, 2022-11-23
% \begin{tabular}{lllll}
-% \toprule
-% \TX{afrikaans} & danish & \TX{hungarian} & \TX{marathi} & \TX{slovenian} \\
-% albanian & divehi & icelandic & \TX{mongolian} & \TX{sorbian} \\
-% amharic & \TX{dutch} & interlingua & nko & \TX{spanish} \\
-% \TX{arabic} & \TX{english} & \TX{italian} & \TX{norwegian} & swedish \\
-% \TX{armenian} & \TX{esperanto} & japanese & occitan & \TX{syriac} \\
-% asturian & estonian & kannada & \TX{persian} & tamil \\
-% basque & \TX{finnish} & khmer & piedmontese & telugu \\
-% \TX{belarusian} & \TX{french} & \TX{korean} & \TX{polish} & \TX{thai} \\
-% \TX{bengali} & friulian & \TX{kurdish} & \TX{portuguese} & \TX{tibetan} \\
-% bosnian & \TX{gaelic} & \TX{lao} & romanian & turkish \\
-% breton & galician & \TX{latin} & romansh & turkmen \\
-% bulgarian & \TX{georgian} & latvian & \TX{russian} & \TX{ukrainian} \\
-% \TX{catalan} & \TX{german} & lithuanian & \TX{sami} & urdu \\
-% coptic & \TX{greek} & macedonian & \TX{sanskrit} & \TX{uyghur} \\
-% \TX{croatian} & \TX{hebrew} & \TX{malay} & \TX{serbian} & vietnamese \\
-% \TX{czech} & \TX{hindi} & malayalam & \TX{slovak} & \TX{welsh} \\
-% \bottomrule
+% \toprule
+% \TX{afrikaans} & danish & icelandic & nko & \TX{spanish} \\
+% albanian & divehi & interlingua & \TX{norwegian}& swedish \\
+% amharic & \TX{dutch} & \TX{italian} & occitan & \TX{syriac} \\
+% \TX{arabic} & \TX{english} & japanese & \TX{persian} & tamil \\
+% \TX{armenian} & \TX{esperanto}& kannada & piedmontese & telugu \\
+% asturian & estonian & khmer & \TX{polish} & \TX{thai} \\
+% basque & \TX{finnish} & \TX{korean} &\TX{portuguese}& \TX{tibetan} \\
+% \TX{belarusian} & \TX{french} & \TX{kurdish} & \TX{punjabi} & turkish \\
+% \TX{bengali} & friulian & \TX{lao} & romanian & turkmen \\
+% bosnian & \TX{gaelic} & \TX{latin} & romansh & \TX{ukrainian}\\
+% breton & galician & latvian & \TX{russian} & urdu \\
+% bulgarian & \TX{georgian} & lithuanian & \TX{sami} & \TX{uyghur} \\
+% \TX{catalan} & \TX{german} & macedonian & \TX{sanskrit} & vietnamese \\
+% \TX{chinese} & \TX{greek} & \TX{malay} & \TX{serbian} & \TX{welsh} \\
+% coptic & \TX{hebrew} & malayalam & \TX{slovak} & \\
+% \TX{croatian} & \TX{hindi} & \TX{marathi} & \TX{slovenian}& \\
+% \TX{czech} & \TX{hungarian}& \TX{mongolian}& \TX{sorbian} & \\
+% \bottomrule
% \end{tabular}
-%
% \end{table}
%
% \paragraph{Version Notes} The support for Amharic\new{1.0.1} should be considered an experimental attempt to
@@ -738,171 +776,175 @@ to track the issues and follow progress.
% Table~\ref{tab:BCP47-polyglossia} lists the currently supported tags.
%
% \bgroup\small\addfontfeatures{Numbers={Monospaced,Lining}}
-% \begin{longtable}[c]{lll}
-% \caption{\label{tab:BCP47-polyglossia}BCP47-polyglossia language name matching}\\
+% \begin{longtable}[c]{ll>{\raggedright}p{6cm}}
+% \caption{\label{tab:BCP47-polyglossia}BCP47-polyglossia language name matching}\tabularnewline
% \toprule
-% \textbf{BCP-47 tag} & \textbf{Polyglossia name} & \textbf{Polyglossia options}\\
+% \textbf{BCP-47 tag} & \textbf{Polyglossia name} & \textbf{Polyglossia options}\tabularnewline
% \midrule
% \endfirsthead
-% \caption[]{BCP47-polyglossia language name matching (\emph{continued})}\\
+% \caption[]{BCP47-polyglossia language name matching (\emph{continued})}\tabularnewline
% \toprule
-% \textbf{BCP-47 tag} & \textbf{Polyglossia name} & \textbf{Polyglossia options}\\
+% \textbf{BCP-47 tag} & \textbf{Polyglossia name} & \textbf{Polyglossia options}\tabularnewline
% \midrule
% \endhead
-% aeb & arabic & locale=tunisia \\
-% af & afrikaans & \\
-% afb & arabic & locale=default \\
-% am & amharic & \\
-% apd & arabic & locale=default \\
-% ar & arabic & \\
-% ar-IQ & arabic & locale=mashriq \\
-% ar-JO & arabic & locale=mashriq \\
-% ar-LB & arabic & locale=mashriq \\
-% ar-MR & arabic & locale=mauritania \\
-% ar-PS & arabic & locale=mashriq \\
-% ar-SY & arabic & locale=mashriq \\
-% ar-YE & arabic & locale=default \\
-% arq & arabic & locale=algeria \\
-% ary & arabic & locale=morocco \\
-% arz & arabic & locale=default \\
-% ast & asturian & \\
-% ayl & arabic & locale=libya \\
-% be & belarusian & \\
-% be-tarask & belarusian & spelling=classic \\
-% bg & bulgarian & \\
-% bn & bengali & \\
-% bo & tibetan & \\
-% br & breton & \\
-% bs & bosnian & \\
-% ca & catalan & \\
-% ckb & kurdish & variant=sorani [\emph{default}] \\
-% ckb-Arab & kurdish & variant=sorani, script=Arabic [\emph{default}] \\
-% ckb-Latn & kurdish & variant=sorani, script=Latin \\
-% cop & coptic & \\
-% cy & welsh & \\
-% cz & czech & \\
-% da & danish & \\
-% de & german & \\
-% de-AT & german & variant=austrian, spelling=new \\
-% de-AT-1901 & german & variant=austrian, spelling=old \\
-% de-AT-1996 & german & variant=austrian, spelling=new \\
-% de-CH & german & variant=swiss, spelling=new \\
-% de-CH-1901 & german & variant=swiss, spelling=old \\
-% de-CH-1996 & german & variant=swiss, spelling=new \\
-% de-DE & german & variant=german, spelling=new \\
-% de-DE-1901 & german & variant=german, spelling=old \\
-% de-DE-1996 & german & variant=german, spelling=new [\emph{default}] \\
-% de-Latf & german & script=blackletter \\
-% de-Latf-AT & german & variant=austrian, spelling=new, script=blackletter \\
-% de-Latf-AT-1901 & german & variant=austrian, spelling=old, script=blackletter \\
-% de-Latf-AT-1996 & german & variant=austrian, spelling=new, script=blackletter \\
-% de-Latf-CH & german & variant=swiss, spelling=new, script=blackletter \\
-% de-Latf-CH-1901 & german & variant=swiss, spelling=old, script=blackletter \\
-% de-Latf-CH-1996 & german & variant=swiss, spelling=new, script=blackletter \\
-% de-Latf-DE & german & variant=german, spelling=new, script=blackletter \\
-% de-Latf-DE-1901 & german & variant=german, spelling=old, script=blackletter \\
-% de-Latf-DE-1996 & german & variant=german, spelling=new, script=blackletter \\
-% dsb & sorbian & variant=lower \\
-% dv & divehi & \\
-% el & greek & \\
-% el-monoton & greek & variant=monotonic [\emph{default}] \\
-% el-polyton & greek & varant=polytonic \\
-% en & english & \\
-% en-AU & english & variant=australian \\
-% en-CA & english & variant=canadian \\
-% en-GB & english & variant=british \\
-% en-NZ & english & variant=newzealand \\
-% en-US & english & variant=us [\emph{default}] \\
-% eo & esperanto & \\
-% es & spanish & \\
-% es-ES & spanish & variant=spanish [\emph{default}] \\
-% es-MX & spanish & variant=mexican \\
-% et & estonian & \\
-% eu & basque & \\
-% fa & persian & \\
-% fi & finnish & \\
-% fr & french & \\
-% fr-CA & french & variant=canadian \\
-% fr-CH & french & variant=swiss \\
-% fr-FR & french & variant=french [\emph{default}] \\
-% fur & friulian & \\
-% ga & gaelic & variant=irish [\emph{default}] \\
-% gd & gaelic & variant=scottish \\
-% gl & galician & \\
-% grc & greek & variant=ancient \\
-% he & hebrew & \\
-% hi & hindi & \\
-% hr & croatian & \\
-% hsb & sorbian & variant=upper [\emph{default}] \\
-% hu & hungarian & \\
-% hy & armenian & \\
-% ia & interlingua & \\
-% id & malay & variant=indonesian \\
-% is & icelandic & \\
-% it & italian & \\
-% ja & japanese & \\
-% ka & georgian & \\
-% km & khmer & \\
-% kmr & kurdish & variant=kurmanji \\
-% kmr-Arab & kurdish & variant=kurmanji, script=Arabic \\
-% kmr-Latn & kurdish & variant=kurmanji, script=Latin \\
-% kn & kannada & \\
-% ko & korean & \\
-% ku & kurdish & \\
-% ku-Arab & kurdish & script=Arabic \\
-% ku-Latn & kurdish & script=Latin \\
-% la & latin & \\
-% la-x-classic & latin & variant=classic \\
-% la-x-ecclesia & latin & variant=ecclesiastic \\
-% la-x-medieval & latin & variant=medieval \\
-% lo & lao & \\
-% lt & lithuanian & \\
-% lv & latvian & \\
-% mk & macedonian & \\
-% ml & malayalam & \\
-% mn & mongolian & \\
-% mr & marathi & \\
-% nb & norwegian & variant=bokmal \\
-% nko & nko & \\
-% nl & dutch & \\
-% nn & norwegian & variant=nynorsk [\emph{default}] \\
-% oc & occitan & \\
-% pl & polish & \\
-% pms & piedmontese & \\
-% pt & portuguese & \\
-% pt-BR & portuguese & variant=brazilian \\
-% pt-PT & portuguese & variant=portuguese [\emph{default}] \\
-% rm & romansh & \\
-% ro & romanian & \\
-% ru & russian & \\
-% ru-luna1918 & russian & spelling=modern [\emph{default}] \\
-% ru-petr1708 & russian & spelling=old \\
-% sa & sanskrit & \\
-% sa-Beng & sanskrit & script=Bengali \\
-% sa-Deva & sanskrit & script=Devanagari [\emph{default}] \\
-% sa-Gujr & sanskrit & script=Gujarati \\
-% sa-Knda & sanskrit & script=Kannada \\
-% sa-Mlym & sanskrit & script=Malayalam \\
-% sa-Telu & sanskrit & script=Telugu \\
-% se & sami & \\
-% sk & slovak & \\
-% sl & slovenian & \\
-% sq & albanian & \\
-% sr & serbian & \\
-% sr-Cyrl & serbian & script=Cyrillic \\
-% sr-Latn & serbian & script=Latin [\emph{default}] \\
-% sv & swedish & \\
-% syr & syriac & \\
-% ta & tamil & \\
-% te & telugu & \\
-% th & thai & \\
-% tk & turkmen & \\
-% tr & turkish & \\
-% ug & uyghur & \\
-% uk & ukrainian & \\
-% ur & urdu & \\
-% vi & vietnamese & \\
-% zsm & malay & variant=malaysian [\emph{default}] \\
+% aeb & arabic & locale=tunisia \tabularnewline
+% af & afrikaans & \tabularnewline
+% afb & arabic & locale=default \tabularnewline
+% am & amharic & \tabularnewline
+% apd & arabic & locale=default \tabularnewline
+% ar & arabic & \tabularnewline
+% ar-IQ & arabic & locale=mashriq \tabularnewline
+% ar-JO & arabic & locale=mashriq \tabularnewline
+% ar-LB & arabic & locale=mashriq \tabularnewline
+% ar-MR & arabic & locale=mauritania \tabularnewline
+% ar-PS & arabic & locale=mashriq \tabularnewline
+% ar-SY & arabic & locale=mashriq \tabularnewline
+% ar-YE & arabic & locale=default \tabularnewline
+% arq & arabic & locale=algeria \tabularnewline
+% ary & arabic & locale=morocco \tabularnewline
+% arz & arabic & locale=default \tabularnewline
+% ast & asturian & \tabularnewline
+% ayl & arabic & locale=libya \tabularnewline
+% be & belarusian & \tabularnewline
+% be-tarask & belarusian & spelling=classic \tabularnewline
+% bg & bulgarian & \tabularnewline
+% bn & bengali & \tabularnewline
+% bo & tibetan & \tabularnewline
+% br & breton & \tabularnewline
+% bs & bosnian & \tabularnewline
+% ca & catalan & \tabularnewline
+% ckb & kurdish & variant=sorani [\emph{default}] \tabularnewline
+% ckb-Arab & kurdish & variant=sorani, script=Arabic [\emph{default}] \tabularnewline
+% ckb-Latn & kurdish & variant=sorani, script=Latin \tabularnewline
+% cop & coptic & \tabularnewline
+% cy & welsh & \tabularnewline
+% cz & czech & \tabularnewline
+% da & danish & \tabularnewline
+% de & german & \tabularnewline
+% de-AT & german & variant=austrian, spelling=new \tabularnewline
+% de-AT-1901 & german & variant=austrian, spelling=old \tabularnewline
+% de-AT-1996 & german & variant=austrian, spelling=new \tabularnewline
+% de-CH & german & variant=swiss, spelling=new \tabularnewline
+% de-CH-1901 & german & variant=swiss, spelling=old \tabularnewline
+% de-CH-1996 & german & variant=swiss, spelling=new \tabularnewline
+% de-DE & german & variant=german, spelling=new \tabularnewline
+% de-DE-1901 & german & variant=german, spelling=old \tabularnewline
+% de-DE-1996 & german & variant=german, spelling=new [\emph{default}] \tabularnewline
+% de-Latf & german & script=blackletter \tabularnewline
+% de-Latf-AT & german & variant=austrian, spelling=new, script=blackletter \tabularnewline
+% de-Latf-AT-1901 & german & variant=austrian, spelling=old, script=blackletter \tabularnewline
+% de-Latf-AT-1996 & german & variant=austrian, spelling=new, script=blackletter \tabularnewline
+% de-Latf-CH & german & variant=swiss, spelling=new, script=blackletter \tabularnewline
+% de-Latf-CH-1901 & german & variant=swiss, spelling=old, script=blackletter \tabularnewline
+% de-Latf-CH-1996 & german & variant=swiss, spelling=new, script=blackletter \tabularnewline
+% de-Latf-DE & german & variant=german, spelling=new, script=blackletter \tabularnewline
+% de-Latf-DE-1901 & german & variant=german, spelling=old, script=blackletter \tabularnewline
+% de-Latf-DE-1996 & german & variant=german, spelling=new, script=blackletter \tabularnewline
+% dsb & sorbian & variant=lower \tabularnewline
+% dv & divehi & \tabularnewline
+% el & greek & \tabularnewline
+% el-monoton & greek & variant=monotonic [\emph{default}] \tabularnewline
+% el-polyton & greek & varant=polytonic \tabularnewline
+% en & english & \tabularnewline
+% en-AU & english & variant=australian \tabularnewline
+% en-CA & english & variant=canadian \tabularnewline
+% en-GB & english & variant=british \tabularnewline
+% en-NZ & english & variant=newzealand \tabularnewline
+% en-US & english & variant=us [\emph{default}] \tabularnewline
+% eo & esperanto & \tabularnewline
+% es & spanish & \tabularnewline
+% es-ES & spanish & variant=spanish [\emph{default}] \tabularnewline
+% es-MX & spanish & variant=mexican \tabularnewline
+% et & estonian & \tabularnewline
+% eu & basque & \tabularnewline
+% fa & persian & \tabularnewline
+% fi & finnish & \tabularnewline
+% fr & french & \tabularnewline
+% fr-CA & french & variant=canadian \tabularnewline
+% fr-CH & french & variant=swiss \tabularnewline
+% fr-FR & french & variant=french [\emph{default}] \tabularnewline
+% fur & friulian & \tabularnewline
+% ga & gaelic & variant=irish [\emph{default}] \tabularnewline
+% gd & gaelic & variant=scottish \tabularnewline
+% gl & galician & \tabularnewline
+% grc & greek & variant=ancient \tabularnewline
+% he & hebrew & \tabularnewline
+% hi & hindi & \tabularnewline
+% hr & croatian & \tabularnewline
+% hsb & sorbian & variant=upper [\emph{default}] \tabularnewline
+% hu & hungarian & \tabularnewline
+% hy & armenian & \tabularnewline
+% ia & interlingua & \tabularnewline
+% id & malay & variant=indonesian \tabularnewline
+% is & icelandic & \tabularnewline
+% it & italian & \tabularnewline
+% ja & japanese & \tabularnewline
+% ka & georgian & \tabularnewline
+% km & khmer & \tabularnewline
+% kmr & kurdish & variant=kurmanji \tabularnewline
+% kmr-Arab & kurdish & variant=kurmanji, script=Arabic \tabularnewline
+% kmr-Latn & kurdish & variant=kurmanji, script=Latin \tabularnewline
+% kn & kannada & \tabularnewline
+% ko & korean & \tabularnewline
+% ku & kurdish & \tabularnewline
+% ku-Arab & kurdish & script=Arabic \tabularnewline
+% ku-Latn & kurdish & script=Latin \tabularnewline
+% la & latin & \tabularnewline
+% la-x-classic & latin & variant=classic \tabularnewline
+% la-x-ecclesia & latin & variant=ecclesiastic \tabularnewline
+% la-x-medieval & latin & variant=medieval \tabularnewline
+% lo & lao & \tabularnewline
+% lt & lithuanian & \tabularnewline
+% lv & latvian & \tabularnewline
+% mk & macedonian & \tabularnewline
+% ml & malayalam & \tabularnewline
+% mn & mongolian & \tabularnewline
+% mr & marathi & \tabularnewline
+% nb & norwegian & variant=bokmal \tabularnewline
+% nko & nko & \tabularnewline
+% nl & dutch & \tabularnewline
+% nn & norwegian & variant=nynorsk [\emph{default}] \tabularnewline
+% oc & occitan & \tabularnewline
+% pa & punjabi & numerals=gurmukhi \tabularnewline
+% pl & polish & \tabularnewline
+% pms & piedmontese & \tabularnewline
+% pt & portuguese & \tabularnewline
+% pt-BR & portuguese & variant=brazilian \tabularnewline
+% pt-PT & portuguese & variant=portuguese [\emph{default}] \tabularnewline
+% rm & romansh & \tabularnewline
+% ro & romanian & \tabularnewline
+% ru & russian & \tabularnewline
+% ru-luna1918 & russian & spelling=modern [\emph{default}] \tabularnewline
+% ru-petr1708 & russian & spelling=old \tabularnewline
+% sa & sanskrit & \tabularnewline
+% sa-Beng & sanskrit & script=Bengali \tabularnewline
+% sa-Deva & sanskrit & script=Devanagari [\emph{default}] \tabularnewline
+% sa-Gujr & sanskrit & script=Gujarati \tabularnewline
+% sa-Knda & sanskrit & script=Kannada \tabularnewline
+% sa-Mlym & sanskrit & script=Malayalam \tabularnewline
+% sa-Telu & sanskrit & script=Telugu \tabularnewline
+% se & sami & \tabularnewline
+% sk & slovak & \tabularnewline
+% sl & slovenian & \tabularnewline
+% sq & albanian & \tabularnewline
+% sr & serbian & \tabularnewline
+% sr-Cyrl & serbian & script=Cyrillic \tabularnewline
+% sr-Latn & serbian & script=Latin [\emph{default}] \tabularnewline
+% sv & swedish & \tabularnewline
+% syr & syriac & \tabularnewline
+% ta & tamil & \tabularnewline
+% te & telugu & \tabularnewline
+% th & thai & \tabularnewline
+% tk & turkmen & \tabularnewline
+% tr & turkish & \tabularnewline
+% ug & uyghur & \tabularnewline
+% uk & ukrainian & \tabularnewline
+% ur & urdu & \tabularnewline
+% vi & vietnamese & \tabularnewline
+% zh & chinese & \tabularnewline
+% zh-CN & chinese & variant=simplified [\emph{default}] \tabularnewline
+% zh-TW & chinese & variant=traditional \tabularnewline
+% zsm & malay & variant=malaysian [\emph{default}] \tabularnewline
% \bottomrule
% \end{longtable}
% \egroup
@@ -913,8 +955,8 @@ to track the issues and follow progress.
%
% \begin{itemize}
% \item \xpgboolkeyfalse[1.1.1]{babelshorthands}
-% Globally activates \pkg{babel} shorthands whenever available. Currently
-% shorthands are implemented for Afrikaans, Belarusian, Catalan, Croatian,
+% Globally activates \pkg{babel} shorthands whenever available. Such shorthands are
+% implemented currently for Afrikaans, Belarusian, Catalan, Croatian,
% Czech, Dutch, Finnish, Georgian, German, Italian, Latin, Mongolian,
% Russian, Slovak, and Ukrainian. Please refer to the respective language descriptions
% (sec.~\ref{specific}) for details.
@@ -1032,7 +1074,7 @@ to track the issues and follow progress.
% this selects the global font setup and the numbering definitions for the default language.
%
% \item \DescribeMacro{\resetdefaultlanguage}\cmd{\resetdefaultlanguage\oarg{options}\marg{lang}} (experimental):
-% completely switches the default language
+% Switches the default language
% to another one in the middle of a document: \textit{this may have adverse effects}!
%
% \item \Cmd\normalfontlatin: in an environment where \cmd\normalfont\ has been redefined
@@ -1048,8 +1090,8 @@ to track the issues and follow progress.
%
% \subsection{Setting up alias commands}
%
-% By means of the macro
-% \displaycmd{\setlanguagealias\oarg{options}\marg{language}\marg{alias}}{\setlanguagealias}\new{1.46}
+% By means of the macro\new{1.46}
+% \displaycmd{\setlanguagealias\oarg{options}\marg{language}\marg{alias}}{\setlanguagealias}
% you can define alias commands for specific language (variants). \Eg
%
% \begin{quote}
@@ -1111,7 +1153,7 @@ to track the issues and follow progress.
% list of words where hyphenation points are marked by a dash (if no dash is used, the respective word is not
% hyphenated at all):
% \begin{quote}
-% \begin{minipage}{\textwidth}
+% \begin{minipage}{.7\textwidth}
% \begin{verbatim}
% \hyphenation{%
% po-ly-glos-sia
@@ -1142,7 +1184,7 @@ to track the issues and follow progress.
% where \meta{lang} is to be replaced with the respective language name or alias, \meta{options}
% can be used to delimit the modification to a particular variety (\eg via \texttt{variant} or \texttt{spelling}),
% \meta{l} with the left threshold value (\eg \texttt{3}), and \meta{r} with the right
-% threshold value (\eg \verb|\setlanghyphenmins[spelling=old]{german}{4}{4}|).
+% one (\eg \verb|\setlanghyphenmins[spelling=old]{german}{4}{4}|).
% This setting can be changed repeatedly in the preamble and the document body.
% It applies to all subsequent text in the respective language (variety), but only after the
% next language switch.
@@ -1193,13 +1235,12 @@ to track the issues and follow progress.
% \paragraph*{Options:}
% \begin{itemize}
% \item \xpgchoicekey{calendar}{\xpgpresetvalue{gregorian} or \xpgvalue{islamic} (= \xpgvalue{hijri})}
-% \item \xpgchoicekey{locale}{\xpgpresetvalue{default}\footnote{ %
-% For Egypt, Sudan, Yemen and the Gulf states.},
-% \xpgvalue{mashriq}\footnote{ %
-% For Iraq, Syria, Jordan, Lebanon and Palestine.},
-% \xpgvalue{libya}, \xpgvalue{algeria}, \xpgvalue{tunisia}, \xpgvalue{morocco}, \xpgvalue{mauritania}}
+% \item \xpgchoicekey{locale}{\xpgpresetvalue{default}, \xpgvalue{mashriq}, \xpgvalue{libya},
+% \xpgvalue{algeria}, \xpgvalue{tunisia}, \xpgvalue{morocco}, \xpgvalue{mauritania}}
% This setting influences the spelling of the month names for the Gregorian calendar,
-% as well as the form of the numerals (unless overriden by the following option).
+% as well as the form of the numerals (unless overridden by the following option). Recommended settings are
+% \xpgvalue{default} for Egypt, Sudan, Yemen and the Gulf states, and \xpgvalue{mashriq} for Iraq, Syria,
+% Jordan, Lebanon and Palestine.
% \item \xpgchoicekey{numerals}{\xpgpresetvalue{mashriq} or \xpgvalue{maghrib}}
% The latter is the default when \xpgvalue{locale=algeria}, \xpgvalue{tunisia}, or \xpgvalue{morocco}.
% \item \xpgboolkeyfalse[1.50]{abjadalph}
@@ -1291,7 +1332,7 @@ to track the issues and follow progress.
% \subsection[bengali]{bengali\new{1.2.0}}\label{bengali}
% \paragraph*{Options:}
% \begin{itemize}
-% \item \xpgchoicekey{numerals}{\xpgvalue{Western}, \xpgvalue{Bengali}, or \xpgpresetvalue{Devanagari}}
+% \item \xpgchoicekey{numerals}{\xpgvalue{western}, \xpgvalue{bengali}, or \xpgpresetvalue{devanagari}}
% \item \xpgboolkeyfalse{changecounternumbering}
% Use specified numerals for headings and page numbers.
% \end{itemize}
@@ -1309,6 +1350,18 @@ to track the issues and follow progress.
% similar to \pkg{babel} (the glyph U+00B7 MIDDLE DOT is used as a geminating sign).
% \end{itemize}
%
+% \subsection[chinese]{chinese\new{1.59}}\label{chinese}
+% \paragraph*{Options:}
+% \begin{itemize}
+% \item \xpgchoicekey{variant}{\xpgpresetvalue{simplified} (= \xpgvalue{cn}), or \xpgvalue{traditional} (= \xpgvalue{tw})}
+% \item \xpgchoicekey{numerals}{\xpgpresetvalue{arabic} or \xpgvalue{chinese}}
+% Uses either Arabic numerals or Chinese ideographic numbering.
+% \end{itemize}
+% \paragraph*{Commands:}
+% \begin{itemize}
+% \item \Cmd\chinesenumeral (see section \ref{abjad}).
+% \end{itemize}
+%
% \subsection{croatian}\label{croatian}
% \paragraph*{Options:}
% \begin{itemize}
@@ -1661,7 +1714,7 @@ to track the issues and follow progress.
% \subsection[hindi]{hindi\new{1.2.0}}\label{hindi}
% \paragraph*{Options:}
% \begin{itemize}
-% \item \xpgchoicekey{numerals}{\xpgvalue{Western} or \xpgpresetvalue{Devanagari}}
+% \item \xpgchoicekey{numerals}{\xpgvalue{western} or \xpgpresetvalue{devanagari}}
% \end{itemize}
%
% \subsection{hungarian}\label{hungarian}
@@ -1814,7 +1867,7 @@ to track the issues and follow progress.
% \item \xpgchoicekey[1.46]{hyphenation}{\xpgvalue{classic}, \xpgvalue{modern}, or \xpgvalue{liturgical}}
% There are three different sets of hyphenation patterns for Latin. Separate
% documention for them is available on the
-% Internet.\footnote{\url{https://github.com/gregorio-project/hyphen-la/blob/master/doc/README.md\#hyphenation-styles}}
+% Internet.\footnote{Refer to \url{https://github.com/gregorio-project/hyphen-la/blob/master/doc/README.md\#hyphenation-styles}}
% Each of the four variants mentioned above has its default set of hyphenation
% patterns as indicated by table \ref{tab:latin-hyphenation}. Use the
% ¦hyphenation¦ option if the default style does not fit your needs.
@@ -1934,7 +1987,7 @@ to track the issues and follow progress.
% \subsection{marathi}\label{marathi}
% \paragraph*{Options:}
% \begin{itemize}
-% \item \xpgchoicekey{numerals}{\xpgpresetvalue{Devanagari} or \xpgvalue{Western}}
+% \item \xpgchoicekey{numerals}{\xpgpresetvalue{devanagari} or \xpgvalue{western}}
% \end{itemize}
%
% \subsection[mongolian]{mongolian\new{1.45}}\label{mongolian}
@@ -2017,7 +2070,6 @@ to track the issues and follow progress.
% \item \Cmd\aemph (see section \ref{arabic}).
% \end{itemize}
%
-%
% \subsection{polish}\label{polish}
%
% \paragraph*{Options:}
@@ -2089,6 +2141,12 @@ to track the issues and follow progress.
% Set this option to ¦false¦ to disable the feature.
% \end{itemize}
%
+% \subsection[punjabi]{punjabi\new{1.59}}\label{punjabi}
+% \paragraph*{Options:}
+% \begin{itemize}
+% \item \xpgchoicekey{numerals}{\xpgvalue{western} or \xpgpresetvalue{gurmukhi}}
+% \end{itemize}
+%
% \subsection{russian}\label{russian}
% \paragraph*{Options:}
% \begin{itemize}
@@ -2173,9 +2231,9 @@ to track the issues and follow progress.
% \paragraph*{Options:}
% \begin{itemize}
% \item \xpgchoicekey[1.0.2]{script}{\xpgpresetvalue{Devanagari}, \xpgvalue{Gujarati},
-% \xpgvalue{Malayalam}, \xpgvalue{Bengali}, \xpgvalue{Kannada}, \xpgvalue{Telugu}, or \xpgvalue{Latin}}
-% The value is passed to \pkg{fontspec} in cases where the respective
-% \cmd{\⟨script⟩font} is not defined. This can be useful if you typeset Sanskrit
+% \xpgvalue{Malayalam}, \xpgvalue{Bengali}, \xpgvalue{Kannada}, \xpgvalue{Telugu}, \xpgvalue{Latin}}
+% The value is passed to \pkg{fontspec} should the respective
+% \cmd{\⟨script⟩font} not be defined. This can be useful if you typeset Sanskrit
% texts in scripts other than Devanagari.
% \item \xpgchoicekey[1.45]{numerals}{\xpgpresetvalue{Devanagari} or \xpgvalue{Western}}
% \end{itemize}
@@ -2510,7 +2568,7 @@ to track the issues and follow progress.
% Finally, as soon as the language has been switched (either inline or as a block), \pkg{polyglossia}
% executes the (by default empty) hook
% \begin{itemize}
-% \item \Cmd{\polyglossia@language@switched}
+% \item \cmd{\polyglossia@language@switched}\DescribeMacroCust{\scriptsize}{\polyglossia@language@switched}
% \end{itemize}
% to which you can append arbitrary code (via \cmd\gappto) that should be executed if (a particular)
% language is being activated. This is done before any of the above
@@ -2581,6 +2639,7 @@ to track the issues and follow progress.
% \item \Cmd\bengalidigits
% \item \Cmd\devanagaridigits
% \item \Cmd\farsidigits
+% \item \Cmd\gurmukhidigits
% \item \Cmd\kannadadigits
% \item \Cmd\khmerdigits
% \item \Cmd\laodigits
@@ -2625,6 +2684,11 @@ to track the issues and follow progress.
% with ¦numerals=cyrillic-trad¦ ¦\belarusiannumeral{19}¦ results in \textrussian[numerals=cyrillic-trad]{\russiannumeral{19}},\\
% with ¦numerals=cyrillic-alph¦ ¦\belarusiannumeral{19}¦ results in \textrussian[numerals=cyrillic-alph]{\russiannumeral{19}}.
%
+% \item \Cmd\chinesenumeral produces Chinese numbering which, depending on the ¦numerals¦ option in the Chinese language selection,
+% produces is either Arabic digit or Chinese ideographic output.\\
+% Example: With ¦numerals=arabic¦ ¦\chinesenumeral{753}¦ yields \textchinese[numerals=arabic]{\chinesenumeral{753}},
+% with ¦numerals=chinese¦ ¦\chinesenumeral{753}¦ results in \textchinese[numerals=chinese]{\chinesenumeral{753}}.
+%
% \item \Cmd\georgiannumeral produces Georgian alphabetic numbering.\\
% Example: ¦\georgiannumeral{1863}¦ yields \textgeorgian{\georgiannumeral{1863}}.
%
@@ -2632,9 +2696,10 @@ to track the issues and follow progress.
% Example: ¦\greeknumeral{1863}¦ yields \textgreek{\greeknumeral{1863}},
% ¦\Greeknumeral{1863}¦ results in \textgreek{\Greeknumeral{1863}}.
%
-% \item \Cmd\hebrewnumeral, \Cmd\Hebrewnumeral and \Cmd\Hebrewnumeralfinal generate variants of Hebrew alphanumeric numerals.
-% The commands behave exactly as they do in \pkg{babel}: \cmd\hebrewnumeral\ outputs the numbers without any decoration,
-% \cmd\Hebrewnumeral\ adds \textit{gereshayim} before the last letter, \cmd\Hebrewnumeralfinal\ uses in addition the final forms of Hebrew letters.
+% \item \Cmd\hebrewnumeral, \Cmd\Hebrewnumeral and \Cmd\Hebrewnumeralfinal produce variants of Hebrew alphanumeric numerals.
+% The commands behave identical as in \pkg{babel}: \cmd\hebrewnumeral\ outputs the numbers without any decoration at all,
+% \cmd\Hebrewnumeral\ adds \textit{gereshayim} before the last letter, and \cmd\Hebrewnumeralfinal\ uses in addition the final
+% forms of Hebrew letters.
% Examples:
% ¦\hebrewnumeral{1750}¦ yields \texthebrew{\hebrewnumeral{1750}},
% ¦\Hebrewnumeral{1750}¦ yields \texthebrew{\Hebrewnumeral{1750}},
@@ -2646,6 +2711,9 @@ to track the issues and follow progress.
% Example: With ¦numerals=latin¦ ¦\mongoliannumeral{19}¦ yields \textrussian{\russiannumeral{19}},
% with ¦numerals=cyrillic-trad¦ ¦\mongoliannumeral{19}¦ results in \textrussian[numerals=cyrillic-trad]{\russiannumeral{19}},\\
% with ¦numerals=cyrillic-alph¦ ¦\mongoliannumeral{19}¦ results in \textrussian[numerals=cyrillic-alph]{\russiannumeral{19}}.
+%
+% \item \Cmd\punjabinumeral produces Punjabi numbering, depending on the ¦numerals¦ option in the Punjabi language selection, this
+% is either Gurmukhi or Arabic (Western).
%
% \item \Cmd\russiannumeral produces Russian numbering, with uppercased variant (for alphanumerical variant) via \Cmd\Russiannumeral.
% Depending on the ¦numerals¦ option in the Russian language selection, this is either Arabic digit or Cyrillic
@@ -2760,7 +2828,7 @@ to track the issues and follow progress.
%
% \section{Auxiliary commands}
%
-% The macro \displaycmd{\charifavailable\marg{char code}\marg{substitution}}{\charifavailable}\new{1.47} checks whether
+% The macro\new{1.47} \displaycmd{\charifavailable\marg{char code}\marg{substitution}}{\charifavailable} checks whether
% the character with the specified \meta{char code} (\ie unicode utf-16 code without preceding ¦0x¦) exists in
% the current font. If so, the character is printed, if not, the \meta{substitution} is printed.
%
@@ -2807,18 +2875,33 @@ to track the issues and follow progress.
% \displaycmd{\iflanguageloaded\marg{lang}\marg{true}\marg{false}}{\iflanguageloaded}
% where \texttt{\meta{lang}} is a \pkg{polyglossia} language name, by
% \displaycmd{\ifbabellanguageloaded\marg{lang}\marg{true}\marg{false}}{\ifbabellanguageloaded}
-% where \texttt{\meta{lang}} is a \pkg{babel} language name (see table~\ref{tab:bbllang} on p.~\pageref{tab:bbllang}), or by
-% \displaycmd{\iflanguageidloaded\marg{type}\marg{id}\marg{true}\marg{false}}{\iflanguageidloaded}\new{1.47}
+% where \texttt{\meta{lang}} is a \pkg{babel} language name (see table~\ref{tab:bbllang} on p.~\pageref{tab:bbllang}), or by\new{1.47}
+% \displaycmd{\iflanguageidloaded\marg{type}\marg{id}\marg{true}\marg{false}}{\iflanguageidloaded}
% where \meta{type} is a supported language id type (such as ¦bcp-47¦) and \meta{id} is a language id
% (such as ¦en-US¦; see table~\ref{tab:BCP47-polyglossia} on p.~\pageref{tab:BCP47-polyglossia}).
% \bigskip
%
-% \noindent Finally, if you want to know whether a specific language option has been set, you can use
-% \displaycmd{\iflanguageoption\marg{lang}\marg{opt. key}\marg{opt. value}\marg{true}\marg{false}}{\iflanguageoption}\new{1.47}
+% \noindent Finally, if you want to know whether a specific language option has been set, you can use\new{1.47}
+% \displaycmd{\iflanguageoption\marg{lang}\marg{key}\marg{value}\marg{true}\marg{false}}{\iflanguageoption}
%
% \section{Revision history}
%
% \bgroup\footnotesize
+% \subsection*{1.59 (2022/11/29)}
+%
+% \subsubsection*{Bug fixes}
+% \begin{itemize}
+% \item Do not error, but warn, after language change due to non-updated aux file (\TXI{565}).
+% \item Fix catcode issue for Latin (\TXI{566}).
+% \item Improve error message with missing fonts (\TXI{571})
+% \end{itemize}
+%
+% \subsubsection*{New features}
+% \begin{itemize}
+% \item Add support for (simplified and traditional) Chinese (\TXI{65}, provided by \TA{Takuji Tanaka}).
+% \item Add support for Punjabi (\TXP{572}), provided by \TA{Arvinder Singh}.
+% \end{itemize}
+%
% \subsection*{1.58 (2022/10/26)}
%
% \subsubsection*{Bug fixes}
@@ -3041,7 +3124,7 @@ to track the issues and follow progress.
%
% \subsubsection*{Build fixes}
% \begin{itemize}
-% \item Fix a bug in the dtx build script which was the reason for an utterly
+% \item Fix an embarrassing bug in the dtx build script which was the reason for an utterly
% incomplete ¦polyglossia.dtx¦ file (\TXI{420}).
% \end{itemize}
%
@@ -3162,7 +3245,7 @@ to track the issues and follow progress.
% always use the latest German hyphens.
% \item The command ¦\setlanguagealias*¦ (introduced in v1.46) does no longer define
% dedicated alias environments.
-% \item The babelnames for Latin variants have been corrected to ¦classiclatin¦, ¦ecclesiasticlatin¦
+% \item The babelnames for Latin variants are now changed to ¦classiclatin¦, ¦ecclesiasticlatin¦
% and ¦medievallatin¦. This is how the hyphenation patterns and \pkg{babel} ¦\extras¦ are named, even
% though the variants can currently be selected in \pkg{babel} only via appended ``dot modifier''.
% \item In accordance with the respective \pkg{l3kernel} change, ¦\str_lower_case:n¦ has been renamed to
@@ -3182,7 +3265,7 @@ to track the issues and follow progress.
% \item Swap section headings in Hungarian (\TXI{344}). New option \xpgoption{swapstrings} provides control
% over this.
% \item Introduce macro ¦\setlanguagealias¦ and ¦\setlanguagealias*¦.
-% \item Introduce language switching command ¦\textlang{lang}{...}¦ (equivalent to ¦\text<lang>¦,
+% \item Introduce language switching command ¦\textlang{lang}{...}¦ (these are equivalent to ¦\text<lang>¦,
% but also available with ¦\setlanguagealias*¦ which does not define ¦\text<alias>¦).
% \item Add support for Afrikaans.
% \item Add support for Belarusian.
@@ -3230,7 +3313,7 @@ to track the issues and follow progress.
% \begin{itemize}
% \item Introduce a framework for external packages to access language variants. This fixes,
% among other things, long-standing problems in the interaction of \pkg{biblatex} and \pkg{polyglossia}.
-% \item Add new macros ¦\languagevariant¦, ¦\mainlanguagevariant¦, ¦\babelname¦ and ¦\mainbabelname¦
+% \item Add new macros ¦\languagevariant¦ and ¦\mainlanguagevariant¦ as well as ¦\babelname¦ and ¦\mainbabelname¦
% for package authors to access language information.
% \item Add new test ¦\iflanguageloaded{<language>}{<true>}{<false>}¦ where <language>
% can be a \pkg{polyglossia} or \pkg{babel} language name.
@@ -3556,12 +3639,12 @@ to track the issues and follow progress.
% \subsection*{1.2.0 (2010/07/15)}
% \begin{itemize}
% \item Adapted for \pkg{fontspec} 2.0 (will not work with earlier versions!)
-% \item New implementation of a ¦\PolyglossiaSetup¦ interface
+% \item Implementation of a ¦\PolyglossiaSetup¦ interface
% that simplifies writing ¦gloss-*.ldf¦ files
% \item Many internal enhancements and refactoring
% (including a patch by \TA{Dirk Ulrich})
% \item Improved automatic font setup when ¦\<lang>font¦ is not defined
-% \item New environment otherlanguage* (env. equivalent of ¦\foreignlanguage¦
+% \item New environment \texttt{otherlanguage*} (equivalent to ¦\foreignlanguage¦
% (\TA{Enrico Gregorio})
% \item Bugfix to prevent bogus expansion of ¦\{rm,sf,tt}family¦ even in aux files (\TA{Enrico Gregorio})
% \item New gloss files for Armenian, Bengali, Occitan, Bengali, Lao,
@@ -3574,7 +3657,7 @@ to track the issues and follow progress.
% others)
% \item Corrected captions for Bahasai, Lithuanian, Russian, Croatian
% \item Add option \xpgoption{indentfirst=true} for Spanish, Croatian and other languages
-% (NB: \xpgoption{indentfirst} was previously named \xpgoption{frenchindent})
+% (\xpgoption{indentfirst} was previously named \xpgoption{frenchindent})
% \item New option \xpgoption{script} for German: Setting \xpgoption{script=fraktur} modifies the
% captions for typesetting in Fraktur.
% \item New command ¦\aemph¦ for Arabic, Farsi, Urdu, etc. to mark emphasis through
@@ -3591,7 +3674,7 @@ to track the issues and follow progress.
% signs (Par exemple : les grands « espaces » du Canada !) are
% now replaced by the appropriate non-breaking spaces, as in \pkg{babel}.
% \item Bugfix for font switching mechanism within Latin script
-% (pending a complete re-implementation in v1.2):
+% (pending a complete re-implemen\-tation in v1.2):
% the font shape and series are no longer reset when switching language.
% \item New macros for non-Western decimal digits
% (instead of fontmappings)
@@ -3718,8 +3801,8 @@ to track the issues and follow progress.
% \TA{Khaled Hosny}, \TA{Najib Idrissi}, user \TA{julroy67}, \TA{Dohyun Kim}, \TA{Phil Kime}, \TA{Mike Kroutikov},
% \TA{Ivan Kokan}, \TA{Caleb Maclennan}, \TA{Gyula Magyarkuti}, \TA{José Mancera}, \TA{Miquel Ortega}, \TA{Yevgen Pogribnyi},
% \TA{Will Robertson}, \TA{Maïeul Rouquette}, \TA{Elie Roux}, \TA{Hugo Roy}, \TA{Guy Rutenberg}, \TA{Marcin Serwin},
-% \TA{Philipp Stephani}, \TA{Niranjan Tambe}, \TA{Osman Tursun}, \TA{Keno Wehr}, \TA{Dominik Wujastyk}, \TA{Sertaç Ö. Yıldız},
-% \TA{Maksim Zholudev}, \TA{Yan Zhou}, and \TA{Stefan Zlatinov}.
+% \TA{Arvinder Singh}, \TA{Philipp Stephani}, \TA{Niranjan Tambe}, \TA{Takuji Tanaka}, \TA{Osman Tursun}, \TA{Keno Wehr},
+% \TA{Dominik Wujastyk}, \TA{Sertaç Ö. Yıldız}, \TA{Maksim Zholudev}, \TA{Yan Zhou}, and \TA{Stefan Zlatinov}.
% Their respective contributions can be identified from the contributor statistics on
% \href{https://github.com/reutenauer/polyglossia/graphs/contributors}{GitHub}.
%
@@ -3745,7 +3828,7 @@ to track the issues and follow progress.
% \subsection{polyglossia.sty}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{polyglossia}[2022/10/26 v1.58
+\ProvidesPackage{polyglossia}[2022/11/29 v1.59
Modern multilingual typesetting with XeLaTeX and LuaLaTeX]
\RequirePackage{etoolbox}
\RequirePackage{makecmds}
@@ -3899,13 +3982,12 @@ to track the issues and follow progress.
}
\msg_redirect_name:nnn { polyglossia } { languagenotloaded } { critical }
-\cs_new_nopar:Nn \__xpg_msg_if_lang_not_loaded:n
+\msg_new:nnn { polyglossia } { languagenolongerloaded }
{
- \tl_if_blank:eT {\xpg_alias_base_lang:n{#1}}
- {
- \msg_show:nnn { polyglossia } { languagenotloaded } {#1}
- }
+ The~ language~ #1~ is~ no~ longer~ loaded.~ Please~ rerun~ LaTeX.
}
+\msg_redirect_name:nnn { polyglossia } { languagenolongerloaded } { warning }
+
%
%% use macro if defined, else warn that it is not
@@ -4664,25 +4746,41 @@ to track the issues and follow progress.
% add fontfeature Script=#2 to scripttag #1
% do nothing if #1 or #2 is empty
-\cs_new:Nn \polyglossia@addfontfeature@script:nn {
- \bool_if:nTF{\tl_if_empty_p:n{#1} || \tl_if_empty_p:n{#2}}
+\cs_new:Nn \polyglossia@addfontfeature@script:nnn {
+ \bool_if:nTF{\tl_if_empty_p:n{#2} || \tl_if_empty_p:n{#3}}
{
% maybe an error ?
\xpg@warning{Asking~ to~ add~ empty~ feature~to~ latin~ font
- (Script="#2"~ to~ scripttag~ "#1")}
+ (Script="#3"~ to~ scripttag~ "#2")}
}
{
- \fontspec_if_script:nTF{#1}
- {\addfontfeature{Script=#2}}
- {\xpg@error{
- The~ current~ latin ~ font~ \l_fontspec_family_tl\space does~ not~ contain~ the~"#2"~ script!\MessageBreak
- Please~ define~\csname\tl_if_empty:nF{#2}{\str_lowercase:n#2}font\endcsname~
+ \fontspec_if_script:nTF{#2}
+ {\addfontfeature{Script=#3}}
+ {
+ \tl_set:Nn \l_ffamily_tl {}
+ \tl_set:Nn \l_ffamilysh_tl { #1 }
+ \str_if_eq:nnT { #1 } { rm }
+ {
+ \tl_set:Nn \l_ffamily_tl { roman }
+ \tl_set:Nn \l_ffamilysh_tl {}
+ }
+ \str_if_eq:nnT { #1 } { sf }
+ {
+ \tl_set:Nn \l_ffamily_tl { sans~ serif }
+ }
+ \str_if_eq:nnT { #1 } { tt }
+ {
+ \tl_set:Nn \l_ffamily_tl { monospace }
+ }
+ \xpg@error{
+ The~ current~ latin ~ \l_ffamily_tl\space font~ does~ not~ contain~ the~"#3"~ script!\MessageBreak
+ Please~ define~\csname\tl_if_empty:nF{#3}{\str_lowercase:n#3}font\l_ffamilysh_tl\endcsname~
with~ \string\newfontfamily\space command
}
}
}
}
-\cs_generate_variant:Nn \polyglossia@addfontfeature@script:nn { on , no, oo , Vn, nV, VV , xn, nx, xx}
+\cs_generate_variant:Nn \polyglossia@addfontfeature@script:nnn { non , nno, noo , nVn, nnV, nVV , nxn, nnx, nxx}
\def\xpg@fontsetup@latin#1{%
\begingroup
@@ -4727,7 +4825,8 @@ to track the issues and follow progress.
}
}
\iftoggle{#1@use@script@font}{}{%
- \polyglossia@addfontfeature@script:xx{\prop_item:Nn{\polyglossia@langsetup}{#1/scripttag}}
+ \polyglossia@addfontfeature@script:nxx{rm}
+ {\prop_item:Nn{\polyglossia@langsetup}{#1/scripttag}}
{\prop_item:Nn{\polyglossia@langsetup}{#1/script}}
}%
\polyglossia@addfontfeature@language:xx{\prop_item:Nn{\polyglossia@langsetup}{#1/langtag}}
@@ -4750,7 +4849,8 @@ to track the issues and follow progress.
}
}
\iftoggle{#1@use@script@fontsf}{}{%
- \polyglossia@addfontfeature@script:xx{\prop_item:Nn{\polyglossia@langsetup}{#1/scripttag}}
+ \polyglossia@addfontfeature@script:nxx{sf}
+ {\prop_item:Nn{\polyglossia@langsetup}{#1/scripttag}}
{\prop_item:Nn{\polyglossia@langsetup}{#1/script}}
}%
\polyglossia@addfontfeature@language:xx{\prop_item:Nn{\polyglossia@langsetup}{#1/langtag}}
@@ -4773,7 +4873,8 @@ to track the issues and follow progress.
}
}
\iftoggle{#1@use@script@fonttt}{}{%
- \polyglossia@addfontfeature@script:xx{\prop_item:Nn{\polyglossia@langsetup}{#1/scripttag}}
+ \polyglossia@addfontfeature@script:nxx{tt}
+ {\prop_item:Nn{\polyglossia@langsetup}{#1/scripttag}}
{\prop_item:Nn{\polyglossia@langsetup}{#1/script}}
}%
\polyglossia@addfontfeature@language:xx{\prop_item:Nn{\polyglossia@langsetup}{#1/langtag}}
@@ -5601,14 +5702,15 @@ to track the issues and follow progress.
% #4 text
\cs_new:Nn \__xpg_foreignlanguage:nnnn
{
- \tl_if_blank:nT {#3}
+ \tl_if_blank:nTF {#3}
{
\msg_show:nnn { polyglossia } { languagenotloaded } {#2}
+ }{
+ \group_begin:
+ \xpg@otherlanguage[\xpg_alias_add_to_option_i:nn{#2}{#1}]{#3}%
+ \polyglossia@lang@settextdirection:nn{#3}{#4}%
+ \group_end:
}
- \group_begin:
- \xpg@otherlanguage[\xpg_alias_add_to_option_i:nn{#2}{#1}]{#3}%
- \polyglossia@lang@settextdirection:nn{#3}{#4}%
- \group_end:
}
\cs_generate_variant:Nn \__xpg_foreignlanguage:nnnn {eeen}
@@ -5628,13 +5730,14 @@ to track the issues and follow progress.
% #3 base lang
\cs_new:Nn \__xpg_otherlanguage:nnn
{
- \tl_if_blank:nT {#3}
+ \tl_if_blank:nTF {#3}
{
\msg_show:nnn { polyglossia } { languagenotloaded } {#2}
+ }{
+ \xpg@otherlanguage[\xpg_alias_add_to_option_i:nn{#2}{#1}]{#3}%
+ \polyglossia@lang@settextdirection:nn{#3}%
+ \bgroup
}
- \xpg@otherlanguage[\xpg_alias_add_to_option_i:nn{#2}{#1}]{#3}%
- \polyglossia@lang@settextdirection:nn{#3}%
- \bgroup
}
\cs_generate_variant:Nn \__xpg_otherlanguage:nnn {
eee
@@ -5659,20 +5762,22 @@ to track the issues and follow progress.
% #4: text
\cs_new:Nn \__xpg_textlanguage:nnnn
{
- \tl_if_blank:nT {#3}
+ \tl_if_blank:nTF {#3}
{
\msg_show:nnn { polyglossia } { languagenotloaded } {#2}
}
- \group_begin:
- \xpg@otherlanguage[#1]{#3}%
- \csuse{date#3}%
- % This is a hook for external packages which want to access variants
- % via babelname (such as biblatex)
- \cs_if_exist_use:c{date@bbl@\babelname}%
- \polyglossia@lang@settextdirection:nn{#3}{#4}%
- \group_end:
- % Reset the language's/script's font families
- \str_if_eq:eeTF{\prop_item:Nn{\polyglossia@langsetup}{#3/lcscript}}{latin}{}{\resetfontlatin}%
+ {
+ \group_begin:
+ \xpg@otherlanguage[#1]{#3}%
+ \csuse{date#3}%
+ % This is a hook for external packages which want to access variants
+ % via babelname (such as biblatex)
+ \cs_if_exist_use:c{date@bbl@\babelname}%
+ \polyglossia@lang@settextdirection:nn{#3}{#4}%
+ \group_end:
+ % Reset the language's/script's font families
+ \str_if_eq:eeTF{\prop_item:Nn{\polyglossia@langsetup}{#3/lcscript}}{latin}{}{\resetfontlatin}%
+ }
}
\cs_generate_variant:Nn \__xpg_textlanguage:nnnn {nnen}
@@ -5696,12 +5801,23 @@ to track the issues and follow progress.
\xpg@hook@setlanguage
\let\emp@langname\@undefined}
+\newif\ifxpglanginaux\xpglanginauxfalse
+
\DeclareDocumentCommand \selectlanguage {s O{} m}
{
- \__xpg_msg_if_lang_not_loaded:n {#3}
- \polyglossia@select@language:nee {#1}
- {\xpg_alias_add_to_option_i:nn{#3}{#2}}
- {\xpg_alias_base_lang:n{#3}}
+ \tl_if_blank:eTF {\xpg_alias_base_lang:n{#3}}
+ {
+ \ifxpglanginaux
+ \msg_show:nnn { polyglossia } { languagenolongerloaded } {#3}
+ \else
+ \msg_show:nnn { polyglossia } { languagenotloaded } {#3}
+ \fi
+ }
+ {
+ \polyglossia@select@language:nee {#1}
+ {\xpg_alias_add_to_option_i:nn{#3}{#2}}
+ {\xpg_alias_base_lang:n{#3}}
+ }
}
\cs_new:Nn \polyglossia@select@language:nnn
@@ -5933,6 +6049,7 @@ to track the issues and follow progress.
\newcommand*{\xpg@set@language@only@aux}[2][]{%
% Write to the aux
\if@filesw%
+ \protected@write\@auxout{}{\protect\xpglanginauxtrue}%
\ifx#1\\\\%
\protected@write\@auxout{}{\protect\selectlanguage*{#2}}%
\addtocontents{toc}{\protect\selectlanguage*{#2}}%
@@ -5940,6 +6057,7 @@ to track the issues and follow progress.
\protected@write\@auxout{}{\protect\selectlanguage*[#1]{#2}}%
\addtocontents{toc}{\protect\selectlanguage*[#1]{#2}}%
\fi
+ \protected@write\@auxout{}{\protect\xpglanginauxfalse}%
\fi
}
@@ -7052,7 +7170,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
% \begin{macrocode}
--
-- polyglossia-punct.lua
--- part of polyglossia v1.58 -- 2022/10/26
+-- part of polyglossia v1.59 -- 2022/11/29
--
require('polyglossia-punct')
@@ -7119,7 +7237,7 @@ polyglossia.deactivate_french_punct = deactivate_french_punct
% \begin{macrocode}
--
-- polyglossia-korean.lua
--- part of polyglossia v1.58 -- 2022/10/26
+-- part of polyglossia v1.59 -- 2022/11/29
--
local glyph_id = node.id"glyph"
@@ -7737,7 +7855,7 @@ prepend_to_callback ("hpack_filter",
% \begin{macrocode}
--
-- polyglossia-latin.lua
--- part of polyglossia v1.58 -- 2022/10/26
+-- part of polyglossia v1.59 -- 2022/11/29
--
require('polyglossia-punct')
@@ -7792,7 +7910,7 @@ polyglossia.deactivate_latin_punct = deactivate_latin_punct
% \begin{macrocode}
--
-- polyglossia-punct.lua
--- part of polyglossia v1.58 -- 2022/10/26
+-- part of polyglossia v1.59 -- 2022/11/29
--
require('polyglossia') -- just in case...
@@ -8160,7 +8278,7 @@ polyglossia.clear_spaced_characters = clear_spaced_characters
% \begin{macrocode}
--
-- polyglossia-sanskrit.lua
--- part of polyglossia v1.58 -- 2022/10/26
+-- part of polyglossia v1.59 -- 2022/11/29
--
require('polyglossia-punct')
@@ -8210,7 +8328,7 @@ polyglossia.deactivate_sanskrit_punct = deactivate_sanskrit_punct
% \begin{macrocode}
--
-- polyglossia-tibt.lua
--- part of polyglossia v1.58 -- 2022/10/26
+-- part of polyglossia v1.59 -- 2022/11/29
--
require('polyglossia') -- just in case...
@@ -8313,7 +8431,7 @@ polyglossia.desactivate_tibt_eol = desactivate
% \begin{macrocode}
--
-- polyglossia.lua
--- part of polyglossia v1.58 -- 2022/10/26
+-- part of polyglossia v1.59 -- 2022/11/29
--
local module_name = "polyglossia"
@@ -9672,9 +9790,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-latex.lde}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
-\ProvidesLanguageDefinitionExtension{gloss-latex}{2022/10/26}{v1.58}{polyglossia: module for default language}
+\ProvidesLanguageDefinitionExtension{gloss-latex}{2022/11/29}{v1.59}{polyglossia: module for default language}
\PolyglossiaSetup{latex}{
hyphennames={english},
@@ -9718,7 +9836,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-acadien.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-acadien.ldf}[polyglossia: module for Canadian (Acadian) French]
@@ -9735,7 +9853,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-aeb.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-aeb.ldf}[polyglossia: module for aeb (Arabic)]
@@ -9752,7 +9870,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-af.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-af.ldf}[polyglossia: module for af (Afrikaans)]
@@ -9769,7 +9887,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-afb.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-afb.ldf}[polyglossia: module for afb (Arabic)]
@@ -9786,7 +9904,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-afrikaans.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-afrikaans.ldf}[polyglossia: module for Afrikaans]
@@ -9889,7 +10007,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-albanian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-albanian.ldf}[polyglossia: module for Albanian]
@@ -9944,7 +10062,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-am.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-am.ldf}[polyglossia: module for am (Amharic)]
@@ -9961,7 +10079,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-american.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-american.ldf}[polyglossia: module for American English]
@@ -9978,7 +10096,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-amharic.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-amharic.ldf}[polyglossia: module for Amharic]
\PolyglossiaSetup{amharic}{
@@ -10196,7 +10314,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-apd.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-apd.ldf}[polyglossia: module for apd (Arabic)]
@@ -10213,7 +10331,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ar-IQ.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ar-IQ.ldf}[polyglossia: module for ar-IQ (Arabic)]
@@ -10230,7 +10348,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ar-JO.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ar-JO.ldf}[polyglossia: module for ar-JO (Arabic)]
@@ -10247,7 +10365,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ar-LB.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ar-LB.ldf}[polyglossia: module for ar-LB (Arabic)]
@@ -10264,7 +10382,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ar-MR.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ar-MR.ldf}[polyglossia: module for ar-MR (Arabic)]
@@ -10281,7 +10399,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ar-PS.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ar-PS.ldf}[polyglossia: module for ar-PS (Arabic)]
@@ -10298,7 +10416,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ar-SY.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ar-SY.ldf}[polyglossia: module for ar-SY (Arabic)]
@@ -10315,7 +10433,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ar-YE.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ar-YE.ldf}[polyglossia: module for ar-YE (Arabic)]
@@ -10332,7 +10450,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ar.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ar.ldf}[polyglossia: module for ar (Arabic)]
@@ -10349,7 +10467,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-arabic.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-arabic.ldf}[polyglossia: module for Arabic]
\RequireBidi
@@ -10619,7 +10737,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-armenian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-armenian.ldf}[polyglossia: module for Armenian]
@@ -10806,7 +10924,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-arq.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-arq.ldf}[polyglossia: module for arq (Arabic)]
@@ -10823,7 +10941,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ary.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ary.ldf}[polyglossia: module for ary (Arabic)]
@@ -10840,7 +10958,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-arz.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-arz.ldf}[polyglossia: module for arz (Arabic)]
@@ -10857,7 +10975,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ast.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ast.ldf}[polyglossia: module for ast (Asturian)]
@@ -10874,7 +10992,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-asturian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
% Translated by Xuacu <xuacusk8 at gmail dot com>
% Contributed by Kevin Godby <godbyk at gmail dot com>
@@ -10932,7 +11050,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-australian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-australian.ldf}[polyglossia: module for Australian English]
@@ -10949,7 +11067,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-austrian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-austrian.ldf}[polyglossia: module for Austrian German (old spelling)]
@@ -10966,7 +11084,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ayl.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ayl.ldf}[polyglossia: module for ayl (Arabic)]
@@ -10983,7 +11101,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-bahasa.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-bahasa.ldf}[polyglossia: module for Bahasa Indonesia]
@@ -11000,7 +11118,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-bahasai.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-bahasai.ldf}[polyglossia: module for Bahasa Indonesia]
@@ -11018,7 +11136,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-bahasam.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-bahasam.ldf}[polyglossia: module for Bahasa Melayu]
@@ -11036,7 +11154,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-basque.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-basque.ldf}[polyglossia: module for Basque]
\PolyglossiaSetup{basque}{
@@ -11091,7 +11209,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-be-tarask.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-be-tarask.ldf}[polyglossia: module for be-tarask (Belarusian)]
@@ -11108,7 +11226,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-be.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-be.ldf}[polyglossia: module for be (Belarusian)]
@@ -11125,7 +11243,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-belarusian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-belarusian.ldf}[polyglossia: module for Belarusian]
@@ -11449,7 +11567,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-bengali.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
% Translations provided by সাজেদুর রহিম জোয়ারদার <toshazed@gmail.com>
% TODO implement Bengali calendar
@@ -11588,7 +11706,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-bg.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-bg.ldf}[polyglossia: module for bg (Bulgarian)]
@@ -11605,7 +11723,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-bn.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-bn.ldf}[polyglossia: module for bn (Bengali)]
@@ -11622,7 +11740,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-bo.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-bo.ldf}[polyglossia: module for bo (Tibetan)]
@@ -11639,7 +11757,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-bosnian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-bosnian.ldf}[polyglossia: module for Bosnian]
@@ -11699,7 +11817,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-br.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-br.ldf}[polyglossia: module for br (Breton)]
@@ -11716,7 +11834,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-brazil.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-brazil.ldf}[polyglossia: module for Brazilian Portuguese]
@@ -11735,7 +11853,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-breton.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-breton.ldf}[polyglossia: module for Breton]
\PolyglossiaSetup{breton}{
@@ -11840,7 +11958,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-british.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-british.ldf}[polyglossia: module for British English]
@@ -11857,7 +11975,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-bs.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-bs.ldf}[polyglossia: module for bs (Bosnian)]
@@ -11874,7 +11992,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-bulgarian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-bulgarian.ldf}[polyglossia: module for Bulgarian]
\PolyglossiaSetup{bulgarian}{
@@ -11973,7 +12091,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ca.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ca.ldf}[polyglossia: module for ca (Catalan)]
@@ -11990,7 +12108,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-canadian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-canadian.ldf}[polyglossia: module for Canadian English]
@@ -12007,7 +12125,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-canadien.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-canadien.ldf}[polyglossia: module for Canadian French]
@@ -12024,7 +12142,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-catalan.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-catalan.ldf}[polyglossia: module for Catalan]
\PolyglossiaSetup{catalan}{
@@ -12185,13 +12303,297 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
% \end{macrocode}
% \iffalse
%</gloss-catalan.ldf>
+%<*gloss-chinese.ldf>
+% \fi
+% \clearpage
+%
+% \subsection{gloss-chinese.ldf}
+% \begin{macrocode}
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
+%
+\ProvidesFile{gloss-chinese.ldf}[polyglossia: module for Chinese]
+
+\PolyglossiaSetup{chinese}{
+ bcp47=zh,
+ script=CJK,
+ scripttag=hani,
+ language=Chinese,
+ hyphennames={nohyphenation},
+ frenchspacing=false,
+ fontsetup=true,
+ localnumeral=chinesenumerals
+}
+
+% BCP-47 compliant aliases
+\setlanguagealias*{chinese}{zh}
+\setlanguagealias*[variant=simplified]{chinese}{zh-CN}
+\setlanguagealias*[variant=traditional]{chinese}{zh-TW}
+
+\providebool{chinese@traditional}
+
+\def\chinese@variant{chinese}
+
+\newif\ifchinese@numerals
+\define@key{chinese}{numerals}[arabic]{%
+ \ifstrequal{#1}{chinese}%
+ {\chinese@numeralstrue}%
+ {\chinese@numeralsfalse}%
+}
+
+
+\define@choicekey*+{chinese}{variant}[\xpg@val\xpg@nr]{cn,simplified,tw,traditional}[cn]{%
+ \ifcase\xpg@nr\relax
+ % cn:
+ \chinese@traditionalfalse
+ \SetLanguageKeys{chinese}{bcp47=zh-CN}%
+ \xpg@info{Option: Chinese, variant=simplified}%
+ \or
+ % simplified:
+ \chinese@traditionalfalse
+ \SetLanguageKeys{chinese}{bcp47=zh-CN}%
+ \xpg@info{Option: Chinese, variant=simplified}%
+ \or
+ % tw:
+ \chinese@traditionaltrue
+ \SetLanguageKeys{chinese}{bcp47=zh-TW}%
+ \xpg@info{Option: Chinese, variant=traditional}%
+ \or
+ % traditional:
+ \chinese@traditionaltrue
+ \SetLanguageKeys{chinese}{bcp47=zh-TW}%
+ \xpg@info{Option: Chinese, variant=traditional}%
+ \fi
+}{\xpg@warning{Unknown Chinese variant `#1'}}
+
+% Register default options
+\xpg@initialize@gloss@options{chinese}{variant=cn,numerals=arabic}
+%\xpg@initialize@gloss@options{chinese}{variant=tw,numerals=arabic}
+% Register alias options
+\xpg@set@alias@values{chinese}{variant}{cn}{simplified}
+\xpg@set@alias@values{chinese}{variant}{tw}{traditional}
+
+
+\def\chinese@capsformat{%
+ \def\@seccntformat##1{%
+ \csname pre##1\endcsname%
+ \csname the##1\endcsname%
+ \csname post##1\endcsname%
+ }%
+ \ifchinese@traditional
+ \def\postsection{節\space}%
+ \def\postsubsection{節\space}%
+ \def\postsubsubsection{節\space}%
+ \else
+ \def\postsection{节\space}%
+ \def\postsubsection{节\space}%
+ \def\postsubsubsection{节\space}%
+ \fi
+ \def\presection{第}%
+ \def\presubsection{第}%
+ \def\presubsubsection{第}%
+}
+
+\def\captionschinese{%
+ \ifchinese@traditional
+ \captions@chinese@traditional
+ \else
+ \captions@chinese@simplified
+ \fi
+}
+
+\def\captions@chinese@traditional{%
+ \def\contentsname{目錄}%
+ \def\listfigurename{插圖}%
+ \def\listtablename{表格}%
+ \def\figurename{圖}%
+ \def\tablename{表}%
+ \def\abstractname{摘要}%
+ \def\prefacename{前言}%
+ \def\indexname{索引}%
+ \def\bibname{參考文獻}%
+ \def\appendixname{附錄}%
+ \def\proofname{證明}%
+ \def\refname{參考文獻}%
+ \def\partname##1##2{第##1##2 部分}%
+ \def\chaptername##1##2{第##1##2 章}%
+ \def\pagename##1##2{第##1##2 頁}%
+ \def\seename{參照}%
+ \def\alsoname{參照}%
+ \def\enclname{附件}%
+ \def\ccname{抄送}%
+ \def\headtoname{收件人}%
+ \def\\glossaryname{詞彙表}%
+}
+\def\captions@chinese@simplified{%
+ \def\contentsname{目录}%
+ \def\listfigurename{插图}%
+ \def\listtablename{表格}%
+ \def\figurename{图}%
+ \def\tablename{表}%
+ \def\abstractname{摘要}%
+ \def\prefacename{前言}%
+ \def\indexname{索引}%
+ \def\bibname{参考文献}%
+ \def\appendixname{附录}%
+ \def\proofname{证明}%
+ \def\refname{参考文献}%
+ \def\partname##1##2{第##1##2 部分}%
+ \def\chaptername##1##2{第##1##2 章}%
+ \def\pagename##1##2{第##1##2 页}%
+ \def\seename{参照}%
+ \def\alsoname{参照}%
+ \def\enclname{附件}%
+ \def\ccname{抄送}%
+ \def\headtoname{收件人}%
+ \def\\glossaryname{词汇表}%
+}
+
+\newcount\c@TempJNum%
+
+\def\@ChineseDigit#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 三十三\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%
+ 六十六\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
+ \@ctrerr%
+ \fi\relax%
+}
+
+\def\@ChineseNum#1{%
+ \c@TempJNum=#1\divide\c@TempJNum by 1000\relax%
+ \ifnum\c@TempJNum=\z@\c@TempJNum=#1%
+ \divide\c@TempJNum by 100\relax%
+ \ifnum\c@TempJNum=\z@\@ChineseDigit{#1}\relax%
+ \else
+ \ifcase\c@TempJNum\or 百\or 二百\or 三百\or 四百\or 五百\or
+ 六百\or 七百\or 八百\or 九百%
+ \fi
+ \c@TempJNum=#1\divide\c@TempJNum by 100\multiply\c@TempJNum by -100\advance\c@TempJNum#1\@ChineseDigit\c@TempJNum\relax%
+ \fi%
+ \else
+ \ifcase\c@TempJNum\or 千\or 二千\or 三千\or 四千\or 五千\or
+ 六千\or 七千\or 八千\or 九千%
+ \fi
+ \c@TempJNum=#1\divide\c@TempJNum by 1000\multiply\c@TempJNum by -1000\advance\c@TempJNum#1\divide\c@TempJNum by 100\relax%
+ \ifnum\c@TempJNum=\z@\c@TempJNum=#1%
+ \divide\c@TempJNum by 100\multiply\c@TempJNum by -100\advance\c@TempJNum#1\@ChineseDigit\c@TempJNum\relax%
+ \else
+ \ifcase\c@TempJNum\or 百\or 二百\or 三百\or 四百\or 五百\or
+ 六百\or 七百\or 八百\or 九百%
+ \fi
+ \c@TempJNum=#1\divide\c@TempJNum by 100\multiply\c@TempJNum by -100\advance\c@TempJNum#1\@ChineseDigit\c@TempJNum\relax%
+ \fi
+ \fi
+}
+
+\def\@chinesenumber#1{%
+ \@tempcnta=#1%
+ \ifnum\@tempcnta=\z@{〇}%
+ \else
+ \ifnum\@tempcnta<\z@{負}%
+ \multiply\@tempcnta by -1%
+ \fi
+ \@tempcntb=\@tempcnta\divide\@tempcntb by 10000\relax%
+ \ifnum\@tempcntb=\z@\@ChineseNum%
+ \@tempcnta%
+ \else
+ \@tempcntb=\@tempcnta\divide\@tempcntb by 100000000\relax%
+ \ifnum\@tempcntb=\z@\@tempcntb=\@tempcnta%
+ \divide\@tempcntb by 10000%
+ \@ChineseNum\@tempcntb{万}\@tempcntb=\@tempcnta%
+ \divide\@tempcntb by 10000\multiply\@tempcntb by -10000%
+ \advance\@tempcntb\@tempcnta\relax\@ChineseNum\@tempcntb%
+ \else
+ \@ChineseNum\@tempcntb{億}\@tempcntb=\@tempcnta%
+ \divide\@tempcntb by 100000000\multiply\@tempcntb by -100000000%
+ \advance\@tempcntb\@tempcnta\divide\@tempcntb by 10000\relax%
+ \ifnum\@tempcntb=\z@%
+ \else
+ \@ChineseNum\@tempcntb{万}%
+ \fi
+ \@tempcntb=\@tempcnta\divide\@tempcntb by 10000%
+ \multiply\@tempcntb by -10000\advance\@tempcntb\@tempcnta%
+ \@ChineseNum\@tempcntb%
+ \fi
+ \fi
+ \fi
+}
+
+
+\newcommand{\chinesenumerals}[2]{\chinesenumber{#2}}
+
+\def\chinesenumber#1{%
+ \ifchinese@numerals
+ \@chinesenumber{\number#1}%
+ \else
+ \number#1%
+ \fi}
+
+\let\chinesenumeral=\chinesenumber
+
+\def\datechinese{%
+ \def\today{%
+ \ifchinese@numerals
+ \@chinesenumber{\number\year}%
+ \else
+ \number\year\,%
+ \fi
+ {年}%
+ \ifchinese@numerals
+ \@chinesenumber{\number\month}%
+ \else
+ \,\number\month\,%
+ \fi
+ {月}%
+ \ifchinese@numerals
+ \@chinesenumber{\number\day}%
+ \else
+ \,\number\day\,%
+ \fi
+ {日}%
+ }%
+}
+
+\def\noextras@chinese{%
+ \chinese@capsformat%
+}
+
+\def\blockextras@chinese{%
+ \chinese@capsformat%
+}
+
+\def\inlineextras@chinese{%
+ \chinese@capsformat%
+}
+% Based on contributions of Toru Inagaki, Norio Iwase, François Charette
+
+% \end{macrocode}
+% \iffalse
+%</gloss-chinese.ldf>
%<*gloss-ckb-Arab.ldf>
% \fi
% \clearpage
%
% \subsection{gloss-ckb-Arab.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ckb-Arab.ldf}[polyglossia: module for ckb-Arab (Kurdish)]
@@ -12208,7 +12610,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ckb-Latn.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ckb-Latn.ldf}[polyglossia: module for ckb-Latn (Kurdish)]
@@ -12225,7 +12627,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ckb.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ckb.ldf}[polyglossia: module for ckb (Kurdish)]
@@ -12242,7 +12644,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-cop.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-cop.ldf}[polyglossia: module for cop (Coptic)]
@@ -12259,7 +12661,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-coptic.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-coptic.ldf}[polyglossia: module for Coptic]
\PolyglossiaSetup{coptic}{
@@ -12312,7 +12714,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-croatian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-croatian.ldf}[polyglossia: module for Croatian]
\PolyglossiaSetup{croatian}{
@@ -12585,7 +12987,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-cy.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-cy.ldf}[polyglossia: module for cy (Welsh)]
@@ -12602,7 +13004,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-cz.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-cz.ldf}[polyglossia: module for cz (Czech)]
@@ -12619,7 +13021,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-czech.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-czech.ldf}[polyglossia: module for Czech]
@@ -12875,7 +13277,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-da.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-da.ldf}[polyglossia: module for da (Danish)]
@@ -12892,7 +13294,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-danish.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-danish.ldf}[polyglossia: module for Danish]
\PolyglossiaSetup{danish}{
@@ -12947,7 +13349,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-de-AT-1901.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-de-AT-1901.ldf}[polyglossia: module for de-AT-1901 (Austrian German, old spelling)]
@@ -12964,7 +13366,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-de-AT-1996.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-de-AT-1996.ldf}[polyglossia: module for de-AT-1996 (Austrian German)]
@@ -12981,7 +13383,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-de-AT.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-de-AT.ldf}[polyglossia: module for de-AT (Austrian German)]
@@ -12998,7 +13400,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-de-CH-1901.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-de-CH-1901.ldf}[polyglossia: module for de-CH-1901 (Swiss German, old spelling)]
@@ -13015,7 +13417,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-de-CH-1996.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-de-CH-1996.ldf}[polyglossia: module for de-CH-1996 (Swiss German)]
@@ -13032,7 +13434,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-de-CH.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-de-CH.ldf}[polyglossia: module for de-CH (Swiss German)]
@@ -13049,7 +13451,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-de-DE-1901.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-de-DE-1901.ldf}[polyglossia: module for de-DE-1901 (Germany's German, old spelling)]
@@ -13066,7 +13468,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-de-DE-1996.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-de-DE-1996.ldf}[polyglossia: module for de-DE-1996 (Germany's German)]
@@ -13083,7 +13485,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-de-DE.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-de-DE.ldf}[polyglossia: module for de-DE (Germany's German)]
@@ -13100,7 +13502,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-de-Latf-AT-1901.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-de-AT-1901-Latf.ldf}[polyglossia: module for de-AT-1901-Latf (Austrian German, old spelling)]
@@ -13117,7 +13519,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-de-Latf-AT-1996.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-de-AT-1996-Latf.ldf}[polyglossia: module for de-AT-1996-Latf (Austrian German)]
@@ -13134,7 +13536,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-de-Latf-AT.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-de-AT-Latf.ldf}[polyglossia: module for de-AT-Latf (Austrian German)]
@@ -13151,7 +13553,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-de-Latf-CH-1901.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-de-CH-1901-Latf.ldf}[polyglossia: module for de-CH-1901-Latf (Swiss German, old spelling)]
@@ -13168,7 +13570,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-de-Latf-CH-1996.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-de-CH-1996-Latf.ldf}[polyglossia: module for de-CH-1996-Latf (Swiss German)]
@@ -13185,7 +13587,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-de-Latf-CH.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-de-CH-Latf.ldf}[polyglossia: module for de-CH-Latf (Swiss German)]
@@ -13202,7 +13604,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-de-Latf-DE-1901.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-de-DE-1901-Latf.ldf}[polyglossia: module for de-DE-1901-Latf (Germany's German, old spelling)]
@@ -13219,7 +13621,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-de-Latf-DE-1996.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-de-DE-1996-Latf.ldf}[polyglossia: module for de-DE-1996-Latf (Germany's German)]
@@ -13236,7 +13638,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-de-Latf-DE.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-de-DE-Latf.ldf}[polyglossia: module for de-DE-Latf (Germany's German)]
@@ -13253,7 +13655,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-de-Latf.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-de-Latf.ldf}[polyglossia: module for de-Latf (German)]
@@ -13270,7 +13672,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-de.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-de.ldf}[polyglossia: module for de (German)]
@@ -13287,7 +13689,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-divehi.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-divehi.ldf}[polyglossia: module for Divehi]
@@ -13352,7 +13754,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-dsb.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-dsb.ldf}[polyglossia: module for dsb (Sorbian)]
@@ -13369,7 +13771,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-dutch.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-dutch.ldf}[polyglossia: module for Dutch]
\PolyglossiaSetup{dutch}{
@@ -13472,7 +13874,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-dv.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-dv.ldf}[polyglossia: module for dv (Divehi)]
@@ -13489,7 +13891,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-el-monoton.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-el-monoton.ldf}[polyglossia: module for el-monoton (Greek)]
@@ -13506,7 +13908,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-el-polyton.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-el-polyton.ldf}[polyglossia: module for el-polyton (Greek)]
@@ -13523,7 +13925,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-el.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-el.ldf}[polyglossia: module for el (Greek)]
@@ -13540,7 +13942,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-en-AU.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-en-AU.ldf}[polyglossia: module for en-AU (Australian English)]
@@ -13557,7 +13959,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-en-CA.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-en-CA.ldf}[polyglossia: module for en-CA (Canadan English)]
@@ -13574,7 +13976,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-en-GB.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-en-GB.ldf}[polyglossia: module for en-GB (British English)]
@@ -13591,7 +13993,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-en-NZ.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-en-NZ.ldf}[polyglossia: module for en-NZ (Newzealand English)]
@@ -13608,7 +14010,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-en-US.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-en-US.ldf}[polyglossia: module for en-US (American English)]
@@ -13625,7 +14027,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-en.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-en.ldf}[polyglossia: module for en (English)]
@@ -13642,7 +14044,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-english.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-english.ldf}[polyglossia: module for English]
@@ -13850,7 +14252,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-eo.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-eo.ldf}[polyglossia: module for eo (Esperanto)]
@@ -13867,7 +14269,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-es-ES.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-es-ES.ldf}[polyglossia: module for es-ES (Spain's Spanish)]
@@ -13884,7 +14286,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-es-MX.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-es-MX.ldf}[polyglossia: module for es-MX (Mexican Spanish)]
@@ -13901,7 +14303,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-es.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-es.ldf}[polyglossia: module for es (Spanish)]
@@ -13918,7 +14320,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-esperanto.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-esperanto.ldf}[polyglossia: module for Esperanto]
\PolyglossiaSetup{esperanto}{
@@ -13996,7 +14398,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-estonian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-estonian.ldf}[polyglossia: module for Estonian]
\PolyglossiaSetup{estonian}{
@@ -14050,7 +14452,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-et.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-et.ldf}[polyglossia: module for et (Estonian)]
@@ -14067,7 +14469,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-eu.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-eu.ldf}[polyglossia: module for eu (Basque)]
@@ -14084,7 +14486,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-fa.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-fa.ldf}[polyglossia: module for fa (Persian)]
@@ -14101,7 +14503,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-farsi.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-farsi.ldf}[polyglossia: module for Farsi]
@@ -14119,7 +14521,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-fi.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-fi.ldf}[polyglossia: module for fi (Finnish)]
@@ -14136,7 +14538,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-finnish.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-finnish.ldf}[polyglossia: module for Finnish]
\PolyglossiaSetup{finnish}{
@@ -14253,7 +14655,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-fr-CA.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-fr-CA.ldf}[polyglossia: module for fr-CA (Canadian French)]
@@ -14270,7 +14672,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-fr-CH.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-fr-CH.ldf}[polyglossia: module for fr-CH (Swiss French)]
@@ -14287,7 +14689,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-fr-FR.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-fr-FR.ldf}[polyglossia: module for fr-FR (France's French)]
@@ -14304,7 +14706,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-fr.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-fr.ldf}[polyglossia: module for fr (French)]
@@ -14321,7 +14723,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-french.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-french.ldf}[polyglossia: module for French]
@@ -14843,7 +15245,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-friulan.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-friulan.ldf}[polyglossia: module for Friulian]
@@ -14860,7 +15262,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-friulian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-friulian.ldf}[polyglossia: module for Friulian]
@@ -14944,7 +15346,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-fur.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-fur.ldf}[polyglossia: module for fur (Friulian)]
@@ -14961,7 +15363,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ga.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ga.ldf}[polyglossia: module for ga (Gaelic)]
@@ -14978,7 +15380,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-gaelic.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-gaelic.ldf}[polyglossia: module for Gaelic]
@@ -15106,7 +15508,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-galician.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-galician.ldf}[polyglossia: module for Galician]
\PolyglossiaSetup{galician}{
@@ -15160,7 +15562,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-gd.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-gd.ldf}[polyglossia: module for gd (Gaelic)]
@@ -15177,7 +15579,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-georgian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-georgian.ldf}[polyglossia: module for Georgian]
@@ -15419,7 +15821,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-german.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-german.ldf}[polyglossia: module for German]
@@ -15753,7 +16155,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-germanb.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-germanb.ldf}[polyglossia: module for German (old spelling)]
@@ -15770,7 +16172,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-gl.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-gl.ldf}[polyglossia: module for gl (Galician)]
@@ -15787,7 +16189,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-grc.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-grc.ldf}[polyglossia: module for grc (Greek)]
@@ -15804,7 +16206,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-greek.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-greek.ldf}[polyglossia: module for Greek]
@@ -16224,7 +16626,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-he.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-he.ldf}[polyglossia: module for he (Hebrew)]
@@ -16241,7 +16643,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-hebrew.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-hebrew.ldf}[polyglossia: module for Hebrew]
@@ -16422,7 +16824,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-hi.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-hi.ldf}[polyglossia: module for hi (Hindi)]
@@ -16439,7 +16841,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-hindi.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
% UTF-8 strings kindly provided by Zdenĕk Wagner, 10-03-2008
% with corrections and additional contributions by Anshuman Pandey
@@ -16477,19 +16879,21 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
\polyglossia@setup@language@patterns{hindi}%
}
-\def\tmp@western{Western}
\newif\ifhindi@devanagari@numerals
\hindi@devanagari@numeralstrue
-
-\define@key{hindi}{numerals}[Devanagari]{%
- \def\@tmpa{#1}%
- \ifx\@tmpa\tmp@western
- \hindi@devanagari@numeralsfalse
- \fi%
-}
+\define@choicekey*+{hindi}{numerals}[\xpg@val\xpg@nr]{Devanagari,Western}[Devanagari]{%
+ \ifcase\xpg@nr\relax
+ % Devanagari:
+ \hindi@devanagari@numeralstrue%
+ \or
+ % Western:
+ \hindi@devanagari@numeralsfalse%
+ \fi
+ \xpg@info{Option: Hindi, numerals=\xpg@val}%
+}{\xpg@warning{Unknown Hindi numeral `#1'}}
% Register default options
-\xpg@initialize@gloss@options{hindi}{numerals=Devanagari}
+\xpg@initialize@gloss@options{hindi}{numerals=devanagari}
\newcommand{\hindinumerals}[2]{\hindinumber{#2}}
@@ -16564,7 +16968,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-hr.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-hr.ldf}[polyglossia: module for hr (Croatian)]
@@ -16581,7 +16985,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-hsb.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-hsb.ldf}[polyglossia: module for hsb (Higher Sorbian)]
@@ -16598,7 +17002,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-hu.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-hu.ldf}[polyglossia: module for hu (Hungarian)]
@@ -16615,7 +17019,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-hungarian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-hungarian.ldf}[polyglossia: module for Hungarian]
@@ -17011,7 +17415,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-hy.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-hy.ldf}[polyglossia: module for hy (Armenian)]
@@ -17028,7 +17432,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ia.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ia.ldf}[polyglossia: module for ia (Interlingua)]
@@ -17045,7 +17449,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-icelandic.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-icelandic.ldf}[polyglossia: module for Icelandic]
\PolyglossiaSetup{icelandic}{
@@ -17101,7 +17505,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-id.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-id.ldf}[polyglossia: module for id (Malay)]
@@ -17118,7 +17522,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-interlingua.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-interlingua.ldf}[polyglossia: module for Interlingua]
\PolyglossiaSetup{interlingua}{
@@ -17174,7 +17578,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-irish.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-irish.ldf}[polyglossia: module for Irish]
@@ -17192,7 +17596,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-is.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-is.ldf}[polyglossia: module for is (Icelandic)]
@@ -17209,7 +17613,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-it.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-it.ldf}[polyglossia: module for it (Italian)]
@@ -17227,7 +17631,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
% \subsection{gloss-italian.ldf}
% \begin{macrocode}
% !TEX encoding = UTF-8 Unicode
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-italian.ldf}[polyglossia: module for Italian]
\PolyglossiaSetup{italian}{
@@ -17376,7 +17780,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ja.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ja.ldf}[polyglossia: module for ja (Japanese)]
@@ -17393,7 +17797,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-japanese.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-japanese.ldf}[polyglossia: module for Japanese]
@@ -17628,7 +18032,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ka.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ka.ldf}[polyglossia: module for ka (Georgian)]
@@ -17646,7 +18050,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
% \subsection{gloss-kannada.ldf}
% \begin{macrocode}
%% gloss-kannada.ldf
-%% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+%% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%%
%% Copyright 2011 Aravinda VK <hallimanearavind AT gmail.com>,
%% Shankar Prasad <prasad.mvs AT gmail.com>,
@@ -17766,7 +18170,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-khmer.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-khmer.ldf}[polyglossia: module for Khmer]
\PolyglossiaSetup{khmer}{
@@ -17935,7 +18339,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-km.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-km.ldf}[polyglossia: module for km (Khmer)]
@@ -17952,7 +18356,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-kmr-Arab.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-kmr-Arab.ldf}[polyglossia: module for kmr-Arab (Kurdish)]
@@ -17969,7 +18373,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-kmr-Latn.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-kmr-Latn.ldf}[polyglossia: module for kmr-Latn (Kurdish)]
@@ -17986,7 +18390,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-kmr.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-kmr.ldf}[polyglossia: module for kmr (Kurdish)]
@@ -18003,7 +18407,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-kn.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-kn.ldf}[polyglossia: module for kn (Kannada)]
@@ -18020,7 +18424,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ko.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ko.ldf}[polyglossia: module for ko (Korean)]
@@ -18037,7 +18441,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-korean.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-korean.ldf}[polyglossia: module for Korean]
@@ -18515,7 +18919,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ku-Arab.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ku-Arab.ldf}[polyglossia: module for ku-Arab (Kurdish)]
@@ -18532,7 +18936,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ku-Latn.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ku-Latn.ldf}[polyglossia: module for ku-Latn (Kurdish)]
@@ -18549,7 +18953,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ku.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ku.ldf}[polyglossia: module for ku (Kurdish)]
@@ -18566,7 +18970,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-kurdish.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
% Created on September 1, 2019
% Last updated on May 17, 2020
@@ -18972,7 +19376,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-kurmanji.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-kurmanji.ldf}[polyglossia: module for Kurmanji Kurdish]
@@ -18989,7 +19393,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-la-x-classic.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-la-xclassic.ldf}[polyglossia: module for la-xclassic (Latin)]
@@ -19006,7 +19410,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-la-x-ecclesia.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-la-xecclesiastic.ldf}[polyglossia: module for la-xecclesiastic (Latin)]
@@ -19023,7 +19427,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-la-x-medieval.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-la-xmedieval.ldf}[polyglossia: module for la-xmedieval (Latin)]
@@ -19040,7 +19444,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-la.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-la.ldf}[polyglossia: module for la (Latin)]
@@ -19057,7 +19461,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-lao.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-lao.ldf}[polyglossia: module for Lao]
@@ -19166,7 +19570,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-latin.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-latin.ldf}[polyglossia: module for Latin]
@@ -19787,7 +20191,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
\shorthandoff {"}
\shorthandoff {'}
-\shorthandoff {^}
+\shorthandoff* {^}
\shorthandoff {=}
% The active = character may cause problems with key=value interfaces.
@@ -20274,7 +20678,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-latinclassic.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-latinclassic.ldf}[polyglossia: module for classic Latin]
@@ -20291,7 +20695,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-latinecclesiastic.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-latinecclesiastic.ldf}[polyglossia: module for ecclesiastic Latin]
@@ -20308,7 +20712,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-latinmedieval.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-latinmedieval.ldf}[polyglossia: module for medieval Latin]
@@ -20325,7 +20729,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-latvian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-latvian.ldf}[polyglossia: module for Latvian]
\PolyglossiaSetup{latvian}{
@@ -20380,7 +20784,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-lithuanian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
% Translated by Paulius Sladkevičius <komsas@gmail.com>
@@ -20459,7 +20863,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-lo.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-lo.ldf}[polyglossia: module for lo (Lao)]
@@ -20476,7 +20880,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-lowersorbian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-lowersorbian.ldf}[polyglossia: module for Lower Sorbian]
@@ -20493,7 +20897,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-lsorbian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-lsorbian.ldf}[polyglossia: module for Lower Sorbian]
@@ -20511,7 +20915,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-lt.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-lt.ldf}[polyglossia: module for lt (Lithuanian)]
@@ -20528,7 +20932,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-lv.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-lv.ldf}[polyglossia: module for lv (Latvian)]
@@ -20545,7 +20949,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-macedonian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-macedonian.ldf}[polyglossia: module for Macedonian]
\PolyglossiaSetup{macedonian}{
@@ -20642,7 +21046,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-magyar.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-magyar.ldf}[polyglossia: module for Hungarian (Magyar)]
@@ -20659,7 +21063,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-malay.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-malay.ldf}[polyglossia: module for Malay]
@@ -20856,7 +21260,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-malayalam.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-malayalam.ldf}[polyglossia: module for Malayalam]
@@ -20924,7 +21328,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-marathi.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
% Translations provided by Abhijit Navale <abhi_navale@live.in>
% Ordinals (1-100) added by Niranjan Tambe <niranjanvikastambe@gmail.com> on 14th December, 2019
@@ -21070,7 +21474,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-mk.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-mk.ldf}[polyglossia: module for mk (Macedonian)]
@@ -21087,7 +21491,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ml.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ml.ldf}[polyglossia: module for ml (Malayalam)]
@@ -21104,7 +21508,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-mn.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-mn.ldf}[polyglossia: module for mn (Mongolian)]
@@ -21121,7 +21525,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-mongolian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-mongolian.ldf}[polyglossia: module for Mongolian]
@@ -21358,7 +21762,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-mr.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-mr.ldf}[polyglossia: module for mr (Marathi)]
@@ -21375,7 +21779,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-naustrian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-naustrian.ldf}[polyglossia: module for Austrian German (current spelling)]
@@ -21392,7 +21796,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-nb.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-nb.ldf}[polyglossia: module for nb (Norwegian)]
@@ -21409,7 +21813,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-newzealand.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-newzealand.ldf}[polyglossia: module for Newzealand English]
@@ -21426,7 +21830,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ngerman.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ngerman.ldf}[polyglossia: module for German (current spelling)]
@@ -21443,7 +21847,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-nko.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-nko.ldf}[Polyglossia: module for N’Ko]
\PolyglossiaSetup{nko}{%
@@ -21539,7 +21943,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-norsk.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-norsk.ldf}[polyglossia: module for Norwegian (Bokmal)]
@@ -21557,7 +21961,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-norwegian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-norwegian.ldf}[polyglossia: module for Norwegian]
\PolyglossiaSetup{norwegian}{
@@ -21682,7 +22086,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-nswissgerman.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-nswissgerman.ldf}[polyglossia: module for Swiss German (current spelling)]
@@ -21699,7 +22103,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-nynorsk.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-nynorsk.ldf}[polyglossia: module for Norwegian (Nynorsk)]
@@ -21717,7 +22121,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-occitan.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
%%
%% This is file `gloss-occitan.ldf',
@@ -21888,13 +22292,30 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
% \end{macrocode}
% \iffalse
%</gloss-occitan.ldf>
+%<*gloss-pa.ldf>
+% \fi
+% \clearpage
+%
+% \subsection{gloss-pa.ldf}
+% \begin{macrocode}
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
+%
+\ProvidesFile{gloss-pa.ldf}[polyglossia: module for pa (Punjabi)]
+
+% We provide this as a bcp47-compliant alias
+
+\xpg@load@master@language{punjabi}
+
+% \end{macrocode}
+% \iffalse
+%</gloss-pa.ldf>
%<*gloss-persian.ldf>
% \fi
% \clearpage
%
% \subsection{gloss-persian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-persian.ldf}[polyglossia: module for Persian]
@@ -22044,7 +22465,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
% \subsection{gloss-piedmontese.ldf}
% \begin{macrocode}
% !TEX encoding = UTF-8 Unicode
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-piedmontese.ldf}[2013/02/12 v1.0 polyglossia: module for Piedmontese]
\makeatletter
@@ -22172,7 +22593,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-polish.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-polish.ldf}[polyglossia: module for Polish]
@@ -22428,7 +22849,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-polutonikogreek.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-polutonikogreek.ldf}[polyglossia: module for polytonic Greek]
@@ -22445,7 +22866,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-portuges.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-portuges.ldf}[polyglossia: module for Portuguese]
@@ -22465,7 +22886,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-portuguese.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-portuguese.ldf}[polyglossia: module for Portuguese]
@@ -22686,13 +23107,129 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
% \end{macrocode}
% \iffalse
%</gloss-portuguese.ldf>
+%<*gloss-punjabi.ldf>
+% \fi
+% \clearpage
+%
+% \subsection{gloss-punjabi.ldf}
+% \begin{macrocode}
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
+%
+% UTF-8 strings kindly provided by
+% Arvinder Singh Kang, <17-11-2022>
+% Amanpreet Singh Brar <17-11-2022>
+% Amandeep Singh Saini <17-11-2022>
+
+\ProvidesFile{gloss-punjabi.ldf}[polyglossia: module for Panjabi/Punjabi/pa-Gurmukhi]
+\RequirePackage{gurmukhidigits}
+\PolyglossiaSetup{punjabi}{
+ bcp47=pa,
+ script=Gurmukhi,
+ scripttag=gur,
+ langtag=pan,
+%% hyphennames={panjabi,punjabi,gurmukhi}, TODO: implement fallback patterns (with ! prefix)
+ fontsetup=true,
+ localnumeral=punjabinumerals
+ %TODO nouppercase=true,
+}
+
+% BCP-47 compliant aliases
+\setlanguagealias*{punjabi}{pa}
+
+\def\punjabi@language{%
+ % patterns are spelled panjabi
+ \polyglossia@setup@language@patterns{panjabi}%
+}
+
+\newif\ifpunjabi@gurmukhi@numerals
+\punjabi@gurmukhi@numeralstrue
+\define@choicekey*+{punjabi}{numerals}[\xpg@val\xpg@nr]{Gurmukhi,Western}[Gurmukhi]{%
+ \ifcase\xpg@nr\relax
+ % Gurmukhi:
+ \punjabi@gurmukhi@numeralstrue%
+ \or
+ % Western:
+ \punjabi@gurmukhi@numeralsfalse%
+ \fi
+ \xpg@info{Option: Punjabi, numerals=\xpg@val}%
+}{\xpg@warning{Unknown Punjabi numeral `#1'}}
+
+% Register default options
+\xpg@initialize@gloss@options{punjabi}{numerals=gurmukhi}
+
+\newcommand{\punjabinumerals}[2]{\punjabinumber{#2}}
+
+\def\punjabinumber#1{%
+ \ifpunjabi@gurmukhi@numerals
+ \gurmukhidigits{\number#1}%
+ \else
+ \number#1%
+ \fi}
+
+\let\punjabinumeral=\punjabinumber
+
+\def\captionspunjabi{%
+ \def\abstractname{ਨਿਚੋੜ}%
+ \def\appendixname{ਅੰਤਿਕਾ}%
+ \def\bibname{ਪੁਸਤਕ ਸੂਚੀ}%
+ \def\ccname{}%
+ \def\chaptername{ਖੰਡ}%
+ \def\contentsname{ਸਮਗਰੀ ਸੂਚੀ}%
+ \def\enclname{ਨੱਥੀ}%
+ \def\figurename{ਚਿੱਤਰ}%
+ \def\headpagename{ਪਲੇਠਾ-ਪੰਨਾ}%
+ \def\headtoname{}%
+ \def\indexname{ਸੂਚੀ}%
+ \def\listfigurename{ਚਿੱਤਰਾਂ ਦੀ ਸੂਚੀ}%
+ \def\listtablename{ਸਾਰਣੀ}%
+ \def\pagename{ਪੰਨਾ}%
+ \def\partname{ਭਾਗ}%
+ \def\prefacename{ਮੁੱਖਬੰਦ}%
+ \def\refname{ਹਵਾਲੇ}%
+ \def\tablename{ਸਾਰਣੀ}%
+ \def\seename{ਵੇਖੋ}%
+ \def\alsoname{ਹੋਰ ਵੇਖੋ}%
+ \def\alsoseename{ਹੋਰ ਵੇਖੋ}%
+}
+\def\datepunjabi{%
+ \def\today{\punjabinumber\day\space\ifcase\month\or
+ ਜਨਵਰੀ\or
+ ਫਰਵਰੀ\or
+ ਮਾਰਚ\or
+ ਅਪ੍ਰੈਲ\or
+ ਮਈ\or
+ ਜੂਨ\or
+ ਜੁਲਾਈ\or
+ ਅਗਸਤ\or
+ ਸਤੰਬਰ\or
+ ਅਕਤੂਬਰ\or
+ ਨਵੰਬਰ\or
+ ਦਸੰਬਰ\fi
+ \space\punjabinumber\year}%
+}
+
+% Save original \MakeUppercase definition
+\let\xpg@save@MakeUppercase\MakeUppercase
+
+\def\blockextras@punjabi{%
+ \def\MakeUppercase##1{##1}%
+}
+
+\def\noextras@punjabi{%
+ % restore original \MakeUppercase definition
+ \let\MakeUppercase\xpg@save@MakeUppercase%
+}
+
+% \end{macrocode}
+% \iffalse
+%</gloss-punjabi.ldf>
%<*gloss-romanian.ldf>
% \fi
% \clearpage
%
% \subsection{gloss-romanian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-romanian.ldf}[polyglossia: module for Romanian]
@@ -22749,7 +23286,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-romansh.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-romansh.ldf}[polyglossia: module for Romansh]
\makeatletter
@@ -22805,7 +23342,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-russian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-russian.ldf}[polyglossia: module for Russian]
@@ -23197,7 +23734,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-sami.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-sami.ldf}[polyglossia: module for Sami]
@@ -23299,7 +23836,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-samin.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-samin.ldf}[polyglossia: module for Northern Sami]
@@ -23317,7 +23854,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-sanskrit.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-sanskrit.ldf}[polyglossia: module for Sanskrit]
@@ -23471,7 +24008,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-scottish.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-scottish.ldf}[polyglossia: module for Scottish Gaelic]
@@ -23489,7 +24026,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-serbian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-serbian.ldf}[polyglossia: module for Serbian]
%TODO split into gloss-serbiancyr.ldf and gloss-serbianlat.ldf
@@ -23797,7 +24334,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-serbianc.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-serbianc.ldf}[polyglossia: module for Serbian (cyrillic)]
@@ -23814,7 +24351,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-slovak.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-slovak.ldf}[polyglossia: module for Slovak]
@@ -24078,7 +24615,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-slovene.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-slovene.ldf}[polyglossia: module for Slovenian]
@@ -24095,7 +24632,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-slovenian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-slovenian.ldf}[polyglossia: module for Slovenian]
@@ -24185,7 +24722,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-sorbian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-sorbian.ldf}[polyglossia: module for Sorbian]
@@ -24374,7 +24911,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-spanish.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-spanish.ldf}[polyglossia: module for Spanish]
@@ -24611,7 +25148,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-spanishmx.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-spanishmx.ldf}[polyglossia: module for Mexican Spanish]
@@ -24628,7 +25165,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-swedish.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-swedish.ldf}[polyglossia: module for Swedish]
@@ -24691,7 +25228,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-swissgerman.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-swissgerman.ldf}[polyglossia: module for Swiss German (old spelling)]
@@ -24708,7 +25245,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-syriac.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-syriac.ldf}[polyglossia: module for Syriac]
@@ -24894,7 +25431,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-tamil.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-tamil.ldf}[polyglossia: module for Tamil]
@@ -24962,7 +25499,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-telugu.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-telugu.ldf}[polyglossia: module for Telugu]
@@ -25033,7 +25570,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-thai.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-thai.ldf}[polyglossia: module for Thai]
%% This is partly based on thai-latex for Babel:
@@ -25184,7 +25721,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-tibetan.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-tibetan.ldf}[polyglossia: module for Tibetan]
%% Copyright 2013 Elie Roux
@@ -25405,7 +25942,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-turkish.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-turkish.ldf}[polyglossia: module for Turkish]
\RequirePackage{hijrical}
@@ -25521,7 +26058,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-turkmen.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-turkmen.ldf}[polyglossia: module for Turkmen]
%% Translations provided by Nazar Annagurban <nazartm at gmail dot com>
@@ -25577,7 +26114,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ug.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ug.ldf}[polyglossia: module for ug (Uyghur)]
% BCP 47 tag for Uyghur
@@ -25593,7 +26130,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-ukrainian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-ukrainian.ldf}[polyglossia: module for Ukrainian]
% Strings taken from Babel
@@ -25886,7 +26423,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-uppersorbian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-uppersorbian.ldf}[polyglossia: module for Upper Sorbian]
@@ -25903,7 +26440,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-urdu.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
%%% Adapted from a file contributed by Kamal Abdali
\ProvidesFile{gloss-urdu.ldf}[polyglossia: module for Urdu]
@@ -26059,7 +26596,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-usorbian.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-usorbian.ldf}[polyglossia: module for Upper Sorbian]
@@ -26077,7 +26614,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-uyghur.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-uyghur.ldf}[polyglossia: module for Uyghur]
%% Translations provided by Osman Tursun (Github Account: neouyghur)
@@ -26516,7 +27053,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-vietnamese.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-vietnamese.ldf}[polyglossia: module for Vietnamese]
%% Strings contributed by Daniel Owens < dhowens . pmbx . net >
@@ -26573,7 +27110,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
%
% \subsection{gloss-welsh.ldf}
% \begin{macrocode}
-% Language definition file (part of polyglossia v1.58 -- 2022/10/26)
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
%
\ProvidesFile{gloss-welsh.ldf}[polyglossia: module for Welsh]
@@ -26665,6 +27202,40 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages
% \end{macrocode}
% \iffalse
%</gloss-welsh.ldf>
+%<*gloss-zh-CN.ldf>
+% \fi
+% \clearpage
+%
+% \subsection{gloss-zh-CN.ldf}
+% \begin{macrocode}
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
+%
+\ProvidesFile{gloss-zh-CN.ldf}[polyglossia: module for zh-CN (Chinese)]
+
+% We provide this as a bcp47-compliant alias
+
+\xpg@load@master@language{chinese}
+
+% \end{macrocode}
+% \iffalse
+%</gloss-zh-CN.ldf>
+%<*gloss-zh-TW.ldf>
+% \fi
+% \clearpage
+%
+% \subsection{gloss-zh-TW.ldf}
+% \begin{macrocode}
+% Language definition file (part of polyglossia v1.59 -- 2022/11/29)
+%
+\ProvidesFile{gloss-zh-TW.ldf}[polyglossia: module for zh-TW (Chinese)]
+
+% We provide this as a bcp47-compliant alias
+
+\xpg@load@master@language{chinese}
+
+% \end{macrocode}
+% \iffalse
+%</gloss-zh-TW.ldf>
%<*arabicdigits.map>
% \fi
% \clearpage
@@ -26765,6 +27336,31 @@ U+0039 <> U+06F9 ;
% \end{macrocode}
% \iffalse
%</farsidigits.map>
+%<*gurmukhidigits.map>
+% \fi
+% \clearpage
+%
+% \subsection{gurmukhidigits.map}
+% \begin{macrocode}
+; FC ...
+LHSName "Digits"
+RHSName "GurmukhiDigits"
+
+pass(Unicode)
+U+0030 <> U+0A66 ;
+U+0031 <> U+0A67 ;
+U+0032 <> U+0A68 ;
+U+0033 <> U+0A69 ;
+U+0034 <> U+0A6A ;
+U+0035 <> U+0A6B ;
+U+0036 <> U+0A6C ;
+U+0037 <> U+0A6D ;
+U+0038 <> U+0A6E ;
+U+0039 <> U+0A6F ;
+
+% \end{macrocode}
+% \iffalse
+%</gurmukhidigits.map>
%<*thaidigits.map>
% \fi
% \clearpage
@@ -26798,7 +27394,7 @@ U+0039 <> U+0E59 ;
% \begin{macrocode}
--
-- polyglossia-punct.lua
--- part of polyglossia v1.58 -- 2022/10/26
+-- part of polyglossia v1.59 -- 2022/11/29
--
require('polyglossia-punct')
@@ -26865,7 +27461,7 @@ polyglossia.deactivate_french_punct = deactivate_french_punct
% \begin{macrocode}
--
-- polyglossia-korean.lua
--- part of polyglossia v1.58 -- 2022/10/26
+-- part of polyglossia v1.59 -- 2022/11/29
--
local glyph_id = node.id"glyph"
@@ -27483,7 +28079,7 @@ prepend_to_callback ("hpack_filter",
% \begin{macrocode}
--
-- polyglossia-latin.lua
--- part of polyglossia v1.58 -- 2022/10/26
+-- part of polyglossia v1.59 -- 2022/11/29
--
require('polyglossia-punct')
@@ -27538,7 +28134,7 @@ polyglossia.deactivate_latin_punct = deactivate_latin_punct
% \begin{macrocode}
--
-- polyglossia-punct.lua
--- part of polyglossia v1.58 -- 2022/10/26
+-- part of polyglossia v1.59 -- 2022/11/29
--
require('polyglossia') -- just in case...
@@ -27906,7 +28502,7 @@ polyglossia.clear_spaced_characters = clear_spaced_characters
% \begin{macrocode}
--
-- polyglossia-sanskrit.lua
--- part of polyglossia v1.58 -- 2022/10/26
+-- part of polyglossia v1.59 -- 2022/11/29
--
require('polyglossia-punct')
@@ -27956,7 +28552,7 @@ polyglossia.deactivate_sanskrit_punct = deactivate_sanskrit_punct
% \begin{macrocode}
--
-- polyglossia-tibt.lua
--- part of polyglossia v1.58 -- 2022/10/26
+-- part of polyglossia v1.59 -- 2022/11/29
--
require('polyglossia') -- just in case...
@@ -28059,7 +28655,7 @@ polyglossia.desactivate_tibt_eol = desactivate
% \begin{macrocode}
--
-- polyglossia.lua
--- part of polyglossia v1.58 -- 2022/10/26
+-- part of polyglossia v1.59 -- 2022/11/29
--
local module_name = "polyglossia"