summaryrefslogtreecommitdiff
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
parent8bcb0bdbed8e8df6a76b01d3adf580afb27c1a76 (diff)
polyglossia (29nov22)
git-svn-id: svn://tug.org/texlive/trunk@65144 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/polyglossia/README.md4
-rw-r--r--Master/texmf-dist/doc/latex/polyglossia/example-arabic.pdfbin70945 -> 71145 bytes
-rw-r--r--Master/texmf-dist/doc/latex/polyglossia/example-chinese.pdfbin0 -> 42484 bytes
-rw-r--r--Master/texmf-dist/doc/latex/polyglossia/example-chinese.tex61
-rw-r--r--Master/texmf-dist/doc/latex/polyglossia/example-japanese.pdfbin0 -> 22842 bytes
-rw-r--r--Master/texmf-dist/doc/latex/polyglossia/example-japanese.tex33
-rw-r--r--Master/texmf-dist/doc/latex/polyglossia/example-korean.pdfbin20154 -> 20189 bytes
-rw-r--r--Master/texmf-dist/doc/latex/polyglossia/example-thai.pdfbin13490 -> 13710 bytes
-rw-r--r--Master/texmf-dist/doc/latex/polyglossia/examples.pdfbin148339 -> 148718 bytes
-rw-r--r--Master/texmf-dist/doc/latex/polyglossia/polyglossia.pdfbin354667 -> 352430 bytes
-rw-r--r--Master/texmf-dist/doc/latex/polyglossia/polyglossia.tex537
-rw-r--r--Master/texmf-dist/fonts/misc/xetex/fontmapping/polyglossia/gurmukhidigits.map16
-rw-r--r--Master/texmf-dist/fonts/misc/xetex/fontmapping/polyglossia/gurmukhidigits.tecbin0 -> 183 bytes
-rw-r--r--Master/texmf-dist/source/latex/polyglossia/polyglossia.dtx1662
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-acadien.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-aeb.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-af.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-afb.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-afrikaans.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-albanian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-am.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-american.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-amharic.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-apd.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ar-IQ.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ar-JO.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ar-LB.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ar-MR.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ar-PS.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ar-SY.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ar-YE.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ar.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-arabic.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-armenian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-arq.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ary.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-arz.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ast.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-asturian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-australian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-austrian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ayl.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-bahasa.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-bahasai.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-bahasam.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-basque.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-be-tarask.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-be.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-belarusian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-bengali.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-bg.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-bn.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-bo.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-bosnian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-br.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-brazil.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-breton.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-british.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-bs.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-bulgarian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ca.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-canadian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-canadien.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-catalan.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-chinese.ldf275
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ckb-Arab.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ckb-Latn.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ckb.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-cop.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-coptic.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-croatian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-cy.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-cz.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-czech.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-da.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-danish.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT-1901.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT-1996.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH-1901.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH-1996.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE-1901.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE-1996.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT-1901.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT-1996.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH-1901.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH-1996.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE-1901.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE-1996.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-de.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-divehi.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-dsb.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-dutch.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-dv.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-el-monoton.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-el-polyton.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-el.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-en-AU.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-en-CA.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-en-GB.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-en-NZ.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-en-US.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-en.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-english.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-eo.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-es-ES.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-es-MX.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-es.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-esperanto.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-estonian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-et.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-eu.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-fa.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-farsi.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-fi.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-finnish.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CA.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CH.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-fr-FR.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-fr.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-french.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-friulan.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-friulian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-fur.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ga.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-gaelic.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-galician.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-gd.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-georgian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-germanb.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-gl.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-grc.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-greek.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-he.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-hebrew.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-hi.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-hindi.ldf22
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-hr.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-hsb.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-hu.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-hungarian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-hy.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ia.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-icelandic.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-id.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-interlingua.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-irish.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-is.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-it.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-italian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ja.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-japanese.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ka.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-kannada.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-khmer.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-km.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-kmr-Arab.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-kmr-Latn.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-kmr.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-kn.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ko.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-korean.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ku-Arab.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ku-Latn.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ku.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-kurdish.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-kurmanji.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-classic.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-ecclesia.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-medieval.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-la.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-lao.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-latex.lde4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-latin.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-latinclassic.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-latinecclesiastic.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-latinmedieval.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-latvian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-lithuanian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-lo.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-lowersorbian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-lsorbian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-lt.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-lv.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-macedonian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-magyar.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-malay.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-malayalam.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-marathi.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-mk.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ml.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-mn.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-mongolian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-mr.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-naustrian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-nb.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-newzealand.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ngerman.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-nko.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-norsk.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-norwegian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-nswissgerman.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-nynorsk.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-occitan.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-pa.ldf9
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-persian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-piedmontese.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-polish.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-polutonikogreek.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-portuges.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-portuguese.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-punjabi.ldf108
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-romanian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-romansh.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-sami.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-samin.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-sanskrit.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-scottish.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-serbian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-serbianc.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-slovak.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-slovene.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-slovenian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-sorbian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-spanish.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-spanishmx.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-swedish.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-swissgerman.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-syriac.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-tamil.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-telugu.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-thai.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-turkish.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-turkmen.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ug.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ukrainian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-uppersorbian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-urdu.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-usorbian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-uyghur.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-vietnamese.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-welsh.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-zh-CN.ldf9
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-zh-TW.ldf9
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gurmukhidigits.sty13
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/polyglossia-french.lua2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/polyglossia-korean.lua2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/polyglossia-latin.lua2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/polyglossia-punct.lua2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/polyglossia-sanskrit.lua2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/polyglossia-tibt.lua2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/polyglossia.lua2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/polyglossia.sty119
262 files changed, 2302 insertions, 1059 deletions
diff --git a/Master/texmf-dist/doc/latex/polyglossia/README.md b/Master/texmf-dist/doc/latex/polyglossia/README.md
index a1535f3c206..42a811d93a3 100644
--- a/Master/texmf-dist/doc/latex/polyglossia/README.md
+++ b/Master/texmf-dist/doc/latex/polyglossia/README.md
@@ -1,8 +1,8 @@
-# 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:
diff --git a/Master/texmf-dist/doc/latex/polyglossia/example-arabic.pdf b/Master/texmf-dist/doc/latex/polyglossia/example-arabic.pdf
index 13b4ef59d18..00a647cefe8 100644
--- a/Master/texmf-dist/doc/latex/polyglossia/example-arabic.pdf
+++ b/Master/texmf-dist/doc/latex/polyglossia/example-arabic.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/polyglossia/example-chinese.pdf b/Master/texmf-dist/doc/latex/polyglossia/example-chinese.pdf
new file mode 100644
index 00000000000..f46817a3c7c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/polyglossia/example-chinese.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/polyglossia/example-chinese.tex b/Master/texmf-dist/doc/latex/polyglossia/example-chinese.tex
new file mode 100644
index 00000000000..57b6e4ba1b0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/polyglossia/example-chinese.tex
@@ -0,0 +1,61 @@
+\documentclass{article}
+\usepackage{fontspec}
+\usepackage{polyglossia}
+\setdefaultlanguage{chinese}
+\setotherlanguage{english}
+% Package noto, notoCJKsc
+\setmainfont{Noto Serif CJK SC}[Script=CJK]
+\newfontfamily\chinesefont{Noto Serif CJK SC}[Script=CJK]
+% Package arphic-ttf
+%\setmainfont{bkai00mp.ttf}[Script=CJK]% ZenKai-Medium
+%\setmainfont{bsmi00lp.ttf}[Script=CJK]% ShanHeiSun-Light
+%\setmainfont{gbsn00lp.ttf}[Script=CJK]% BousungEG-Light-GB
+%\setmainfont{gkai00mp.ttf}[Script=CJK]% GBZenKai-Medium
+\begin{document}
+\XeTeXlinebreaklocale "zh"
+\XeTeXlinebreakskip=0em plus 0.1em minus 0.01em
+\parindent0em
+
+\begin{center}
+ \abstractname
+\end{center}
+\begin{english}
+All human beings are born free and equal in dignity and rights.
+They are endowed with reason and conscience and should act towards one another in a spirit of brotherhood.
+\footnote{%
+ This is a footnote.}
+
+This is today: \today
+\end{english}
+
+\section{第一条 (简体中文, Simplified Chinese)}
+
+人人生而自由、在尊严和权利上一律平等。他们赋有理性和良心、并应以兄弟关系的精神相对待。
+
+\today
+
+localnumeral: \localnumeral{1863}, chinesenumeral: \chinesenumeral{1863}
+
+\renewfontfamily\chinesefont{Noto Serif CJK TC}[Script=CJK]
+\begin{chinese}[variant=traditional,numerals=chinese]
+
+\section{第一條 (繁體中文, Traditional Chinese)}
+
+人人生而自由、在尊嚴和權利上一律平等。他們賦有理性和良心、並應以兄弟關係的精神相對待。
+
+\today
+
+localnumeral: \localnumeral{1863}, chinesenumeral: \chinesenumeral{1863}
+
+\end{chinese}
+
+\section{numeral}
+\begin{english}
+
+numerals=arabic: \textchinese[numerals=arabic]{\localnumeral{1863}, \chinesenumeral{1863}}
+
+numerals=chinese: \textchinese[numerals=chinese]{\localnumeral{1863}, \chinesenumeral{1863}}
+
+\end{english}
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/polyglossia/example-japanese.pdf b/Master/texmf-dist/doc/latex/polyglossia/example-japanese.pdf
new file mode 100644
index 00000000000..92e7734be42
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/polyglossia/example-japanese.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/polyglossia/example-japanese.tex b/Master/texmf-dist/doc/latex/polyglossia/example-japanese.tex
new file mode 100644
index 00000000000..e446d245d96
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/polyglossia/example-japanese.tex
@@ -0,0 +1,33 @@
+\documentclass{article}
+\usepackage{fontspec}
+\usepackage{polyglossia}
+\setdefaultlanguage{japanese}
+\setotherlanguage{english}
+\setmainfont{Noto Serif CJK JP}[Script=CJK]
+\newfontfamily\japanesefont{Noto Serif CJK JP}[Script=CJK]
+\begin{document}
+\XeTeXlinebreaklocale "ja"
+\XeTeXlinebreakskip=0em plus 0.1em minus 0.01em
+\parindent0em
+
+\begin{center}
+ \abstractname
+\end{center}
+\begin{english}
+All human beings are born free and equal in dignity and rights.
+They are endowed with reason and conscience and should act towards one another in a spirit of brotherhood.
+\footnote{%
+ This is a footnote.}
+
+This is today: \today
+\end{english}
+
+\section{第一条}
+
+すべての人間は、生まれながらにして自由であり、かつ、尊厳と権利とについて平等である。人間は、理性と良心とを授けられており、互いに同胞の精神をもって行動しなければならない。
+
+\today
+
+localnumeral: \localnumeral{1863}
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/polyglossia/example-korean.pdf b/Master/texmf-dist/doc/latex/polyglossia/example-korean.pdf
index 2060dcbf8a5..a32a5520665 100644
--- a/Master/texmf-dist/doc/latex/polyglossia/example-korean.pdf
+++ b/Master/texmf-dist/doc/latex/polyglossia/example-korean.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/polyglossia/example-thai.pdf b/Master/texmf-dist/doc/latex/polyglossia/example-thai.pdf
index a8bc7e0d746..9f8677a27d1 100644
--- a/Master/texmf-dist/doc/latex/polyglossia/example-thai.pdf
+++ b/Master/texmf-dist/doc/latex/polyglossia/example-thai.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/polyglossia/examples.pdf b/Master/texmf-dist/doc/latex/polyglossia/examples.pdf
index 03f86c5f8ef..1e6c5a9a0d5 100644
--- a/Master/texmf-dist/doc/latex/polyglossia/examples.pdf
+++ b/Master/texmf-dist/doc/latex/polyglossia/examples.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/polyglossia/polyglossia.pdf b/Master/texmf-dist/doc/latex/polyglossia/polyglossia.pdf
index 7aa9a9dd175..e953bfc7aa6 100644
--- a/Master/texmf-dist/doc/latex/polyglossia/polyglossia.pdf
+++ b/Master/texmf-dist/doc/latex/polyglossia/polyglossia.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/polyglossia/polyglossia.tex b/Master/texmf-dist/doc/latex/polyglossia/polyglossia.tex
index 4db00f29b33..eaad6bbccfd 100644
--- a/Master/texmf-dist/doc/latex/polyglossia/polyglossia.tex
+++ b/Master/texmf-dist/doc/latex/polyglossia/polyglossia.tex
@@ -21,14 +21,25 @@
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}}
@@ -46,7 +57,9 @@
\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}}}
@@ -101,15 +114,34 @@
\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
@@ -124,7 +156,7 @@
\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}
@@ -222,29 +254,29 @@ that are explained in section \ref{specific} below.
\begin{table}[ht]\centering
\caption{\label{tab:lang}Languages currently supported in \pkg{polyglossia}}
-% Produced with tools/insert-language-list.rb -- JS, 2019-11-01
-% Edited by hand -- JS, 2019-11-01
+% Produced with tools/insert-language-list.rb -- JS, 2022-11-23
+% 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
@@ -355,171 +387,175 @@ language switching commands\slash environments documented in section~\ref{sec:ba
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
@@ -530,8 +566,8 @@ Table~\ref{tab:BCP47-polyglossia} lists the currently supported tags.
\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.
@@ -649,7 +685,7 @@ ought to be mentioned here.
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
@@ -665,8 +701,8 @@ ought to be mentioned here.
\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}
@@ -728,7 +764,7 @@ which override the hyphenation patterns for specified words. The command takes a
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
@@ -759,7 +795,7 @@ To change this value, \pkg{polyglossia} provides the command\new{1.50}
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.
@@ -810,13 +846,12 @@ and that passing \xpgvalue{babelshorthands} (without value) is equivalent to pas
\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}
@@ -908,7 +943,7 @@ and that passing \xpgvalue{babelshorthands} (without value) is equivalent to pas
\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}
@@ -926,6 +961,18 @@ and that passing \xpgvalue{babelshorthands} (without value) is equivalent to pas
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}
@@ -1278,7 +1325,7 @@ and that passing \xpgvalue{babelshorthands} (without value) is equivalent to pas
\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}
@@ -1431,7 +1478,7 @@ and that passing \xpgvalue{babelshorthands} (without value) is equivalent to pas
\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.
@@ -1551,7 +1598,7 @@ and that passing \xpgvalue{babelshorthands} (without value) is equivalent to pas
\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}
@@ -1634,7 +1681,6 @@ Currently, only the Khalkha variety in Cyrillic script is supported.
\item \Cmd\aemph (see section \ref{arabic}).
\end{itemize}
-
\subsection{polish}\label{polish}
\paragraph*{Options:}
@@ -1706,6 +1752,12 @@ Currently, only the Khalkha variety in Cyrillic script is supported.
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}
@@ -1790,9 +1842,9 @@ Currently support for Sami is limited to Northern Sami.
\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}
@@ -2127,7 +2179,7 @@ by \cmd\makeatletter\ and \cmd\makeatother\ due to the ¦@¦ in the macro names.
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
@@ -2198,6 +2250,7 @@ Currently, the following macros are provided:
\item \Cmd\bengalidigits
\item \Cmd\devanagaridigits
\item \Cmd\farsidigits
+ \item \Cmd\gurmukhidigits
\item \Cmd\kannadadigits
\item \Cmd\khmerdigits
\item \Cmd\laodigits
@@ -2242,6 +2295,11 @@ The following macros are provided:
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}}.
@@ -2249,9 +2307,10 @@ The following macros are provided:
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}},
@@ -2263,6 +2322,9 @@ The following macros are provided:
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
@@ -2377,7 +2439,7 @@ Example: today is \Jalalitoday.
\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.
@@ -2424,18 +2486,33 @@ In order to get such information, \pkg{polyglossia} provides the following macro
\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}
@@ -2658,7 +2735,7 @@ where \meta{type} is a supported language id type (such as ¦bcp-47¦) and \meta
\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}
@@ -2779,7 +2856,7 @@ where \meta{type} is a supported language id type (such as ¦bcp-47¦) and \meta
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
@@ -2799,7 +2876,7 @@ where \meta{type} is a supported language id type (such as ¦bcp-47¦) and \meta
\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.
@@ -2847,7 +2924,7 @@ where \meta{type} is a supported language id type (such as ¦bcp-47¦) and \meta
\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.
@@ -3173,12 +3250,12 @@ where \meta{type} is a supported language id type (such as ¦bcp-47¦) and \meta
\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,
@@ -3191,7 +3268,7 @@ where \meta{type} is a supported language id type (such as ¦bcp-47¦) and \meta
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
@@ -3208,7 +3285,7 @@ where \meta{type} is a supported language id type (such as ¦bcp-47¦) and \meta
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)
@@ -3335,8 +3412,8 @@ In alphabetical order: \TA{Ignas Anikevicius}, \TA{Sina Ahmadi}, \TA{Wouter Bols
\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}.
diff --git a/Master/texmf-dist/fonts/misc/xetex/fontmapping/polyglossia/gurmukhidigits.map b/Master/texmf-dist/fonts/misc/xetex/fontmapping/polyglossia/gurmukhidigits.map
new file mode 100644
index 00000000000..24bc7c48da9
--- /dev/null
+++ b/Master/texmf-dist/fonts/misc/xetex/fontmapping/polyglossia/gurmukhidigits.map
@@ -0,0 +1,16 @@
+; 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 ;
+
diff --git a/Master/texmf-dist/fonts/misc/xetex/fontmapping/polyglossia/gurmukhidigits.tec b/Master/texmf-dist/fonts/misc/xetex/fontmapping/polyglossia/gurmukhidigits.tec
new file mode 100644
index 00000000000..f8b9f335ed8
--- /dev/null
+++ b/Master/texmf-dist/fonts/misc/xetex/fontmapping/polyglossia/gurmukhidigits.tec
Binary files differ
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"
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-acadien.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-acadien.ldf
index 32198aba374..e74379c6f33 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-acadien.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-acadien.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-aeb.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-aeb.ldf
index ca7e439217a..2f1e66e4eaf 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-aeb.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-aeb.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-af.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-af.ldf
index 86c665947c4..7098d106dbf 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-af.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-af.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-afb.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-afb.ldf
index b96c52453cc..3f12248713d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-afb.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-afb.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-afrikaans.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-afrikaans.ldf
index 46045a30265..a0839c147e1 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-afrikaans.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-afrikaans.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-albanian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-albanian.ldf
index ebf5b0a2c12..ce7af8da643 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-albanian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-albanian.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-am.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-am.ldf
index 3fd2d9f294f..07b6f3202db 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-am.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-am.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-american.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-american.ldf
index f245018c610..c7c088fd32d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-american.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-american.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-amharic.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-amharic.ldf
index ac33feabe34..651d8fee6a0 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-amharic.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-amharic.ldf
@@ -1,4 +1,4 @@
-% 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}{
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-apd.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-apd.ldf
index ddd09a7809a..be7be677abe 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-apd.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-apd.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-IQ.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-IQ.ldf
index c465013ee95..628f56b5b5f 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-IQ.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-IQ.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-JO.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-JO.ldf
index dd9abb84915..9cceea3024c 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-JO.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-JO.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-LB.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-LB.ldf
index 0812e4ad6f9..1b6c58b6b32 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-LB.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-LB.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-MR.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-MR.ldf
index e5f5e8d351b..e45fdcf2a66 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-MR.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-MR.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-PS.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-PS.ldf
index 2b9de34ab29..17fb51263a2 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-PS.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-PS.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-SY.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-SY.ldf
index d06e4f588cf..8acc1aac323 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-SY.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-SY.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-YE.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-YE.ldf
index 5bb8f884af7..207e13da0ea 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-YE.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-YE.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ar.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ar.ldf
index f630e0ebe21..a042a6bf8ea 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ar.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ar.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-arabic.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-arabic.ldf
index 3e41b6c2012..42ceeec495f 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-arabic.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-arabic.ldf
@@ -1,4 +1,4 @@
-% 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
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-armenian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-armenian.ldf
index b7355063f12..22c223602b7 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-armenian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-armenian.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-arq.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-arq.ldf
index 2f5965eb7d0..f629234eb59 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-arq.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-arq.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ary.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ary.ldf
index 71f78e7611f..6199d2438ac 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ary.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ary.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-arz.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-arz.ldf
index 2da9018366e..9a6cc1f16ad 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-arz.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-arz.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ast.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ast.ldf
index 07f47fcee6e..7904c8743ec 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ast.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ast.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-asturian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-asturian.ldf
index 498eb1bab2b..f8ead2e50de 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-asturian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-asturian.ldf
@@ -1,4 +1,4 @@
-% 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>
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-australian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-australian.ldf
index f2c596355c3..c7768d90e61 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-australian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-australian.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-austrian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-austrian.ldf
index f91d2b0e6f8..768960b1a03 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-austrian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-austrian.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ayl.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ayl.ldf
index 3119917922e..c6a0d209673 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ayl.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ayl.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasa.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasa.ldf
index 8e95842542d..02be0ab0fe2 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasa.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasa.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasai.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasai.ldf
index ba22e77489a..92a9537d03d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasai.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasai.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasam.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasam.ldf
index 098a2da7e34..7dbf8e1e966 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasam.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasam.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-basque.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-basque.ldf
index 2b15d7dc4d3..659f02f9704 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-basque.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-basque.ldf
@@ -1,4 +1,4 @@
-% 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}{
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-be-tarask.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-be-tarask.ldf
index d9009d0e603..b3494918e04 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-be-tarask.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-be-tarask.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-be.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-be.ldf
index 9b2e80cdeb2..820060e6b2c 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-be.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-be.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-belarusian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-belarusian.ldf
index 775126a0b37..07d1fa2b2de 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-belarusian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-belarusian.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-bengali.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-bengali.ldf
index 834f9b85c98..75699ee3503 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-bengali.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-bengali.ldf
@@ -1,4 +1,4 @@
-% 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
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-bg.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-bg.ldf
index 4f0fa1d0130..1802dbee45e 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-bg.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-bg.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-bn.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-bn.ldf
index fa18afa30b3..e90ef943899 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-bn.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-bn.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-bo.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-bo.ldf
index 30979aba2e1..fa4492d13c2 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-bo.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-bo.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-bosnian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-bosnian.ldf
index 09cbe6a8d2a..e378ead801a 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-bosnian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-bosnian.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-br.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-br.ldf
index 30f52b692eb..29a7eca5f03 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-br.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-br.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-brazil.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-brazil.ldf
index 28049df6497..81238933676 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-brazil.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-brazil.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-breton.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-breton.ldf
index c1c31b37e35..ad88b229629 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-breton.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-breton.ldf
@@ -1,4 +1,4 @@
-% 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}{
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-british.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-british.ldf
index 3983be34b1c..ad13a006aa3 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-british.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-british.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-bs.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-bs.ldf
index 3f0104bcf1a..14412290351 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-bs.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-bs.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-bulgarian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-bulgarian.ldf
index f3b4d04c9c3..b5342ae0051 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-bulgarian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-bulgarian.ldf
@@ -1,4 +1,4 @@
-% 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}{
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ca.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ca.ldf
index ef908842dbc..8d71237abc1 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ca.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ca.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-canadian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-canadian.ldf
index 0f4f2a1689b..7f122f3ae76 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-canadian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-canadian.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-canadien.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-canadien.ldf
index f482449a42d..1ca5b495ed3 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-canadien.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-canadien.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-catalan.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-catalan.ldf
index 06bcdb71917..f798cde6234 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-catalan.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-catalan.ldf
@@ -1,4 +1,4 @@
-% 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}{
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-chinese.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-chinese.ldf
new file mode 100644
index 00000000000..3a8f651c616
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-chinese.ldf
@@ -0,0 +1,275 @@
+% 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
+
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb-Arab.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb-Arab.ldf
index 7a5e787fd60..83f1feb20b5 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb-Arab.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb-Arab.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb-Latn.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb-Latn.ldf
index 87257f0c3c3..e42873c18ce 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb-Latn.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb-Latn.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb.ldf
index fa6211c2e98..8bc7ba4d16f 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-cop.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-cop.ldf
index 5a03b0b1013..c0ef6ed1356 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-cop.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-cop.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-coptic.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-coptic.ldf
index 81ef4dd7674..42053b344b9 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-coptic.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-coptic.ldf
@@ -1,4 +1,4 @@
-% 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}{
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-croatian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-croatian.ldf
index 5a6d78419dd..ea625c7c120 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-croatian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-croatian.ldf
@@ -1,4 +1,4 @@
-% 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}{
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-cy.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-cy.ldf
index 747b1d569c4..3a320dff6bf 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-cy.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-cy.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-cz.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-cz.ldf
index 12bd9d9902f..2b33817093e 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-cz.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-cz.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-czech.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-czech.ldf
index 4fe1a0b0c11..f17235effb1 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-czech.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-czech.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-da.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-da.ldf
index 0ba41107a20..ed2e56e1c0f 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-da.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-da.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-danish.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-danish.ldf
index c7080ac3adf..105e9f2d68f 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-danish.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-danish.ldf
@@ -1,4 +1,4 @@
-% 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}{
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT-1901.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT-1901.ldf
index fcb4e11b915..987af6be16d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT-1901.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT-1901.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT-1996.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT-1996.ldf
index 723c2d6c34f..63ea11d7196 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT-1996.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT-1996.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT.ldf
index a6b341774c3..f40a1aa1b90 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH-1901.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH-1901.ldf
index 85bea38ad93..915ee6b0f54 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH-1901.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH-1901.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH-1996.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH-1996.ldf
index 4dbf716d5c1..45daf433d49 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH-1996.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH-1996.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH.ldf
index e590a758d2e..97aa4ced608 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE-1901.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE-1901.ldf
index 54db090ef5c..ad3bc9fdfcd 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE-1901.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE-1901.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE-1996.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE-1996.ldf
index 2947423b13f..91c95c0dc74 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE-1996.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE-1996.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE.ldf
index 1547fad24fe..6585f2f7001 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT-1901.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT-1901.ldf
index 2888dfdef54..71342243d79 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT-1901.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT-1901.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT-1996.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT-1996.ldf
index 6e3522ac011..2a13b492a41 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT-1996.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT-1996.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT.ldf
index 2a3961ed596..df0d40d99bd 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH-1901.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH-1901.ldf
index e7273cfb345..1c6431b2fc4 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH-1901.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH-1901.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH-1996.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH-1996.ldf
index db11ec5171c..6d34b736814 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH-1996.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH-1996.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH.ldf
index 8ecd8e2b581..863e5097dfc 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE-1901.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE-1901.ldf
index e5a5751a9e0..418188e2277 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE-1901.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE-1901.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE-1996.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE-1996.ldf
index f0a23b9ccad..74210e910e0 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE-1996.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE-1996.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE.ldf
index b400d7f1b6d..a7718799b1d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf.ldf
index 24b8a5a5fa0..54d013b4816 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-de.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-de.ldf
index 92d581f37a2..d2a29d2e74c 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-de.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-de.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-divehi.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-divehi.ldf
index 89d8ccb0b20..3650927a837 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-divehi.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-divehi.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-dsb.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-dsb.ldf
index 3413c452d77..0ca68039343 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-dsb.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-dsb.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-dutch.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-dutch.ldf
index 0c83b31ff52..52dd4f2a2f2 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-dutch.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-dutch.ldf
@@ -1,4 +1,4 @@
-% 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}{
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-dv.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-dv.ldf
index eda56f758b9..c815bff83a0 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-dv.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-dv.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-el-monoton.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-el-monoton.ldf
index 67dfb78407d..102fe03ca37 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-el-monoton.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-el-monoton.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-el-polyton.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-el-polyton.ldf
index c99005c4eaf..ea25ae2799d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-el-polyton.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-el-polyton.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-el.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-el.ldf
index 8c8e90ee077..529234282a2 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-el.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-el.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-en-AU.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-en-AU.ldf
index 02dd5cc7dd9..3321047e9f8 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-en-AU.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-en-AU.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-en-CA.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-en-CA.ldf
index f6deb427e1e..5995fa57af2 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-en-CA.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-en-CA.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-en-GB.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-en-GB.ldf
index 02488bd33ba..5c0c8bf439b 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-en-GB.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-en-GB.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-en-NZ.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-en-NZ.ldf
index c7d0031d0f5..8d6cda10ee1 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-en-NZ.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-en-NZ.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-en-US.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-en-US.ldf
index 01671f8d4e4..7af4c9d9063 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-en-US.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-en-US.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-en.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-en.ldf
index a8567696323..06cec5f23c0 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-en.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-en.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-english.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-english.ldf
index 591fb162271..fd587bcc024 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-english.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-english.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-eo.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-eo.ldf
index 5b3674041c4..808066a7bf7 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-eo.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-eo.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-es-ES.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-es-ES.ldf
index 9f94d648eda..5d5708979a4 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-es-ES.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-es-ES.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-es-MX.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-es-MX.ldf
index ebdf78418e8..ff204d1ae3d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-es-MX.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-es-MX.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-es.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-es.ldf
index 56182dc1b06..f2c58263db6 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-es.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-es.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-esperanto.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-esperanto.ldf
index 3af0bc5f94e..311cf1e27af 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-esperanto.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-esperanto.ldf
@@ -1,4 +1,4 @@
-% 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}{
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-estonian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-estonian.ldf
index ed2d30e2326..6f2612fdf0c 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-estonian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-estonian.ldf
@@ -1,4 +1,4 @@
-% 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}{
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-et.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-et.ldf
index 02eff4a6be2..8c44c895a8e 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-et.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-et.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-eu.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-eu.ldf
index 9155f337138..fce84982a7d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-eu.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-eu.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-fa.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-fa.ldf
index ebf50868e44..735edd5b16f 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-fa.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-fa.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-farsi.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-farsi.ldf
index 36886ebe0c5..8d8c405ffba 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-farsi.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-farsi.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-fi.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-fi.ldf
index 2b7bd897e64..a7f020ba253 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-fi.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-fi.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-finnish.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-finnish.ldf
index 1f5c82b4bb7..d0a4adfe37d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-finnish.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-finnish.ldf
@@ -1,4 +1,4 @@
-% 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}{
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CA.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CA.ldf
index 8fba9b013a0..61c67828463 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CA.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CA.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CH.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CH.ldf
index 92c305bcb00..ef63a4b28a0 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CH.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CH.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-FR.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-FR.ldf
index 41b6539b129..c897dc71851 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-FR.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-FR.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-fr.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-fr.ldf
index 33a8fe7add7..690b40153c3 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-fr.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-fr.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-french.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-french.ldf
index f061c800f57..9eb2b56da98 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-french.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-french.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-friulan.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-friulan.ldf
index 59be4d0eb89..664bc6b8b4b 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-friulan.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-friulan.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-friulian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-friulian.ldf
index 02efe384d3c..c01537993da 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-friulian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-friulian.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-fur.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-fur.ldf
index 2fe86e2751b..2338423cf70 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-fur.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-fur.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ga.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ga.ldf
index f8677fd412c..d37a191439c 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ga.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ga.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-gaelic.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-gaelic.ldf
index b1ab7766b94..63909137e01 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-gaelic.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-gaelic.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-galician.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-galician.ldf
index 0a5a46fcb19..d58a7d44a8c 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-galician.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-galician.ldf
@@ -1,4 +1,4 @@
-% 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}{
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-gd.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-gd.ldf
index 7945180f7b9..04219b244a2 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-gd.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-gd.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-georgian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-georgian.ldf
index 1225209c077..690bee6d93a 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-georgian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-georgian.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf
index e5c76ac40e7..79f8c922bd3 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-germanb.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-germanb.ldf
index 9cf47501613..6b9ec4bf48a 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-germanb.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-germanb.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-gl.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-gl.ldf
index 7e7198ec1d4..727082269c6 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-gl.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-gl.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-grc.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-grc.ldf
index 84e422c1366..38abe4f3875 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-grc.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-grc.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-greek.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-greek.ldf
index c2405163fca..e9eb34b67ee 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-greek.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-greek.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-he.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-he.ldf
index b90f7dda82b..b0ba53c190a 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-he.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-he.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-hebrew.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-hebrew.ldf
index cff61d7cbd2..55868b5807d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-hebrew.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-hebrew.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-hi.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-hi.ldf
index cd5863fb1f6..a4d391fe3e3 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-hi.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-hi.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-hindi.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-hindi.ldf
index efb367b29db..f9e82eb7599 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-hindi.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-hindi.ldf
@@ -1,4 +1,4 @@
-% 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
@@ -36,19 +36,21 @@
\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}}
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-hr.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-hr.ldf
index a48f2c58abf..63893fa68dc 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-hr.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-hr.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-hsb.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-hsb.ldf
index aedf5676f7e..462a44886d5 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-hsb.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-hsb.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-hu.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-hu.ldf
index bea7633a5f4..56e7083387a 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-hu.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-hu.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-hungarian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-hungarian.ldf
index 6a3f0d4a3c8..2ad8941aeff 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-hungarian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-hungarian.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-hy.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-hy.ldf
index 834ee209dcd..e2e7dbc9410 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-hy.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-hy.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ia.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ia.ldf
index 0e61fc79fb2..2e6ccf5a745 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ia.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ia.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-icelandic.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-icelandic.ldf
index b2629be9194..b3d9d31388c 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-icelandic.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-icelandic.ldf
@@ -1,4 +1,4 @@
-% 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}{
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-id.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-id.ldf
index b8c8df6ac0e..1557c576f94 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-id.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-id.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-interlingua.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-interlingua.ldf
index 3c18410f1e8..01c7ef2d952 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-interlingua.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-interlingua.ldf
@@ -1,4 +1,4 @@
-% 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}{
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-irish.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-irish.ldf
index 26cb7049dbd..9047679e86d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-irish.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-irish.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-is.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-is.ldf
index 9e9629ed443..bf22d844ffc 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-is.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-is.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-it.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-it.ldf
index 2b95b4c1ec5..5ceb2869f90 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-it.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-it.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-italian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-italian.ldf
index 53234e854b3..fe63943b6c5 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-italian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-italian.ldf
@@ -1,5 +1,5 @@
% !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}{
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ja.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ja.ldf
index 6d9bb8d4d1e..9032832732d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ja.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ja.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-japanese.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-japanese.ldf
index 17600bac96b..b1b579f5cd5 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-japanese.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-japanese.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ka.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ka.ldf
index e17db31b19a..a08b254b936 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ka.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ka.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-kannada.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-kannada.ldf
index bcf5fbe6cfa..61643c43af4 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-kannada.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-kannada.ldf
@@ -1,5 +1,5 @@
%% 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>,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-khmer.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-khmer.ldf
index ccd19cd0f83..02bffc9b0a5 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-khmer.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-khmer.ldf
@@ -1,4 +1,4 @@
-% 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}{
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-km.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-km.ldf
index e21a9eddccd..b64d65016f7 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-km.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-km.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr-Arab.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr-Arab.ldf
index a3abc57d36f..a88c63ba7a1 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr-Arab.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr-Arab.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr-Latn.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr-Latn.ldf
index 3436fcdb673..8b66d70019d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr-Latn.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr-Latn.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr.ldf
index 9bd22d0b227..888642f983d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-kn.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-kn.ldf
index 916772dfabc..7dfeb45d6f0 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-kn.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-kn.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ko.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ko.ldf
index fb6bd2dd060..809ca4dd4a8 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ko.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ko.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-korean.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-korean.ldf
index ad704c5841d..dfbc49e6a26 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-korean.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-korean.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ku-Arab.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ku-Arab.ldf
index 4239dac1736..67ee744a73d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ku-Arab.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ku-Arab.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ku-Latn.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ku-Latn.ldf
index c632f3f3362..7b7a60f2e85 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ku-Latn.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ku-Latn.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ku.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ku.ldf
index 8492998a343..174c78bd3ac 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ku.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ku.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-kurdish.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-kurdish.ldf
index af5e6e1583a..5377e3ac4f6 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-kurdish.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-kurdish.ldf
@@ -1,4 +1,4 @@
-% 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
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-kurmanji.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-kurmanji.ldf
index 17eede53890..febd2c25dfe 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-kurmanji.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-kurmanji.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-classic.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-classic.ldf
index a3b397a6ea7..de23db0bd2e 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-classic.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-classic.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-ecclesia.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-ecclesia.ldf
index b6e09ddb305..9c6c37c4f84 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-ecclesia.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-ecclesia.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-medieval.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-medieval.ldf
index 864c4243680..540c1138b3a 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-medieval.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-medieval.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-la.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-la.ldf
index d3125853a04..c9139145a73 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-la.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-la.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-lao.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-lao.ldf
index f998b80a5bd..36f4a4e3345 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-lao.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-lao.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-latex.lde b/Master/texmf-dist/tex/latex/polyglossia/gloss-latex.lde
index 0d228dc92c7..fc4fd26cba2 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-latex.lde
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-latex.lde
@@ -1,6 +1,6 @@
-% 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},
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-latin.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-latin.ldf
index c9d87f6a9f5..13b234e31ec 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-latin.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-latin.ldf
@@ -1,4 +1,4 @@
-% 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]
@@ -619,7 +619,7 @@
\shorthandoff {"}
\shorthandoff {'}
-\shorthandoff {^}
+\shorthandoff* {^}
\shorthandoff {=}
% The active = character may cause problems with key=value interfaces.
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-latinclassic.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-latinclassic.ldf
index efa8d6ee4c7..7d91317bbaa 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-latinclassic.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-latinclassic.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-latinecclesiastic.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-latinecclesiastic.ldf
index 1540fe65c10..f178cfdbd8c 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-latinecclesiastic.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-latinecclesiastic.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-latinmedieval.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-latinmedieval.ldf
index cb3242cb5e4..77ebccbf752 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-latinmedieval.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-latinmedieval.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-latvian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-latvian.ldf
index a03cacecb4a..735cbcd06bf 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-latvian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-latvian.ldf
@@ -1,4 +1,4 @@
-% 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}{
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-lithuanian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-lithuanian.ldf
index 0c66df46fcc..759f8ca0f8f 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-lithuanian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-lithuanian.ldf
@@ -1,4 +1,4 @@
-% 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>
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-lo.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-lo.ldf
index c75f3b0685b..9c731ba0594 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-lo.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-lo.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-lowersorbian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-lowersorbian.ldf
index 0392405466b..cc54b0e5986 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-lowersorbian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-lowersorbian.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-lsorbian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-lsorbian.ldf
index a750cb4e4ab..d9bd0cb0416 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-lsorbian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-lsorbian.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-lt.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-lt.ldf
index 0981a55ea5a..725b99af3ea 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-lt.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-lt.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-lv.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-lv.ldf
index 0600211a4c6..40e6d45167c 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-lv.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-lv.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-macedonian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-macedonian.ldf
index 023815f3861..82986303c37 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-macedonian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-macedonian.ldf
@@ -1,4 +1,4 @@
-% 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}{
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-magyar.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-magyar.ldf
index 78eccdb03ed..b699c011de8 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-magyar.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-magyar.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-malay.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-malay.ldf
index ec8fab7e35f..c35d65374e4 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-malay.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-malay.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-malayalam.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-malayalam.ldf
index 47cbad731ea..0d06ee5d7cc 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-malayalam.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-malayalam.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-marathi.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-marathi.ldf
index 7a488afa0f7..b5cb379126a 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-marathi.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-marathi.ldf
@@ -1,4 +1,4 @@
-% 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
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-mk.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-mk.ldf
index fab931202f1..4d7e6a0c5db 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-mk.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-mk.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ml.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ml.ldf
index 8714319ce35..f5263f79eaf 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ml.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ml.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-mn.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-mn.ldf
index 8602ea7d13d..4352a450243 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-mn.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-mn.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-mongolian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-mongolian.ldf
index 61701eae212..d2744925905 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-mongolian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-mongolian.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-mr.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-mr.ldf
index eba8ee12fd6..b3f1f183cc8 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-mr.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-mr.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-naustrian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-naustrian.ldf
index 8c7a7dac0d6..0148023a2f8 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-naustrian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-naustrian.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-nb.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-nb.ldf
index 39791b7b2dc..1ac92ff2b15 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-nb.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-nb.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-newzealand.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-newzealand.ldf
index a27847152ff..105ce7d2d85 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-newzealand.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-newzealand.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ngerman.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ngerman.ldf
index 259bae8eb85..8411757b152 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ngerman.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ngerman.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-nko.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-nko.ldf
index 2f7702b3b5e..eb699d6c064 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-nko.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-nko.ldf
@@ -1,4 +1,4 @@
-% 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}{%
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-norsk.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-norsk.ldf
index bbb4be172c8..908a465a460 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-norsk.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-norsk.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-norwegian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-norwegian.ldf
index 3fe95909601..232c8f1ac4d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-norwegian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-norwegian.ldf
@@ -1,4 +1,4 @@
-% 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}{
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-nswissgerman.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-nswissgerman.ldf
index 94ac81aac2e..329a57e7407 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-nswissgerman.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-nswissgerman.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-nynorsk.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-nynorsk.ldf
index fb3c0b186d9..378c780da8f 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-nynorsk.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-nynorsk.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-occitan.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-occitan.ldf
index 25f8b66a0f0..dd2280d6787 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-occitan.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-occitan.ldf
@@ -1,4 +1,4 @@
-% 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',
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-pa.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-pa.ldf
new file mode 100644
index 00000000000..c87a65c0853
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-pa.ldf
@@ -0,0 +1,9 @@
+% 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}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-persian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-persian.ldf
index f71553963bd..9ce6bf060bb 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-persian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-persian.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-piedmontese.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-piedmontese.ldf
index 2a633c39eeb..93b3287b119 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-piedmontese.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-piedmontese.ldf
@@ -1,5 +1,5 @@
% !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
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-polish.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-polish.ldf
index 5477167f4a1..8bd23e861fa 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-polish.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-polish.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-polutonikogreek.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-polutonikogreek.ldf
index 7d1efda66ca..b5f20d0bb8b 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-polutonikogreek.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-polutonikogreek.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-portuges.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-portuges.ldf
index 68357353308..f67ab150031 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-portuges.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-portuges.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-portuguese.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-portuguese.ldf
index 8999de6acbd..91e294e151a 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-portuguese.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-portuguese.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-punjabi.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-punjabi.ldf
new file mode 100644
index 00000000000..44bc903d068
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-punjabi.ldf
@@ -0,0 +1,108 @@
+% 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%
+}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-romanian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-romanian.ldf
index 55ddba66350..b740dc4ea82 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-romanian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-romanian.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-romansh.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-romansh.ldf
index 837dea526b7..77c4f354c63 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-romansh.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-romansh.ldf
@@ -1,4 +1,4 @@
-% 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
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf
index 95038dc48d3..7cc9c813016 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-sami.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-sami.ldf
index d01e1db62b5..fdca53e73f9 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-sami.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-sami.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-samin.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-samin.ldf
index 253b14612ad..0c2ef1d8339 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-samin.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-samin.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-sanskrit.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-sanskrit.ldf
index e6e5f419f53..61336be86ef 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-sanskrit.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-sanskrit.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-scottish.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-scottish.ldf
index da58021bada..0dc71719fb8 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-scottish.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-scottish.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-serbian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-serbian.ldf
index e88c6151498..dd68d29b741 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-serbian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-serbian.ldf
@@ -1,4 +1,4 @@
-% 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
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-serbianc.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-serbianc.ldf
index 00548067e56..35b77414a34 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-serbianc.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-serbianc.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-slovak.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-slovak.ldf
index f719a634561..057ed306651 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-slovak.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-slovak.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-slovene.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-slovene.ldf
index c4723b455d6..fe96c6f3b02 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-slovene.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-slovene.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-slovenian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-slovenian.ldf
index 55144eb8cd6..bb903a63b8f 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-slovenian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-slovenian.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-sorbian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-sorbian.ldf
index 73b5d03fc1e..8f6cd34bcfa 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-sorbian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-sorbian.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-spanish.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-spanish.ldf
index e6264a56db6..1cea4b6487c 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-spanish.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-spanish.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-spanishmx.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-spanishmx.ldf
index ee9b1080260..46fbdf91b2d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-spanishmx.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-spanishmx.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-swedish.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-swedish.ldf
index 5fb682912de..f2f92198c5d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-swedish.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-swedish.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-swissgerman.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-swissgerman.ldf
index bc428d652ea..505e197f754 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-swissgerman.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-swissgerman.ldf
@@ -1,4 +1,4 @@
-% 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)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-syriac.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-syriac.ldf
index efd02fd8b17..0a49c2de44d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-syriac.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-syriac.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-tamil.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-tamil.ldf
index 9989ef07665..602ee424c07 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-tamil.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-tamil.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-telugu.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-telugu.ldf
index 28aa573bd2a..de8d88e3d98 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-telugu.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-telugu.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-thai.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-thai.ldf
index d3be66dbe87..873a942a1ed 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-thai.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-thai.ldf
@@ -1,4 +1,4 @@
-% 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:
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf
index bf1647cca76..75f88cf1c4c 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf
@@ -1,4 +1,4 @@
-% 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
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-turkish.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-turkish.ldf
index a86a146bcbc..ad58bb99b0f 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-turkish.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-turkish.ldf
@@ -1,4 +1,4 @@
-% 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}
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-turkmen.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-turkmen.ldf
index f2a852018a6..23127c7f601 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-turkmen.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-turkmen.ldf
@@ -1,4 +1,4 @@
-% 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>
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ug.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ug.ldf
index 8777def7cd4..0cad0192698 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ug.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ug.ldf
@@ -1,4 +1,4 @@
-% 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
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ukrainian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ukrainian.ldf
index 58e029ee1a9..fd273536473 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ukrainian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ukrainian.ldf
@@ -1,4 +1,4 @@
-% 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
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-uppersorbian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-uppersorbian.ldf
index 89f5a48f2bd..0ea8f458986 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-uppersorbian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-uppersorbian.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-urdu.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-urdu.ldf
index 741975957be..7e6ae63fac2 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-urdu.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-urdu.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-usorbian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-usorbian.ldf
index eda228ce74c..01b2cbcdb2f 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-usorbian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-usorbian.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-uyghur.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-uyghur.ldf
index ac9cb749394..1b39e361fb3 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-uyghur.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-uyghur.ldf
@@ -1,4 +1,4 @@
-% 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)
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-vietnamese.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-vietnamese.ldf
index 5924fed39f5..7475a5d5070 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-vietnamese.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-vietnamese.ldf
@@ -1,4 +1,4 @@
-% 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 >
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-welsh.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-welsh.ldf
index fb9fe0f223e..ce146621ccc 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-welsh.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-welsh.ldf
@@ -1,4 +1,4 @@
-% 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]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-zh-CN.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-zh-CN.ldf
new file mode 100644
index 00000000000..455effc916d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-zh-CN.ldf
@@ -0,0 +1,9 @@
+% 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}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-zh-TW.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-zh-TW.ldf
new file mode 100644
index 00000000000..ff1d319e330
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-zh-TW.ldf
@@ -0,0 +1,9 @@
+% 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}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gurmukhidigits.sty b/Master/texmf-dist/tex/latex/polyglossia/gurmukhidigits.sty
new file mode 100644
index 00000000000..319b3d2af9e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/polyglossia/gurmukhidigits.sty
@@ -0,0 +1,13 @@
+\ProvidesPackage{gurmukhidigits}
+ [2022/11/17 v0.1 %
+ Formatting of Gurmukhi digits]
+
+\def\digits#1{\expandafter\@gurmukhi@digits #1@}
+\def\@gurmukhi@digits#1{%
+ \ifx @#1% then terminate
+ \else
+ \ifx0#1੦\else\ifx1#1੧\else\ifx2#1੨\else\ifx3#1੩\else\ifx4#1੪\else\ifx5#1੫\else\ifx6#1੬\else\ifx7#1੭\else\ifx8#1੮\else\ifx9#1੯\else#1\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
+ \expandafter\@gurmukhi@digits
+ \fi
+}
+\endinput
diff --git a/Master/texmf-dist/tex/latex/polyglossia/polyglossia-french.lua b/Master/texmf-dist/tex/latex/polyglossia/polyglossia-french.lua
index e5033270b46..36c7d3200ac 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/polyglossia-french.lua
+++ b/Master/texmf-dist/tex/latex/polyglossia/polyglossia-french.lua
@@ -1,6 +1,6 @@
--
-- polyglossia-punct.lua
--- part of polyglossia v1.58 -- 2022/10/26
+-- part of polyglossia v1.59 -- 2022/11/29
--
require('polyglossia-punct')
diff --git a/Master/texmf-dist/tex/latex/polyglossia/polyglossia-korean.lua b/Master/texmf-dist/tex/latex/polyglossia/polyglossia-korean.lua
index 10cfd53bb86..04825e4f7d5 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/polyglossia-korean.lua
+++ b/Master/texmf-dist/tex/latex/polyglossia/polyglossia-korean.lua
@@ -1,6 +1,6 @@
--
-- 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"
diff --git a/Master/texmf-dist/tex/latex/polyglossia/polyglossia-latin.lua b/Master/texmf-dist/tex/latex/polyglossia/polyglossia-latin.lua
index e224b21cd72..070d962f895 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/polyglossia-latin.lua
+++ b/Master/texmf-dist/tex/latex/polyglossia/polyglossia-latin.lua
@@ -1,6 +1,6 @@
--
-- polyglossia-latin.lua
--- part of polyglossia v1.58 -- 2022/10/26
+-- part of polyglossia v1.59 -- 2022/11/29
--
require('polyglossia-punct')
diff --git a/Master/texmf-dist/tex/latex/polyglossia/polyglossia-punct.lua b/Master/texmf-dist/tex/latex/polyglossia/polyglossia-punct.lua
index c40fe5acb89..1f72b70d86e 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/polyglossia-punct.lua
+++ b/Master/texmf-dist/tex/latex/polyglossia/polyglossia-punct.lua
@@ -1,6 +1,6 @@
--
-- polyglossia-punct.lua
--- part of polyglossia v1.58 -- 2022/10/26
+-- part of polyglossia v1.59 -- 2022/11/29
--
require('polyglossia') -- just in case...
diff --git a/Master/texmf-dist/tex/latex/polyglossia/polyglossia-sanskrit.lua b/Master/texmf-dist/tex/latex/polyglossia/polyglossia-sanskrit.lua
index 340466bd78e..dbb8e978696 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/polyglossia-sanskrit.lua
+++ b/Master/texmf-dist/tex/latex/polyglossia/polyglossia-sanskrit.lua
@@ -1,6 +1,6 @@
--
-- polyglossia-sanskrit.lua
--- part of polyglossia v1.58 -- 2022/10/26
+-- part of polyglossia v1.59 -- 2022/11/29
--
require('polyglossia-punct')
diff --git a/Master/texmf-dist/tex/latex/polyglossia/polyglossia-tibt.lua b/Master/texmf-dist/tex/latex/polyglossia/polyglossia-tibt.lua
index 7a6a3062302..b9ffe6879cf 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/polyglossia-tibt.lua
+++ b/Master/texmf-dist/tex/latex/polyglossia/polyglossia-tibt.lua
@@ -1,6 +1,6 @@
--
-- polyglossia-tibt.lua
--- part of polyglossia v1.58 -- 2022/10/26
+-- part of polyglossia v1.59 -- 2022/11/29
--
require('polyglossia') -- just in case...
diff --git a/Master/texmf-dist/tex/latex/polyglossia/polyglossia.lua b/Master/texmf-dist/tex/latex/polyglossia/polyglossia.lua
index 25f5609f0a5..1df841ab8c7 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/polyglossia.lua
+++ b/Master/texmf-dist/tex/latex/polyglossia/polyglossia.lua
@@ -1,6 +1,6 @@
--
-- polyglossia.lua
--- part of polyglossia v1.58 -- 2022/10/26
+-- part of polyglossia v1.59 -- 2022/11/29
--
local module_name = "polyglossia"
diff --git a/Master/texmf-dist/tex/latex/polyglossia/polyglossia.sty b/Master/texmf-dist/tex/latex/polyglossia/polyglossia.sty
index 62f4765acfe..ba29c2df12f 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/polyglossia.sty
+++ b/Master/texmf-dist/tex/latex/polyglossia/polyglossia.sty
@@ -1,5 +1,5 @@
\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}
@@ -153,13 +153,12 @@
}
\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
@@ -918,25 +917,41 @@
% 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
@@ -981,7 +996,8 @@
}
}
\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}}
@@ -1004,7 +1020,8 @@
}
}
\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}}
@@ -1027,7 +1044,8 @@
}
}
\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}}
@@ -1855,14 +1873,15 @@
% #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}
@@ -1882,13 +1901,14 @@
% #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
@@ -1913,20 +1933,22 @@
% #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}
@@ -1950,12 +1972,23 @@
\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
@@ -2187,6 +2220,7 @@
\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}}%
@@ -2194,6 +2228,7 @@
\protected@write\@auxout{}{\protect\selectlanguage*[#1]{#2}}%
\addtocontents{toc}{\protect\selectlanguage*[#1]{#2}}%
\fi
+ \protected@write\@auxout{}{\protect\xpglanginauxfalse}%
\fi
}