summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/polyglossia
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-06-10 20:13:09 +0000
committerKarl Berry <karl@freefriends.org>2023-06-10 20:13:09 +0000
commit4f358ef78130d68e8ba4a95101d4440bb62855cf (patch)
treea8a3a15aaf01e726d9aaff187c87d82f0209135b /Master/texmf-dist/tex/latex/polyglossia
parentdda707b60a2266b1bd88d0f69faf47d835636a4b (diff)
polyglossia (10jun23)
git-svn-id: svn://tug.org/texlive/trunk@67322 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/polyglossia')
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/babel-hebrewalph.def132
-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.ldf6
-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.ldf160
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-armenian.ldf14
-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.ldf6
-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.ldf6
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-chinese.ldf2
-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.ldf6
-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.ldf6
-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.ldf14
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-dsb.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-dutch.ldf113
-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.ldf6
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CA-u-sd-canb.ldf9
-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.ldf101
-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.ldf6
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf17
-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.ldf147
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-he.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-hebrew.ldf48
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-hi.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-hindi.ldf14
-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.ldf6
-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.ldf36
-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.ldf150
-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.ldf12
-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.ldf12
-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.ldf6
-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.ldf10
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-pa.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-persian.ldf131
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-piedmontese.ldf6
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-polish.ldf6
-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.ldf6
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-punjabi.ldf14
-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.ldf6
-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.ldf44
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-scottish.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-serbian.ldf143
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-serbianc.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-slovak.ldf6
-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.ldf133
-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.ldf6
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-uppersorbian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-urdu.ldf154
-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.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-zh-TW.ldf2
-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.sty84
249 files changed, 1475 insertions, 731 deletions
diff --git a/Master/texmf-dist/tex/latex/polyglossia/babel-hebrewalph.def b/Master/texmf-dist/tex/latex/polyglossia/babel-hebrewalph.def
index b68d98256a1..145c2296f39 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/babel-hebrewalph.def
+++ b/Master/texmf-dist/tex/latex/polyglossia/babel-hebrewalph.def
@@ -1,9 +1,7 @@
\ProvidesFile{babel-hebrewalph.def}
- [2010/03/02 %
- Babel definitions for Hebrew numerals^^J
- Adapted from hebrew.ldf (2005/03/30 v2.3h)]
-\newif\if@gim@apost % whether we print apostrophes (gereshayim)
-\newif\if@gim@final % whether we use final or initial letters
+ [2023/06/01 %
+ Expandable definitions for Hebrew numerals]
+
\newcommand*\hebrewnumeral[1]{%
\expandafter\@hebrew@numeral\expandafter{\the\numexpr#1}%
}
@@ -13,76 +11,72 @@
\newcommand*\Hebrewnumeralfinal[1]{%
\expandafter\@Hebrew@numeralfinal\expandafter{\the\numexpr#1}%
}
-\newrobustcmd*{\@hebrew@numeral}[1] % no apostrophe, no final letters
- {{\@gim@finalfalse\@gim@apostfalse\@hebrew@@numeral{#1}}}
-\newrobustcmd*{\@Hebrew@numeral}[1] % apostrophe, no final letters
- {{\@gim@finalfalse\@gim@aposttrue\@hebrew@@numeral{#1}}}
-\newrobustcmd*{\@Hebrew@numeralfinal}[1] % apostrophe, final letters
- {{\@gim@finaltrue\@gim@aposttrue\@hebrew@@numeral{#1}}}
-\newcommand*{\@hebrew@@numeral}[1]{%
+
+\newcommand*\hebrew@div@trancate[2]{%
+ \ifnum\numexpr #1 - #2*\numexpr #1/#2\relax<0
+ \the\numexpr #1/#2 -1\relax\else\the\numexpr #1/#2\relax\fi
+}
+
+\newcommand*\@hebrew@@numeral[2]{%
\ifnum#1<\z@\space\xpg@warning{Illegal value (#1) for Hebrew numeral}%
\else
- \@tempcnta=#1\@tempcntb=#1\relax
- \divide\@tempcntb by 1000
- \ifnum\@tempcntb=0\gim@nomil\@tempcnta\relax
- \else{\@gim@apostfalse\@gim@finalfalse\@hebrew@numeral\@tempcntb}׳%
- \multiply\@tempcntb by 1000\relax
- \advance\@tempcnta by -\@tempcntb\relax
- \gim@nomil\@tempcnta\relax
+ \ifnum #1<1000
+ \gim@nomil{#1}{#2}%
+ \else
+ \hebrewnumeral{\hebrew@div@trancate{#1}{1000}}׳%
+ \expandafter\gim@nomil\expandafter{\the\numexpr #1 - 1000*\hebrew@div@trancate{#1}{1000}}{#2}%
\fi
\fi
}
-\def\hebrew@alph@zero{}
-\newcommand*{\gim@nomil}[1]{\@tempcnta=#1\@gim@prevfalse
- \@tempcntb=\@tempcnta\divide\@tempcntb by 100\relax % hundreds digit
- \ifcase\@tempcntb % print nothing if no hundreds
- \or\gim@print{100}{ק}%
- \or\gim@print{200}{ר}%
- \or\gim@print{300}{ש}%
- \or\gim@print{400}{ת}%
- \or ת\@gim@prevtrue\gim@print{500}{ק}%
- \or ת\@gim@prevtrue\gim@print{600}{ר}%
- \or ת\@gim@prevtrue\gim@print{700}{ש}%
- \or ת\@gim@prevtrue\gim@print{800}{ת}%
- \or ת\@gim@prevtrue ת\gim@print{900}{ק}%
- \fi
- \@tempcntb=\@tempcnta\divide\@tempcntb by 10\relax % tens digit
- \ifcase\@tempcntb % print nothing if no tens
- \or % number between 10 and 19
- \ifnum\@tempcnta = 16 \gim@print {9}{ט}% tet-zayin
- \else\ifnum\@tempcnta = 15 \gim@print {9}{ט}% tet-vav
- \else \gim@print{10}{י}%
- \fi % \@tempcnta = 15
- \fi % \@tempcnta = 16
- \or\gim@print{20}{\if@gim@final ך\else כ\fi}%
- \or\gim@print{30}{ל}%
- \or\gim@print{40}{\if@gim@final ם\else מ\fi}%
- \or\gim@print{50}{\if@gim@final ן\else נ\fi}%
- \or\gim@print{60}{ס}%
- \or\gim@print{70}{ע}%
- \or\gim@print{80}{\if@gim@final ף\else פ\fi}%
- \or\gim@print{90}{\if@gim@final ץ\else צ\fi}%
+
+\newcommand*\@hebrew@numeral[1]{\@hebrew@@numeral{#1}{0}}
+\newcommand*\@Hebrew@numeral[1]{\@hebrew@@numeral{#1}{1}}
+\newcommand*\@Hebrew@numeralfinal[1]{\@hebrew@@numeral{#1}{2}}
+
+\newcommand*\hebrew@alph@zero{}
+\newcommand*\gim@nomil[2]{%
+ \ifcase\hebrew@div@trancate{#1}{100} % print nothing if no hundreds
+ \or ק\ifnum #2>0\ifnum #1=100 ׳\fi\fi
+ \or ר\ifnum #2>0\ifnum #1=200 ׳\fi\fi
+ \or ש\ifnum #2>0\ifnum #1=300 ׳\fi\fi
+ \or ת\ifnum #2>0\ifnum #1=400 ׳\fi\fi
+ \or ת\ifnum #2>0\ifnum #1=500 ״\fi\fi ק%
+ \or ת\ifnum #2>0\ifnum #1=600 ״\fi\fi ר%
+ \or ת\ifnum #2>0\ifnum #1=700 ״\fi\fi ש%
+ \or ת\ifnum #2>0\ifnum #1=800 ״\fi\fi ת%
+ \or תת\ifnum #2>0\ifnum #1=900 ״\fi\fi ק%
\fi
- \ifcase\@tempcnta
- \hebrew@alph@zero% empty but can be defined if desired
- \or\gim@print{1}{א}%
- \or\gim@print{2}{ב}%
- \or\gim@print{3}{ג}%
- \or\gim@print{4}{ד}%
- \or\gim@print{5}{ה}%
- \or\gim@print{6}{ו}%
- \or\gim@print{7}{ז}%
- \or\gim@print{8}{ח}%
- \or\gim@print{9}{ט}%
+ \ifnum \the\numexpr #1 - 100*\hebrew@div@trancate{#1}{100} = 16
+ \ifnum #2>0 ט״ז\else טז\fi% tet-zayin
+ \else\ifnum \the\numexpr #1 - 100*\hebrew@div@trancate{#1}{100} = 15
+ \ifnum #2>0 ט״ו\else טו\fi% tet-vav
+ \else
+ \ifcase\expandafter\hebrew@div@trancate\expandafter{\the\numexpr #1 - 100*\hebrew@div@trancate{#1}{100}}{10} % print nothing if no tens
+ \or \ifnum \the\numexpr #1 - 10*\hebrew@div@trancate{#1}{10}>0 י\else\ifnum #2>0\ifnum #1=10 י׳\else ״י\fi\else י\fi\fi
+ \or \ifnum \the\numexpr #1 - 10*\hebrew@div@trancate{#1}{10}>0 כ\else\ifnum #2>0\ifnum #1>20 ״\fi\fi\if #22ך\else כ\fi\ifnum #2>0\ifnum #1=20 ׳\fi\fi\fi
+ \or \ifnum \the\numexpr #1 - 10*\hebrew@div@trancate{#1}{10}>0 ל\else\ifnum #2>0\ifnum #1=30 ל׳\else ״ל\fi\else ל\fi\fi
+ \or \ifnum \the\numexpr #1 - 10*\hebrew@div@trancate{#1}{10}>0 מ\else\ifnum #2>0\ifnum #1>40 ״\fi\fi\if #22ם\else מ\fi\ifnum #2>0\ifnum #1=40 ׳\fi\fi\fi
+ \or \ifnum \the\numexpr #1 - 10*\hebrew@div@trancate{#1}{10}>0 נ\else\ifnum #2>0\ifnum #1>50 ״\fi\fi\if #22ן\else נ\fi\ifnum #2>0\ifnum #1=50 ׳\fi\fi\fi
+ \or \ifnum \the\numexpr #1 - 10*\hebrew@div@trancate{#1}{10}>0 ס\else\ifnum #2>0\ifnum #1=60 ס׳\else ״ס\fi\else ס\fi\fi
+ \or \ifnum \the\numexpr #1 - 10*\hebrew@div@trancate{#1}{10}>0 ע\else\ifnum #2>0\ifnum #1=70 ע׳\else ״ע\fi\else ע\fi\fi
+ \or \ifnum \the\numexpr #1 - 10*\hebrew@div@trancate{#1}{10}>0 פ\else\ifnum #2>0\ifnum #1>80 ״\fi\fi\if #22ף\else פ\fi\ifnum #2>0\ifnum #1=80 ׳\fi\fi\fi
+ \or \ifnum \the\numexpr #1 - 10*\hebrew@div@trancate{#1}{10}>0 צ\else\ifnum #2>0\ifnum #1>90 ״\fi\fi\if #22ץ\else צ\fi\ifnum #2>0\ifnum #1=90 ׳\fi\fi\fi
\fi
+ \ifcase\the\numexpr #1 - 10*\hebrew@div@trancate{#1}{10}
+ \hebrew@alph@zero % empty but can be defined if desired
+ \or \ifnum #2>0\ifnum #1=1 א׳\else ״א\fi\else א\fi
+ \or \ifnum #2>0\ifnum #1=2 ב׳\else ״ב\fi\else ב\fi
+ \or \ifnum #2>0\ifnum #1=3 ג׳\else ״ג\fi\else ג\fi
+ \or \ifnum #2>0\ifnum #1=4 ד׳\else ״ד\fi\else ד\fi
+ \or \ifnum #2>0\ifnum #1=5 ה׳\else ״ה\fi\else ה\fi
+ \or \ifnum #2>0\ifnum #1=6 ו׳\else ״ו\fi\else ו\fi
+ \or \ifnum #2>0\ifnum #1=7 ז׳\else ״ז\fi\else ז\fi
+ \or \ifnum #2>0\ifnum #1=8 ח׳\else ״ח\fi\else ח\fi
+ \or \ifnum #2>0\ifnum #1=9 ט׳\else ״ט\fi\else ט\fi
+ \fi\fi\fi
}
-\newif\if@gim@prev % flag if a previous letter has been typeset
-\newcommand*{\gim@print}[2]{% #2 is a letter, #1 is its value.
- \advance\@tempcnta by -#1\relax% deduct the value from the remainder
- \ifnum\@tempcnta=0% if this is the last letter
- \if@gim@prev\if@gim@apost ״\fi#2%
- \else#2\if@gim@apost ׳\fi\fi%
- \else{\@gim@finalfalse#2}\@gim@prevtrue\fi}
-\def\Alphfinal#1{\expandafter\@Alphfinal\csname c@#1\endcsname}%
-\providecommand*{\@Alphfinal}[1]{\Hebrewnumeralfinal{#1}}
+
+\newcommand*\Alphfinal[1]{\expandafter\@Alphfinal\csname c@#1\endcsname}
+\newcommand*\@Alphfinal[1]{\Hebrewnumeralfinal{#1}}
+
\endinput
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-acadien.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-acadien.ldf
index b48c7195361..643cbf4b4fa 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 727deb51da1..90ebbc8475b 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 91caba195dc..35e6ca5a605 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 6fb3f68fb48..929c2ff4a03 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 7608c043ef6..6f38e38ad86 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-afrikaans.ldf}[polyglossia: module for Afrikaans]
@@ -34,7 +34,7 @@
}{}
\def\afrikaans@shorthands{%
- \bbl@activate{"}%
+ \xpg@activate@shorthands%
\def\language@group{afrikaans}%
\declare@shorthand{afrikaans}{"-}{\nobreak-\bbl@allowhyphens}
\declare@shorthand{afrikaans}{"~}{\textormath{\leavevmode\hbox{-}}{-}}
@@ -47,7 +47,7 @@
}
\def\noafrikaans@shorthands{%
- \@ifundefined{initiate@active@char}{}{\bbl@deactivate{"}}%
+ \xpg@deactivate@shorthands%
}
\def\captionsafrikaans{%
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-albanian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-albanian.ldf
index 27e454a56c4..0193bb1549a 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 8b0f803ede5..35df1cdd50f 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 d85e303f45d..706e4d23478 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 d6ff77df13e..69c1d5fd585 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 f9d95aafb7c..601cf98be31 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 59a2d2874fa..9f2eb8dd3f2 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 8add8922d73..b327bc8a988 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 b39ea0676a8..74bef34c6f8 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 3813a0fecb6..158a526b213 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 1085e6417bc..30e83e804b3 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 75caf7da2e7..2c492c43583 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 9c09e58b42b..92f527300b1 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 2ef7b456a40..00a69072bdd 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 73b2b12dd7d..58b29418140 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-arabic.ldf}[polyglossia: module for Arabic]
\RequireBidi
@@ -41,21 +41,27 @@
\define@boolkey{arabic}[arabic@]{abjadalph}[true]{}
\newif\ifeastern@numerals
-\def\tmp@mashriq{mashriq}
-\def\tmp@maghrib{maghrib}
-\define@key{arabic}{numerals}[mashriq]{%
- \def\@tmpa{#1}%
- \ifx\@tmpa\tmp@mashriq%
- \eastern@numeralstrue%
- \else
- \ifx\@tmpa\tmp@maghrib\eastern@numeralsfalse\fi%
- \fi}
+\define@choicekey*+{arabic}{numerals}[\xpg@val\xpg@nr]{mashriq,maghrib,eastern,western}[mashriq]{%
+ \ifcase\xpg@nr\relax
+ % mashriq:
+ \eastern@numeralstrue%
+ \or
+ % maghrib:
+ \eastern@numeralsfalse
+ \or
+ % eastern:
+ \eastern@numeralstrue%
+ \or
+ % western:
+ \eastern@numeralsfalse
+ \fi
+ \xpg@info{Option: Arabic, numerals=\xpg@val}%
+}{\xpg@warning{Unknown Arabic numerals option `#1'}}
%this is needed for \abjad in arabicnumbers.sty
-\def\tmp@true{true}
-\define@key{arabic}{abjadjimnotail}[true]{%
- \def\@tmpa{#1}%
- \ifx\@tmpa\tmp@true\abjad@jim@notailtrue%
+\define@boolkey{arabic}[arabic@]{abjadjimnotail}[true]{%
+ \ifarabic@abjadjimnotail
+ \abjad@jim@notailtrue%
\else
\abjad@jim@notailfalse
\fi}
@@ -101,19 +107,30 @@
}{\xpg@warning{Unknown Arabic locale `#1'}}
\newif\if@hijrical
-\def\tmp@hijri{hijri}
-\def\tmp@islamic{islamic}
-\define@key{arabic}{calendar}[gregorian]{%
- \def\@tmpa{#1}%
- \ifx\@tmpa\tmp@hijri\@hijricaltrue%
- \else
- \ifx\@tmpa\tmp@islamic\@hijricaltrue%
- \else\@hijricalfalse%
- \fi
- \fi}
+\define@choicekey*+{arabic}{calendar}[\xpg@val\xpg@nr]{gregorian,hijri,islamic}[gregorian]{%
+ \ifcase\xpg@nr\relax
+ % gregorian:
+ \@hijricalfalse
+ \or
+ % hijri:
+ \@hijricaltrue
+ \or
+ % islamic:
+ \@hijricaltrue
+ \fi
+ \xpg@info{Option: Arabic, calendar=\xpg@val}%
+}{\xpg@warning{Unknown Arabic calendar option `#1'}}
+
\define@key{arabic}{hijricorrection}[0]{%
- \gdef\@hijri@correction{#1}}%
+ \gdef\arabic@hijri@correction{#1}}%
+
+\newif\ifarabic@customsep\arabic@customsepfalse
+\def\xpg@sepmark{}
+\define@key{arabic}{sectionsep}[.]{%
+ \arabic@customseptrue%
+ \gdef\xpg@sepmark{#1}%
+}
% Register default options
\xpg@initialize@gloss@options{arabic}{locale=default,calendar=gregorian,numerals=mashriq,hijricorrection=0,abjadjimnotail=false}
@@ -173,7 +190,7 @@
\def\datearabic{%
\def\today{%
\if@hijrical%
- \Hijritoday[\@hijri@correction]%
+ \Hijritoday[\arabic@hijri@correction]%
\else%
\if@RTL%
\arabicnumber\day\space\@@arabic@month{\month}%
@@ -192,7 +209,7 @@
\def\arabicnumber#1{%
\ifeastern@numerals
- \@ensure@dir{\arabicdigits{\number#1}}%
+ \@ensure@LTR{\arabicdigits{\number#1}}%
\else
\number#1%
\fi}
@@ -274,17 +291,92 @@
\let\@arabic\xpg@save@arabic%
}
-% Save original \MakeUppercase definition
-\let\xpg@save@MakeUppercase\MakeUppercase
+\def\arabic@xetex@capsformat{%
+ \let\xpg@save@sepmark\@SepMark%
+ \SepMark{\xpg@sepmark}
+}
+
+\def\noarabic@xetex@capsformat{%
+ \ifcsdef{xpg@save@sepmark}{%
+ \SepMark{\xpg@save@sepmark}
+ }{}%
+}
-\def\blockextras@arabic{%
- \def\MakeUppercase##1{##1}%
- % TODO disable \@Roman and \@roman ?
+\def\arabic@luatex@capsformat{%
+ %
+ % change chapter and part headings
+ \ifarabic@customsep
+ \ifcsdef{chapter}{%
+ \let\xpg@save@thesection\thesection%
+ \renewcommand*\thesection{\thechapter\xpg@sepmark\@arabic\c@section}
+ \let\xpg@save@theequation\theequation%
+ \renewcommand*\theequation{%
+ \ifnum \c@chapter>\z@ \thechapter\xpg@sepmark\fi\@arabic\c@equation}
+ \let\xpg@save@thefigure\thefigure%
+ \renewcommand*\thefigure{%
+ \ifnum\c@chapter>\z@\thechapter\xpg@sepmark\fi\@arabic\c@figure}
+ \let\xpg@save@thetable\thetable%
+ \renewcommand*\thetable{%
+ \ifnum\c@chapter>\z@\thechapter\xpg@sepmark\fi\@arabic\c@table}
+ }{}
+ \let\xpg@save@thesubsection\thesubsection%
+ \renewcommand\thesubsection
+ {\thesection\xpg@sepmark\@arabic\c@subsection}
+ \let\xpg@save@thesubsubsection\thesubsubsection%
+ \renewcommand\thesubsubsection{\thesubsection\xpg@sepmark\@arabic\c@subsubsection}
+ \let\xpg@save@theparagraph\theparagraph%
+ \renewcommand\theparagraph
+ {\thesubsubsection\xpg@sepmark\@arabic\c@paragraph}
+ \let\xpg@save@thesubparagraph\thesubparagraph%
+ \renewcommand\thesubparagraph{\theparagraph\xpg@sepmark\@arabic\c@subparagraph}
+ \fi% (end \ifarabic@customsep)
+}
+
+\def\noarabic@luatex@capsformat{%
+ \ifcsdef{xpg@save@thesection}{%
+ \let\thesection\xpg@save@thesection%
+ }{}%
+ \ifcsdef{xpg@save@theequation}{%
+ \let\theequation\xpg@save@theequation%
+ }{}%
+ \ifcsdef{xpg@save@thefigure}{%
+ \let\thefigure\xpg@save@thefigure%
+ }{}%
+ \ifcsdef{xpg@save@thetable}{%
+ \let\thetable\xpg@save@thetable%
+ }{}%
+ \ifcsdef{xpg@save@thesubsection}{%
+ \let\thesubsection\xpg@save@thesubsection%
+ \ifcsdef{xpg@save@thesubsubsection}{%
+ \let\thesubsubsection\xpg@save@thesubsubsection%
+ }{}%
+ }{}%
+ \ifcsdef{xpg@save@theparagraph}{%
+ \let\theparagraph\xpg@save@theparagraph%
+ }{}%
+ \ifcsdef{xpg@save@thesubparagraph}{%
+ \let\thesubparagraph\xpg@save@thesubparagraph%
+ }{}%
}
+\def\blockextras@arabic{%
+ \ifarabic@customsep
+ \ifxetex
+ \arabic@xetex@capsformat
+ \else
+ \arabic@luatex@capsformat
+ \fi
+ \fi
+}
+%
\def\noextras@arabic{%
- % restore original \MakeUppercase definition
- \let\MakeUppercase\xpg@save@MakeUppercase
+ \ifarabic@customsep
+ \ifxetex
+ \noarabic@xetex@capsformat
+ \else
+ \noarabic@luatex@capsformat
+ \fi
+ \fi
}
\endinput
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-armenian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-armenian.ldf
index cc15d39bd74..b49c4dcbed6 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-armenian.ldf}[polyglossia: module for Armenian]
@@ -44,6 +44,18 @@
}%
}
+\define@boolkey{armenian}[armenian@]{capitalyiwn}[true]{%
+ \ifarmenian@capitalyiwn
+ % MakeUppercase capitalizes the ligature of letters ech and yiwn (U+0587)
+ % to capital ech and yiwn (also the output if Armenian is not selected at all)
+ \SetLanguageKeys{armenian}{bcp47-casing=hy-x-yiwn,bcp47-extension-x=yiwn}
+ \else
+ % Capitalize ech and yiwn ligature to capital ech and vew,
+ % following Armenian spelling reform
+ \SetLanguageKeys{armenian}{bcp47-casing=hy,bcp47-extension-x={}}
+ \fi
+}
+
% Register default options
\xpg@initialize@gloss@options{armenian}{numerals=armenian,variant=western}
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-arq.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-arq.ldf
index f258f8b1f9e..deca7de45d2 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 47514824866..2ae2226d74d 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 2caf703acff..036b5874e75 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 ae10758edcb..65c26edbba5 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 42f5d8ce674..9cfec1e27e7 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
% 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 fa46003ba65..2db283f2dec 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 cfe4d7d82b4..6a5a810e659 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 44e4aa89839..9eb137dfa3a 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 0d769f00588..be429a692b4 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 b94514db69f..ae7d46fb15b 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 73e13aa8ff1..937aa26c9f4 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 6d948ab751c..1d4d882fd33 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 5528445cbc2..7c78dc5874a 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 4428ef6e39c..e387ad56188 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 80ef7b4d6e9..1ca40ed4f39 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-belarusian.ldf}[polyglossia: module for Belarusian]
@@ -85,7 +85,7 @@
}{}
\def\belarusian@shorthands{%
- \bbl@activate{"}%
+ \xpg@activate@shorthands%
\def\language@group{belarusian}%
\declare@shorthand{belarusian}{"`}{„}%
\declare@shorthand{belarusian}{"'}{“}%
@@ -124,7 +124,7 @@
}
\def\nobelarusian@shorthands{%
- \@ifundefined{initiate@active@char}{}{\bbl@deactivate{"}}%
+ \xpg@deactivate@shorthands%
}
% Taken from babel-belarusian
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-bengali.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-bengali.ldf
index 6fb37686990..8196e2badfe 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
% 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 c5b5b4e26e8..285b307628d 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 546caf87f2f..64ac33d5e0b 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 246376166af..ecaa50bbb1b 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 c1f26c26d2e..da766cab8ef 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 1992eec0962..0785721a360 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 d7a3320394b..14203e6fc77 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 330d5aa72de..0b616df6fca 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 c11f998bd60..405fb3f0f6e 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 de4f625f5f1..b51b1b265ef 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 21542f53b62..b06d4d72499 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 45100c3ed06..1e0d6ed7556 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 46f9dd98e92..764eb8dbe5b 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 496d725069a..017738226ab 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 95505154eff..6d503ad6730 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-catalan.ldf}[polyglossia: module for Catalan]
\PolyglossiaSetup{catalan}{
@@ -106,14 +106,14 @@
\def\bbl@L#1#2{\Lgem}
\def\catalan@shorthands{%
- \bbl@activate{"}%
+ \xpg@activate@shorthands%
\def\language@group{catalan}%
\declare@shorthand{catalan}{"l}{\lgem{}}
\declare@shorthand{catalan}{"L}{\Lgem{}}
}
\def\nocatalan@shorthands{%
- \@ifundefined{initiate@active@char}{}{\bbl@deactivate{"}}%
+ \xpg@deactivate@shorthands%
}
\def\captionscatalan{%
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-chinese.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-chinese.ldf
index 3516ceacbd0..711a04d5de3 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-chinese.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-chinese.ldf
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v1.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-chinese.ldf}[polyglossia: module for Chinese]
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 234e596033c..684682d020f 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 6e47b6d0858..fee833d2b7d 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 064d357503b..c854fb2ab0f 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 0a49bbdf325..bdc012b0fe1 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 54e2a3a7ff1..6c8dbeda44b 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 2c39e5d282c..cffc186b7ac 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-croatian.ldf}[polyglossia: module for Croatian]
\PolyglossiaSetup{croatian}{
@@ -77,7 +77,7 @@
}
\def\croatian@shorthands{%
- \bbl@activate{"}%
+ \xpg@activate@shorthands%
\def\language@group{croatian}%
\declare@shorthand{croatian}{"=}{\penalty\@M-\hskip\z@skip}%
\declare@shorthand{croatian}{""}{\hskip\z@skip}%
@@ -102,7 +102,7 @@
}
\def\nocroatian@shorthands{%
- \@ifundefined{initiate@active@char}{}{\bbl@deactivate{"}}%
+ \xpg@deactivate@shorthands%
}
\ifxetex
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-cy.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-cy.ldf
index 5489068286e..8c5b2446cbb 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 ea6f8e5d07b..1d3403786d3 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 8207eb78fc5..75600103ed9 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-czech.ldf}[polyglossia: module for Czech]
@@ -64,7 +64,7 @@
}
\def\czech@shorthands{%
- \bbl@activate{"}%
+ \xpg@activate@shorthands%
\def\language@group{czech}%
\declare@shorthand{czech}{"=}{\czech@splithyphen}%
\declare@shorthand{czech}{"`}{„}%
@@ -74,7 +74,7 @@
}
\def\noczech@shorthands{%
- \@ifundefined{initiate@active@char}{}{\bbl@deactivate{"}}%
+ \xpg@deactivate@shorthands%
}
\ifxetex
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-da.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-da.ldf
index 78763006f71..80f597e5b80 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 affcd91627c..6847ea09e83 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 8647f67656a..5c49c9e0ed4 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 20511d70b12..a92f15235dc 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 608212c3b90..2c9ff747e3d 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 8da7faab722..88b1ea452ff 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 82bae7e8b79..a7b90aa7caa 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 21801ea71c3..1e1f9d68365 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 ab10bfdaebb..93634858d84 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 cff5e74cd35..2f719478d7f 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 d3180a5fde5..4d0cbe76194 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 33611f4184a..da40ee797ae 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 611eac92ba1..358b9ec2100 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 a82ca16bcc0..30bfacbd81c 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 a2a7fcc7d3f..2680efe6e8c 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 b52f1fda6f5..1d127e30d4f 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 95cbdaf7752..f173b0c7d7c 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 71718d6945d..793a7609db1 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 cf4afc778cc..e05ec3210d0 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 d7703eddfcb..8d516eb3c6a 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 257d6a86f3e..8814f3e4f44 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 14d3852cfa0..b4224cf9e99 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 997372e1a48..54f29323d1e 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-divehi.ldf}[polyglossia: module for Divehi]
@@ -44,16 +44,4 @@
% }
%\def\datedivehi{\def\today{<++>}}
-% Save original \MakeUppercase definition
-\let\xpg@save@MakeUppercase\MakeUppercase
-
-\def\blockextras@divehi{%
- \def\MakeUppercase##1{##1}%
-}
-
-\def\noextras@divehi{%
- % restore original \MakeUppercase definition
- \let\MakeUppercase\xpg@save@MakeUppercase%
-}
-
\endinput
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-dsb.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-dsb.ldf
index 70cb1688287..a06883dfca2 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 36ace47ebda..87fb6bf083d 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-dutch.ldf}[polyglossia: module for Dutch]
\PolyglossiaSetup{dutch}{
@@ -17,8 +17,10 @@
\define@boolkey{dutch}[dutch@]{babelshorthands}[true]{}
+\define@boolkey{dutch}[dutch@]{tremahyphenation}[true]{}
+
% Register default options
-\xpg@initialize@gloss@options{dutch}{babelshorthands=false}
+\xpg@initialize@gloss@options{dutch}{babelshorthands=false,tremahyphenation=true}
\ifsystem@babelshorthands
\setkeys{dutch}{babelshorthands=true}
@@ -32,9 +34,33 @@
\shorthandoff{"}%
}{}
+\def\xpg@trema#1{\allowhyphens\discretionary{-}{#1}{\"{#1}}\allowhyphens}
+
+\def\xpg@itrema{%
+ \textormath{\allowhyphens\discretionary{-}{i}{\"{\i}}\allowhyphens}%
+ {\ddot \imath}%
+}
+
+\def\xpg@imtrema{%
+ \textormath{\allowhyphens\discretionary{-}{I}{\"{I}}\allowhyphens}%
+ {\ddot I}%
+}
+
\def\dutch@shorthands{%
- \bbl@activate{"}%
+ \xpg@activate@shorthands%
\def\language@group{dutch}%
+ \declare@shorthand{dutch}{"a}{\textormath{\xpg@trema{a}}{\ddot a}}%
+ \declare@shorthand{dutch}{"e}{\textormath{\xpg@trema{e}}{\ddot e}}%
+ \declare@shorthand{dutch}{"i}{\xpg@itrema}%
+ \declare@shorthand{dutch}{"o}{\textormath{\xpg@trema{o}}{\ddot o}}%
+ \declare@shorthand{dutch}{"u}{\textormath{\xpg@trema{u}}{\ddot u}}%
+ \declare@shorthand{dutch}{"A}{\textormath{\xpg@trema{A}}{\ddot A}}%
+ \declare@shorthand{dutch}{"E}{\textormath{\xpg@trema{E}}{\ddot E}}%
+ \declare@shorthand{dutch}{"I}{\xpg@imtrema}%
+ \declare@shorthand{dutch}{"O}{\textormath{\xpg@trema{O}}{\ddot O}}%
+ \declare@shorthand{dutch}{"U}{\textormath{\xpg@trema{U}}{\ddot U}}%
+ \declare@shorthand{dutch}{"y}{\textormath{\ij{}}{\ddot y}}%
+ \declare@shorthand{dutch}{"Y}{\textormath{\IJ{}}{\ddot Y}}%
\declare@shorthand{dutch}{"-}{\nobreak-\bbl@allowhyphens}%
\declare@shorthand{dutch}{"~}{\textormath{\leavevmode\hbox{-}}{-}}%
\declare@shorthand{dutch}{"|}{%
@@ -46,10 +72,86 @@
}
\def\nodutch@shorthands{%
- \@ifundefined{initiate@active@char}{}{\bbl@deactivate{"}}%
+ \xpg@deactivate@shorthands%
\def\-{\discretionary{-}{}{}}% << original def in latex.ltx
}
+%
+% Support proper hyphenation of tremata: after hyphenation,
+% the trema is omitted, e.g. geëxecuteerd > ge-executeerd
+% We support this by making the respective letters active.
+%
+% Save catcodes of trema characters for later restorage
+\chardef\xpg@saved@auml@catcode\catcode`ä
+\chardef\xpg@saved@euml@catcode\catcode`ë
+\chardef\xpg@saved@iuml@catcode\catcode`ï
+\chardef\xpg@saved@ouml@catcode\catcode`ö
+\chardef\xpg@saved@uuml@catcode\catcode`ü
+\chardef\xpg@saved@Auml@catcode\catcode`Ä
+\chardef\xpg@saved@Euml@catcode\catcode`Ë
+\chardef\xpg@saved@Iuml@catcode\catcode`Ï
+\chardef\xpg@saved@Ouml@catcode\catcode`Ö
+\chardef\xpg@saved@Uuml@catcode\catcode`Ü
+
+% activate trema characters
+\def\dutch@@tremahyph{%
+ \catcode`ä = \active
+ \catcode`ë = \active
+ \catcode`ï = \active
+ \catcode`ö = \active
+ \catcode`ü = \active
+ \catcode`Ä = \active
+ \catcode`Ë = \active
+ \catcode`Ï = \active
+ \catcode`Ö = \active
+ \catcode`Ü = \active
+}
+
+% restore previous catcode of trema characters
+\def\nodutch@@tremahyph{%
+ \catcode`ä = \xpg@saved@auml@catcode
+ \catcode`ë = \xpg@saved@euml@catcode
+ \catcode`ï = \xpg@saved@iuml@catcode
+ \catcode`ö = \xpg@saved@ouml@catcode
+ \catcode`ü = \xpg@saved@uuml@catcode
+ \catcode`Ä = \xpg@saved@Auml@catcode
+ \catcode`Ë = \xpg@saved@Euml@catcode
+ \catcode`Ï = \xpg@saved@Iuml@catcode
+ \catcode`Ö = \xpg@saved@Ouml@catcode
+ \catcode`Ü = \xpg@saved@Uuml@catcode
+}
+
+\bgroup
+\dutch@@tremahyph
+\gdef\dutch@tremahyph{%
+ \dutch@@tremahyph%
+ \def ä{\textormath{\xpg@trema{a}}{\ddot a}}%
+ \def ë{\textormath{\xpg@trema{e}}{\ddot e}}%
+ \def ï{\textormath{\xpg@trema{i}}{\ddot i}}%
+ \def ö{\textormath{\xpg@trema{o}}{\ddot o}}%
+ \def ü{\textormath{\xpg@trema{u}}{\ddot u}}%
+ \def Ä{\textormath{\xpg@trema{A}}{\ddot A}}%
+ \def Ë{\textormath{\xpg@trema{E}}{\ddot E}}%
+ \def Ï{\textormath{\xpg@trema{I}}{\ddot I}}%
+ \def Ö{\textormath{\xpg@trema{O}}{\ddot O}}%
+ \def Ü{\textormath{\xpg@trema{U}}{\ddot U}}%
+}
+
+\gdef\nodutch@tremahyph{%
+ \let ä\relax%
+ \let ë\relax%
+ \let ï\relax%
+ \let ö\relax%
+ \let ü\relax%
+ \let Ä\relax%
+ \let Ë\relax%
+ \let Ï\relax%
+ \let Ö\relax%
+ \let Ü\relax%
+ \nodutch@@tremahyph%
+}
+\egroup
+
\def\captionsdutch{%
\def\prefacename{Voorwoord}%
\def\refname{Referenties}%
@@ -84,14 +186,17 @@
\def\noextras@dutch{%
\ifdutch@babelshorthands\nodutch@shorthands\fi%
+ \ifdutch@tremahyphenation\nodutch@tremahyph\fi%
}
\def\blockextras@dutch{%
\ifdutch@babelshorthands\dutch@shorthands\else\nodutch@shorthands\fi%
+ \ifdutch@tremahyphenation\dutch@tremahyph\else\nodutch@tremahyph\fi%
}
\def\inlineextras@dutch{%
\ifdutch@babelshorthands\dutch@shorthands\else\nodutch@shorthands\fi%
+ \ifdutch@tremahyphenation\dutch@tremahyph\else\nodutch@tremahyph\fi%
}
\endinput
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-dv.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-dv.ldf
index 9d6ed580c26..86dbb0e2f56 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 e4aa8aefb97..25d2c3d392d 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 c33c811e003..b03e57ce133 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 c1848a1d0dc..90cab72f89d 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 84e940cc7e0..ff2826b311c 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 8f64ea467f7..99c0c14989c 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 e072fb41fb1..c36c4e5406f 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 8925a3b79a2..4d1f507057e 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 dd443169795..657914d2e2d 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 553c2627808..900606175c8 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 a25d99a3403..014dc02dd47 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 512891ec2c3..16d89aaea94 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 75ea8b026c2..da4203a05a8 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 cff4e2a6b10..27a22e3d831 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 c45a83f04d0..734f6763d98 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 0dd067b63e7..9ab30a97562 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 17e66adf7e3..c2b3ef9a3be 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 3cc24ab186a..6a65aa07101 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 4019a6676a0..bf9c8ecb84b 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 666aa972e65..2f6ac585319 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 523f3c0b4a7..084c18624ad 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 7d973d9e74b..710cf5d41fa 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 cffa663293d..fc95d667561 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-finnish.ldf}[polyglossia: module for Finnish]
\PolyglossiaSetup{finnish}{
@@ -36,7 +36,7 @@
}{}
\def\finnish@shorthands{%
- \bbl@activate{"}%
+ \xpg@activate@shorthands%
\def\language@group{finnish}%
\declare@shorthand{finnish}{"-}{\nobreak-\bbl@allowhyphens}
\declare@shorthand{finnish}{"|}{\textormath{\penalty\@M\discretionary{-}{}{\kern.03em}}{}}%
@@ -48,7 +48,7 @@
}
\def\nofinnish@shorthands{%
- \@ifundefined{initiate@active@char}{}{\bbl@deactivate{"}}%
+ \xpg@deactivate@shorthands%
}
\def\captionsfinnish{%
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CA-u-sd-canb.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CA-u-sd-canb.ldf
new file mode 100644
index 00000000000..d47674f0e98
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CA-u-sd-canb.ldf
@@ -0,0 +1,9 @@
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
+%
+\ProvidesFile{gloss-fr-CA-u-sd-canb.ldf}[polyglossia: module for fr-CA-u-sd-canb (Canadian French, Acadian subvariety)]
+
+% We provide this as a bcp47-compliant alias
+
+\xpg@load@master@language{french}
+
+\endinput
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 28a299d3746..04c66061f51 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 b43d0fa6b0b..b6053c25fd5 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 1bea7f74262..7fcedb80081 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 012170e89c9..7a6b1c4124c 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 87ce2bfb61f..2da75565417 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-french.ldf}[polyglossia: module for French]
@@ -19,11 +19,12 @@
% BCP-47 compliant aliases
\setlanguagealias*{french}{fr}
\setlanguagealias*[variant=french]{french}{fr-FR}
+\setlanguagealias*[variant=acadian]{french}{fr-CA-u-sd-canb}
\setlanguagealias*[variant=canadian]{french}{fr-CA}
\setlanguagealias*[variant=swiss]{french}{fr-CH}
% Babel aliases
-\setlanguagealias[variant=acadian]{french}{acadien}
+\setlanguagealias[variant=acadian]{french}{acadian}
\setlanguagealias[variant=canadian]{french}{canadien}
\def\french@variant{french}
@@ -36,7 +37,7 @@
\or
% canadian:
\def\french@variant{canadien}%
- \SetLanguageKeys{french}{babelname=canadien,bcp47=fr-CA,bcp47-language=fr,bcp47-region=CA}%
+ \SetLanguageKeys{french}{babelname=canadien,bcp47=fr-CA,bcp47-language=fr,bcp47-region=CA,bcp47-extension-u=sd-caqc}%
\xpg@ifdefined{canadien}{}%
{\xpg@warning{No hyphenation patterns were loaded for "French (Canada)"\MessageBreak
I will use the standard patterns for French instead}%
@@ -45,9 +46,9 @@
\or
% acadian:
\def\french@variant{acadian}%
- \SetLanguageKeys{french}{babelname=canadien,bcp47=fr-CA,bcp47-language=fr,bcp47-region=CA}%
+ \SetLanguageKeys{french}{babelname=acadian,bcp47=fr-CA-u-sd-canb,bcp47-language=fr,bcp47-region=CA,bcp47-extension-u=sd-canb}%
\xpg@ifdefined{acadian}{}%
- {\xpg@warning{No hyphenation patterns were loaded for "French (Canada)"\MessageBreak
+ {\xpg@warning{No hyphenation patterns were loaded for "French (Canada, Acadian)"\MessageBreak
I will use the standard patterns for French instead}%
\adddialect\l@acadian\l@french\relax}%
\french@thincolonspacefalse
@@ -87,24 +88,7 @@
\let\xpg@orig@makefntext\@makefntext
}
-\define@boolkey{french}[french@]{frenchfootnote}[true]{%
- \AfterPreamble{%
- \iffrench@frenchfootnote
- \ifdefstring{\xpg@main@language}{french}{%
- \ifx\@makefntext\undefined\else
- \long\def\french@makefntext##1{%
- \parindent1em \noindent\quad%
- \ifx\@thefnmark\empty\else%
- \@thefnmark.\space\fi ##1%
- }
- \let\@makefntext\french@makefntext
- \fi
- }{\xpg@warning{Option 'frenchfootnote' only supported if French is main language!}}%
- \else
- \let\@makefntext\xpg@orig@makefntext
- \fi
- }%
-}
+\define@boolkey{french}[french@]{frenchfootnote}[true]{}
\define@boolkey{french}[french@]{autospacing}[true]{}
\french@autospacingtrue
@@ -175,20 +159,7 @@
\def\french@itemiv{#1}
}
-\define@boolkey{french}[french@]{frenchitemlabels}[true]{%
- \AfterPreamble{%
- \iffrench@frenchitemlabels
- \ifdefstring{\xpg@main@language}{french}{%
- \renewcommand{\labelitemi}{\french@itemi}%
- \renewcommand{\labelitemii}{\french@itemii}%
- \renewcommand{\labelitemiii}{\french@itemiii}%
- \renewcommand{\labelitemiv}{\french@itemiv}%
- }{\xpg@warning{Option 'frenchitemlabels' only supported if French is main language!}}%
- \else
- \let\@makefntext\xpg@orig@makefntext
- \fi
- }%
-}
+\define@boolkey{french}[french@]{frenchitemlabels}[true]{}
% Register default options
\xpg@initialize@gloss@options{french}{variant=french,autospacing=true,thincolonspace=false,
@@ -465,6 +436,50 @@
}% (end \ifdefined\titleformat)
}
+\newif\if@xpg@french@footnote@set
+\@xpg@french@footnote@setfalse
+\def\set@french@footnote{%
+ % Set French footnote once if requested
+ \if@xpg@french@footnote@set%
+ \else%
+ \iffrench@frenchfootnote%
+ \ifdefstring{\xpg@main@language}{french}{%
+ \ifx\@makefntext\undefined\else%
+ \long\def\french@makefntext##1{%
+ \parindent1em \noindent\quad%
+ \ifx\@thefnmark\empty\else%
+ \@thefnmark.\space\fi ##1%
+ }%
+ \let\@makefntext\french@makefntext%
+ \fi%
+ }{\xpg@warning{Option 'frenchfootnote' only supported if French is main language!}}%
+ \else%
+ \let\@makefntext\xpg@orig@makefntext%
+ \fi%
+ \@xpg@french@footnote@settrue%
+ \fi%
+}
+
+\newif\if@xpg@french@itemlabels@set
+\@xpg@french@itemlabels@setfalse
+\def\set@french@itemlabels{%
+ % Set French itemlabels once if requested
+ \if@xpg@french@itemlabels@set%
+ \else%
+ \iffrench@frenchitemlabels
+ \ifdefstring{\xpg@main@language}{french}{%
+ \renewcommand{\labelitemi}{\french@itemi}%
+ \renewcommand{\labelitemii}{\french@itemii}%
+ \renewcommand{\labelitemiii}{\french@itemiii}%
+ \renewcommand{\labelitemiv}{\french@itemiv}%
+ }{\xpg@warning{Option 'frenchitemlabels' only supported if French is main language!}}%
+ \else
+ \let\@makefntext\xpg@orig@makefntext
+ \fi
+ \@xpg@french@itemlabels@settrue%
+ \fi%
+}
+
\def\noextras@french{%
\nofrench@punctuation%
\nofrench@fontsetup%
@@ -472,11 +487,17 @@
}
\def\blockextras@french{%
- \iffrench@autospacing
+ % Set French itemlabels and footnote,
+ % if so requested, once in the document body
+ \ifx\@onlypreamble\@notprerr%
+ \set@french@footnote%
+ \set@french@itemlabels%
+ \fi%
+ \iffrench@autospacing%
\french@punctuation%
- \fi
+ \fi%
\french@fontsetup%
- \iffrench@frenchpart
+ \iffrench@frenchpart%
\french@capsformat%
\fi%
}
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-friulan.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-friulan.ldf
index 52f1f3a6602..65dbee0bdec 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 f86869d91ed..f10f0ec5851 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 f4750345429..911c56d6cce 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 b744c7b46ac..b51582fd4a0 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 35c4774df05..864c8e5a20e 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 6d4daa2cce2..d3a0301fac2 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 77ae909e9ad..a69bb5e1ff2 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 d4ab17ef5d9..c2362c48781 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-georgian.ldf}[polyglossia: module for Georgian]
@@ -48,7 +48,7 @@
}{}
\def\georgian@shorthands{%
- \bbl@activate{"}%
+ \xpg@activate@shorthands%
\def\language@group{georgian}%
\declare@shorthand{georgian}{"`}{„}%
\declare@shorthand{georgian}{"'}{“}%
@@ -86,7 +86,7 @@
}
\def\nogeorgian@shorthands{%
- \@ifundefined{initiate@active@char}{}{\bbl@deactivate{"}}%
+ \xpg@deactivate@shorthands%
}
\def\captionsgeorgian{%
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf
index 5e7e40d8456..8ae8015f7c7 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-german.ldf}[polyglossia: module for German]
@@ -155,6 +155,17 @@
\xpg@info{Option: German, script=\xpg@val}%
}{\xpg@warning{Unknown German script `#1'}}
+\define@boolkey{german}[german@]{capitaleszett}[true]{%
+ \ifgerman@capitaleszett
+ % MakeUppercase capitalizes the eszett (U+00DF) with U+1E9E
+ \SetLanguageKeys{german}{bcp47-casing=de-x-eszett,bcp47-extension-x=eszett}
+ \else
+ % Capitalize eszett as <SS>
+ \SetLanguageKeys{german}{bcp47-casing=de,bcp47-extension-x={}}
+ \fi
+}
+
+
% Option defunc'ed, as both XeTeX and LuaTeX meanwhile
% use the experimental German hyphenation patterns by default.
\define@boolkey{german}[german@]{latesthyphen}[true]{}
@@ -183,7 +194,7 @@
}{}
\def\german@shorthands{%
- \bbl@activate{"}%
+ \xpg@activate@shorthands%
\def\language@group{german}%
\declare@shorthand{german}{"`}{„}%
\declare@shorthand{german}{"'}{“}%
@@ -223,7 +234,7 @@
}
\def\nogerman@shorthands{%
- \@ifundefined{initiate@active@char}{}{\bbl@deactivate{"}}%
+ \xpg@deactivate@shorthands%
}
\def\captions@german{%
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-germanb.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-germanb.ldf
index 94c4892b162..922035604c0 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 f050b4eaa2f..dcd5085e1ce 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 322f7c4a855..e15c3f544ff 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 f6af8188a87..419f022c6b7 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-greek.ldf}[polyglossia: module for Greek]
@@ -8,6 +8,7 @@
bcp47-variant=monoton,
bcp47-script=Grek,
bcp47-extension-u=nu-grek,
+ bcp47-casing=el,
script=Greek,
scripttag=grek,
langtag=ELL,
@@ -36,56 +37,79 @@
% this file imported from xgreek fixes the \lccode and \uccode of Greek letters:
\input{xgreek-fixes.def}
-\def\tmp@mono{mono}
-\def\tmp@monotonic{monotonic}
-\def\tmp@poly{poly}
-\def\tmp@polytonic{polytonic}
-\def\tmp@ancient{ancient}
-\def\tmp@ancientgreek{ancientgreek}
-
\def\greek@variant{monogreek}
-\define@key{greek}{variant}[monotonic]{%
- \def\@tmpa{#1}%
- \xpg@ifdefined{greek}{}{%
+\newif\if@greek@ancient\@greek@ancientfalse
+\newif\if@greek@poly\@greek@polyfalse
+
+\define@choicekey*+{greek}{variant}[\xpg@val\xpg@nr]{monotonic,mono,polytonic,poly,ancient,ancientgreek}[monotonic]{%
+ \xpg@ifdefined{greek}{}{%
\xpg@nopatterns{greek}%
\adddialect\l@greek\l@nohyphenation
- }%
- \ifx\@tmpa\tmp@poly\def\@tmpa{polytonic}\fi
- \ifx\@tmpa\tmp@ancientgreek\def\@tmpa{ancient}\fi
- \ifx\@tmpa\tmp@polytonic%
- \xpg@ifdefined{polygreek}{}%
- {\xpg@warning{No hyphenation patterns were loaded for Polytonic Greek\MessageBreak
- I will use the patterns loaded for \string\l@greek\space instead}%
- \adddialect\l@polygreek\l@greek\relax}%
- \def\greek@variant{polygreek}%
- \def\captionsgreek{\polygreekcaptions}%
- \def\dategreek{\datepolygreek}%
- \SetLanguageKeys{greek}{babelname=polutonikogreek,bcp47=el-polyton,bcp47-language=el,bcp47-variant=polyton}%
- \xpg@info{Option: Polytonic Greek}%
- \else
- \ifx\@tmpa\tmp@ancient
- \xpg@ifdefined{ancientgreek}{}%
- {\xpg@warning{No hyphenation patterns were loaded for Ancient Greek\MessageBreak
- I will use the patterns loaded for \string\l@greek\space instead}%
- \adddialect\l@ancientgreek\l@greek\relax}%
- \def\greek@variant{ancientgreek}%
- \def\captionsgreek{\ancientgreekcaptions}%
- \def\dategreek{\dateancientgreek}%
- \SetLanguageKeys{greek}{babelname=greek,bcp47=grc,bcp47-language=grc,bcp47-variant={}}%
- \xpg@info{Option: Ancient Greek}%
- \else %monotonic
- \xpg@ifdefined{monogreek}{}%
- {\xpg@warning{No hyphenation patterns were loaded for Monotonic Greek\MessageBreak
- I will use the patterns loaded for \string\l@greek\space instead}%
- \adddialect\l@monogreek\l@greek\relax}%
- \def\greek@variant{monogreek}% monotonic
- \def\captionsgreek{\monogreekcaptions}%
- \def\dategreek{\datemonogreek}%
- \SetLanguageKeys{greek}{babelname=greek,bcp47=el-monoton,bcp47-language=el,bcp47-variant=polyton}%
- \xpg@info{Option: Monotonic Greek}%
- \fi
- \fi}
+ }%
+ \ifcase\xpg@nr\relax
+ % monotonic:
+ \@greek@polyfalse
+ \@greek@ancientfalse
+ \or
+ % mono:
+ \@greek@polyfalse
+ \@greek@ancientfalse
+ \or
+ % polytonic:
+ \@greek@polytrue
+ \@greek@ancientfalse
+ \or
+ % poly:
+ \@greek@polytrue
+ \@greek@ancientfalse
+ \or
+ % ancient:
+ \@greek@polyfalse
+ \@greek@ancienttrue
+ \or
+ % ancientgreek:
+ \@greek@polyfalse
+ \@greek@ancienttrue
+ \fi
+ \greek@set@langdata
+ \xpg@info{Option: Greek, variant=\xpg@val}%
+}{\xpg@warning{Unknown Greek variant `#1'}}
+
+
+\def\greek@set@langdata{%
+ \if@greek@ancient
+ \xpg@ifdefined{ancientgreek}{}%
+ {\xpg@warning{No hyphenation patterns were loaded for Ancient Greek\MessageBreak
+ I will use the patterns loaded for \string\l@greek\space instead}%
+ \adddialect\l@ancientgreek\l@greek\relax}%
+ \def\greek@variant{ancientgreek}%
+ \def\captionsgreek{\ancientgreekcaptions}%
+ \def\dategreek{\dateancientgreek}%
+ \SetLanguageKeys{greek}{babelname=greek,bcp47=grc,bcp47-language=grc,bcp47-variant={}}%
+ \else
+ \if@greek@poly
+ \xpg@ifdefined{polygreek}{}%
+ {\xpg@warning{No hyphenation patterns were loaded for Polytonic Greek\MessageBreak
+ I will use the patterns loaded for \string\l@greek\space instead}%
+ \adddialect\l@polygreek\l@greek\relax}%
+ \def\greek@variant{polygreek}%
+ \def\captionsgreek{\polygreekcaptions}%
+ \def\dategreek{\datepolygreek}%
+ \SetLanguageKeys{greek}{babelname=polutonikogreek,bcp47=el-polyton,bcp47-language=el,bcp47-variant=polyton}%
+ \else% monotonic greek
+ \xpg@ifdefined{monogreek}{}%
+ {\xpg@warning{No hyphenation patterns were loaded for Monotonic Greek\MessageBreak
+ I will use the patterns loaded for \string\l@greek\space instead}%
+ \adddialect\l@monogreek\l@greek\relax}%
+ \def\greek@variant{monogreek}% monotonic
+ \def\captionsgreek{\monogreekcaptions}%
+ \def\dategreek{\datemonogreek}%
+ \SetLanguageKeys{greek}{babelname=greek,bcp47=el-monoton,bcp47-language=el,bcp47-variant=monoton}%
+ \fi%
+ \fi%
+}
+
\def\greek@language{%
\polyglossia@setup@language@patterns{\greek@variant}%
@@ -93,13 +117,28 @@
\newif\if@greek@numerals
-\define@key{greek}{numerals}[greek]{%
- \ifstrequal{#1}{arabic}{%
- \@greek@numeralsfalse%
- \SetLanguageKeys{greek}{bcp47-extension-u=nu-latn}%
- }{\@greek@numeralstrue%
- \SetLanguageKeys{greek}{bcp47-extension-u=nu-grek}%
- }%
+\define@choicekey*+{greek}{numerals}[\xpg@val\xpg@nr]{greek,arabic}[greek]{%
+ \ifcase\xpg@nr\relax
+ % greek:
+ \@greek@numeralstrue%
+ \SetLanguageKeys{greek}{bcp47-extension-u=nu-grek}%
+ \or
+ % arabic:
+ \@greek@numeralsfalse%
+ \SetLanguageKeys{greek}{bcp47-extension-u=nu-latn}%
+ \fi
+ \xpg@info{Option: Greek, numerals=\xpg@val}%
+}{\xpg@warning{Unknown Greek numerals value `#1'}}
+
+
+\define@boolkey{greek}[greek@]{capitaliota}[true]{%
+ \ifgreek@capitaliota
+ % \MakeUppercase converts the ypogegrammeni (subscript muted iota) to capital iota
+ \SetLanguageKeys{greek}{bcp47-casing=el-x-iota,bcp47-extension-x=iota}
+ \else
+ % \MakeUppercase retains the subscript versions (default)
+ \SetLanguageKeys{greek}{bcp47-casing=el,bcp47-extension-x={}}
+ \fi
}
\define@boolkey{greek}{attic}[true]{\xpg@warning{Greek option `attic' is no longer required.}}
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-he.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-he.ldf
index 2e0a59aa248..8564642ac88 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 bd6045eafbd..a6677c77394 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-hebrew.ldf}[polyglossia: module for Hebrew]
@@ -116,24 +116,24 @@
}
\ifxetex
+ % Bidi inserts an RTL mark (0x200f) between number and number separator (- .),
+ % forcing numbers to RTL. This is wrong for Hebrew.
+ % So we defunc the respective command with XeTeX.
\let\xpg@orig@DigitsDotDashInterCharToks\DigitsDotDashInterCharToks%
-\fi
-
-\def\hebrew@ltr@numbers{%
- \ifxetex
- % Bidi inserts an RTL mark (0x200f) between number and number separator (- .),
- % forcing numbers to RTL. This is wrong for Hebrew.
- % So we defunc the respective command.
- \renewcommand*{\DigitsDotDashInterCharToks}{}%
- \fi%
-}
-\def\nohebrew@ltr@numbers{%
- \ifxetex
- % Restore bidi's \DigitsDotDashInterCharToks
- \let\DigitsDotDashInterCharToks\xpg@orig@DigitsDotDashInterCharToks%
- \fi%
-}
+ \def\hebrew@ltr@numbers{%
+ \renewcommand*{\DigitsDotDashInterCharToks}{}%
+ }
+
+ \def\nohebrew@ltr@numbers{%
+ % Restore bidi's \DigitsDotDashInterCharToks
+ \let\DigitsDotDashInterCharToks\xpg@orig@DigitsDotDashInterCharToks%
+ }
+\else
+ % Only dummy commands (nothing to do here) for LuaTeX
+ \def\hebrew@ltr@numbers{}
+ \def\nohebrew@ltr@numbers{}
+\fi%
\def\hebrew@numbers{%
\let\@alph\hebrewnumeral%
@@ -146,7 +146,7 @@
\let\@alph\latin@alph%
\let\@Alph\latin@Alph%
% Restore previous bidi numbers definition
- \nohebrew@ltr@numbers
+ \nohebrew@ltr@numbers%
}
\def\hebrew@globalnumbers{%
@@ -163,16 +163,4 @@
\let\@arabic\xpg@save@arabic%
}
-% Save original \MakeUppercase definition
-\let\xpg@save@MakeUppercase\MakeUppercase
-
-\def\blockextras@hebrew{%
- \def\MakeUppercase##1{##1}%
-}
-
-\def\noextras@hebrew{%
- % restore original \MakeUppercase definition
- \let\MakeUppercase\xpg@save@MakeUppercase%
-}
-
\endinput
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-hi.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-hi.ldf
index 738afe95c68..4275fb115a6 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 155fbaffcfb..1d5be2ee2ab 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
% UTF-8 strings kindly provided by Zdenĕk Wagner, 10-03-2008
% with corrections and additional contributions by Anshuman Pandey
@@ -108,16 +108,4 @@
\space\hindinumber\year}%
}
-% Save original \MakeUppercase definition
-\let\xpg@save@MakeUppercase\MakeUppercase
-
-\def\blockextras@hindi{%
- \def\MakeUppercase##1{##1}%
-}
-
-\def\noextras@hindi{%
- % restore original \MakeUppercase definition
- \let\MakeUppercase\xpg@save@MakeUppercase%
-}
-
\endinput
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-hr.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-hr.ldf
index 0413c64ed3d..c9cfdfd5d1c 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 67380129817..e88ead8f4ad 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 5ea65c3f101..c8e28592240 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 7d5d433a700..5d5b948b280 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 cc5243f9892..c06e8fe30f4 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 4c1bf6c0fbf..b3867e7cc91 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 cd6b5626783..74493490db0 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 718bc35b385..56b0261dd68 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 2b35b6f0319..a0e2cbf457d 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 26f08231125..00b06adc573 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 b532ee3d55e..e5da6efff66 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 8ca39ef941e..5690110b9d3 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 ee59a39bf6f..1a74dd36364 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-italian.ldf}[polyglossia: module for Italian]
\PolyglossiaSetup{italian}{
@@ -38,7 +38,7 @@
}{}
\def\italian@shorthands{%
- \bbl@activate{"}%
+ \xpg@activate@shorthands%
\def\language@group{italian}%
\declare@shorthand{italian}{"}{%
\relax\ifmmode
@@ -78,7 +78,7 @@
\xpgit@@next}
\def\noitalian@shorthands{%
- \@ifundefined{initiate@active@char}{}{\bbl@deactivate{"}}%
+ \xpg@deactivate@shorthands%
}
%%% CHANGES END %%%
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ja.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ja.ldf
index ad6c298a79e..0b723898c2a 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 1f36c444ee4..9eef9b53095 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 0200a11f438..eef5ac5acac 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 97181d103fd..5d5b555e7d4 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.62 -- 2023/04/22)
+%% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%%
%% 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 f8a20694817..ab46b879796 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 1bcba524772..8686395343a 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 8b2f767879d..7b870265eaa 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 d6f9e415904..0ea3647845f 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 05ffc8277ec..01edad8b8c2 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 b1d80f902c8..8749986ba9b 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 baccd8b3e9b..8cca1fde946 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 ee72e392b70..a0d9235e549 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-korean.ldf}[polyglossia: module for Korean]
@@ -114,9 +114,9 @@
\if@korean@swapheadings
% With titlesec
\ifcsdef{titleformat}{%
- \ifcsdef{H@old@part}{% Hyperref
- \let\xpg@save@part@format\H@old@part
- \patchcmd{\H@old@part}%
+ \ifcsdef{NR@part}{% Hyperref (nameref)
+ \let\xpg@save@part@format\NR@part
+ \patchcmd{\NR@part}%
{\partname\nobreakspace\thepart}%
{\koreanTHEname\nobreakspace \thepart\nobreakspace \partname}%
{}%
@@ -155,9 +155,9 @@
\IfChapterUsesPrefixLine
{%
\ifx\@chapapp\korean@appendix@chapapp
- \chapappifchapterprefix\nobreakspace \thechapter\autodot
+ \chapapp\nobreakspace \thechapter\autodot
\else
- \koreanTHEname\nobreakspace \thechapter\nobreakspace \chapappifchapterprefix{}%
+ \koreanTHEname\nobreakspace \thechapter\nobreakspace \chapapp\autodot
\fi
}%
{\thechapter\autodot\enskip}%
@@ -185,9 +185,9 @@
{\chapnamefont\koreanTHEname\chapternamenum}{}}%
\fi
}{}%
- \ifcsdef{H@old@part}{% Hyperref
- \let\xpg@save@part@format\H@old@part
- \patchcmd{\H@old@part}%
+ \ifcsdef{NR@part}{% Hyperref (nameref)
+ \let\xpg@save@part@format\NR@part
+ \patchcmd{\NR@part}%
{\printpartname \partnamenum \printpartnum}%
{\printkoreanpartthe \printpartnum\partnamenum \printpartname}%
{}%
@@ -224,9 +224,9 @@
{}%
{\xpg@warning{Failed to patch chapter for Korean}}%
}{}%
- \ifcsdef{H@old@part}{% Hyperref
- \let\xpg@save@part@format\H@old@part
- \patchcmd{\H@old@part}%
+ \ifcsdef{NR@part}{% Hyperref (nameref)
+ \let\xpg@save@part@format\NR@part
+ \patchcmd{\NR@part}%
{\partname\nobreakspace\thepart}%
{\koreanTHEname\nobreakspace \thepart\nobreakspace \partname}%
{}%
@@ -258,9 +258,9 @@
\IfChapterUsesPrefixLine
{%
\ifx\@chapapp\korean@appendix@chapapp
- \chapappifchapterprefix\ \thechapter\autodot
+ \chapapp\ \thechapter\autodot
\else
- \koreanTHEname\ \thechapter\ \chapappifchapterprefix{}%
+ \koreanTHEname\ \thechapter\ \chapapp\autodot
\fi
}%
{\thechapter\autodot}%
@@ -310,8 +310,8 @@
\ifcsdef{titleformat}{%
% With titlesec
\ifcsdef{xpg@save@part@format}{%
- \ifcsdef{H@old@part}{%
- \let\H@old@part\xpg@save@part@format
+ \ifcsdef{NR@part}{%
+ \let\NR@part\xpg@save@part@format
}{%
\let\@part\xpg@save@part@format
}%
@@ -333,8 +333,8 @@
}{%
% With memoir and standard classes
\ifcsdef{xpg@save@part@format}{%
- \ifcsdef{H@old@part}{%
- \let\H@old@part\xpg@save@part@format
+ \ifcsdef{NR@part}{%
+ \let\NR@part\xpg@save@part@format
}{%
\let\@part\xpg@save@part@format
}%
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 75e2a550269..5b9e965a42f 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 ae09358893c..a2a2f162e59 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 1bbd24a1751..73b9a4cf31f 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 bb0f34c83f8..159ce2d7631 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
% Created on September 1, 2019
% Last updated on May 17, 2020
@@ -27,13 +27,13 @@
% BCP-47 compliant aliases
\setlanguagealias*{kurdish}{ku}
-\setlanguagealias*[variant=kurmanji,script=Latin]{kurdish}{kmr-Latn}
+\setlanguagealias*[variant=kurmanji,script=latin]{kurdish}{kmr-Latn}
\setlanguagealias*[variant=sorani]{kurdish}{ckb}
-\setlanguagealias*[variant=kurmanji,script=Arabic]{kurdish}{kmr-Arab}
-\setlanguagealias*[script=Latin]{kurdish}{ku-Latn}
-\setlanguagealias*[variant=sorani,script=Arabic]{kurdish}{ckb-Arab}
-\setlanguagealias*[variant=sorani,script=Latin]{kurdish}{ckb-Latn}
-\setlanguagealias*[script=Arabic]{kurdish}{ku-Arab}
+\setlanguagealias*[variant=kurmanji,script=arabic]{kurdish}{kmr-Arab}
+\setlanguagealias*[script=latin]{kurdish}{ku-Latn}
+\setlanguagealias*[variant=sorani,script=arabic]{kurdish}{ckb-Arab}
+\setlanguagealias*[variant=sorani,script=latin]{kurdish}{ckb-Latn}
+\setlanguagealias*[script=arabic]{kurdish}{ku-Arab}
\setlanguagealias*[variant=kurmanji]{kurdish}{kmr}
% Babel aliases
@@ -57,13 +57,13 @@
\newif\if@kurdish@latin
\newif\if@kurdish@arabic
-\define@choicekey*+{kurdish}{script}[\xpg@val\xpg@nr]{Arabic,Latin}{%
+\define@choicekey*+{kurdish}{script}[\xpg@val\xpg@nr]{arabic,latin}{%
\ifcase\xpg@nr\relax
- % Arabic:
+ % arabic:
\@kurdish@latinfalse%
\@kurdish@arabictrue%
\or
- % Latin:
+ % latin:
\@kurdish@latintrue%
\@kurdish@arabicfalse%
\fi
@@ -78,7 +78,7 @@
\def\kurdish@pattern{nohyphenation}
\def\kurdish@set@variety{%
- \if@kurdish@latin% Latin explicitly set
+ \if@kurdish@latin% latin explicitly set
\@western@numeralstrue%
\if@kurdish@kurmanji
\def\kurdish@pattern{kurmanji}%
@@ -89,7 +89,7 @@
\def\kurdish@script{latin}
\xpg@fontsetup@latin{kurdish}%
\else
- \if@kurdish@arabic% Arabic explicitly set
+ \if@kurdish@arabic% arabic explicitly set
\if@kurdish@kurmanji
\if@force@western@numerals\else\@western@numeralsfalse\fi%
\SetLanguageKeys{kurdish}{script=Arabic,direction=RL,scripttag=arab,babelname=kurmanji,bcp47=kmr-Arab,bcp47-language=kmr,bcp47-script=Arab,bcp47-casing=kmr-Arab}%
@@ -98,7 +98,7 @@
\SetLanguageKeys{kurdish}{script=Arabic,direction=RL,scripttag=arab,babelname=kurdish,bcp47=ckb-Arab,bcp47-language=ckb,bcp47-script=Arab,bcp47-casing=ckb-Arab}%
\fi
\xpg@fontsetup@nonlatin{kurdish}%
- \else% sorani=Arabic, kurmanji=Latin
+ \else% sorani=arabic, kurmanji=latin
\if@kurdish@kurmanji
\@western@numeralstrue%
\SetLanguageKeys{kurdish}{script=Latin,direction=LR,scripttag=latn,babelname=kurmanji,bcp47=kmr-Latn,bcp47-language=kmr,bcp47-script=Latn,bcp47-casing=kmr-Latn}%
@@ -112,19 +112,30 @@
\fi
}
-\def\tmp@western{western}
-\define@key{kurdish}{numerals}[eastern]{%
- \def\@tmpa{#1}%
- \ifx\@tmpa\tmp@western\@western@numeralstrue\@force@western@numeralstrue\else%
- \@western@numeralsfalse%
- \fi%
+\newif\if@western@numerals
+\define@choicekey*+{kurdish}{numerals}[\xpg@val\xpg@nr]{eastern,western}[eastern]{%
+ \ifcase\xpg@nr\relax
+ % eastern:
+ \@western@numeralsfalse%
+ \or
+ % western:
+ \@western@numeralstrue%
+ \@force@western@numeralstrue%
+ \fi
+ \xpg@info{Option: Kurdish, numerals=\xpg@val}%
+}{\xpg@warning{Unknown Kurdish numerals option `#1'}}
+
+\newif\ifkurdish@customsep\kurdish@customsepfalse
+\def\xpg@sepmark{}
+\define@key{kurdish}{sectionsep}[.]{%
+ \kurdish@customseptrue%
+ \gdef\xpg@sepmark{#1}%
}
%this is needed for \abjad in arabicnumbers.sty
-\def\tmp@true{true}
-\define@key{kurdish}{abjadjimnotail}[true]{%
- \def\@tmpa{#1}%
- \ifx\@tmpa\tmp@true\abjad@jim@notailtrue%
+\define@boolkey{kurdish}[kurdish@]{abjadjimnotail}[true]{%
+ \ifkurdish@abjadjimnotail
+ \abjad@jim@notailtrue%
\else
\abjad@jim@notailfalse
\fi%
@@ -137,7 +148,7 @@
%TODO add option for CALENDAR
% Register default options
-\xpg@initialize@gloss@options{kurdish}{variant=sorani,locale=default,script=Arabic,abjadjimnotail=false,numerals=eastern}
+\xpg@initialize@gloss@options{kurdish}{variant=sorani,locale=default,script=arabic,abjadjimnotail=false,numerals=eastern}
\def\kurdish@language{%
\polyglossia@setup@language@patterns{\kurdish@pattern}%
@@ -350,8 +361,8 @@
\number#1%
\else
\xpg@if@char@available{06F0}%
- {\farsidigits{\number#1}}%
- {\arabicdigits{\number#1}}%
+ {\@ensure@LTR{\farsidigits{\number#1}}}%
+ {\@ensure@LTR{\arabicdigits{\number#1}}}%
\fi
}
@@ -387,15 +398,92 @@
\renewcommand\thefootnote{\protect\number{\c@footnote}}%
}
-% Save original \MakeUppercase definition
-\let\xpg@save@MakeUppercase\MakeUppercase
+\def\kurdish@xetex@capsformat{%
+ \let\xpg@save@sepmark\@SepMark%
+ \SepMark{\xpg@sepmark}
+}
-\def\blockextras@kurdish{%
- \def\MakeUppercase##1{##1}%
+\def\nokurdish@xetex@capsformat{%
+ \ifcsdef{xpg@save@sepmark}{%
+ \SepMark{\xpg@save@sepmark}
+ }{}%
+}
+
+\def\kurdish@luatex@capsformat{%
+ %
+ % change chapter and part headings
+ \ifkurdish@customsep
+ \ifcsdef{chapter}{%
+ \let\xpg@save@thesection\thesection%
+ \renewcommand*\thesection{\thechapter\xpg@sepmark\@arabic\c@section}
+ \let\xpg@save@theequation\theequation%
+ \renewcommand*\theequation{%
+ \ifnum \c@chapter>\z@ \thechapter\xpg@sepmark\fi\@arabic\c@equation}
+ \let\xpg@save@thefigure\thefigure%
+ \renewcommand*\thefigure{%
+ \ifnum\c@chapter>\z@\thechapter\xpg@sepmark\fi\@arabic\c@figure}
+ \let\xpg@save@thetable\thetable%
+ \renewcommand*\thetable{%
+ \ifnum\c@chapter>\z@\thechapter\xpg@sepmark\fi\@arabic\c@table}
+ }{}
+ \let\xpg@save@thesubsection\thesubsection%
+ \renewcommand\thesubsection
+ {\thesection\xpg@sepmark\@arabic\c@subsection}
+ \let\xpg@save@thesubsubsection\thesubsubsection%
+ \renewcommand\thesubsubsection{\thesubsection\xpg@sepmark\@arabic\c@subsubsection}
+ \let\xpg@save@theparagraph\theparagraph%
+ \renewcommand\theparagraph
+ {\thesubsubsection\xpg@sepmark\@arabic\c@paragraph}
+ \let\xpg@save@thesubparagraph\thesubparagraph%
+ \renewcommand\thesubparagraph{\theparagraph\xpg@sepmark\@arabic\c@subparagraph}
+ \fi% (end \ifkurdish@customsep)
+}
+
+\def\nokurdish@luatex@capsformat{%
+ \ifcsdef{xpg@save@thesection}{%
+ \let\thesection\xpg@save@thesection%
+ }{}%
+ \ifcsdef{xpg@save@theequation}{%
+ \let\theequation\xpg@save@theequation%
+ }{}%
+ \ifcsdef{xpg@save@thefigure}{%
+ \let\thefigure\xpg@save@thefigure%
+ }{}%
+ \ifcsdef{xpg@save@thetable}{%
+ \let\thetable\xpg@save@thetable%
+ }{}%
+ \ifcsdef{xpg@save@thesubsection}{%
+ \let\thesubsection\xpg@save@thesubsection%
+ \ifcsdef{xpg@save@thesubsubsection}{%
+ \let\thesubsubsection\xpg@save@thesubsubsection%
+ }{}%
+ }{}%
+ \ifcsdef{xpg@save@theparagraph}{%
+ \let\theparagraph\xpg@save@theparagraph%
+ }{}%
+ \ifcsdef{xpg@save@thesubparagraph}{%
+ \let\thesubparagraph\xpg@save@thesubparagraph%
+ }{}%
}
+\def\blockextras@kurdish{%
+ \ifkurdish@customsep
+ \ifxetex
+ \kurdish@xetex@capsformat
+ \else
+ \kurdish@luatex@capsformat
+ \fi
+ \fi
+}
+%
\def\noextras@kurdish{%
- \let\MakeUppercase\xpg@save@MakeUppercase%
+ \ifkurdish@customsep
+ \ifxetex
+ \nokurdish@xetex@capsformat
+ \else
+ \nokurdish@luatex@capsformat
+ \fi
+ \fi
}
\endinput
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-kurmanji.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-kurmanji.ldf
index c9b34198c32..75d9204f228 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 0bfbe390dd8..d47644a7a89 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 d9971eda75d..980ee56625e 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 23a92a08984..218e8293675 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 ec621128223..582803afba2 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 0a1710d72a0..315db14ba2d 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 091af67696e..adef03a3657 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
-\ProvidesLanguageDefinitionExtension{gloss-latex}{2023/04/22}{v1.62}{polyglossia: module for default language}
+\ProvidesLanguageDefinitionExtension{gloss-latex}{2023/06/10}{v1.63}{polyglossia: module for default language}
\PolyglossiaSetup{latex}{
bcp47=en-US,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-latin.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-latin.ldf
index 329d2b7ffc1..2d6b60af446 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-latin.ldf}[polyglossia: module for Latin]
@@ -408,7 +408,7 @@
\bool_set_true:N \l_polyglossia_latin_capitalize_month_bool
\bool_set_false:N \l_polyglossia_latin_punctuation_spacing_bool
\str_set:Nn \l_polyglossia_latin_variant_str {medieval}
- \SetLanguageKeys {latin} { babelname = medievallatin, bcp47 = la-x-medieval, bcp47-extension-x = medieval }
+ \SetLanguageKeys {latin} { babelname = medievallatin, bcp47 = la-x-medieval, bcp47-extension-x = medieval, bcp47-casing = la-x-medieval }
\polyglossia_latin_use_modern_patterns:
}
@@ -670,7 +670,7 @@
\cs_new:Npn \polyglossia_latin_shorthands:
{
\def \language@group {latin}
- \bbl@activate {"}
+ \xpg@activate@shorthands ["]
\declare@shorthand {latin} {"}
{
\mode_if_math:TF
@@ -684,7 +684,7 @@
% The ' shorthand is normally turned off to avoid problems with the unicode-math
% package. We have to turn it on here.
\shorthandon {'}
- \bbl@activate {'}
+ \xpg@activate@shorthands [']
\declare@shorthand {latin} {'}
{
\mode_if_math:TF
@@ -988,8 +988,8 @@
\cs_new:Npn \polyglossia_latin_no_shorthands:
{
- \bbl@deactivate {"}
- \bbl@deactivate {'}
+ \xpg@deactivate@shorthands ["]
+ \xpg@deactivate@shorthands [']
}
\cs_new:Npn \polyglossia_latin_no_prosodic_shorthands:
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-latinclassic.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-latinclassic.ldf
index 712c47508bd..db851b82df0 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 3c323be78b6..75062d90876 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 6ef8bf0a728..af518394b19 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 ee3c0708d70..4ac4bf67146 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 62e46085e0e..e77b6e79ece 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
% Translated by Paulius Sladkevičius <komsas@gmail.com>
@@ -11,7 +11,7 @@
hyphennames={lithuanian},
hyphenmins={2,2},
langtag=LTH,
- indentfirst=true, % TODO Dokumentų rengimo taisyklių, patvirtintų Lietuvos vyriausiojo archyvaro 2011 m. liepos 4 d. įsakymu Nr. V-117, 29.1 punktą
+ indentfirst=true,
fontsetup=true
}
@@ -23,23 +23,23 @@
\def\refname{Literatūra}%
\def\abstractname{Santrauka}%
\def\bibname{Literatūra}%
- \def\chaptername{Skyrius}% TODO letter case
+ \def\chaptername{Skyrius}%
\def\appendixname{Priedas}%
\def\contentsname{Turinys}%
\def\listfigurename{Iliustracijų sąrašas}%
\def\listtablename{Lentelių sąrašas}%
\def\indexname{Rodyklė}%
\def\figurename{pav.}%
- \def\tablename{lentelė}% TODO any special reason for \protect in babel?
+ \def\tablename{lentelė}%
\def\partname{Dalis}%
\def\enclname{Įdėta}%
\def\ccname{Kopijos}%
\def\headtoname{Kam}% TODO empty in babel?
\def\pagename{puslapis}%
\def\seename{žiūrėk}%
- \def\alsoname{taip pat}% TODO some other variants are considered in babel?
+ \def\alsoname{taip pat}%
\def\proofname{Įrodymas}%
- \def\glossaryname{Terminų žodynas}% TODO some other variants are considered in babel?
+ \def\glossaryname{Terminų žodynas}%
}
\def\datelithuanian{%
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-lo.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-lo.ldf
index bec8ebc10cd..dee791f3e2d 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 0045703703a..2e9edfbb9ab 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 c4d9dacac39..ef29bc724cc 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 48a421eebfa..9e1fa6830b6 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 6fc83174708..3cc2616f801 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 5f735b321e7..f7cc2c4bb7e 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 7e51ac141a8..9ffd2fee00c 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 225d19f08b6..c0ac70a481b 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 d431659de4b..03d996308c0 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 ec5c418c549..54bff40228f 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
% 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 0e4f2731260..5b8e4fbec7d 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 33aa39a619d..b8255b959ee 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 3ee1f10d9d1..17c73cc7926 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 4e002a2d1d8..89e0f3c8980 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-mongolian.ldf}[polyglossia: module for Mongolian]
@@ -69,7 +69,7 @@
}{}
\def\mongolian@shorthands{%
- \bbl@activate{"}%
+ \xpg@activate@shorthands%
\def\language@group{mongolian}%
\declare@shorthand{mongolian}{"`}{„}%
\declare@shorthand{mongolian}{"'}{“}%
@@ -108,7 +108,7 @@
}
\def\nomongolian@shorthands{%
- \@ifundefined{initiate@active@char}{}{\bbl@deactivate{"}}%
+ \xpg@deactivate@shorthands%
}
% Taken from babel-mongolian
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-mr.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-mr.ldf
index 921e538655d..527003b9bcc 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 0d128b8d113..3f710a77483 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 111bfeb6f93..1a955a68053 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 35acd4b0cfd..171d59011c7 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 c552779d67a..5e02ac980d5 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 fcaede6cef5..04aaeb74ad4 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 b87147fd522..1a021a3f46b 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 f74a8ef1e4f..3082aa4db8b 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 0d5940914ad..3fb354874fd 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 fd92cd6e4bb..9801655f493 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 1bed591ac0d..f521f77a55c 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
%%
%% This is file `gloss-occitan.ldf',
@@ -49,7 +49,7 @@
}{}
\def\occitan@shorthands{%
- \bbl@activate{"}%
+ \xpg@activate@shorthands%
\def\language@group{occitan}%
\declare@shorthand{occitan}{"}{%
\relax\ifmmode
@@ -86,9 +86,11 @@
\fi
\fi
\fi
- \xpgoc@@next}
+ \xpgoc@@next%
+}
+
\def\nooccitan@shorthands{%
- \@ifundefined{initiate@active@char}{}{\bbl@deactivate{"}}%
+ \xpg@deactivate@shorthands%
}
\def\captionsoccitan{%
\def\refname{Referéncias}%
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-pa.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-pa.ldf
index 0cdf07a708e..35fa99df9de 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-pa.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-pa.ldf
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v1.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-pa.ldf}[polyglossia: module for pa (Punjabi)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-persian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-persian.ldf
index b9ebaab8470..2f85449123d 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-persian.ldf}[polyglossia: module for Persian]
@@ -27,22 +27,30 @@
\setlanguagealias{persian}{farsi}
\newif\if@western@numerals
-\def\tmp@western{western}
-\define@key{persian}{numerals}[eastern]{%
- \def\@tmpa{#1}%
- \ifx\@tmpa\tmp@western%
- \@western@numeralstrue%
- \SetLanguageKeys{persian}{bcp47-extension-u=nu-latn}%
- \else%
- \@western@numeralsfalse%
- \SetLanguageKeys{persian}{bcp47-extension-u=nu-arab}%
- \fi}
+\define@choicekey*+{persian}{numerals}[\xpg@val\xpg@nr]{eastern,western}[eastern]{%
+ \ifcase\xpg@nr\relax
+ % eastern:
+ \@western@numeralsfalse%
+ \SetLanguageKeys{persian}{bcp47-extension-u=nu-arab}%
+ \or
+ % western:
+ \@western@numeralstrue%
+ \SetLanguageKeys{persian}{bcp47-extension-u=nu-latn}%
+ \fi
+ \xpg@info{Option: Persian, numerals=\xpg@val}%
+}{\xpg@warning{Unknown Persian numerals option `#1'}}
+
+\newif\ifpersian@customsep\persian@customsepfalse
+\def\xpg@sepmark{}
+\define@key{persian}{sectionsep}[.]{%
+ \persian@customseptrue%
+ \gdef\xpg@sepmark{#1}%
+}
%this is needed for \abjad in arabicnumbers.sty
-\def\tmp@true{true}
-\define@key{persian}{abjadjimnotail}[true]{%
- \def\@tmpa{#1}%
- \ifx\@tmpa\tmp@true\abjad@jim@notailtrue%
+\define@boolkey{persian}[persian@]{abjadjimnotail}[true]{%
+ \ifpersian@abjadjimnotail
+ \abjad@jim@notailtrue%
\else
\abjad@jim@notailfalse
\fi}
@@ -100,8 +108,8 @@
\number#1%
\else
\xpg@if@char@available{06F0}%
- {\farsidigits{\number#1}}%
- {\arabicdigits{\number#1}}%
+ {\@ensure@LTR{\farsidigits{\number#1}}}%
+ {\@ensure@LTR{\arabicdigits{\number#1}}}%
\fi
}
@@ -133,15 +141,92 @@
\let\@arabic\xpg@save@arabic%
}
-% Save original \MakeUppercase definition
-\let\xpg@save@MakeUppercase\MakeUppercase
+\def\persian@xetex@capsformat{%
+ \let\xpg@save@sepmark\@SepMark%
+ \SepMark{\xpg@sepmark}
+}
+
+\def\nopersian@xetex@capsformat{%
+ \ifcsdef{xpg@save@sepmark}{%
+ \SepMark{\xpg@save@sepmark}
+ }{}%
+}
-\def\blockextras@persian{%
- \def\MakeUppercase##1{##1}%
+\def\persian@luatex@capsformat{%
+ %
+ % change chapter and part headings
+ \ifpersian@customsep
+ \ifcsdef{chapter}{%
+ \let\xpg@save@thesection\thesection%
+ \renewcommand*\thesection{\thechapter\xpg@sepmark\@arabic\c@section}
+ \let\xpg@save@theequation\theequation%
+ \renewcommand*\theequation{%
+ \ifnum \c@chapter>\z@ \thechapter\xpg@sepmark\fi\@arabic\c@equation}
+ \let\xpg@save@thefigure\thefigure%
+ \renewcommand*\thefigure{%
+ \ifnum\c@chapter>\z@\thechapter\xpg@sepmark\fi\@arabic\c@figure}
+ \let\xpg@save@thetable\thetable%
+ \renewcommand*\thetable{%
+ \ifnum\c@chapter>\z@\thechapter\xpg@sepmark\fi\@arabic\c@table}
+ }{}
+ \let\xpg@save@thesubsection\thesubsection%
+ \renewcommand\thesubsection
+ {\thesection\xpg@sepmark\@arabic\c@subsection}
+ \let\xpg@save@thesubsubsection\thesubsubsection%
+ \renewcommand\thesubsubsection{\thesubsection\xpg@sepmark\@arabic\c@subsubsection}
+ \let\xpg@save@theparagraph\theparagraph%
+ \renewcommand\theparagraph
+ {\thesubsubsection\xpg@sepmark\@arabic\c@paragraph}
+ \let\xpg@save@thesubparagraph\thesubparagraph%
+ \renewcommand\thesubparagraph{\theparagraph\xpg@sepmark\@arabic\c@subparagraph}
+ \fi% (end \ifpersiancustomsep)
}
+\def\nopersian@luatex@capsformat{%
+ \ifcsdef{xpg@save@thesection}{%
+ \let\thesection\xpg@save@thesection%
+ }{}%
+ \ifcsdef{xpg@save@theequation}{%
+ \let\theequation\xpg@save@theequation%
+ }{}%
+ \ifcsdef{xpg@save@thefigure}{%
+ \let\thefigure\xpg@save@thefigure%
+ }{}%
+ \ifcsdef{xpg@save@thetable}{%
+ \let\thetable\xpg@save@thetable%
+ }{}%
+ \ifcsdef{xpg@save@thesubsection}{%
+ \let\thesubsection\xpg@save@thesubsection%
+ \ifcsdef{xpg@save@thesubsubsection}{%
+ \let\thesubsubsection\xpg@save@thesubsubsection%
+ }{}%
+ }{}%
+ \ifcsdef{xpg@save@theparagraph}{%
+ \let\theparagraph\xpg@save@theparagraph%
+ }{}%
+ \ifcsdef{xpg@save@thesubparagraph}{%
+ \let\thesubparagraph\xpg@save@thesubparagraph%
+ }{}%
+}
+
+\def\blockextras@persian{%
+ \ifpersian@customsep
+ \ifxetex
+ \persian@xetex@capsformat
+ \else
+ \persian@luatex@capsformat
+ \fi
+ \fi
+}
+%
\def\noextras@persian{%
- % restore original \MakeUppercase definition
- \let\MakeUppercase\xpg@save@MakeUppercase
+ \ifpersian@customsep
+ \ifxetex
+ \nopersian@xetex@capsformat
+ \else
+ \nopersian@luatex@capsformat
+ \fi
+ \fi
}
+
\endinput
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-piedmontese.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-piedmontese.ldf
index 813611dd114..1d90da3ec41 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-piedmontese.ldf}[2013/02/12 v1.0 polyglossia: module for Piedmontese]
\makeatletter
@@ -32,7 +32,7 @@
}{}
\def\piedmontese@shorthands{%
- \bbl@activate{"}%
+ \xpg@activate@shorthands%
\def\language@group{piedmontese}%
\declare@shorthand{piedmontese}{"}{%
\relax\ifmmode
@@ -62,7 +62,7 @@
\xpgpms@@next}
\def\nopiedmontese@shorthands{%
- \@ifundefined{initiate@active@char}{}{\bbl@deactivate{"}}%
+ \xpg@deactivate@shorthands%
}
\@namedef{captions\CurrentOption}{%
\def\prefacename{Prefassion}%
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-polish.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-polish.ldf
index 14c11848e6c..f131783c9ec 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-polish.ldf}[polyglossia: module for Polish]
@@ -63,7 +63,7 @@
}
\def\polish@shorthands{%
- \bbl@activate{"}%
+ \xpg@activate@shorthands%
\def\language@group{polish}%
\declare@shorthand{polish}{"=}{\polish@splhyphen}%
\declare@shorthand{polish}{""}{\hskip\z@skip}%
@@ -82,7 +82,7 @@
}
\def\nopolish@shorthands{%
- \@ifundefined{initiate@active@char}{}{\bbl@deactivate{"}}%
+ \xpg@deactivate@shorthands%
}
\ifxetex
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-polutonikogreek.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-polutonikogreek.ldf
index 582f97f13f7..2a5991b9ca6 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 aa7f2d08687..ec89c8880fa 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 92995918d27..16cfae30db9 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-portuguese.ldf}[polyglossia: module for Portuguese]
@@ -86,7 +86,7 @@
}
\def\portuguese@shorthands{%
- \bbl@activate{"}%
+ \xpg@activate@shorthands%
\def\language@group{portuguese}%
\declare@shorthand{portuguese}{"=}{\portuguese@splhyphen}%
\declare@shorthand{portuguese}{""}{\hskip\z@skip}%
@@ -103,7 +103,7 @@
}
\def\noportuguese@shorthands{%
- \@ifundefined{initiate@active@char}{}{\bbl@deactivate{"}}%
+ \xpg@deactivate@shorthands%
}
\ifxetex
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-punjabi.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-punjabi.ldf
index b917a263084..a44025b6d56 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-punjabi.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-punjabi.ldf
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v1.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
% UTF-8 strings kindly provided by
% Arvinder Singh Kang, <17-11-2022>
@@ -97,16 +97,4 @@
\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 bb88b119c18..f3daee3ad09 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 c36bb499d77..8179112f2e9 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 621ab154095..db99799262c 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-russian.ldf}[polyglossia: module for Russian]
@@ -106,7 +106,7 @@
}{}
\def\russian@shorthands{%
- \bbl@activate{"}%
+ \xpg@activate@shorthands%
\def\language@group{russian}%
% \declare@shorthand{russian}{"`}{„}%
% \declare@shorthand{russian}{"'}{“}%
@@ -144,7 +144,7 @@
}
\def\norussian@shorthands{%
- \@ifundefined{initiate@active@char}{}{\bbl@deactivate{"}}%
+ \xpg@deactivate@shorthands%
}
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-sami.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-sami.ldf
index 56d5e31fcc8..5d1effa0918 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 8537ac33306..8dd22bf4256 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 075acf0e369..1529b9f0eac 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-sanskrit.ldf}[polyglossia: module for Sanskrit]
@@ -19,55 +19,55 @@
% BCP-47 compliant aliases
\setlanguagealias*{sanskrit}{sa}
-\setlanguagealias*[script=Devanagari]{sanskrit}{sa-Deva}
-\setlanguagealias*[script=Malayalam]{sanskrit}{sa-Mlym}
-\setlanguagealias*[script=Telugu]{sanskrit}{sa-Telu}
-\setlanguagealias*[script=Bengali]{sanskrit}{sa-Beng}
-\setlanguagealias*[script=Kannada]{sanskrit}{sa-Knda}
-\setlanguagealias*[script=Gujarati]{sanskrit}{sa-Gujr}
-\setlanguagealias*[script=Latin]{sanskrit}{sa-Latn}
-
-\define@key{sanskrit}{Script}[Devanagari]{%
+\setlanguagealias*[script=devanagari]{sanskrit}{sa-Deva}
+\setlanguagealias*[script=malayalam]{sanskrit}{sa-Mlym}
+\setlanguagealias*[script=telugu]{sanskrit}{sa-Telu}
+\setlanguagealias*[script=bengali]{sanskrit}{sa-Beng}
+\setlanguagealias*[script=kannada]{sanskrit}{sa-Knda}
+\setlanguagealias*[script=gujarati]{sanskrit}{sa-Gujr}
+\setlanguagealias*[script=latin]{sanskrit}{sa-Latn}
+
+\define@key{sanskrit}{Script}[devanagari]{%
\ifcsdef{fontsetup@sanskrit@#1}%
{\csname fontsetup@sanskrit@#1\endcsname}%
{\xpg@error{`#1' is not a valid script for Sanskrit}%
}%
}
-\define@key{sanskrit}{script}[Devanagari]{\setkeys{sanskrit}{Script=#1}}
+\define@key{sanskrit}{script}[devanagari]{\setkeys{sanskrit}{Script=#1}}
-\def\fontsetup@sanskrit@Devanagari{%
+\def\fontsetup@sanskrit@devanagari{%
\SetLanguageKeys{sanskrit}{scripttag=deva,script=Devanagari,bcp47=sa-Deva,bcp47-language=sa,bcp47-script=Deva,bcp47-casing=sa-Deva}
\xpg@fontsetup@nonlatin{sanskrit}}
-\def\fontsetup@sanskrit@Gujarati{%
+\def\fontsetup@sanskrit@gujarati{%
\SetLanguageKeys{sanskrit}{scripttag=gujr,script=Gujarati,bcp47=sa-Gujr,bcp47-language=sa,bcp47-script=Gujr,bcp47-casing=sa-Gujr}
\xpg@fontsetup@nonlatin{sanskrit}}
-\def\fontsetup@sanskrit@Malayalam{%
+\def\fontsetup@sanskrit@malayalam{%
\SetLanguageKeys{sanskrit}{scripttag=mlym,script=Malayalam,bcp47=sa-Mlym,bcp47-language=sa,bcp47-script=Mlym,bcp47-casing=sa-Mlym}
\xpg@fontsetup@nonlatin{sanskrit}}
-\def\fontsetup@sanskrit@Bengali{%
+\def\fontsetup@sanskrit@bengali{%
\SetLanguageKeys{sanskrit}{scripttag=beng,script=Bengali,bcp47=sa-Beng,bcp47-language=sa,bcp47-script=Beng,bcp47-casing=sa-Beng}
\xpg@fontsetup@nonlatin{sanskrit}}
-\def\fontsetup@sanskrit@Kannada{%
+\def\fontsetup@sanskrit@kannada{%
\SetLanguageKeys{sanskrit}{scripttag=knda,script=Kannada,bcp47=sa-Knda,bcp47-language=sa,bcp47-script=Knda,bcp47-casing=sa-Knda}
\xpg@fontsetup@nonlatin{sanskrit}}
-\def\fontsetup@sanskrit@Telugu{%
+\def\fontsetup@sanskrit@telugu{%
\SetLanguageKeys{sanskrit}{scripttag=telu,script=Telugu,bcp47=sa-Relu,bcp47-language=sa,bcp47-script=Relu,bcp47-casing=sa-Relu}
\xpg@fontsetup@nonlatin{sanskrit}}
-\def\fontsetup@sanskrit@Latin{%
+\def\fontsetup@sanskrit@latin{%
\SetLanguageKeys{sanskrit}{scripttag=latn,script=Latin,bcp47=sa-Latn,bcp47-language=sa,bcp47-script=Latn,bcp47-casing=sa-Latn}
\xpg@fontsetup@latin{sanskrit}}
\newif\ifsanskrit@devanagari@numerals
\sanskrit@devanagari@numeralstrue
-\define@choicekey*+{sanskrit}{numerals}[\xpg@val\xpg@nr]{Devanagari,Western}[Devanagari]{%
+\define@choicekey*+{sanskrit}{numerals}[\xpg@val\xpg@nr]{devanagari,western}[devanagari]{%
\ifcase\xpg@nr\relax
- % Devanagari:
+ % devanagari:
\sanskrit@devanagari@numeralstrue%
\SetLanguageKeys{sanskrit}{bcp47-extension-u=nu-deva}%
\or
- % Western:
+ % western:
\sanskrit@devanagari@numeralsfalse%
\SetLanguageKeys{sanskrit}{bcp47-extension-u=nu-latn}%
\fi
@@ -76,7 +76,7 @@
% Register default options
-\xpg@initialize@gloss@options{sanskrit}{script=Devanagari,numerals=Devanagari}
+\xpg@initialize@gloss@options{sanskrit}{script=devanagari,numerals=devanagari}
% Use \providecommand here as the ldf file might
% be reloaded via BCP.
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-scottish.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-scottish.ldf
index 55c30554cba..63319cef8dc 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 b8da8e04f95..2da53ef5610 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-serbian.ldf}[polyglossia: module for Serbian]
%TODO split into gloss-serbiancyr.ldf and gloss-serbianlat.ldf
@@ -11,6 +11,7 @@
\PolyglossiaSetup{serbian}{
bcp47=sr-Latn,
bcp47-language=sr,
+ bcp47-variant=ekavsk,
bcp47-script=Latn,
bcp47-casing=sr-Latn,
langtag=SRB,
@@ -27,11 +28,11 @@
% BCP-47 compliant aliases
\setlanguagealias*{serbian}{sr}
-\setlanguagealias*[script=Cyrillic]{serbian}{sr-Cyrl}
-\setlanguagealias*[script=Latin]{serbian}{sr-Latn}
+\setlanguagealias*[script=cyrillic]{serbian}{sr-Cyrl}
+\setlanguagealias*[script=latin]{serbian}{sr-Latn}
% Babel aliases
-\setlanguagealias[script=Cyrillic]{serbian}{serbianc}
+\setlanguagealias[script=cyrillic]{serbian}{serbianc}
\ifluatex
\RequirePackage{luavlna}
@@ -42,20 +43,32 @@
\ifcase\xpg@nr\relax
% cyrillic:
\@serbian@cyrtrue
- \SetLanguageKeys{serbian}{scripttag=cyrl,script=Cyrillic,babelname=serbianc,bcp47=sr-Cyrl,bcp47-language=sr,bcp47-script=Cyrl,bcp47-casing=sr-Cyrl}
\xpg@fontsetup@nonlatin{serbian}%
\or
% latin:
\@serbian@cyrfalse
- \SetLanguageKeys{serbian}{scripttag=latn,script=Latin,babelname=serbian,bcp47=sr-Latn,bcp47-language=sr,bcp47-script=Latn,bcp47-casing=sr-Latn}
\xpg@fontsetup@latin{serbian}%
%TODO \def\serbian@language{\language=\l@serbianlat}%
% or should we use Croatian patterns as a fallback for the time being???
\fi
+ \serbian@set@languagekeys%
\xpg@info{Option: Serbian, script=\xpg@val}%
}{\xpg@warning{Unknown Serbian script `#1'}}
-\define@key{serbian}{script}[Cyrillic]{\setkeys{serbian}{Script=#1}}
+\define@key{serbian}{script}[cyrillic]{\setkeys{serbian}{Script=#1}}
+
+\newif\if@serbian@ijekavian
+\define@choicekey*+{serbian}{variant}[\xpg@val\xpg@nr]{ekavian,ijekavian}[ekavian]{%
+ \ifcase\xpg@nr\relax
+ % ekavian:
+ \@serbian@ijekavianfalse%
+ \or
+ % ijekavian:
+ \@serbian@ijekaviantrue%
+ \fi
+ \serbian@set@languagekeys%
+ \xpg@info{Option: Serbian, variant=\xpg@val}%
+}{\xpg@warning{Unknown Serbian variant `#1'}}
\newif\ifcyrillic@numerals
\newif\ifcyrillic@asbuk@numerals
@@ -86,10 +99,28 @@
\define@boolkey{serbian}[serbian@]{splithyphens}[true]{}
+\define@boolkey{serbian}[serbian@]{datei}[true]{}
+
+\def\serbian@set@languagekeys{%
+ \if@serbian@cyr
+ \if@serbian@ijekavian
+ \SetLanguageKeys{serbian}{scripttag=cyrl,script=Cyrillic,babelname=serbianc,bcp47=sr-Cyrl-ijekavsk,bcp47-language=sr,bcp47-script=Cyrl,bcp47-variant=ijekavsk,bcp47-casing=sr-Cyrl}
+ \else
+ \SetLanguageKeys{serbian}{scripttag=cyrl,script=Cyrillic,babelname=serbianc,bcp47=sr-Cyrl,bcp47-language=sr,bcp47-script=Cyrl,bcp47-variant=ekavsk,bcp47-casing=sr-Cyrl}
+ \fi
+ \else
+ \if@serbian@ijekavian
+ \SetLanguageKeys{serbian}{scripttag=latn,script=Latin,babelname=serbian,bcp47=sr-Latn-ijekavsk,bcp47-language=sr,bcp47-script=Latn,bcp47-variant=ijekavsk,bcp47-casing=sr-Latn}
+ \else
+ \SetLanguageKeys{serbian}{scripttag=latn,script=Latin,babelname=serbian,bcp47=sr-Latn,bcp47-language=sr,bcp47-script=Latn,bcp47-variant=ekavsk,bcp47-casing=sr-Latn}
+ \fi
+ \fi%
+}
+
\setkeys{serbian}{Script,numerals}
% Register default options
-\xpg@initialize@gloss@options{serbian}{script=Cyrillic,numerals=arabic,splithyphens=true}
+\xpg@initialize@gloss@options{serbian}{script=cyrillic,numerals=arabic,splithyphens=true}
\def\captionsserbian{%
\if@serbian@cyr\captionsserbian@cyr\else\captionsserbian@lat\fi
@@ -126,13 +157,51 @@
\def\headtoname{Prima}%
\def\proofname{Dokaz}%
\def\glossaryname{Rečnik nepoznatih reči}%
+ \if@serbian@ijekavian%
+ \def\partname{Dio}%
+ \def\glossaryname{Rječnik nepoznatih riječi}%
+ \fi
}
-\def\dateserbian@lat{%
- \def\today{\number\day .~\ifcase\month\or
- januar\or februar\or mart\or april\or maj\or
- jun\or jul\or avgust\or septembar\or oktobar\or novembar\or
- decembar\fi \space \number\year.}%
+\def\month@serbian@lat{%
+ \ifcase\month\or
+ januar\or
+ februar\or
+ mart\or
+ april\or
+ maj\or
+ \ifserbian@datei juni\else jun\fi\or
+ \ifserbian@datei juli\else jul\fi\or
+ avgust\or
+ septembar\or
+ oktobar\or
+ novembar\or
+ decembar%
+ \fi%
+}%
+
+\def\month@serbian@lat@gen{%
+ \ifcase\month\or
+ januara\or
+ februara\or
+ marta\or
+ aprila\or
+ maja\or
+ juna\or
+ jula\or
+ avgusta\or
+ septembra\or
+ oktobra\or
+ novembra\or
+ decembra%
+ \fi%
+}%
+
+\def\dateserbian@lat{%
+ \def\today{\number\day.~\month@serbian@lat\ \number\year\@ifstar{}{.}}%
+ \def\todayRoman{\number\day.~\@Roman\month~\number\year\@ifstar{}{.}}%
+ \def\todayGen{\number\day.~\month@serbian@lat@gen\ \number\year\@ifstar{}{.}}%
+ \def\todayArabic{\number\day.~\number\month.~\number\year\@ifstar{}{.}}%
}
\def\captionsserbian@cyr{%
@@ -161,13 +230,51 @@
\def\headtoname{Прима}%
\def\proofname{Доказ}%
\def\glossaryname{Речник непознатих речи}%
+ \if@serbian@ijekavian%
+ \def\partname{Дио}%
+ \def\glossaryname{Рјечник непознатих ријечи}%
+ \fi
}
-\def\dateserbian@cyr{%
- \def\today{\number\day .~\ifcase\month\or
- јануар\or фебруар\or март\or април\or мај\or
- јун\or јул\or август\or септембар\or октобар\or новембар\or
- децембар\fi \space \number\year.}%
+\def\month@serbian@cyr{%
+ \ifcase\month\or
+ јануар\or
+ фебруар\or
+ март\or
+ април\or
+ мај\or
+ \ifserbian@datei јуни\else јун\fi\or
+ \ifserbian@datei јули\else јул\fi\or
+ август\or
+ септембар\or
+ октобар\or
+ новембар\or
+ децембар%
+ \fi%
+}%
+
+\def\month@serbian@cyr@gen{%
+ \ifcase\month\or
+ јануара\or
+ фебруара\or
+ марта\or
+ априла\or
+ маја\or
+ јуна\or
+ јула\or
+ августа\or
+ септембра\or
+ октобра\or
+ новембра\or
+ децембра%
+ \fi%
+}%
+
+\def\dateserbian@cyr{%
+ \def\today{\number\day.~\month@serbian@cyr\ \number\year\@ifstar{}{.}}%
+ \def\todayRoman{\number\day.~\@Roman\month~\number\year\@ifstar{}{.}}%
+ \def\todayGen{\number\day.~\month@serbian@cyr@gen\ \number\year\@ifstar{}{.}}%
+ \def\todayArabic{\number\day.~\number\month.~\number\year\@ifstar{}{.}}%
}
% Use \providecommand here as the ldf file might
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-serbianc.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-serbianc.ldf
index 03250b44b10..f52713aaa2c 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 3be8ac05738..cc3419a78f3 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-slovak.ldf}[polyglossia: module for Slovak]
@@ -62,7 +62,7 @@
}
\def\slovak@shorthands{%
- \bbl@activate{"}%
+ \xpg@activate@shorthands%
\def\language@group{slovak}%
\declare@shorthand{slovak}{"=}{\slovak@splhyphen}%
\declare@shorthand{slovak}{""}{\hskip\z@skip}%
@@ -81,7 +81,7 @@
}
\def\noslovak@shorthands{%
- \@ifundefined{initiate@active@char}{}{\bbl@deactivate{"}}%
+ \xpg@deactivate@shorthands%
}
\ifxetex
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-slovene.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-slovene.ldf
index 51bc1a9bc2e..faffa6c3235 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 5fdaadb8d47..37032a833ce 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 e71dcd865e8..1ac9bedce10 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 7e04e9542e4..04a033928d2 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 f30fe005773..8a8458496d6 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 4de057a4661..0e175b20570 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 3c735fc1ebf..356cd5fbc5a 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 592d7bec271..9e325f77d55 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-syriac.ldf}[polyglossia: module for Syriac]
@@ -25,21 +25,28 @@
\def\syriacnumber#1{\@syriacnumber{#1}}%
\newif\if@eastern@numerals
-\def\tmp@eastern{eastern}
-\def\tmp@abjad{abjad}
-\define@key{syriac}{numerals}[western]{%
- \def\@tmpa{#1}%
- \ifx\@tmpa\tmp@abjad
- \let\syriacnumber\abjadsyriac
- \else
- \ifx\@tmpa\tmp@eastern
- \@eastern@numeralstrue
- \SetLanguageKeys{syriac}{bcp47-extension-u=nu-syrc}%
- \else
- \@eastern@numeralsfalse
- \SetLanguageKeys{syriac}{bcp47-extension-u=nu-latn}%
- \fi
- \fi}
+\define@choicekey*+{syriac}{numerals}[\xpg@val\xpg@nr]{eastern,western,abjad}[eastern]{%
+ \ifcase\xpg@nr\relax
+ % eastern:
+ \@eastern@numeralstrue
+ \SetLanguageKeys{syriac}{bcp47-extension-u=nu-syrc}%
+ \or
+ % western:
+ \@eastern@numeralsfalse
+ \SetLanguageKeys{syriac}{bcp47-extension-u=nu-latn}%
+ \or
+ % abjad:
+ \let\syriacnumber\abjadsyriac%
+ \fi
+ \xpg@info{Option: Syriac, numerals=\xpg@val}%
+}{\xpg@warning{Unknown Syriac numerals option `#1'}}
+
+\newif\ifsyriac@customsep\syriac@customsepfalse
+\def\xpg@sepmark{}
+\define@key{syriac}{sectionsep}[.]{%
+ \syriac@customseptrue%
+ \gdef\xpg@sepmark{#1}%
+}
% Register default options
\xpg@initialize@gloss@options{syriac}{numerals=western}
@@ -127,10 +134,10 @@
%%% else we try \arabicfont if defined (and give a warning),
%%% else we fall back to the Western numerals.
\xpg@if@char@available{0661}%
- {\protect\arabicdigits{\number#1}}%
- {\arabicdigits{\number#1}
+ {\@ensure@LTR{\protect\arabicdigits{\number#1}}}%
+ {\@ensure@LTR{\arabicdigits{\number#1}}
\ifcsdef{arabicfont}%
- {\protect\arabicdigits{\number#1}%
+ {\@ensure@LTR{\protect\arabicdigits{\number#1}}%
\xpg@warning{You have specified the option numerals=eastern for Syriac, but the Syriac font does not contain the appropriate glyphs:
I am using \string\arabicfont instead}}%
{\number#1%%% <---changed from \RL{\protect\reset@font\protect\number#1}%
@@ -167,16 +174,92 @@
\let\@arabic\xpg@save@arabic%
}
-% Save original \MakeUppercase definition
-\let\xpg@save@MakeUppercase\MakeUppercase
+\def\syriac@xetex@capsformat{%
+ \let\xpg@save@sepmark\@SepMark%
+ \SepMark{\xpg@sepmark}
+}
+
+\def\nosyriac@xetex@capsformat{%
+ \ifcsdef{xpg@save@sepmark}{%
+ \SepMark{\xpg@save@sepmark}
+ }{}%
+}
-\def\blockextras@syriac{%
- \def\MakeUppercase##1{##1}%
+\def\syriac@luatex@capsformat{%
+ %
+ % change chapter and part headings
+ \ifsyriac@customsep
+ \ifcsdef{chapter}{%
+ \let\xpg@save@thesection\thesection%
+ \renewcommand*\thesection{\thechapter\xpg@sepmark\@arabic\c@section}
+ \let\xpg@save@theequation\theequation%
+ \renewcommand*\theequation{%
+ \ifnum \c@chapter>\z@ \thechapter\xpg@sepmark\fi\@arabic\c@equation}
+ \let\xpg@save@thefigure\thefigure%
+ \renewcommand*\thefigure{%
+ \ifnum\c@chapter>\z@\thechapter\xpg@sepmark\fi\@arabic\c@figure}
+ \let\xpg@save@thetable\thetable%
+ \renewcommand*\thetable{%
+ \ifnum\c@chapter>\z@\thechapter\xpg@sepmark\fi\@arabic\c@table}
+ }{}
+ \let\xpg@save@thesubsection\thesubsection%
+ \renewcommand\thesubsection
+ {\thesection\xpg@sepmark\@arabic\c@subsection}
+ \let\xpg@save@thesubsubsection\thesubsubsection%
+ \renewcommand\thesubsubsection{\thesubsection\xpg@sepmark\@arabic\c@subsubsection}
+ \let\xpg@save@theparagraph\theparagraph%
+ \renewcommand\theparagraph
+ {\thesubsubsection\xpg@sepmark\@arabic\c@paragraph}
+ \let\xpg@save@thesubparagraph\thesubparagraph%
+ \renewcommand\thesubparagraph{\theparagraph\xpg@sepmark\@arabic\c@subparagraph}
+ \fi% (end \ifsyriac@customsep)
}
+\def\nosyriac@luatex@capsformat{%
+ \ifcsdef{xpg@save@thesection}{%
+ \let\thesection\xpg@save@thesection%
+ }{}%
+ \ifcsdef{xpg@save@theequation}{%
+ \let\theequation\xpg@save@theequation%
+ }{}%
+ \ifcsdef{xpg@save@thefigure}{%
+ \let\thefigure\xpg@save@thefigure%
+ }{}%
+ \ifcsdef{xpg@save@thetable}{%
+ \let\thetable\xpg@save@thetable%
+ }{}%
+ \ifcsdef{xpg@save@thesubsection}{%
+ \let\thesubsection\xpg@save@thesubsection%
+ \ifcsdef{xpg@save@thesubsubsection}{%
+ \let\thesubsubsection\xpg@save@thesubsubsection%
+ }{}%
+ }{}%
+ \ifcsdef{xpg@save@theparagraph}{%
+ \let\theparagraph\xpg@save@theparagraph%
+ }{}%
+ \ifcsdef{xpg@save@thesubparagraph}{%
+ \let\thesubparagraph\xpg@save@thesubparagraph%
+ }{}%
+}
+
+\def\blockextras@syriac{%
+ \ifsyriac@customsep
+ \ifxetex
+ \syriac@xetex@capsformat
+ \else
+ \syriac@luatex@capsformat
+ \fi
+ \fi
+}
+%
\def\noextras@syriac{%
- % restore original \MakeUppercase definition
- \let\MakeUppercase\xpg@save@MakeUppercase%
+ \ifsyriac@customsep
+ \ifxetex
+ \nosyriac@xetex@capsformat
+ \else
+ \nosyriac@luatex@capsformat
+ \fi
+ \fi
}
\endinput
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-tamil.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-tamil.ldf
index 454b2a94945..4579741ee5a 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 c84d8bb6900..1856b06b6ef 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 3a999120318..a070ef954df 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 d028987fcdb..f14568e4539 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 aab1358ec56..cd72f3c6793 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 d036eb77e4c..16d7c2db4f2 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 064f6fbe872..0981887ef4f 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 973df91d0e2..b100cfca24a 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-ukrainian.ldf}[polyglossia: module for Ukrainian]
% Strings taken from Babel
@@ -73,7 +73,7 @@
}{}
\def\ukrainian@shorthands{%
- \bbl@activate{"}%
+ \xpg@activate@shorthands%
\def\language@group{ukrainian}%
% \declare@shorthand{ukrainian}{"`}{„}%
% \declare@shorthand{ukrainian}{"'}{“}%
@@ -113,7 +113,7 @@
}
\def\noukrainian@shorthands{%
- \@ifundefined{initiate@active@char}{}{\bbl@deactivate{"}}%
+ \xpg@deactivate@shorthands%
}
\def\captionsukrainian{%
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-uppersorbian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-uppersorbian.ldf
index 45756f5f7a1..3994394798e 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 48449c116ad..8f2312ee62f 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
%%% Adapted from a file contributed by Kamal Abdali
\ProvidesFile{gloss-urdu.ldf}[polyglossia: module for Urdu]
@@ -25,37 +25,49 @@
\setlanguagealias*{urdu}{ur}
\newif\if@western@numerals
-\def\tmp@western{western}
-\define@key{urdu}{numerals}[eastern]{%
- \def\@tmpa{#1}%
- \ifx\@tmpa\tmp@western
- \@western@numeralstrue%
- \SetLanguageKeys{urdu}{bcp47-extension-u=nu-latn}%
- \else
- \@western@numeralsfalse%
- \SetLanguageKeys{urdu}{bcp47-extension-u=nu-arab}%
- \fi}
-
-%% TODO USE boolkey instead !!!
+\define@choicekey*+{urdu}{numerals}[\xpg@val\xpg@nr]{eastern,western}[eastern]{%
+ \ifcase\xpg@nr\relax
+ % eastern:
+ \@western@numeralsfalse%
+ \SetLanguageKeys{urdu}{bcp47-extension-u=nu-arab}%
+ \or
+ % western:
+ \@western@numeralstrue%
+ \SetLanguageKeys{urdu}{bcp47-extension-u=nu-latn}%
+ \fi
+ \xpg@info{Option: Urdu, numerals=\xpg@val}%
+}{\xpg@warning{Unknown Urdu numerals option `#1'}}
+
+\newif\ifurdu@customsep\urdu@customsepfalse
+\def\xpg@sepmark{}
+\define@key{urdu}{sectionsep}[.]{%
+ \urdu@customseptrue%
+ \gdef\xpg@sepmark{#1}%
+}
+
%this is needed for \abjad in arabicnumbers.sty
-\def\tmp@true{true}
-\define@key{urdu}{abjadjimnotail}[true]{%
- \def\@tmpa{#1}%
- \ifx\@tmpa\tmp@true\abjad@jim@notailtrue%
+\define@boolkey{urdu}[urdu@]{abjadjimnotail}[true]{%
+ \ifurdu@abjadjimnotail
+ \abjad@jim@notailtrue%
\else
\abjad@jim@notailfalse
- \fi}
+ \fi%
+}
\newif\if@hijrical
-\def\tmp@hijri{hijri}
-\define@key{urdu}{calendar}[gregorian]{%
- \def\@tmpa{#1}%
- \ifx\@tmpa\tmp@hijri\@hijricaltrue%
- \else\@hijricalfalse%
- \fi}
+\define@choicekey*+{urdu}{calendar}[\xpg@val\xpg@nr]{gregorian,hijri}[gregorian]{%
+ \ifcase\xpg@nr\relax
+ % gregorian:
+ \@hijricalfalse
+ \or
+ % hijri:
+ \@hijricaltrue
+ \fi
+ \xpg@info{Option: Urdu, calendar=\xpg@val}%
+}{\xpg@warning{Unknown Urdu calendar option `#1'}}
\define@key{urdu}{hijricorrection}[0]{%
- \gdef\@hijri@correction{#1}}%
+ \gdef\urdu@hijri@correction{#1}}%
% This should set the defaults
\setkeys{urdu}{calendar,numerals,hijricorrection}
@@ -99,7 +111,7 @@
\def\dateurdu{%
\def\today{%
\if@hijrical
- \Hijritoday[\@hijri@correction]%
+ \Hijritoday[\urdu@hijri@correction]%
\else
\@ensure@RTL{\urdunumber\day؍\space\urdugregmonth{\month}%
\space\urdunumber\year}%
@@ -111,7 +123,7 @@
\number#1%
\else
%%FIXME use farsidigits instead???
- \protect\arabicdigits{\number#1}%
+ \@ensure@LTR{\protect\arabicdigits{\number#1}}%
\fi}
\def\urdu@numbers{%
@@ -139,16 +151,92 @@
\let\@arabic\xpg@save@arabic%
}
-% Save original \MakeUppercase definition
-\let\xpg@save@MakeUppercase\MakeUppercase
+\def\urdu@xetex@capsformat{%
+ \let\xpg@save@sepmark\@SepMark%
+ \SepMark{\xpg@sepmark}
+}
-\def\blockextras@urdu{%
- \def\MakeUppercase##1{##1}%
+\def\nourdu@xetex@capsformat{%
+ \ifcsdef{xpg@save@sepmark}{%
+ \SepMark{\xpg@save@sepmark}
+ }{}%
}
+\def\urdu@luatex@capsformat{%
+ %
+ % change chapter and part headings
+ \ifurdu@customsep
+ \ifcsdef{chapter}{%
+ \let\xpg@save@thesection\thesection%
+ \renewcommand*\thesection{\thechapter\xpg@sepmark\@arabic\c@section}
+ \let\xpg@save@theequation\theequation%
+ \renewcommand*\theequation{%
+ \ifnum \c@chapter>\z@ \thechapter\xpg@sepmark\fi\@arabic\c@equation}
+ \let\xpg@save@thefigure\thefigure%
+ \renewcommand*\thefigure{%
+ \ifnum\c@chapter>\z@\thechapter\xpg@sepmark\fi\@arabic\c@figure}
+ \let\xpg@save@thetable\thetable%
+ \renewcommand*\thetable{%
+ \ifnum\c@chapter>\z@\thechapter\xpg@sepmark\fi\@arabic\c@table}
+ }{}
+ \let\xpg@save@thesubsection\thesubsection%
+ \renewcommand\thesubsection
+ {\thesection\xpg@sepmark\@arabic\c@subsection}
+ \let\xpg@save@thesubsubsection\thesubsubsection%
+ \renewcommand\thesubsubsection{\thesubsection\xpg@sepmark\@arabic\c@subsubsection}
+ \let\xpg@save@theparagraph\theparagraph%
+ \renewcommand\theparagraph
+ {\thesubsubsection\xpg@sepmark\@arabic\c@paragraph}
+ \let\xpg@save@thesubparagraph\thesubparagraph%
+ \renewcommand\thesubparagraph{\theparagraph\xpg@sepmark\@arabic\c@subparagraph}
+ \fi% (end \ifurdu@customsep)
+}
+
+\def\nourdu@luatex@capsformat{%
+ \ifcsdef{xpg@save@thesection}{%
+ \let\thesection\xpg@save@thesection%
+ }{}%
+ \ifcsdef{xpg@save@theequation}{%
+ \let\theequation\xpg@save@theequation%
+ }{}%
+ \ifcsdef{xpg@save@thefigure}{%
+ \let\thefigure\xpg@save@thefigure%
+ }{}%
+ \ifcsdef{xpg@save@thetable}{%
+ \let\thetable\xpg@save@thetable%
+ }{}%
+ \ifcsdef{xpg@save@thesubsection}{%
+ \let\thesubsection\xpg@save@thesubsection%
+ \ifcsdef{xpg@save@thesubsubsection}{%
+ \let\thesubsubsection\xpg@save@thesubsubsection%
+ }{}%
+ }{}%
+ \ifcsdef{xpg@save@theparagraph}{%
+ \let\theparagraph\xpg@save@theparagraph%
+ }{}%
+ \ifcsdef{xpg@save@thesubparagraph}{%
+ \let\thesubparagraph\xpg@save@thesubparagraph%
+ }{}%
+}
+
+\def\blockextras@urdu{%
+ \ifurdu@customsep
+ \ifxetex
+ \urdu@xetex@capsformat
+ \else
+ \urdu@luatex@capsformat
+ \fi
+ \fi
+}
+%
\def\noextras@urdu{%
- % restore original \MakeUppercase definition
- \let\MakeUppercase\xpg@save@MakeUppercase%
+ \ifurdu@customsep
+ \ifxetex
+ \nourdu@xetex@capsformat
+ \else
+ \nourdu@luatex@capsformat
+ \fi
+ \fi
}
\endinput
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-usorbian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-usorbian.ldf
index ebead5288ef..b469d986ee2 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 72760468cee..1c8be63d48d 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 cde96e7385d..6e80232fdcd 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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 b72c9d0f8bb..ca0c0bb47d0 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.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\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
index 1cd869787ab..1dd014cf874 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-zh-CN.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-zh-CN.ldf
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v1.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-zh-CN.ldf}[polyglossia: module for zh-CN (Chinese)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-zh-TW.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-zh-TW.ldf
index 4c6d9513d4d..713c27ada01 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-zh-TW.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-zh-TW.ldf
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v1.62 -- 2023/04/22)
+% Language definition file (part of polyglossia v1.63 -- 2023/06/10)
%
\ProvidesFile{gloss-zh-TW.ldf}[polyglossia: module for zh-TW (Chinese)]
diff --git a/Master/texmf-dist/tex/latex/polyglossia/polyglossia-french.lua b/Master/texmf-dist/tex/latex/polyglossia/polyglossia-french.lua
index 269aecf2aa8..785d38eb03b 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.62 -- 2023/04/22
+-- part of polyglossia v1.63 -- 2023/06/10
--
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 0e2b4f11018..86811d23b6a 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.62 -- 2023/04/22
+-- part of polyglossia v1.63 -- 2023/06/10
--
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 fd0dc509180..8723f5ec10d 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.62 -- 2023/04/22
+-- part of polyglossia v1.63 -- 2023/06/10
--
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 0457c586b9e..1adaef690a6 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.62 -- 2023/04/22
+-- part of polyglossia v1.63 -- 2023/06/10
--
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 d08ad9de08c..47213b2cea9 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.62 -- 2023/04/22
+-- part of polyglossia v1.63 -- 2023/06/10
--
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 4138b02c7f3..2c109c4d69f 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.62 -- 2023/04/22
+-- part of polyglossia v1.63 -- 2023/06/10
--
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 e28243eab43..752a771363b 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.62 -- 2023/04/22
+-- part of polyglossia v1.63 -- 2023/06/10
--
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 a1dda77eb2e..2c2c4d59a10 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}[2023/04/22 v1.62
+\ProvidesPackage{polyglossia}[2023/06/10 v1.63
Modern multilingual typesetting with XeLaTeX and LuaLaTeX]
\RequirePackage{etoolbox}
\RequirePackage{makecmds}
@@ -1983,7 +1983,8 @@
% where \text<alias> would cause clashes
% (e.g., \textit)
\newcommand\textlang[3][]{%
- \__xpg_textlanguage:een {#1} {#2} {#3}
+ \xpg@str@lowercase{\xpg@tmp@lang}{#2}%
+ \__xpg_textlanguage:een {#1} {\xpg@tmp@lang} {#3}
}%
% Alias to {<lang>}, but more suitable
@@ -2016,6 +2017,23 @@
\__xpg_store_bcp_info:nn {#1}{#2}
}
+% Expandable lowercasing. We use this to assure keyval
+% options are lowercased (also when used in \MakeUppercase
+% contexts e.g. in headings)
+% Macro adapted from tudscr.sty
+\newcommand*\xpg@str@lowercase[2]{%
+ \protected@edef#1{%
+ \lowercase{\def\noexpand#1{#2}}%
+ }#1%
+}
+
+% lowercase options before passing to setkeys
+\cs_new:Nn \polyglossia@set@keys:nn
+{
+ \xpg@str@lowercase{\xpg@tmp@opts}{#2}%
+ \exp_args:Nne \setkeys{#1}{\xpg@tmp@opts}%
+}
+
% joint code of \foreignlanguage, otherlanguage*
% and \text<lang>
% #1 option
@@ -2023,7 +2041,7 @@
\newcommand{\xpg@otherlanguage}[2][]
{%
\polyglossia@error@iflangnotloaded:n{#2}
- \exp_args:Nne \setkeys{#2}{#1}%
+ \polyglossia@set@keys:nn{#2}{#1}%
\polyglossia@setforeignlanguage[#1]{#2}
% Hook for external packages such as biblatex
\polyglossia@language@switched%
@@ -2156,13 +2174,13 @@
\xpg@hook@setlanguage
\let\emp@langname\@undefined}
-\newif\ifxpglanginaux\xpglanginauxfalse
+\newif\ifxpginauxfile\xpginauxfilefalse
\DeclareDocumentCommand \selectlanguage {s O{} m}
{
\tl_if_blank:eTF {\xpg_alias_base_lang:n{#3}}
{
- \ifxpglanginaux
+ \ifxpginauxfile
\msg_show:nnn { polyglossia } { languagenolongerloaded } {#3}
\else
\msg_show:nnn { polyglossia } { languagenotloaded } {#3}
@@ -2212,7 +2230,7 @@
\clist_map_inline:nn { #2 } {%
\xpg@parsevariantkeyvalue##1=#3:#1\relax
}%
- \exp_args:Nne \setkeys{#1}{#2}%
+ \polyglossia@set@keys:nn{#1}{#2}%
}
}
@@ -2394,20 +2412,34 @@
}
\newcommand*{\xpg@set@language@only@aux}[2][]{%
- % Write to the aux
+ % Write to the aux (toc files)
\if@filesw%
- \protected@write\@auxout{}{\protect\xpglanginauxtrue}%
\ifx#1\\\\%
- \protected@write\@auxout{}{\protect\selectlanguage*{#2}}%
\addtocontents{toc}{\protect\selectlanguage*{#2}}%
\else
- \protected@write\@auxout{}{\protect\selectlanguage*[#1]{#2}}%
\addtocontents{toc}{\protect\selectlanguage*[#1]{#2}}%
\fi
- \protected@write\@auxout{}{\protect\xpglanginauxfalse}%
\fi
}
+\AtBeginDocument{%
+ % Tell polyglossia that we are in an aux file
+ \if@filesw%
+ \addtocontents{toc}{\protect\xpginauxfiletrue}%
+ \addtocontents{lof}{\protect\xpginauxfiletrue}%
+ \addtocontents{lot}{\protect\xpginauxfiletrue}%
+ \fi%
+}
+
+\AtEndDocument{%
+ % Tell polyglossia that we are no longer in an aux file
+ \if@filesw%
+ \addtocontents{toc}{\protect\xpginauxfilefalse}%
+ \addtocontents{lof}{\protect\xpginauxfilefalse}%
+ \addtocontents{lot}{\protect\xpginauxfilefalse}%
+ \fi%
+}
+
% Since captions might float to other language regions,
% we need to change the language here (#542)
\AddToHook{cmd/caption/before}{%
@@ -2614,7 +2646,7 @@
% Execute passed command with language and maybe options
% and re-set stored language's keys
\tl_if_empty:NTF \l_tmpb_tl {\cs_if_exist_use:c{#1}{\l_tmpc_tl}}
- {\exp_args:Nne \setkeys{\l_tmpc_tl}{\l_tmpb_tl}
+ {\polyglossia@set@keys:nn{\l_tmpc_tl}{\l_tmpb_tl}
\cs_if_exist_use:c{#1}[\l_tmpb_tl]{\l_tmpc_tl}
}
}
@@ -2657,7 +2689,7 @@
\edef\xpg@tmp@lang{\xpg_alias_base_lang:n{#2}}
\bgroup
\polyglossia@error@iflangnotloaded:n{\xpg@tmp@lang}
- \exp_args:Nne \setkeys{\xpg@tmp@lang}{\xpg@tmp@opts}%
+ \polyglossia@set@keys:nn{\xpg@tmp@lang}{\xpg@tmp@opts}%
% Store bcp47.tag@hypenmins
\tl_if_blank:nTF {\xpg@tmp@opts}{%
\ifcsundef{\csname xpg@tmp@lang\endcsname @g.bcp47.tag}{%
@@ -2676,7 +2708,7 @@
\newcommand*\use@localhyphenmins[2][]{%
\bgroup
\polyglossia@error@iflangnotloaded:n{#2}
- \exp_args:Nne \setkeys{#2}{#1}%
+ \polyglossia@set@keys:nn{#2}{#1}%
% Use bcp47.tag@hypenmins
\tl_if_blank:nTF {#1}{%
\ifcsundef{#2@g.bcp47.tag}{%
@@ -2802,6 +2834,30 @@
\polyglossia@enable@local@marks:
}
+% Control shorthand (de-)activation
+% This checks that the shorthand char is only deactivated
+% if we have activated it ourselves and hence keeps
+% activation of other packages if no shorthands are used.
+\seq_new:N \__xpg_active_shorthands
+
+\DeclareDocumentCommand \xpg@activate@shorthands { O{"} }
+{
+ \seq_if_in:NnF \__xpg_active_shorthands { #1 }
+ {
+ \bbl@activate{#1}
+ \seq_gpush:Nn \__xpg_active_shorthands { #1 }
+ }
+}
+
+\DeclareDocumentCommand \xpg@deactivate@shorthands { O{"} }
+{
+ \seq_if_in:NnT \__xpg_active_shorthands { #1 }
+ {
+ \cs_if_exist:cT{initiate@active@char}{\bbl@deactivate{#1}}
+ \seq_remove_all:Nn \__xpg_active_shorthands {#1}
+ }
+}
+
% compatibility
\newif\ifsystem@babelshorthands
\bool_if:nTF \l_polyglossia_babelshorthands_bool {