summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-04-17 20:01:29 +0000
committerKarl Berry <karl@freefriends.org>2023-04-17 20:01:29 +0000
commit19f4615e78bc698d8c209e560c189e629994ef7d (patch)
tree9c6903c0d1515fbe865a88e0ec8fdea6747dd77d /Master/texmf-dist/tex
parent458ed8974faf8518dee709e8cf8d336a27127799 (diff)
polyglossia (17apr23)
git-svn-id: svn://tug.org/texlive/trunk@66873 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-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.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-albanian.ldf4
-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.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-apd.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ar-IQ.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ar-JO.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ar-LB.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ar-MR.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ar-PS.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ar-SY.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ar-YE.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ar.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-arabic.ldf56
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-armenian.ldf13
-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.ldf4
-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.ldf5
-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.ldf12
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-bengali.ldf4
-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.ldf6
-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.ldf5
-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.ldf5
-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.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-chinese.ldf20
-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.ldf5
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-croatian.ldf4
-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.ldf5
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-da.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-danish.ldf4
-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.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-dsb.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-dutch.ldf4
-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.ldf21
-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.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-estonian.ldf5
-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.ldf5
-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.ldf13
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-friulan.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-friulian.ldf4
-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.ldf8
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-galician.ldf5
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-gd.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-georgian.ldf12
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf30
-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.ldf23
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-he.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-hebrew.ldf7
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-hi.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-hindi.ldf6
-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.ldf5
-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.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-id.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-interlingua.ldf4
-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.ldf5
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ja.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-japanese.ldf5
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ka.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-kannada.ldf5
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-khmer.ldf14
-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.ldf18
-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.ldf17
-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.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-latex.lde8
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-latin.ldf17
-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.ldf5
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-lithuanian.ldf5
-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.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-magyar.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-malay.ldf8
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-malayalam.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-marathi.ldf6
-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.ldf4
-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.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-norsk.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-norwegian.ldf8
-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.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-pa.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-persian.ldf10
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-piedmontese.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-polish.ldf4
-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.ldf9
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-punjabi.ldf6
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-romanian.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-romansh.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf13
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-sami.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-samin.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-sanskrit.ldf21
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-scottish.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-serbian.ldf13
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-serbianc.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-slovak.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-slovene.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-slovenian.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-sorbian.ldf8
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-spanish.ldf9
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-spanishmx.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-swedish.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-swissgerman.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-syriac.ldf10
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-tamil.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-telugu.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-thai.ldf13
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf9
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-turkish.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-turkmen.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ug.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-ukrainian.ldf8
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-uppersorbian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-urdu.ldf12
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-usorbian.ldf2
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-uyghur.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-vietnamese.ldf4
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-welsh.ldf4
-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.sty148
247 files changed, 797 insertions, 365 deletions
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-acadien.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-acadien.ldf
index 1c30677bb81..482dc2ef653 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 59bf7a944b8..8f4f635ab10 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 375d0a5a7cf..43ff050ea3a 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 22027b9cad3..b3885588b0e 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 e320053dc4e..23d6cbb8025 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-afrikaans.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-afrikaans.ldf
@@ -1,9 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-afrikaans.ldf}[polyglossia: module for Afrikaans]
\PolyglossiaSetup{afrikaans}{
bcp47=af,
+ bcp47-language=af,
+ bcp47-script=Latn,
hyphennames={afrikaans,dutch},
hyphenmins={2,2},
langtag=AFK,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-albanian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-albanian.ldf
index 82ef98ea082..b1a16a39c79 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-albanian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-albanian.ldf
@@ -1,9 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-albanian.ldf}[polyglossia: module for Albanian]
\PolyglossiaSetup{albanian}{
bcp47=sq,
+ bcp47-language=sq,
+ bcp47-script=Latn,
hyphennames={albanian},
langtag=SQI,
hyphenmins={2,2},
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-am.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-am.ldf
index 561e53b560e..887ba508f4b 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 28924b2e87f..1676ba0e513 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 93862dfd792..751c4af0716 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-amharic.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-amharic.ldf
@@ -1,8 +1,10 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-amharic.ldf}[polyglossia: module for Amharic]
\PolyglossiaSetup{amharic}{
bcp47=am,
+ bcp47-language=am,
+ bcp47-script=Ethi,
script=Ethiopic,
scripttag=ethi,
langtag=AMH,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-apd.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-apd.ldf
index e4e0520c77e..cded2776209 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 bcffd49b1d1..3c6feebb1b0 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-ar-IQ.ldf}[polyglossia: module for ar-IQ (Arabic)]
@@ -6,4 +6,6 @@
\xpg@load@master@language{arabic}
+\SetLanguageKeys{arabic}{bcp47=ar-IQ,bcp47-language=ar,bcp47-region=IQ}%
+
\endinput
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 a9aeacc892c..f45cf9cff69 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-ar-JO.ldf}[polyglossia: module for ar-JO (Arabic)]
@@ -6,4 +6,6 @@
\xpg@load@master@language{arabic}
+\SetLanguageKeys{arabic}{bcp47=ar-JO,bcp47-language=ar,bcp47-region=JO}%
+
\endinput
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 ae9ce36ea32..55aac66a138 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-ar-LB.ldf}[polyglossia: module for ar-LB (Arabic)]
@@ -6,4 +6,6 @@
\xpg@load@master@language{arabic}
+\SetLanguageKeys{arabic}{bcp47=ar-LB,bcp47-language=ar,bcp47-region=LB}%
+
\endinput
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 5c9bf6b2df6..181d338a106 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-ar-MR.ldf}[polyglossia: module for ar-MR (Arabic)]
@@ -6,4 +6,6 @@
\xpg@load@master@language{arabic}
+\SetLanguageKeys{arabic}{bcp47=ar-MR,bcp47-language=ar,bcp47-region=MR}%
+
\endinput
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 2c3e08ddaed..7b1305d1859 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-ar-PS.ldf}[polyglossia: module for ar-PS (Arabic)]
@@ -6,4 +6,6 @@
\xpg@load@master@language{arabic}
+\SetLanguageKeys{arabic}{bcp47=ar-PS,bcp47-language=ar,bcp47-region=PS}%
+
\endinput
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 8042147b077..c1f7bd20644 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-ar-SY.ldf}[polyglossia: module for ar-SY (Arabic)]
@@ -6,4 +6,6 @@
\xpg@load@master@language{arabic}
+\SetLanguageKeys{arabic}{bcp47=ar-SY,bcp47-language=ar,bcp47-region=SY}%
+
\endinput
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 677eeee2633..a4b68a1b24d 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-ar-YE.ldf}[polyglossia: module for ar-YE (Arabic)]
@@ -6,4 +6,6 @@
\xpg@load@master@language{arabic}
+\SetLanguageKeys{arabic}{bcp47=ar-YE,bcp47-language=ar,bcp47-region=YE}%
+
\endinput
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ar.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ar.ldf
index c2edfb084b1..9823a8bb146 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 6af3c9dca5b..5cf43d416e8 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-arabic.ldf}[polyglossia: module for Arabic]
\RequireBidi
@@ -7,6 +7,9 @@
\PolyglossiaSetup{arabic}{
bcp47=ar,
+ bcp47-language=ar,
+ bcp47-script=Arab,
+ bcp47-region=YE,
script=Arabic,
direction=RL,
langtag=ARA,
@@ -57,20 +60,45 @@
\abjad@jim@notailfalse
\fi}
-\def\tmp@morocco{morocco}
-\def\tmp@algeria{algeria}
-\define@key{arabic}{locale}[default]{%
- \def\@tmpa{#1}%
- \ifx\@tmpa\tmp@morocco%
- \eastern@numeralsfalse%
- \SetLanguageKeys{arabic}{bcp47=ary}%
- \else
- \ifx\@tmpa\tmp@algeria%
+\define@choicekey*+{arabic}{locale}[\xpg@val\xpg@nr]{default,mashriq,libya,algeria,tunisia,morocco,mauritania}[default]{%
+ \ifcase\xpg@nr\relax
+ % default:
+ \eastern@numeralstrue%
+ \SetLanguageKeys{arabic}{bcp47=ar-YE,bcp47-language=ar}%
+ \xpg@info{Option: arabic, locale=default}%
+ \or
+ % mashriq:
+ \eastern@numeralstrue%
+ \SetLanguageKeys{arabic}{bcp47=ar-IQ,bcp47-language=ar}%
+ \xpg@info{Option: arabic, locale=mashriq}%
+ \or
+ % libya:
+ \eastern@numeralstrue%
+ \SetLanguageKeys{arabic}{bcp47=ayl,bcp47-language=ar,bcp47-region=LY}%
+ \xpg@info{Option: arabic, locale=libya}%
+ \or
+ % algeria:
\eastern@numeralsfalse%
- \SetLanguageKeys{arabic}{bcp47=arq}%
- \fi%
- \fi%
- \gdef\@@arabic@month{\@arabic@month{#1}}}
+ \SetLanguageKeys{arabic}{bcp47=arq,bcp47-language=ar,bcp47-region=DZ,bcp47-extension-u=nu-latn}%
+ \xpg@info{Option: arabic, locale=algeria}%
+ \or
+ % tunisia:
+ \eastern@numeralsfalse%
+ \SetLanguageKeys{arabic}{bcp47=aeb,bcp47-language=ar,bcp47-region=TN,bcp47-extension-u=nu-latn}%
+ \xpg@info{Option: arabic, locale=tunisia}%
+ \or
+ % morocco:
+ \eastern@numeralsfalse%
+ \SetLanguageKeys{arabic}{bcp47=ary,bcp47-language=ar,bcp47-region=MA,bcp47-extension-u=nu-latn}%
+ \xpg@info{Option: arabic, locale=morocco}%
+ \or
+ % mauritania:
+ \eastern@numeralstrue%
+ \SetLanguageKeys{arabic}{bcp47=ar-MR,bcp47-language=ar,bcp47-region=MR}%
+ \xpg@info{Option: arabic, locale=mauritania}%
+ \fi
+ \gdef\@@arabic@month{\@arabic@month{#1}}
+ }{\xpg@warning{Unknown Arabic locale `#1'}}
\newif\if@hijrical
\def\tmp@hijri{hijri}
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-armenian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-armenian.ldf
index 29161346d01..acd0416d4d9 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-armenian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-armenian.ldf
@@ -1,9 +1,12 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-armenian.ldf}[polyglossia: module for Armenian]
\PolyglossiaSetup{armenian}{
bcp47=hy,
+ bcp47-language=hy,
+ bcp47-script=Armn,
+ bcp47-region=AM,
script=Armenian,
scripttag=armn,
langtag=HYE,
@@ -32,7 +35,13 @@
\newif\if@armenian@numerals
\@armenian@numeralsfalse
\define@key{armenian}{numerals}[armenian]{%
- \ifstrequal{#1}{arabic}{\@armenian@numeralsfalse}{\@armenian@numeralstrue}%
+ \ifstrequal{#1}{arabic}{%
+ \@armenian@numeralsfalse%
+ \SetLanguageKeys{armenian}{bcp47-extension-u=nu-latn}%
+ }{%
+ \@armenian@numeralstrue%
+ \SetLanguageKeys{armenian}{bcp47-extension-u={}}%
+ }%
}
% Register default options
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-arq.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-arq.ldf
index cf4984b3f1a..6f44b010e05 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 f17f745976d..0fae617cd56 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 e302cb8f41f..d892ea39fc6 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 2b7d335d7cd..3e9c27f0840 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 e2dcf59106c..2658b4734a7 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
% Translated by Xuacu <xuacusk8 at gmail dot com>
% Contributed by Kevin Godby <godbyk at gmail dot com>
@@ -6,6 +6,8 @@
\ProvidesFile{gloss-asturian.ldf}[polyglossia: module for Asturian]
\PolyglossiaSetup{asturian}{
bcp47=ast,
+ bcp47-language=ast,
+ bcp47-script=Latn,
hyphennames={asturian,catalan},
hyphenmins={2,2},
langtag=AST,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-australian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-australian.ldf
index f0dd5cf1b7b..bcb109a0f1a 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 78fa1a8aa4e..0aff705de7e 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 c95ecadc6e2..b7f27eb058e 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 95445e1d203..a50c2a0870a 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 edb0e12415f..1667dcd96fd 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 164cb70d01f..eeb9bc65707 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 3ae1ec2a3b1..1be013cc402 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-basque.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-basque.ldf
@@ -1,8 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-basque.ldf}[polyglossia: module for Basque]
\PolyglossiaSetup{basque}{
bcp47=eu,
+ bcp47-language=eu,
+ bcp47-region=ES,
+ bcp47-script=Latn,
hyphennames={basque},
hyphenmins={2,2},
langtag=EUQ,
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 ffba549cc29..f6d86039238 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 114274fcadb..6f5b46dc99b 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 a67b4dccac8..0e44070b8cd 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-belarusian.ldf}[polyglossia: module for Belarusian]
@@ -6,6 +6,10 @@
\PolyglossiaSetup{belarusian}{
bcp47=be,
+ bcp47-language=be,
+ bcp47-region=BY,
+ bcp47-variant=1959acad,
+ bcp47-script=Cyrl,
script=Cyrillic,
scripttag=cyrl,
langtag=BEL,
@@ -26,15 +30,15 @@
\ifcase\xpg@nr\relax
% modern:
\def\belarusian@spelling{modern}%
- \SetLanguageKeys{belarusian}{bcp47=be}%
+ \SetLanguageKeys{belarusian}{bcp47=be,bcp47-variant=1959acad}%
\or
% classic:
\def\belarusian@spelling{tarask}%
- \SetLanguageKeys{belarusian}{bcp47=be-tarask}%
+ \SetLanguageKeys{belarusian}{bcp47=be-tarask,bcp47-variant=tarask}%
\or
% tarask:
\def\belarusian@spelling{tarask}%
- \SetLanguageKeys{belarusian}{bcp47=be-tarask}%
+ \SetLanguageKeys{belarusian}{bcp47=be-tarask,bcp47-variant=tarask}%
\fi
}{\xpg@warning{Unknown Belarusian spelling `#1'}}
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-bengali.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-bengali.ldf
index 5363f8905a6..325cf2d88f3 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
% Translations provided by সাজেদুর রহিম জোয়ারদার <toshazed@gmail.com>
% TODO implement Bengali calendar
@@ -10,6 +10,8 @@
\PolyglossiaSetup{bengali}{
bcp47=bn,
+ bcp47-language=bn,
+ bcp47-script=Beng,
script=Bengali,
scripttag=beng,
langtag=BEN,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-bg.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-bg.ldf
index f85329c5076..7a9092edca1 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 16d3da2d0c3..d90e06d838d 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 c9686dbd8e2..725f3792f1c 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 fbf2d879e2a..dcd40533dd3 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-bosnian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-bosnian.ldf
@@ -1,9 +1,13 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-bosnian.ldf}[polyglossia: module for Bosnian]
\PolyglossiaSetup{bosnian}{
bcp47=bs,
+ bcp47-language=bs,
+ bcp47-region=BA,
+ bcp47-script=Latn,
+ bcp47-casing=bs-Latn,
langtag=BOS,
hyphennames={bosnian,croatian},
hyphenmins={2,2}, % adapted from gloss-croatian
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-br.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-br.ldf
index dee1344bf0b..dda3000324b 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 326b1ad40d1..0a2bb8517c0 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 cb64a3a99e8..f90bd384976 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-breton.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-breton.ldf
@@ -1,8 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-breton.ldf}[polyglossia: module for Breton]
\PolyglossiaSetup{breton}{
bcp47=br,
+ bcp47-language=br,
+ bcp47-region=FR,
+ bcp47-script=Latn,
hyphennames={breton},
hyphenmins={2,2},
langtag=BRE,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-british.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-british.ldf
index ea0788809e2..19346a540e2 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 6191bbcfaf4..d22f238a047 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 f908b100bb7..d13941f33fa 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-bulgarian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-bulgarian.ldf
@@ -1,8 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-bulgarian.ldf}[polyglossia: module for Bulgarian]
\PolyglossiaSetup{bulgarian}{
bcp47=bg,
+ bcp47-language=bg,
+ bcp47-region=BG,
+ bcp47-script=Cyrl,
script=Cyrillic,
scripttag=cyrl,
langtag=BGR,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ca.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ca.ldf
index 48ac35d967a..914924b1cb8 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 f9ecee646e5..89cadab5a43 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 1e803c54712..a309d0af7b3 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 d39c5fbaece..d87597e34c9 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-catalan.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-catalan.ldf
@@ -1,8 +1,10 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-catalan.ldf}[polyglossia: module for Catalan]
\PolyglossiaSetup{catalan}{
bcp47=ca,
+ bcp47-language=ca,
+ bcp47-script=Latn,
hyphennames={catalan},
hyphenmins={2,2},
langtag=CAT,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-chinese.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-chinese.ldf
index 80581b1859d..2d2a3c0204c 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-chinese.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-chinese.ldf
@@ -1,9 +1,12 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-chinese.ldf}[polyglossia: module for Chinese]
\PolyglossiaSetup{chinese}{
bcp47=zh,
+ bcp47-language=zh,
+ bcp47-region=CN,
+ bcp47-script=Hans,
script=CJK,
scripttag=hani,
language=Chinese,
@@ -25,8 +28,11 @@
\newif\ifchinese@numerals
\define@key{chinese}{numerals}[arabic]{%
\ifstrequal{#1}{chinese}%
- {\chinese@numeralstrue}%
- {\chinese@numeralsfalse}%
+ {\chinese@numeralstrue%
+ \SetLanguageKeys{chinese}{bcp47-extension-u=nu-hant}%
+ }{\chinese@numeralsfalse%
+ \SetLanguageKeys{chinese}{bcp47-extension-u=nu-latn}%
+ }%
}
@@ -34,22 +40,22 @@
\ifcase\xpg@nr\relax
% cn:
\chinese@traditionalfalse
- \SetLanguageKeys{chinese}{bcp47=zh-CN}%
+ \SetLanguageKeys{chinese}{bcp47=zh-CN,bcp47-language=zh,bcp47-region=CN,bcp47-script=Hans}%
\xpg@info{Option: Chinese, variant=simplified}%
\or
% simplified:
\chinese@traditionalfalse
- \SetLanguageKeys{chinese}{bcp47=zh-CN}%
+ \SetLanguageKeys{chinese}{bcp47=zh-CN,bcp47-language=zh,bcp47-region=CN,bcp47-script=Hans}%
\xpg@info{Option: Chinese, variant=simplified}%
\or
% tw:
\chinese@traditionaltrue
- \SetLanguageKeys{chinese}{bcp47=zh-TW}%
+ \SetLanguageKeys{chinese}{bcp47=zh-TW,bcp47-language=zh,bcp47-region=TW,bcp47-script=Hant}%
\xpg@info{Option: Chinese, variant=traditional}%
\or
% traditional:
\chinese@traditionaltrue
- \SetLanguageKeys{chinese}{bcp47=zh-TW}%
+ \SetLanguageKeys{chinese}{bcp47=zh-TW,bcp47-language=zh,bcp47-region=TW,bcp47-script=Hant}%
\xpg@info{Option: Chinese, variant=traditional}%
\fi
}{\xpg@warning{Unknown Chinese variant `#1'}}
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 f41276fe997..6651ba8bd7e 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 bc9e3da5d3d..4f15cfc65e3 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 d836653dff6..ee500d1c992 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 a8d20f5d5a3..6c8a0aeccc2 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 21bb65b8c6c..6c5b4d8024a 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-coptic.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-coptic.ldf
@@ -1,8 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-coptic.ldf}[polyglossia: module for Coptic]
\PolyglossiaSetup{coptic}{
bcp47=cop,
+ bcp47-language=cop,
+ bcp47-region=CN,
+ bcp47-script=Copt,
script=Coptic,
scripttag=copt,
langtag=COP,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-croatian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-croatian.ldf
index ea0637852b1..5d31dfb2efb 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-croatian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-croatian.ldf
@@ -1,8 +1,10 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-croatian.ldf}[polyglossia: module for Croatian]
\PolyglossiaSetup{croatian}{
bcp47=hr,
+ bcp47-language=hr,
+ bcp47-script=Latn,
langtag=HRV,
hyphennames={croatian},
hyphenmins={2,2}, % aligned with https://ctan.org/pkg/hrhyph patterns and http://lebesgue.math.hr/~nenad/Diplomski/Maja_Ribaric_2011.pdf
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-cy.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-cy.ldf
index cd74e811e26..8f20c6c551c 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 e8a0715babb..188278b8f65 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 4be14ce755b..f585b566398 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-czech.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-czech.ldf
@@ -1,9 +1,12 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-czech.ldf}[polyglossia: module for Czech]
\PolyglossiaSetup{czech}{
bcp47=cz,
+ bcp47-language=cz,
+ bcp47-region=CZ,
+ bcp47-script=Latn,
hyphennames={czech},
hyphenmins={2,2},
langtag=CSY,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-da.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-da.ldf
index 528518e91db..c2db0b07952 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 e2033597d41..610ba735213 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-danish.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-danish.ldf
@@ -1,8 +1,10 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-danish.ldf}[polyglossia: module for Danish]
\PolyglossiaSetup{danish}{
bcp47=da,
+ bcp47-language=da,
+ bcp47-script=Latn,
hyphennames={danish},
hyphenmins={2,3},
langtag=DAN,
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 62784d75676..5f17192432b 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 e37f98ef768..6973bfd42b5 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 e81aefc473e..1fa981aaec0 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 52750c74333..de8bf69deef 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 ebb9e7b49e7..5ea34f9ef85 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 1ab9a760041..014d61daaa6 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 41155270bde..d0c2a3cdfa6 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 12d9fe3fa31..0147e501a12 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 029c1de7a30..2c62eec7eab 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 bb60266c86f..5730064a795 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 1954a144424..41169d412ae 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 5753b527d9c..198e565f075 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 9917cdcbc10..beea9c583c3 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 9a3fbb3f387..71791d5d8d5 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 fc4b700937f..589d4c64126 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 7bc24f66b55..1dc7c317304 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 092f3797d22..aec2884d170 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 2526705db24..d57b520857e 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 a86764560a0..478c4c62cb4 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 7233a2d25fb..e8d4cf571c9 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 a7f698f7fca..6cad7163f8f 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-divehi.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-divehi.ldf
@@ -1,10 +1,12 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-divehi.ldf}[polyglossia: module for Divehi]
\RequireBidi
\PolyglossiaSetup{divehi}{
bcp47=dv,
+ bcp47-language=dv,
+ bcp47-script=Thaa,
script=Thaana,
scripttag=thaa,
langtag=DIV,% TODO Support DHV as well?
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-dsb.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-dsb.ldf
index 8a112a9359a..921672eb8fc 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 957bf81f420..428ced97b8a 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-dutch.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-dutch.ldf
@@ -1,8 +1,10 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-dutch.ldf}[polyglossia: module for Dutch]
\PolyglossiaSetup{dutch}{
bcp47=nl,
+ bcp47-language=nl,
+ bcp47-script=Latn,
hyphennames={dutch},
hyphenmins={2,2},
langtag=NLD,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-dv.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-dv.ldf
index f0f0cd540ed..11d4aaba5fd 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 05d6f0cb0e8..8c1c4837a59 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 d146dc70287..bd481442c04 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 c2f75c71eea..27e7877d14c 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 25294fc56d9..a6f8d603b3d 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 c363e2706d2..be5818836fa 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 a4bb24cf580..51be509ca92 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 f145c85cb0b..db54fbcdd13 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 73815d9b10a..2909a804419 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 621dc9e8cd2..2cbde75090f 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 af1b92f1a70..fdd317d8a9b 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-english.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-english.ldf
@@ -1,9 +1,12 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-english.ldf}[polyglossia: module for English]
\PolyglossiaSetup{english}{
bcp47=en-US,
+ bcp47-language=en,
+ bcp47-region=US,
+ bcp47-script=Latn,
hyphennames={english,american,usenglish,USenglish},
hyphenmins={2,3},
langtag=ENG,
@@ -47,35 +50,35 @@
\british@hyphentrue
\british@dateformattrue
\english@ordinalmonthdaytrue
- \SetLanguageKeys{english}{babelname=british,bcp47=en-GB}%
+ \SetLanguageKeys{english}{babelname=british,bcp47=en-GB,bcp47-language=en,bcp47-region=GB}%
\xpg@info{Option: English, variant=british}%
\or
% british:
\british@hyphentrue
\british@dateformattrue
\english@ordinalmonthdaytrue
- \SetLanguageKeys{english}{babelname=british,bcp47=en-GB}%
+ \SetLanguageKeys{english}{babelname=british,bcp47=en-GB,bcp47-language=en,bcp47-region=GB}%
\xpg@info{Option: english variant=british}%
\or
% us:
\british@hyphenfalse
\british@dateformatfalse
\english@ordinalmonthdayfalse
- \SetLanguageKeys{english}{babelname=american,bcp47=en-US}%
+ \SetLanguageKeys{english}{babelname=american,bcp47=en-US,bcp47-language=en,bcp47-region=US}%
\xpg@info{Option: English, variant=american}%
\or
% american:
\british@hyphenfalse
\british@dateformatfalse
\english@ordinalmonthdayfalse
- \SetLanguageKeys{english}{babelname=american,bcp47=en-US}%
+ \SetLanguageKeys{english}{babelname=american,bcp47=en-US,bcp47-language=en,bcp47-region=US}%
\xpg@info{Option: English, variant=american}%
\or
% usmax:
\british@hyphenfalse
\british@dateformatfalse
\english@ordinalmonthdayfalse
- \SetLanguageKeys{english}{babelname=american,bcp47=en-US}%
+ \SetLanguageKeys{english}{babelname=american,bcp47=en-US,bcp47-language=en,bcp47-region=US}%
\xpg@info{Option: english variant=american (with additional patterns)}%
\xpg@ifdefined{usenglishmax}{}%
{\xpg@warning{No hyphenation patterns were loaded for "US English Max"\MessageBreak
@@ -90,7 +93,7 @@
\british@hyphentrue
\british@dateformattrue
\english@ordinalmonthdayfalse
- \SetLanguageKeys{english}{babelname=australian,bcp47=en-AU}%
+ \SetLanguageKeys{english}{babelname=australian,bcp47=en-AU,bcp47-language=en,bcp47-region=AU}%
\xpg@info{Option: English, variant=australian}%
\adddialect\l@australian\l@english%
\or
@@ -100,7 +103,7 @@
\british@hyphentrue
\british@dateformattrue
\english@ordinalmonthdayfalse
- \SetLanguageKeys{english}{babelname=newzealand,bcp47=en-NZ}%
+ \SetLanguageKeys{english}{babelname=newzealand,bcp47=en-NZ,bcp47-language=en,bcp47-region=NZ}%
\xpg@info{Option: English, variant=newzealand}%
\adddialect\l@newzealand\l@english%
\or
@@ -109,7 +112,7 @@
\british@hyphenfalse
\british@dateformatfalse
\english@ordinalmonthdayfalse
- \SetLanguageKeys{english}{babelname=canadian,bcp47=en-CA}%
+ \SetLanguageKeys{english}{babelname=canadian,bcp47=en-CA,bcp47-language=en,bcp47-region=CA}%
\xpg@info{Option: English, variant=american}%
\adddialect\l@canadian\l@english%
\fi
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-eo.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-eo.ldf
index 58c4127da61..a974d30df17 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 20eb2f909cc..20ae420079f 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 da1d2f69eb8..49112458988 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 cd56218858e..457f658992b 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 db3dd254ac4..ac7ee9fa2cd 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-esperanto.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-esperanto.ldf
@@ -1,8 +1,10 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-esperanto.ldf}[polyglossia: module for Esperanto]
\PolyglossiaSetup{esperanto}{
bcp47=eo,
+ bcp47-language=eo,
+ bcp47-script=Latn,
hyphennames={esperanto},
hyphenmins={2,2},
langtag=NTO,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-estonian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-estonian.ldf
index f1b6041ca91..e954c06c7c3 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-estonian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-estonian.ldf
@@ -1,8 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-estonian.ldf}[polyglossia: module for Estonian]
\PolyglossiaSetup{estonian}{
bcp47=et,
+ bcp47-language=et,
+ bcp47-region=EE,
+ bcp47-script=Latn,
hyphennames={estonian},
hyphenmins={2,2},
langtag=ETI,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-et.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-et.ldf
index bbd9e4eecbd..da5e601a3b1 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 21cf4e75137..c0dc9f38d33 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 cc9e6913faa..7e949e5758a 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 d7d11c75e52..0c700b0223a 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 a1c4af400b4..7b0acfde670 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 b1c4115024c..19e167d3076 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-finnish.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-finnish.ldf
@@ -1,8 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-finnish.ldf}[polyglossia: module for Finnish]
\PolyglossiaSetup{finnish}{
bcp47=fi,
+ bcp47-language=fi,
+ bcp47-region=FI,
+ bcp47-script=Latn,
hyphennames={finnish},
hyphenmins={2,2},
langtag=FIN,
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 6e210b60694..91578232c7c 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 174ebcd3f0c..1cdb3bd2ea4 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 8c0ca7fa1de..af451ea1d25 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 d36cdbda85f..354d7ecd4a0 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 6de1b24af55..0caecac8a8e 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-french.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-french.ldf
@@ -1,9 +1,12 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-french.ldf}[polyglossia: module for French]
\PolyglossiaSetup{french}{%
bcp47=fr-FR,
+ bcp47-language=fr,
+ bcp47-region=FR,
+ bcp47-script=Latn,
language=French,
script=Latin,
langtag=FRA,
@@ -28,12 +31,12 @@
\ifcase\xpg@nr\relax
% french:
\def\french@variant{french}%
- \SetLanguageKeys{french}{babelname=french,bcp47=fr-FR}%
+ \SetLanguageKeys{french}{babelname=french,bcp47=fr-FR,bcp47-language=fr,bcp47-region=FR}%
\french@thincolonspacefalse
\or
% canadian:
\def\french@variant{canadien}%
- \SetLanguageKeys{french}{babelname=canadien,bcp47=fr-CA}%
+ \SetLanguageKeys{french}{babelname=canadien,bcp47=fr-CA,bcp47-language=fr,bcp47-region=CA}%
\xpg@ifdefined{canadien}{}%
{\xpg@warning{No hyphenation patterns were loaded for "French (Canada)"\MessageBreak
I will use the standard patterns for French instead}%
@@ -42,7 +45,7 @@
\or
% acadian:
\def\french@variant{acadian}%
- \SetLanguageKeys{french}{babelname=canadien,bcp47=fr-CA}%
+ \SetLanguageKeys{french}{babelname=canadien,bcp47=fr-CA,bcp47-language=fr,bcp47-region=CA}%
\xpg@ifdefined{acadian}{}%
{\xpg@warning{No hyphenation patterns were loaded for "French (Canada)"\MessageBreak
I will use the standard patterns for French instead}%
@@ -51,7 +54,7 @@
\or
% swiss:
\def\french@variant{swissfrench}%
- \SetLanguageKeys{french}{babelname=french,bcp47=fr-CH}%
+ \SetLanguageKeys{french}{babelname=french,bcp47=fr-CH,bcp47-language=fr,bcp47-region=CH}%
\adddialect\l@swissfrench\l@french\relax%
\french@thincolonspacetrue
\fi
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-friulan.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-friulan.ldf
index c9b8ee03de9..813645a6628 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 f0408f4716f..7be5ad10046 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-friulian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-friulian.ldf
@@ -1,9 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-friulian.ldf}[polyglossia: module for Friulian]
\PolyglossiaSetup{friulian}{%
bcp47=fur,
+ bcp47-language=fur,
+ bcp47-script=Latn,
language=Friulian,
babelname=friulan,
hyphennames={friulan,furlan},
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-fur.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-fur.ldf
index f133d5b41f2..aadc06217df 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 4828c50056c..4b6dd1a5458 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 ecccc61cdba..7786ba9156a 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-gaelic.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-gaelic.ldf
@@ -1,9 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-gaelic.ldf}[polyglossia: module for Gaelic]
\PolyglossiaSetup{gaelic}{
bcp47=ga,
+ bcp47-language=ga,
+ bcp47-script=Latn,
language=Irish,
babelname=irish,
hyphennames={irish},
@@ -24,12 +26,12 @@
\ifcase\xpg@nr\relax
% irish:
\gdef\gaelic@variant{irish}%
- \SetLanguageKeys{gaelic}{language=Irish,langtag=IRI,babelname=irish,bcp47=ga}%
+ \SetLanguageKeys{gaelic}{language=Irish,langtag=IRI,babelname=irish,bcp47=ga,bcp47-language=ga}%
\xpg@fontsetup@latin{gaelic}%
\or
% scottish:
\gdef\gaelic@variant{scottish}%
- \SetLanguageKeys{gaelic}{language=Gaelic,langtag=GAE,babelname=scottish,bcp47=gd}%
+ \SetLanguageKeys{gaelic}{language=Gaelic,langtag=GAE,babelname=scottish,bcp47=gd,bcp47-language=gd}%
\xpg@fontsetup@latin{gaelic}%
\fi
\xpg@info{Option: gaelic, variant=\xpg@val}%
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-galician.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-galician.ldf
index 5f643ad23b8..a62d83ed91d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-galician.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-galician.ldf
@@ -1,8 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-galician.ldf}[polyglossia: module for Galician]
\PolyglossiaSetup{galician}{
bcp47=gl,
+ bcp47-language=gl,
+ bcp47-region=ES,
+ bcp47-script=Latn,
hyphennames={galician},
hyphenmins={2,2},
langtag=GAL,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-gd.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-gd.ldf
index c91547653bd..d356d2fc14d 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 ee033315de8..9f23c6ce058 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-georgian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-georgian.ldf
@@ -1,9 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-georgian.ldf}[polyglossia: module for Georgian]
\PolyglossiaSetup{georgian}{
bcp47=ka,
+ bcp47-language=ka,
+ bcp47-script=Geor,
script=Georgian,
scripttag=geor,
langtag=KAT,
@@ -18,8 +20,12 @@
\newif\ifgeorgian@numerals
\define@key{georgian}{numerals}[arabic]{%
\ifstrequal{#1}{georgian}%
- {\georgian@numeralstrue}%
- {\georgian@numeralsfalse}%
+ {\georgian@numeralstrue%
+ \SetLanguageKeys{georgian}{bcp47-extension-u=nu-geor}%
+ }%
+ {\georgian@numeralsfalse%
+ \SetLanguageKeys{georgian}{bcp47-extension-u=nu-latn}%
+ }%
}
\define@boolkey{georgian}[georgian@]{babelshorthands}[true]{}
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf
index 08751df793a..7f64c5ad765 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf
@@ -1,9 +1,13 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-german.ldf}[polyglossia: module for German]
\PolyglossiaSetup{german}{
bcp47=de-DE,
+ bcp47-language=de,
+ bcp47-region=DE,
+ bcp47-variant=1996,
+ bcp47-script=Latn,
hyphenmins={2,2},
frenchspacing=true,
fontsetup=true,
@@ -93,43 +97,43 @@
\if@german@oldspelling
\if@swiss@locale
\if@german@blackletter
- \SetLanguageKeys{german}{babelname=swissgerman,bcp47=de-Latf-CH-1901}%
+ \SetLanguageKeys{german}{babelname=swissgerman,bcp47=de-Latf-CH-1901,bcp47-language=de,bcp47-region=CH,bcp47-variant=1901,bcp47-script=Latf}%
\else
- \SetLanguageKeys{german}{babelname=swissgerman,bcp47=de-CH-1901}%
+ \SetLanguageKeys{german}{babelname=swissgerman,bcp47=de-CH-1901,bcp47-language=de,bcp47-region=CH,bcp47-variant=1901,bcp47-script=Latn}%
\fi
\else
\if@austrian@locale
\if@german@blackletter
- \SetLanguageKeys{german}{babelname=austrian,bcp47=de-Latf-AT-1901}%
+ \SetLanguageKeys{german}{babelname=austrian,bcp47=de-Latf-AT-1901,bcp47-language=de,bcp47-region=AT,bcp47-variant=1901,bcp47-script=Latf}%
\else
- \SetLanguageKeys{german}{babelname=austrian,bcp47=de-AT-1901}%
+ \SetLanguageKeys{german}{babelname=austrian,bcp47=de-AT-1901,bcp47-language=de,bcp47-region=AT,bcp47-variant=1901,bcp47-script=Latn}%
\fi
\else
\if@german@blackletter
- \SetLanguageKeys{german}{babelname=german,bcp47=de-Latf-DE-1901}%
+ \SetLanguageKeys{german}{babelname=german,bcp47=de-Latf-DE-1901,bcp47-script=Latf,bcp47-language=de,bcp47-region=DE,bcp47-variant=1901,bcp47-script=Latf}%
\else
- \SetLanguageKeys{german}{babelname=german,bcp47=de-DE-1901}%
+ \SetLanguageKeys{german}{babelname=german,bcp47=de-DE-1901,bcp47-language=de,bcp47-region=DE,bcp47-variant=1901,bcp47-script=Latn}%
\fi
\fi\fi
\else
\if@swiss@locale
\if@german@blackletter
- \SetLanguageKeys{german}{babelname=nswissgerman,bcp47=de-Latf-CH}%
+ \SetLanguageKeys{german}{babelname=nswissgerman,bcp47=de-Latf-CH,bcp47-language=de,bcp47-region=CH,bcp47-variant=1996,bcp47-script=Latf}%
\else
- \SetLanguageKeys{german}{babelname=nswissgerman,bcp47=de-CH}%
+ \SetLanguageKeys{german}{babelname=nswissgerman,bcp47=de-CH,bcp47-language=de,bcp47-region=CH,bcp47-variant=1996,bcp47-script=Latn}%
\fi
\else
\if@austrian@locale
\if@german@blackletter
- \SetLanguageKeys{german}{babelname=naustrian,bcp47=de-Latf-AT}%
+ \SetLanguageKeys{german}{babelname=naustrian,bcp47=de-Latf-AT,bcp47-language=de,bcp47-region=AT,bcp47-variant=1996,bcp47-script=Latf}%
\else
- \SetLanguageKeys{german}{babelname=naustrian,bcp47=de-AT}%
+ \SetLanguageKeys{german}{babelname=naustrian,bcp47=de-AT,bcp47-language=de,bcp47-region=AT,bcp47-variant=1996,bcp47-script=Latn}%
\fi
\else
\if@german@blackletter
- \SetLanguageKeys{german}{babelname=ngerman,bcp47=de-Latf-DE}%
+ \SetLanguageKeys{german}{babelname=ngerman,bcp47=de-Latf-DE,bcp47-language=de,bcp47-region=DE,bcp47-variant=1996,bcp47-script=Latf}%
\else
- \SetLanguageKeys{german}{babelname=ngerman,bcp47=de-DE}%
+ \SetLanguageKeys{german}{babelname=ngerman,bcp47=de-DE,bcp47-language=de,bcp47-region=DE,bcp47-variant=1996,bcp47-script=Latn}%
\fi
\fi\fi
\fi
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-germanb.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-germanb.ldf
index d7020977f8a..e34d0c0d3ce 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 7982d9295c9..ae03efbcda6 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 ceae4ad2842..4eab35692c0 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 d47bb46655d..30b64573239 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-greek.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-greek.ldf
@@ -1,9 +1,13 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-greek.ldf}[polyglossia: module for Greek]
\PolyglossiaSetup{greek}{
bcp47=el-monoton,
+ bcp47-language=el,
+ bcp47-variant=monoton,
+ bcp47-script=Grek,
+ bcp47-extension-u=nu-grek,
script=Greek,
scripttag=grek,
langtag=ELL,
@@ -57,7 +61,7 @@
\def\greek@variant{polygreek}%
\def\captionsgreek{\polygreekcaptions}%
\def\dategreek{\datepolygreek}%
- \SetLanguageKeys{greek}{babelname=polutonikogreek,bcp47=el-polyton}%
+ \SetLanguageKeys{greek}{babelname=polutonikogreek,bcp47=el-polyton,bcp47-language=el,bcp47-variant=polyton}%
\xpg@info{Option: Polytonic Greek}%
\else
\ifx\@tmpa\tmp@ancient
@@ -68,7 +72,7 @@
\def\greek@variant{ancientgreek}%
\def\captionsgreek{\ancientgreekcaptions}%
\def\dategreek{\dateancientgreek}%
- \SetLanguageKeys{greek}{babelname=greek,bcp47=grc}%
+ \SetLanguageKeys{greek}{babelname=greek,bcp47=grc,bcp47-language=grc,bcp47-variant={}}%
\xpg@info{Option: Ancient Greek}%
\else %monotonic
\xpg@ifdefined{monogreek}{}%
@@ -78,7 +82,7 @@
\def\greek@variant{monogreek}% monotonic
\def\captionsgreek{\monogreekcaptions}%
\def\dategreek{\datemonogreek}%
- \SetLanguageKeys{greek}{babelname=greek,bcp47=el-monoton}%
+ \SetLanguageKeys{greek}{babelname=greek,bcp47=el-monoton,bcp47-language=el,bcp47-variant=polyton}%
\xpg@info{Option: Monotonic Greek}%
\fi
\fi}
@@ -90,7 +94,12 @@
\newif\if@greek@numerals
\define@key{greek}{numerals}[greek]{%
- \ifstrequal{#1}{arabic}{\@greek@numeralsfalse}{\@greek@numeralstrue}%
+ \ifstrequal{#1}{arabic}{%
+ \@greek@numeralsfalse%
+ \SetLanguageKeys{greek}{bcp47-extension-u=nu-latn}%
+ }{\@greek@numeralstrue%
+ \SetLanguageKeys{greek}{bcp47-extension-u=nu-grek}%
+ }%
}
\define@boolkey{greek}{attic}[true]{\xpg@warning{Greek option `attic' is no longer required.}}
@@ -312,7 +321,7 @@
\let\greeknumeral=\greeknumber
\let\Greeknumeral=\Greeknumber
\def\gr@num@i#1{%
- \ifcase#1\or α\or β\or γ\or δ\or ε\or Ϛ\or ζ\or η\or θ\fi
+ \ifcase#1\or α\or β\or γ\or δ\or ε\or ϛ\or ζ\or η\or θ\fi
\ifnum#1=\z@\else\anw@true\fi\anw@print}
\def\gr@num@ii#1{%
\ifcase#1\or ι\or κ\or λ\or μ\or ν\or ξ\or ο\or π\or ϟ\fi
@@ -332,7 +341,7 @@
͵\ifcase#1\or ρ\or σ\or τ\or υ\or φ\or χ\or ψ\or ω\or ϡ\fi
\gr@num@v}
\def\gr@Num@i#1{%
- \ifcase#1 \or Α\or Β\or Γ\or Δ\or Ε\or \MakeUppercase{Ϛ}\or Ζ\or Η\or θ\fi
+ \ifcase#1 \or Α\or Β\or Γ\or Δ\or Ε\or Ϛ\or Ζ\or Η\or θ\fi
\ifnum#1=\z@\else\anw@true\fi\anw@print}
\def\gr@Num@ii#1{%
\ifcase#1 \or Ι\or Κ\or Λ\or Μ\or Ν\or Ξ\or Ο\or Π\or \MakeUppercase{ϟ}\fi
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-he.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-he.ldf
index 76ebcab050e..4671593bf0b 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 118151405ee..7d0650709f9 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-hebrew.ldf}[polyglossia: module for Hebrew]
@@ -7,6 +7,9 @@
\PolyglossiaSetup{hebrew}{
bcp47=he,
+ bcp47-language=hr,
+ bcp47-region=HE,
+ bcp47-script=Hebr,
script=Hebrew,
direction=RL,
scripttag=hebr,
@@ -43,9 +46,11 @@
\ifcase\xpg@nr\relax
% hebrew:
\@hebrew@numeralstrue%
+ \SetLanguageKeys{hebrew}{bcp47-extension-u=nu-hebr}%
\or
% arabic:
\@hebrew@numeralsfalse%
+ \SetLanguageKeys{hebrew}{bcp47-extension-u=nu-latn}%
\fi
\xpg@info{Option: Hebrew, numerals=\xpg@val}%
}{\xpg@warning{Unknown Hebrew numerals value `#1'}}
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-hi.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-hi.ldf
index ee080635d9a..49eaf347296 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 ff217fab897..de91d523df7 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
% UTF-8 strings kindly provided by Zdenĕk Wagner, 10-03-2008
% with corrections and additional contributions by Anshuman Pandey
@@ -9,6 +9,8 @@
\RequirePackage{devanagaridigits}
\PolyglossiaSetup{hindi}{
bcp47=hi,
+ bcp47-language=hi,
+ bcp47-script=Deva,
script=Devanagari,
scripttag=deva,
langtag=HIN,
@@ -42,9 +44,11 @@
\ifcase\xpg@nr\relax
% Devanagari:
\hindi@devanagari@numeralstrue%
+ \SetLanguageKeys{hindi}{bcp47-extension-u=nu-deva}%
\or
% Western:
\hindi@devanagari@numeralsfalse%
+ \SetLanguageKeys{hindi}{bcp47-extension-u=nu-latn}%
\fi
\xpg@info{Option: Hindi, numerals=\xpg@val}%
}{\xpg@warning{Unknown Hindi numeral `#1'}}
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-hr.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-hr.ldf
index 966c39fe805..ddf1cf9a279 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 d96df6ffbac..cc8279cd815 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 f0acd6c4dd3..d432e8407e2 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 81129a86a86..c0a2f59021e 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-hungarian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-hungarian.ldf
@@ -1,9 +1,12 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-hungarian.ldf}[polyglossia: module for Hungarian]
\PolyglossiaSetup{hungarian}{
bcp47=hu,
+ bcp47-language=hu,
+ bcp47-region=HU,
+ bcp47-script=Latn,
babelname=magyar,
hyphennames={hungarian,magyar},
langtag=HUN,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-hy.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-hy.ldf
index 0c168296bb2..1bbcf029a98 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 785dc2b0f35..a6e979ee1fd 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 b4dc7d0db68..c17d98ba178 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-icelandic.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-icelandic.ldf
@@ -1,8 +1,10 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-icelandic.ldf}[polyglossia: module for Icelandic]
\PolyglossiaSetup{icelandic}{
bcp47=is,
+ bcp47-language=is,
+ bcp47-script=Latn,
hyphennames={icelandic},
hyphenmins={2,2},
langtag=ISL,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-id.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-id.ldf
index ad07792b88c..33920f0552e 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 0a66dee60a6..4db648bae36 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-interlingua.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-interlingua.ldf
@@ -1,8 +1,10 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-interlingua.ldf}[polyglossia: module for Interlingua]
\PolyglossiaSetup{interlingua}{
bcp47=ia,
+ bcp47-language=ia,
+ bcp47-script=Latn,
hyphennames={interlingua},
hyphenmins={2,2},
langtag=INA,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-irish.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-irish.ldf
index 2fcf94922c0..8d98a574324 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 9d4a4688587..8b75fb21f47 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 e5303c449e2..5c04b82dd72 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 4aa0cd69bd8..715ffea1add 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-italian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-italian.ldf
@@ -1,9 +1,12 @@
% !TEX encoding = UTF-8 Unicode
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-italian.ldf}[polyglossia: module for Italian]
\PolyglossiaSetup{italian}{
bcp47=it,
+ bcp47-language=it,
+ bcp47-region=IT,
+ bcp47-script=Latn,
hyphennames={italian},
hyphenmins={2,2},
langtag=ITA,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ja.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ja.ldf
index 76742476d9f..e7f9d6912bb 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 191d8a9cb70..214599fd481 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-japanese.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-japanese.ldf
@@ -1,9 +1,12 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-japanese.ldf}[polyglossia: module for Japanese]
\PolyglossiaSetup{japanese}{
bcp47=ja,
+ bcp47-language=ja,
+ bcp47-region=JP,
+ bcp47-script=Hrkt,
script=CJK,
language=Japanese,
langtag=JAN,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ka.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ka.ldf
index 4dece012011..289881ed61f 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 5172a645720..e6f1c752de4 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.60 -- 2023/02/11)
+%% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%%
%% Copyright 2011 Aravinda VK <hallimanearavind AT gmail.com>,
%% Shankar Prasad <prasad.mvs AT gmail.com>,
@@ -22,6 +22,9 @@
\PolyglossiaSetup{kannada}{
bcp47=kn,
+ bcp47-language=kn,
+ bcp47-region=IN,
+ bcp47-script=Knda,
script=Kannada,
scripttag=knda,
langtag=KAN,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-khmer.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-khmer.ldf
index d6339ccad2f..780fa0d701d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-khmer.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-khmer.ldf
@@ -1,8 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-khmer.ldf}[polyglossia: module for Khmer]
\PolyglossiaSetup{khmer}{
bcp47=km,
+ bcp47-language=km,
+ bcp47-region=KH,
+ bcp47-script=Khmr,
script=Khmer,%
scripttag=khmr,%
langtag=KHM,%
@@ -14,8 +17,13 @@
\def\tmp@khmer{khmer}
\define@key{khmer}{numerals}[arabic]{%
\def\@tmpa{#1}%
- \ifx\@tmpa\tmp@khmer\@khmer@numeralstrue%
- \else\@khmer@numeralsfalse\fi%
+ \ifx\@tmpa\tmp@khmer%
+ \@khmer@numeralstrue%
+ \SetLanguageKeys{khmer}{bcp47-extension-u=nu-khmr}%
+ \else%
+ \@khmer@numeralsfalse%
+ \SetLanguageKeys{khmer}{bcp47-extension-u=nu-latn}%
+ \fi%
}
\setkeys{khmer}{numerals}
\def\captionskhmer{%
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-km.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-km.ldf
index db81e29aea3..418d52dd8c1 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 b7aa34d701e..c365e39e1c3 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 31b7e43c9a2..f2b26f7ac4d 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 b6ec78ab830..d717ce0438f 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 80bc9e9a8b3..b8cc7fab8bd 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 bcc7b182d7e..570ec0b6f04 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 3156932e3c9..45bfcca385d 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-korean.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-korean.ldf
@@ -1,16 +1,18 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-korean.ldf}[polyglossia: module for Korean]
\PolyglossiaSetup{korean}{
bcp47=ko,
- script=Hangul,
- scripttag=hang,
- language=Korean,
- langtag=KOR,
- hyphennames={nohyphenation},
- frenchspacing=true,
- fontsetup=true
+ bcp47-language=ko,
+ bcp47-script=Kore,
+ script=Hangul,
+ scripttag=hang,
+ language=Korean,
+ langtag=KOR,
+ hyphennames={nohyphenation},
+ frenchspacing=true,
+ fontsetup=true
}
% BCP-47 compliant aliases
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 21a7073f595..df11c042d99 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 1db6f300565..a75fa7bd972 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 4d2d8292201..3e32cd6b5ce 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 60756db2f35..0d8f416e9b2 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
% Created on September 1, 2019
% Last updated on May 17, 2020
@@ -13,6 +13,9 @@
\PolyglossiaSetup{kurdish}{
bcp47=ckb,
+ bcp47-language=ckb,
+ bcp47-script=Arab,
+ bcp47-casing=ckb-Arab,
script=Arabic,
direction=RL,
scripttag=arab,
@@ -79,9 +82,9 @@
\@western@numeralstrue%
\if@kurdish@kurmanji
\def\kurdish@pattern{kurmanji}%
- \SetLanguageKeys{kurdish}{script=Latin,direction=LR,scripttag=latn,babelname=kurmanji,bcp47=kmr-Latn}%
+ \SetLanguageKeys{kurdish}{script=Latin,direction=LR,scripttag=latn,babelname=kurmanji,bcp47=kmr-Latn,bcp47-language=kmr,bcp47-script=Latn,bcp47-casing=kmr-Latn}%
\else
- \SetLanguageKeys{kurdish}{script=Latin,direction=LR,scripttag=latn,babelname=kurdish,bcp47=ckb-Arab}%
+ \SetLanguageKeys{kurdish}{script=Latin,direction=LR,scripttag=latn,babelname=kurdish,bcp47=ckb-Arab,bcp47-language=ckb,bcp47-script=Arab,bcp47-casing=ckb-Arab}%
\fi
\def\kurdish@script{latin}
\xpg@fontsetup@latin{kurdish}%
@@ -89,20 +92,20 @@
\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}%
+ \SetLanguageKeys{kurdish}{script=Arabic,direction=RL,scripttag=arab,babelname=kurmanji,bcp47=kmr-Arab,bcp47-language=kmr,bcp47-script=Arab,bcp47-casing=kmr-Arab}%
\def\kurdish@script{arabic}%
\else
- \SetLanguageKeys{kurdish}{script=Arabic,direction=RL,scripttag=arab,babelname=kurdish,bcp47=ckb-Arab}%
+ \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
\if@kurdish@kurmanji
\@western@numeralstrue%
- \SetLanguageKeys{kurdish}{script=Latin,direction=LR,scripttag=latn,babelname=kurmanji,bcp47=kmr-Latn}%
+ \SetLanguageKeys{kurdish}{script=Latin,direction=LR,scripttag=latn,babelname=kurmanji,bcp47=kmr-Latn,bcp47-language=kmr,bcp47-script=Latn,bcp47-casing=kmr-Latn}%
\xpg@fontsetup@latin{kurdish}%
\def\kurdish@script{latin}
\else
- \SetLanguageKeys{kurdish}{script=Arabic,direction=RL,scripttag=arab,babelname=kurdish,bcp47=ckb-Arab}%
+ \SetLanguageKeys{kurdish}{script=Arabic,direction=RL,scripttag=arab,babelname=kurdish,bcp47=ckb-Arab,bcp47-language=ckb,bcp47-script=Arab,bcp47-casing=ckb-Arab}%
\xpg@fontsetup@nonlatin{kurdish}%
\fi
\fi
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-kurmanji.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-kurmanji.ldf
index d2a83791649..eff0b928849 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 59279e4695f..2e7b569e8f7 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 76855b89030..e95ee5cd1c7 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 8d0cf0e462e..bbf0d539ac2 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 f686f8c014a..a76289f1172 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 d067f64a30d..4a84eac7252 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-lao.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-lao.ldf
@@ -1,9 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-lao.ldf}[polyglossia: module for Lao]
\PolyglossiaSetup{lao}{
bcp47=lo,
+ bcp47-language=lo,
+ bcp47-script=Laoo,
script=Lao,
scripttag=lao,
langtag=LAO,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-latex.lde b/Master/texmf-dist/tex/latex/polyglossia/gloss-latex.lde
index 5c9cb510828..f3557bdf386 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-latex.lde
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-latex.lde
@@ -1,8 +1,12 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
-\ProvidesLanguageDefinitionExtension{gloss-latex}{2023/02/11}{v1.60}{polyglossia: module for default language}
+\ProvidesLanguageDefinitionExtension{gloss-latex}{2023/04/16}{v1.61}{polyglossia: module for default language}
\PolyglossiaSetup{latex}{
+ bcp47=en-US,
+ bcp47-language=en,
+ bcp47-region=US,
+ bcp47-script=Latn,
hyphennames={english},
hyphenmins={2,3},
langtag=ENG,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-latin.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-latin.ldf
index 91ad1543254..3103c74e008 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-latin.ldf}[polyglossia: module for Latin]
@@ -7,6 +7,8 @@
\PolyglossiaSetup {latin}
{
bcp47 = la,
+ bcp47-language = la,
+ bcp47-script = Latn,
hyphenmins = {2,2},
frenchspacing = true,
fontsetup = true,
@@ -394,7 +396,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 {classic}
- \SetLanguageKeys {latin} { babelname = classiclatin, bcp47 = la-x-classic }
+ \SetLanguageKeys {latin} { babelname = classiclatin, bcp47 = la-x-classic, bcp47-extension-x = classic }
\polyglossia_latin_set_patterns:n {classiclatin}
}
@@ -406,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 }
+ \SetLanguageKeys {latin} { babelname = medievallatin, bcp47 = la-x-medieval, bcp47-extension-x = medieval }
\polyglossia_latin_use_modern_patterns:
}
@@ -430,7 +432,7 @@
\bool_set_false:N \l_polyglossia_latin_capitalize_month_bool
\bool_set_true:N \l_polyglossia_latin_punctuation_spacing_bool
\str_set:Nn \l_polyglossia_latin_variant_str {ecclesiastic}
- \SetLanguageKeys {latin} { babelname = ecclesiasticlatin, bcp47 = la-x-ecclesia }
+ \SetLanguageKeys {latin} { babelname = ecclesiasticlatin, bcp47 = la-x-ecclesia, bcp47-extension-x = ecclesia }
\polyglossia_latin_use_modern_patterns:
}
@@ -632,7 +634,12 @@
% (in case Latin is used as a secondary language, see #394). We have to
% turn it off if Latin is not the main language.
-\protected@write \@auxout { } { \shorthandoff {=} } % for the aux file
+% For the aux file:
+\protected@write \@auxout { }
+ {
+ \shorthandoff {=}
+ \shorthandoff* {^} % #582
+ }
\AtBeginDocument
{
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-latinclassic.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-latinclassic.ldf
index c31684d6c2c..3afcadc7ef1 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 d62d58e9269..780886890af 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 c164aa1b495..7c2b2440d89 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 d56517e7316..9b3e265af58 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-latvian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-latvian.ldf
@@ -1,8 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-latvian.ldf}[polyglossia: module for Latvian]
\PolyglossiaSetup{latvian}{
bcp47=lv,
+ bcp47-language=lv,
+ bcp47-region=LV,
+ bcp47-script=Latn,
hyphennames={latvian},
hyphenmins={2,2},
langtag=LVI,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-lithuanian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-lithuanian.ldf
index b70e8c31c84..506835bed69 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-lithuanian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-lithuanian.ldf
@@ -1,10 +1,13 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
% Translated by Paulius Sladkevičius <komsas@gmail.com>
\ProvidesFile{gloss-lithuanian.ldf}[polyglossia: module for Lithuanian]
\PolyglossiaSetup{lithuanian}{
bcp47=lt,
+ bcp47-language=lt,
+ bcp47-region=LT,
+ bcp47-script=Latn,
hyphennames={lithuanian},
hyphenmins={2,2},
langtag=LTH,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-lo.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-lo.ldf
index 40441e5dd6e..e2eb7af3828 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 990ce4ab87c..f79d7cc0498 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 1af7aa0d596..3262434ca05 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 7df12bcb843..47479d8ad44 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 263dc577ec1..a01d2ce0752 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 a6b7ba25939..f52f5901785 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-macedonian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-macedonian.ldf
@@ -1,8 +1,10 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-macedonian.ldf}[polyglossia: module for Macedonian]
\PolyglossiaSetup{macedonian}{
bcp47=mk,
+ bcp47-language=mk,
+ bcp47-script=Cyrl,
script=Cyrillic,
scripttag=cyrl,
langtag=MKD,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-magyar.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-magyar.ldf
index cc554fed470..cee99850a8b 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 bdabf633165..5bcb3b86802 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-malay.ldf}[polyglossia: module for Malay]
@@ -6,6 +6,8 @@
\PolyglossiaSetup{malay}{%
bcp47=id,
+ bcp47-language=id,
+ bcp47-script=Latn,
language=Malay,
langtag=MLY,
hyphennames={malay,melayu,bahasam,bahasai,indonesian,indon,bahasa},
@@ -38,7 +40,7 @@
\malay@melayutrue
\fi
\ifmalay@melayu
- \SetLanguageKeys{malay}{language=Malay,langtag=MLY,babelname=bahasam,bcp47=zsm}%
+ \SetLanguageKeys{malay}{language=Malay,langtag=MLY,babelname=bahasam,bcp47=zsm,bcp47-language=zsm}%
\xpg@fontsetup@latin{malay}%
% Check if \l@malay is defined. If not, try to set it to some variety
% (specific order as in the csv list below), or null language if everything fails
@@ -56,7 +58,7 @@
}%
}%
\else
- \SetLanguageKeys{malay}{language=Indonesian,langtag=IND,babelname=bahasa,bcp47=id}%
+ \SetLanguageKeys{malay}{language=Indonesian,langtag=IND,babelname=bahasa,bcp47=id,bcp47-language=id}%
\xpg@fontsetup@latin{malay}%
% Check if \l@indonesian is defined. If not, try to set it to some variety
% (specific order as in the csv list below), or null language if everything fails
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-malayalam.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-malayalam.ldf
index ca068a1a14b..ec296f76f58 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-malayalam.ldf}[polyglossia: module for Malayalam]
@@ -6,6 +6,8 @@
\PolyglossiaSetup{malayalam}{
bcp47=ml,
+ bcp47-language=ml,
+ bcp47-script=Mlym,
script=Malayalam,
scripttag=mlym,
langtag=MAL, %FIXME there is also MLR for "Malayalam Reformed"
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-marathi.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-marathi.ldf
index c1fe8f0b3d3..d3a5bd919dd 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
% Translations provided by Abhijit Navale <abhi_navale@live.in>
% Ordinals (1-100) added by Niranjan Tambe <niranjanvikastambe@gmail.com> on 14th December, 2019
@@ -10,6 +10,8 @@
\PolyglossiaSetup{marathi}{
bcp47=mr,
+ bcp47-language=mr,
+ bcp47-script=Deva,
script=Devanagari,
scripttag=deva,
langtag=MAR,
@@ -30,9 +32,11 @@
\ifcase\xpg@nr\relax
% Western:
\marathi@devanagari@numeralsfalse%
+ \SetLanguageKeys{marathi}{bcp47-extension-u=nu-latn}%
\or
% Devanagari:
\marathi@devanagari@numeralstrue%
+ \SetLanguageKeys{marathi}{bcp47-extension-u=nu-deva}%
\fi
\xpg@info{Option: Marathi, numerals=\xpg@val}%
}{\xpg@warning{Unknown Marathi numerals value `#1'}}
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-mk.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-mk.ldf
index 66adb038022..bfbb1fa79d3 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 5a9a6bd0719..b621b2b2ad8 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 f4c8e11dccd..d71189df5e2 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 1bb2efa9913..29b6c899d90 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-mongolian.ldf}[polyglossia: module for Mongolian]
@@ -6,6 +6,8 @@
\PolyglossiaSetup{mongolian}{
bcp47=mn,
+ bcp47-language=mn,
+ bcp47-script=Cyrl,
script=Cyrillic,
scripttag=cyrl,
langtag=MNG,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-mr.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-mr.ldf
index 8a4901f0024..7c867b3a150 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 b6e76d9576e..4e6ac47eb2c 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 adc024229e6..e8c63ae1f34 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 cbdefea7d03..74cd776bce0 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 2842421e7a7..003a9162c3f 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 c9012e4153f..15f0e3e7565 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-nko.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-nko.ldf
@@ -1,8 +1,10 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-nko.ldf}[Polyglossia: module for N’Ko]
\PolyglossiaSetup{nko}{%
bcp47=nko,
+ bcp47-language=nko,
+ bcp47-script=Nkoo,
script=N'ko,
scripttag=nko~,
langtag=NKO,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-norsk.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-norsk.ldf
index fcd5c775da5..c794fa60556 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 1c8199fb121..e0af881e754 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-norwegian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-norwegian.ldf
@@ -1,8 +1,10 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-norwegian.ldf}[polyglossia: module for Norwegian]
\PolyglossiaSetup{norwegian}{
bcp47=nn,
+ bcp47-language=nn,
+ bcp47-script=Latn,
hyphennames={nynorsk},
langtag=NYN,
hyphenmins={2,2},
@@ -22,12 +24,12 @@
\ifcase\xpg@nr\relax
% nynorsk:
\def\norwegian@variant{nynorsk}%
- \SetLanguageKeys{norwegian}{langtag=NYN,babelname=nynorsk,bcp47=nn}%
+ \SetLanguageKeys{norwegian}{langtag=NYN,babelname=nynorsk,bcp47=nn,bcp47-language=nn}%
\xpg@fontsetup@latin{norwegian}%
\or
% bokmal:
\def\norwegian@variant{norsk}%
- \SetLanguageKeys{norwegian}{langtag=NOR,babelname=norsk,bcp47=nb}%
+ \SetLanguageKeys{norwegian}{langtag=NOR,babelname=norsk,bcp47=nb,bcp47-language=nb}%
\xpg@fontsetup@latin{norwegian}%
\fi
\xpg@info{Option: norwegian, variant=\xpg@val}%
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-nswissgerman.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-nswissgerman.ldf
index d5a2b55d991..360b92f1ad2 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 443a0d6b8ea..3d4fba52e80 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 7e87afa9525..7f7e1426cd8 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
%%
%% This is file `gloss-occitan.ldf',
@@ -21,6 +21,8 @@
\PolyglossiaSetup{occitan}{
bcp47=oc,
+ bcp47-language=oc,
+ bcp47-script=Latn,
hyphennames={occitan},
langtag=OCI,
hyphenmins={2,2},
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-pa.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-pa.ldf
index a65489d6f9f..75ffc558606 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 12343acf4ad..399ea7d2770 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-persian.ldf}[polyglossia: module for Persian]
@@ -8,6 +8,8 @@
\RequirePackage{hijrical}
\PolyglossiaSetup{persian}{
bcp47=fa,
+ bcp47-language=fa,
+ bcp47-script=Arab,
babelname=farsi,
script=Arabic,
direction=RL,
@@ -28,8 +30,12 @@
\def\tmp@western{western}
\define@key{persian}{numerals}[eastern]{%
\def\@tmpa{#1}%
- \ifx\@tmpa\tmp@western\@western@numeralstrue\else%
+ \ifx\@tmpa\tmp@western%
+ \@western@numeralstrue%
+ \SetLanguageKeys{persian}{bcp47-extension-u=nu-latn}%
+ \else%
\@western@numeralsfalse%
+ \SetLanguageKeys{persian}{bcp47-extension-u=nu-arab}%
\fi}
%this is needed for \abjad in arabicnumbers.sty
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-piedmontese.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-piedmontese.ldf
index 936919c4e94..2a3b591cfb6 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-piedmontese.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-piedmontese.ldf
@@ -1,10 +1,12 @@
% !TEX encoding = UTF-8 Unicode
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-piedmontese.ldf}[2013/02/12 v1.0 polyglossia: module for Piedmontese]
\makeatletter
\PolyglossiaSetup{piedmontese}{
bcp47=pms,
+ bcp47-language=pms,
+ bcp47-script=Latn,
hyphennames={piedmontese},
hyphenmins={2,2},
langtag=PMS,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-polish.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-polish.ldf
index a60c6b0e7e1..159573a38e2 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-polish.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-polish.ldf
@@ -1,9 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-polish.ldf}[polyglossia: module for Polish]
\PolyglossiaSetup{polish}{
bcp47=pl,
+ bcp47-language=pl,
+ bcp47-script=Latn,
hyphennames={polish},
hyphenmins={2,2},
langtag=PLK,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-polutonikogreek.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-polutonikogreek.ldf
index 05e1ab01171..8bc2d0cc6b3 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 326d74422f0..507349a49c7 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 60984f450a2..594fd1b6eb7 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-portuguese.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-portuguese.ldf
@@ -1,9 +1,12 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-portuguese.ldf}[polyglossia: module for Portuguese]
\PolyglossiaSetup{portuguese}{
bcp47=pt-PT,
+ bcp47-language=pt,
+ bcp47-region=PT,
+ bcp47-script=Latn,
babelname=portuges,
hyphennames={portuges,portuguese},
hyphenmins={2,3},
@@ -29,11 +32,11 @@
\ifcase\xpg@nr\relax
% portuguese:
\def\portuguese@variant{portuges}%
- \SetLanguageKeys{portuguese}{babelname=portuges,bcp47=pt-PT}%
+ \SetLanguageKeys{portuguese}{babelname=portuges,bcp47=pt-PT,bcp47-language=pt,bcp47-region=PT}%
\or
% brazilian:
\def\portuguese@variant{brazil}%
- \SetLanguageKeys{portuguese}{babelname=brazil,bcp47=pt-BR}%
+ \SetLanguageKeys{portuguese}{babelname=brazil,bcp47=pt-BR,bcp47-language=pt,bcp47-region=BR}%
% There are no specific brazil patterns
\adddialect\l@brazil\l@portuges\relax%
\fi
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-punjabi.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-punjabi.ldf
index 47d8874367a..d85d2900d80 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
% UTF-8 strings kindly provided by
% Arvinder Singh Kang, <17-11-2022>
@@ -9,6 +9,8 @@
\RequirePackage{gurmukhidigits}
\PolyglossiaSetup{punjabi}{
bcp47=pa,
+ bcp47-language=pa,
+ bcp47-script=Guru,
script=Gurmukhi,
scripttag=gur,
langtag=pan,
@@ -32,9 +34,11 @@
\ifcase\xpg@nr\relax
% Gurmukhi:
\punjabi@gurmukhi@numeralstrue%
+ \SetLanguageKeys{punjabi}{bcp47-extension-u=nu-guru}%
\or
% Western:
\punjabi@gurmukhi@numeralsfalse%
+ \SetLanguageKeys{punjabi}{bcp47-extension-u=nu-latn}%
\fi
\xpg@info{Option: Punjabi, numerals=\xpg@val}%
}{\xpg@warning{Unknown Punjabi numeral `#1'}}
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-romanian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-romanian.ldf
index 203ea2b83a6..f32c5b041ca 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-romanian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-romanian.ldf
@@ -1,9 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-romanian.ldf}[polyglossia: module for Romanian]
\PolyglossiaSetup{romanian}{
bcp47=ro,
+ bcp47-language=ro,
+ bcp47-script=Latn,
hyphennames={romanian},
hyphenmins={2,2},
langtag=ROM,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-romansh.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-romansh.ldf
index f79305de33a..dc10d80622b 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-romansh.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-romansh.ldf
@@ -1,9 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-romansh.ldf}[polyglossia: module for Romansh]
\makeatletter
\PolyglossiaSetup{romansh}{%
bcp47=rm,
+ bcp47-language=rm,
+ bcp47-script=Latn,
hyphennames={romansh},
hyphenmins={2,2},
langtag=RMS,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf
index 183d349cc07..2c2e5e2d320 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-russian.ldf}[polyglossia: module for Russian]
@@ -6,6 +6,9 @@
\PolyglossiaSetup{russian}{
bcp47=ru,
+ bcp47-language=ru,
+ bcp47-variant=luna1918,
+ bcp47-script=Cyrl,
script=Cyrillic,
scripttag=cyrl,
langtag=RUS,
@@ -26,8 +29,8 @@
\newif\if@russian@modern
\define@key{russian}{spelling}[modern]{%
\ifstrequal{#1}{old}%
- {\@russian@modernfalse\SetLanguageKeys{russian}{bcp47=ru-petr1708}}%
- {\@russian@moderntrue\SetLanguageKeys{russian}{bcp47=ru}}%
+ {\@russian@modernfalse\SetLanguageKeys{russian}{bcp47=ru-petr1708,bcp47-variant=petr1708}}%
+ {\@russian@moderntrue\SetLanguageKeys{russian}{bcp47=ru,bcp47-variant=luna1918}}%
}
\def\captionsrussian{%
@@ -45,18 +48,22 @@
% arabic:
\cyrillic@numeralsfalse%
\cyrillic@asbuk@numeralsfalse%
+ \SetLanguageKeys{russian}{bcp47-extension-u=nu-latn}%
\or
% cyrillic:
\cyrillic@numeralstrue%
\cyrillic@asbuk@numeralsfalse%
+ \SetLanguageKeys{russian}{bcp47-extension-u=nu-cyrl}%
\or
% cyrillic-trad:
\cyrillic@numeralstrue%
\cyrillic@asbuk@numeralsfalse%
+ \SetLanguageKeys{russian}{bcp47-extension-u=nu-cyrl}%
\or
% cyrillic-alph:
\cyrillic@numeralstrue%
\cyrillic@asbuk@numeralstrue%
+ \SetLanguageKeys{russian}{bcp47-extension-u=nu-cyrl}%
\fi
\xpg@info{Option: Russian, numerals=\xpg@val}%
}{\xpg@warning{Unknown Russian numerals value `#1'}}
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-sami.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-sami.ldf
index 785731b60d7..b3975798a9b 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-sami.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-sami.ldf
@@ -1,9 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-sami.ldf}[polyglossia: module for Sami]
\PolyglossiaSetup{sami}{
bcp47=se,
+ bcp47-language=se,
+ bcp47-script=Latn,
babelname=samin,
hyphennames={samin},
hyphenmins={2,2},
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-samin.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-samin.ldf
index 5aca62af74f..552cbb7395f 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 bd3dec5b3be..40e1a1c00f3 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-sanskrit.ldf}[polyglossia: module for Sanskrit]
@@ -6,6 +6,9 @@
\PolyglossiaSetup{sanskrit}{
bcp47=sa-Deva,
+ bcp47-language=sa,
+ bcp47-script=Deva,
+ bcp47-casing=sa-Deva,
langtag=SAN,
hyphennames={sanskrit,prakrit},
hyphenmins={1,3},
@@ -34,25 +37,25 @@
\define@key{sanskrit}{script}[Devanagari]{\setkeys{sanskrit}{Script=#1}}
\def\fontsetup@sanskrit@Devanagari{%
- \SetLanguageKeys{sanskrit}{scripttag=deva,script=Devanagari,bcp47=sa-Deva}
+ \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{%
- \SetLanguageKeys{sanskrit}{scripttag=gujr,script=Gujarati,bcp47=sa-Gujr}
+ \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{%
- \SetLanguageKeys{sanskrit}{scripttag=mlym,script=Malayalam,bcp47=sa-Mlym}
+ \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{%
- \SetLanguageKeys{sanskrit}{scripttag=beng,script=Bengali,bcp47=sa-Beng}
+ \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{%
- \SetLanguageKeys{sanskrit}{scripttag=knda,script=Kannada,bcp47=sa-Knda}
+ \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{%
- \SetLanguageKeys{sanskrit}{scripttag=telu,script=Telugu,bcp47=sa-Relu}
+ \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{%
- \SetLanguageKeys{sanskrit}{scripttag=latn,script=Latin,bcp47=sa-Latn}
+ \SetLanguageKeys{sanskrit}{scripttag=latn,script=Latin,bcp47=sa-Latn,bcp47-language=sa,bcp47-script=Latn,bcp47-casing=sa-Latn}
\xpg@fontsetup@latin{sanskrit}}
@@ -62,9 +65,11 @@
\ifcase\xpg@nr\relax
% Devanagari:
\sanskrit@devanagari@numeralstrue%
+ \SetLanguageKeys{sanskrit}{bcp47-extension-u=nu-deva}%
\or
% Western:
\sanskrit@devanagari@numeralsfalse%
+ \SetLanguageKeys{sanskrit}{bcp47-extension-u=nu-latn}%
\fi
\xpg@info{Option: Sanskrit, numerals=\xpg@val}%
}{\xpg@warning{Unknown Sanskrit numeral `#1'}}
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-scottish.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-scottish.ldf
index 94bce091c66..2230349c44b 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 8478de1e8e0..1b119254050 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-serbian.ldf}[polyglossia: module for Serbian]
%TODO split into gloss-serbiancyr.ldf and gloss-serbianlat.ldf
@@ -10,6 +10,9 @@
\PolyglossiaSetup{serbian}{
bcp47=sr-Latn,
+ bcp47-language=sr,
+ bcp47-script=Latn,
+ bcp47-casing=sr-Latn,
langtag=SRB,
hyphennames={serbian},
hyphenmins={2,2},
@@ -39,12 +42,12 @@
\ifcase\xpg@nr\relax
% cyrillic:
\@serbian@cyrtrue
- \SetLanguageKeys{serbian}{scripttag=cyrl,script=Cyrillic,babelname=serbianc,bcp47=sr-Cyrl}
+ \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}
+ \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???
@@ -61,18 +64,22 @@
% arabic:
\cyrillic@numeralsfalse%
\cyrillic@asbuk@numeralsfalse%
+ \SetLanguageKeys{serbian}{bcp47-extension-u=nu-latn}%
\or
% cyrillic:
\cyrillic@numeralstrue%
\cyrillic@asbuk@numeralsfalse%
+ \SetLanguageKeys{serbian}{bcp47-extension-u=nu-cyrl}%
\or
% cyrillic-trad:
\cyrillic@numeralstrue%
\cyrillic@asbuk@numeralsfalse%
+ \SetLanguageKeys{serbian}{bcp47-extension-u=nu-cyrl}%
\or
% cyrillic-alph:
\cyrillic@numeralstrue%
\cyrillic@asbuk@numeralstrue%
+ \SetLanguageKeys{serbian}{bcp47-extension-u=nu-cyrl}%
\fi
\xpg@info{Option: Serbian, numerals=\xpg@val}%
}{\xpg@warning{Unknown Serbian numerals value `#1'}}
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-serbianc.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-serbianc.ldf
index 7e4ed2f0ded..c6b7bc4d655 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 60ea41b68d8..03580a09891 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-slovak.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-slovak.ldf
@@ -1,9 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-slovak.ldf}[polyglossia: module for Slovak]
\PolyglossiaSetup{slovak}{
bcp47=sk,
+ bcp47-language=sk,
+ bcp47-script=Latn,
hyphennames={slovak},
hyphenmins={2,2},
langtag=SKY,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-slovene.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-slovene.ldf
index 20d4fa49f59..bbeac5a2a66 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 0b96c76cd68..945d0548e76 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-slovenian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-slovenian.ldf
@@ -1,9 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-slovenian.ldf}[polyglossia: module for Slovenian]
\PolyglossiaSetup{slovenian}{
bcp47=sl,
+ bcp47-language=sl,
+ bcp47-script=Latn,
hyphennames={slovenian,slovene},
babelname=slovene,
hyphenmins={2,2},
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-sorbian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-sorbian.ldf
index c495a4dd9c7..750c773cfaf 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-sorbian.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-sorbian.ldf
@@ -1,9 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-sorbian.ldf}[polyglossia: module for Sorbian]
\PolyglossiaSetup{sorbian}{
bcp47=hsb,
+ bcp47-language=hsb,
+ bcp47-script=Latn,
language=Upper Sorbian,
babelname=uppersorbian,
hyphennames={usorbian,uppersorbian},
@@ -28,7 +30,7 @@
\ifcase\xpg@nr\relax
% upper:
\def\sorbian@variant{usorbian}%
- \SetLanguageKeys{sorbian}{language=Upper Sorbian,langtag=USB,babelname=uppersorbian,bcp47=hsb}%
+ \SetLanguageKeys{sorbian}{language=Upper Sorbian,langtag=USB,babelname=uppersorbian,bcp47=hsb,bcp47-language=hsb}%
\xpg@fontsetup@latin{sorbian}%
% Check if \l@usorbian is defined. If not, try to set it to some variety
% (specific order as in the csv list below), or null language if everything fails
@@ -48,7 +50,7 @@
\or
% lower:
\def\sorbian@variant{lsorbian}%
- \SetLanguageKeys{sorbian}{language=Lower Sorbian,langtag=LSB,babelname=lowersorbian,bcp47=dsb}%
+ \SetLanguageKeys{sorbian}{language=Lower Sorbian,langtag=LSB,babelname=lowersorbian,bcp47=dsb,bcp47-language=dsb}%
\xpg@fontsetup@latin{sorbian}%
% Check if \l@lsorbian is defined. If not, try to set it to some variety
% (specific order as in the csv list below), or null language if everything fails
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-spanish.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-spanish.ldf
index 35bb3ebd057..94d8715c402 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-spanish.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-spanish.ldf
@@ -1,9 +1,12 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-spanish.ldf}[polyglossia: module for Spanish]
\PolyglossiaSetup{spanish}{
bcp47=es-ES,
+ bcp47-language=es,
+ bcp47-region=ES,
+ bcp47-script=Latn,
hyphennames={spanish},
hyphenmins={2,2},
totalhyphenmin=5,
@@ -28,11 +31,11 @@
\ifcase\xpg@nr\relax
% spanish:
\@spanish@mexicofalse%
- \SetLanguageKeys{spanish}{babelname=spanish,bcp47=es-ES}%
+ \SetLanguageKeys{spanish}{babelname=spanish,bcp47=es-ES,bcp47-region=ES}%
\or
% mexican:
\@spanish@mexicotrue%
- \SetLanguageKeys{spanish}{babelname=spanishmx,bcp47=es-MX}%
+ \SetLanguageKeys{spanish}{babelname=spanishmx,bcp47=es-MX,bcp47-region=MX}%
\fi
\xpg@info{Option: spanish, variant=\xpg@val}%
}{\xpg@warning{Unknown spanish variant `#1'}}
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-spanishmx.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-spanishmx.ldf
index b80bc5a6597..a95d4713a51 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 68550ac7c3f..c0878bd5894 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-swedish.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-swedish.ldf
@@ -1,9 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-swedish.ldf}[polyglossia: module for Swedish]
\PolyglossiaSetup{swedish}{
bcp47=sv,
+ bcp47-language=sv,
+ bcp47-script=Latn,
hyphennames={swedish},
hyphenmins={2,2},
langtag=SVE,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-swissgerman.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-swissgerman.ldf
index 094c9728252..cad55d2c2f6 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 de89857e407..9f7f1050040 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-syriac.ldf}[polyglossia: module for Syriac]
@@ -7,6 +7,8 @@
\PolyglossiaSetup{syriac}{
bcp47=syr,
+ bcp47-language=syr,
+ bcp47-script=Syrc,
script=Syriac,
scripttag=syrc,
langtag=SYR,
@@ -31,9 +33,11 @@
\let\syriacnumber\abjadsyriac
\else
\ifx\@tmpa\tmp@eastern
- \@eastern@numeralstrue
+ \@eastern@numeralstrue
+ \SetLanguageKeys{syriac}{bcp47-extension-u=nu-syrc}%
\else
- \@eastern@numeralsfalse
+ \@eastern@numeralsfalse
+ \SetLanguageKeys{syriac}{bcp47-extension-u=nu-latn}%
\fi
\fi}
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-tamil.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-tamil.ldf
index b9d23d3ad25..0853b3114ad 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-tamil.ldf}[polyglossia: module for Tamil]
@@ -6,6 +6,8 @@
\PolyglossiaSetup{tamil}{
bcp47=ta,
+ bcp47-language=ta,
+ bcp47-script=Taml,
script=Tamil,
scripttag=taml,
langtag=TAM,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-telugu.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-telugu.ldf
index 79c38f57d8f..70c2a47c3bd 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-telugu.ldf}[polyglossia: module for Telugu]
@@ -6,6 +6,8 @@
\PolyglossiaSetup{telugu}{
bcp47=te,
+ bcp47-language=te,
+ bcp47-script=Telu,
script=Telugu,
scripttag=telu,
langtag=TEL,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-thai.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-thai.ldf
index b1076864e0f..7edec0ff4d5 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-thai.ldf}[polyglossia: module for Thai]
%% This is partly based on thai-latex for Babel:
@@ -12,6 +12,8 @@
%%%%
\PolyglossiaSetup{thai}{
bcp47=th,
+ bcp47-language=th,
+ bcp47-script=Thai,
script=Thai,
scripttag=thai,
langtag=THA,
@@ -29,8 +31,13 @@
\def\tmp@thai{thai}
\define@key{thai}{numerals}[arabic]{%
\def\@tmpa{#1}%
- \ifx\@tmpa\tmp@thai\@thai@numeralstrue\else
- \@thai@numeralsfalse\fi
+ \ifx\@tmpa\tmp@thai
+ \@thai@numeralstrue%
+ \SetLanguageKeys{thai}{bcp47-extension-u=nu-thai}%
+ \else
+ \@thai@numeralsfalse%
+ \SetLanguageKeys{thai}{bcp47-extension-u=nu-latn}%
+ \fi
}
% Register default options
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf
index 4c750b5ed6e..a8152a1151d 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-tibetan.ldf}[polyglossia: module for Tibetan]
%% Copyright 2013 Elie Roux
@@ -9,6 +9,8 @@
\PolyglossiaSetup{tibetan}{
bcp47=bo,
+ bcp47-language=bo,
+ bcp47-script=Tibt,
script=Tibetan,
scripttag=tibt,
langtag=TIB,
@@ -25,9 +27,12 @@
\def\tmp@tibetan{tibetan}
\define@key{tibetan}{numerals}[tibetan]{%
\def\@tmpa{#1}%
- \ifx\@tmpa\tmp@tibetan\@tibetan@numeralstrue%
+ \ifx\@tmpa\tmp@tibetan
+ \@tibetan@numeralstrue%
+ \SetLanguageKeys{tibetan}{bcp47-extension-u=nu-tibt}%
\else
\@tibetan@numeralsfalse%
+ \SetLanguageKeys{tibetan}{bcp47-extension-u=nu-latn}%
\fi%
}
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-turkish.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-turkish.ldf
index 49d5655c92a..0e4d50acf2e 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-turkish.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-turkish.ldf
@@ -1,9 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-turkish.ldf}[polyglossia: module for Turkish]
\RequirePackage{hijrical}
\PolyglossiaSetup{turkish}{
bcp47=tr,
+ bcp47-language=tr,
+ bcp47-script=Latn,
hyphennames={turkish},
hyphenmins={2,2},
langtag=TRK,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-turkmen.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-turkmen.ldf
index ed309bbc1ba..dd74426d8ef 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-turkmen.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-turkmen.ldf
@@ -1,9 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-turkmen.ldf}[polyglossia: module for Turkmen]
%% Translations provided by Nazar Annagurban <nazartm at gmail dot com>
\PolyglossiaSetup{turkmen}{
bcp47=tk,
+ bcp47-language=tk,
+ bcp47-script=Latn,
hyphennames={turkmen},
hyphenmins={2,2},
langtag=TKM,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ug.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ug.ldf
index 8add56e35b0..3b875cd04f4 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 fb8a1cb4837..3bf9951ecdd 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-ukrainian.ldf}[polyglossia: module for Ukrainian]
% Strings taken from Babel
@@ -8,6 +8,8 @@
\PolyglossiaSetup{ukrainian}{%
bcp47=uk,
+ bcp47-language=uk,
+ bcp47-script=Cyrl,
script=Cyrillic,
scripttag=cyrl,
langtag=UKR,
@@ -29,18 +31,22 @@
% arabic:
\cyrillic@numeralsfalse%
\cyrillic@asbuk@numeralsfalse%
+ \SetLanguageKeys{ukrainian}{bcp47-extension-u=nu-latn}%
\or
% cyrillic:
\cyrillic@numeralstrue%
\cyrillic@asbuk@numeralsfalse%
+ \SetLanguageKeys{ukrainian}{bcp47-extension-u=nu-cyrl}%
\or
% cyrillic-trad:
\cyrillic@numeralstrue%
\cyrillic@asbuk@numeralsfalse%
+ \SetLanguageKeys{ukrainian}{bcp47-extension-u=nu-cyrl}%
\or
% cyrillic-alph:
\cyrillic@numeralstrue%
\cyrillic@asbuk@numeralstrue%
+ \SetLanguageKeys{ukrainian}{bcp47-extension-u=nu-cyrl}%
\fi
\xpg@info{Option: Ukrainian, numerals=\xpg@val}%
}{\xpg@warning{Unknown Ukrainian numerals value `#1'}}
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-uppersorbian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-uppersorbian.ldf
index ebe60728c39..fbdd3f92c84 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 9dc2c1bd825..14c7a2bfeeb 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
%%% Adapted from a file contributed by Kamal Abdali
\ProvidesFile{gloss-urdu.ldf}[polyglossia: module for Urdu]
@@ -9,6 +9,8 @@
\PolyglossiaSetup{urdu}{
bcp47=ur,
+ bcp47-language=ur,
+ bcp47-script=Arab,
script=Arabic,
direction=RL,
scripttag=arab,
@@ -26,8 +28,12 @@
\def\tmp@western{western}
\define@key{urdu}{numerals}[eastern]{%
\def\@tmpa{#1}%
- \ifx\@tmpa\tmp@western\@western@numeralstrue%
- \else\@western@numeralsfalse%
+ \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 !!!
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-usorbian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-usorbian.ldf
index e693b5ca130..caad02a03f2 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 010ce9de101..92e86a11a6b 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-uyghur.ldf}[polyglossia: module for Uyghur]
%% Translations provided by Osman Tursun (Github Account: neouyghur)
@@ -6,6 +6,8 @@
\RequireBidi
\PolyglossiaSetup{uyghur}{
bcp47=ug,
+ bcp47-language=ug,
+ bcp47-script=Arab,
script=Arabic,
direction=RL,
scripttag=arab,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-vietnamese.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-vietnamese.ldf
index c5c09320ef6..ed103932097 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-vietnamese.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-vietnamese.ldf
@@ -1,10 +1,12 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-vietnamese.ldf}[polyglossia: module for Vietnamese]
%% Strings contributed by Daniel Owens < dhowens . pmbx . net >
\PolyglossiaSetup{vietnamese}{
bcp47=vi,
+ bcp47-language=vi,
+ bcp47-script=Latn,
hyphennames={nohyphenation},
hyphenmins={2,2},
langtag=VIT,
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-welsh.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-welsh.ldf
index c1657b25a51..afe4245c5d3 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-welsh.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-welsh.ldf
@@ -1,9 +1,11 @@
-% Language definition file (part of polyglossia v1.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\ProvidesFile{gloss-welsh.ldf}[polyglossia: module for Welsh]
\PolyglossiaSetup{welsh}{
bcp47=cy,
+ bcp47-language=cy,
+ bcp47-script=Latn,
hyphennames={welsh},
hyphenmins={2,3},
langtag=WEL,
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 9f4f418e4e1..45ca33e880f 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 4c973d02257..9df5e91f75a 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.60 -- 2023/02/11)
+% Language definition file (part of polyglossia v1.61 -- 2023/04/16)
%
\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 19a47e1e903..e5f46b457ba 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.60 -- 2023/02/11
+-- part of polyglossia v1.61 -- 2023/04/16
--
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 4b15f83ebb4..ff6250fc69b 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.60 -- 2023/02/11
+-- part of polyglossia v1.61 -- 2023/04/16
--
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 bdccca7871e..adb5ec7ac8c 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.60 -- 2023/02/11
+-- part of polyglossia v1.61 -- 2023/04/16
--
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 dc53b1376c1..eaa0cf62bed 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.60 -- 2023/02/11
+-- part of polyglossia v1.61 -- 2023/04/16
--
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 63f11c1d30d..8729d86d267 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.60 -- 2023/02/11
+-- part of polyglossia v1.61 -- 2023/04/16
--
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 e9446b2a459..90b6c0e2ece 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.60 -- 2023/02/11
+-- part of polyglossia v1.61 -- 2023/04/16
--
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 0f784a502ab..115a111ac4a 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.60 -- 2023/02/11
+-- part of polyglossia v1.61 -- 2023/04/16
--
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 9bbca977345..8c8fbd039b8 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/02/11 v1.60
+\ProvidesPackage{polyglossia}[2023/04/16 v1.61
Modern multilingual typesetting with XeLaTeX and LuaLaTeX]
\RequirePackage{etoolbox}
\RequirePackage{makecmds}
@@ -453,6 +453,62 @@
.value_required:n = true,
#1 / bcp47
.initial:n = {},
+ % the BCP-47 language tag
+ #1 / bcp47-language
+ .code:n = {\prop_gput:Nnn{\polyglossia@langsetup}{#1/bcp47-language}{##1}},
+ #1 / bcp47-language
+ .value_required:n = true,
+ #1 / bcp47-language
+ .initial:n = {},
+ % the BCP-47 region tag
+ #1 / bcp47-region
+ .code:n = {\prop_gput:Nnn{\polyglossia@langsetup}{#1/bcp47-region}{##1}},
+ #1 / bcp47-region
+ .value_required:n = false,
+ #1 / bcp47-region
+ .initial:n = {},
+ % the BCP-47 script tag
+ #1 / bcp47-script
+ .code:n = {\prop_gput:Nnn{\polyglossia@langsetup}{#1/bcp47-script}{##1}},
+ #1 / bcp47-script
+ .value_required:n = true,
+ #1 / bcp47-script
+ .initial:n = {},
+ % the BCP-47 variant tag
+ #1 / bcp47-variant
+ .code:n = {\prop_gput:Nnn{\polyglossia@langsetup}{#1/bcp47-variant}{##1}},
+ #1 / bcp47-variant
+ .value_required:n = false,
+ #1 / bcp47-variant
+ .initial:n = {},
+ % the BCP-47 extension-t tag
+ #1 / bcp47-extension-t
+ .code:n = {\prop_gput:Nnn{\polyglossia@langsetup}{#1/bcp47-extension-t}{##1}},
+ #1 / bcp47-extension-t
+ .value_required:n = false,
+ #1 / bcp47-extension-t
+ .initial:n = {},
+ % the BCP-47 extension-u tag
+ #1 / bcp47-extension-u
+ .code:n = {\prop_gput:Nnn{\polyglossia@langsetup}{#1/bcp47-extension-u}{##1}},
+ #1 / bcp47-extension-u
+ .value_required:n = false,
+ #1 / bcp47-extension-u
+ .initial:n = {},
+ % the BCP-47 extension-x tag
+ #1 / bcp47-extension-x
+ .code:n = {\prop_gput:Nnn{\polyglossia@langsetup}{#1/bcp47-extension-x}{##1}},
+ #1 / bcp47-extension-x
+ .value_required:n = false,
+ #1 / bcp47-extension-x
+ .initial:n = {},
+ % the BCP-47 casing alias
+ #1 / bcp47-casing
+ .code:n = {\prop_gput:Nnn{\polyglossia@langsetup}{#1/bcp47-casing}{##1}},
+ #1 / bcp47-casing
+ .value_required:n = false,
+ #1 / bcp47-casing
+ .initial:n = {},
% hyphennames
#1 / hyphennames
.code:n = {
@@ -1524,6 +1580,61 @@
\xpg@error{Invalid~ \string\mainlanguageid\space argument:~ #1}
}
}
+% Kernel command to access to BCP-47 data.
+% Shared interface with babel.
+% We support:
+% * language (e.g., de)
+% * region (e.g., AT)
+% * script (e.g., Latn)
+% * variant (e.g., 1901)
+% * extension-t (transformation, e.g., en-t-ja)
+% * extension-u (additional locale information, e.g., ar-u-nu-latn)
+% * extension-x (e.g., classic for la-x-classic)
+% * casing (whatever is suitable for \MakeUppercase and friends,
+% usually alias to language but could also be something
+% like el-x-iota or ckb-Latn)
+% * tag (the registered full tag)
+% and main.* variants thereof
+% See https://github.com/latex3/latex2e/issues/1035
+\DeclareExpandableDocumentCommand \BCPdata {m}
+{
+ \tl_set:Nn \l_tmpa_tl {#1}
+ % Check whether we have main.*
+ \str_if_in:nnTF {#1} { main. }
+ {
+ % split main.var and strip main.
+ \seq_set_split:Nnx \l_tmpa_seq {.} \l_tmpa_tl
+ \seq_get_right:NN \l_tmpa_seq \l_tmpa_tl
+ \str_set_eq:NN \l_tmpa_str \mainlanguagename
+ }
+ {
+ \str_set_eq:NN \l_tmpa_str \languagename
+ }
+ % return value for argument or error
+ \str_case_e:nnF { \l_tmpa_tl }
+ {
+ {language} { \prop_item:Ne \polyglossia@langsetup { \l_tmpa_str / bcp47-language } }
+ {region} { \prop_item:Ne \polyglossia@langsetup { \l_tmpa_str / bcp47-region } }
+ {script} { \prop_item:Ne \polyglossia@langsetup { \l_tmpa_str / bcp47-script } }
+ {variant} { \prop_item:Ne \polyglossia@langsetup { \l_tmpa_str / bcp47-variant } }
+ {extension.t} { \prop_item:Ne \polyglossia@langsetup { \l_tmpa_str / bcp47extension-t } }
+ {extension.u} { \prop_item:Ne \polyglossia@langsetup { \l_tmpa_str / bcp47-extension-u } }
+ {extension.x} { \prop_item:Ne \polyglossia@langsetup { \l_tmpa_str / bcp47-extension-x } }
+ {tag} { \prop_item:Ne \polyglossia@langsetup { \l_tmpa_str / bcp47 } }
+ {casing} { % For casing, we fall back to language if bcp47-casing is not explicitly set
+ \cs_set_nopar:cpx {tmpcasing} { \prop_item:Ne \polyglossia@langsetup { \l_tmpa_str / bcp47-casing } }
+ \str_if_empty:NTF \tmpcasing
+ { \prop_item:Ne \polyglossia@langsetup { \l_tmpa_str / bcp47-language } }
+ { \tmpcasing }
+ }
+ }
+ {
+ \xpg@error{Invalid~ \string\BCPdata\space argument:~ #1}
+ }
+}
+
+
+
% main babel name
\cs_new_nopar:Npn \mainlanguagename {}
\cs_new_nopar:Npn \mainbabelname {}
@@ -1925,6 +2036,9 @@
}
\cs_generate_variant:Nn \__xpg_textlanguage:nnn {een}
+% Track whether we are in an inline lang (\text...) switch
+\bool_new:N \__xpg_inline_lang
+
% use by \text<lang> and \textlang. Equivalent to \foreignlanguage,
% except that dates are localized.
% #1: option
@@ -1939,6 +2053,7 @@
}
{
\group_begin:
+ \bool_set_true:N \__xpg_inline_lang
\xpg@otherlanguage[#1]{#3}%
\csuse{date#3}%
% This is a hook for external packages which want to access variants
@@ -1946,8 +2061,8 @@
\cs_if_exist_use:c{date@bbl@\babelname}%
\polyglossia@lang@settextdirection:nn{#3}{#4}%
\group_end:
- % Reset the language's/script's font families
- \str_if_eq:eeTF{\prop_item:Nn{\polyglossia@langsetup}{#3/lcscript}}{latin}{}{\resetfontlatin}%
+ % Reset the language's/script's font families if the embedding script is latin
+ \str_if_eq:eeTF{\prop_item:Ne{\polyglossia@langsetup}{\languagename/lcscript}}{latin}{\resetfontlatin}{}%
}
}
\cs_generate_variant:Nn \__xpg_textlanguage:nnnn {nnen}
@@ -2393,13 +2508,15 @@
}%
\polyglossia@set@language@name[#1]{#2}%
% Set the language's/script's font families
- \str_if_eq:eeTF{\prop_item:Nn{\polyglossia@langsetup}{#2/lcscript}} {latin}
+ \str_if_eq:eeT{\prop_item:Nn{\polyglossia@langsetup}{#2/lcscript}} {latin}
{
\resetfontlatin
}
- {
- \xpg@set@normalfont{#2}
- }%
+ \bool_if:NF \__xpg_inline_lang
+ { % This for non-inline font switches
+ % in case a \<lang>font is defined
+ \xpg@set@normalfont{#2}%
+ }
\xpg@select@fontfamily{#2}%
\__xpg_use_or_warn:c{#2@language}%
\cs_if_exist_use:c{#2@numbers}%
@@ -2419,9 +2536,11 @@
\cs_new:Nn \polyglossia@stack@language:nn
{
- \clist_push:Nn \l_xpg_lang_stack {#1:#2}
+ \clist_gpush:Nn \l_xpg_lang_stack {#1:#2}
}
+\cs_generate_variant:Nn \polyglossia@stack@language:nn {nx}
+
\cs_generate_variant:Nn \seq_set_split:Nnn {Nnx}
\cs_new:Nn \polyglossia@unstack@language:n
@@ -2432,22 +2551,25 @@
\seq_get_left:NN \l_tmpa_seq \l_tmpb_tl
\seq_get_right:NN \l_tmpa_seq \l_tmpc_tl
% 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}}
- {\cs_if_exist_use:c{#1}[\l_tmpb_tl]{\l_tmpc_tl}}
+ {\exp_args:Nne \setkeys{\l_tmpc_tl}{\l_tmpb_tl}
+ \cs_if_exist_use:c{#1}[\l_tmpb_tl]{\l_tmpc_tl}
+ }
}
{}
}
\renewenvironment{otherlanguage}[2][]
{%
- % Get real current options (incl. defaults)
+ % Get real current (pre-switch) options (incl. defaults)
\clist_clear_new:N \l_xpg_current_options
- \prop_map_inline:cn {xpg@current@options@#2}
+ \prop_map_inline:cn {xpg@current@options@\languagename}
{
\clist_put_right:Nn \l_xpg_current_options {##1=##2}
}
- % Store current options and language on stack
- \polyglossia@stack@language:nn{\clist_use:Nn \l_xpg_current_options {,}}{#2}%
+ % Store current (pre-switch) options and language on stack
+ \polyglossia@stack@language:nx{\clist_use:Nn \l_xpg_current_options {,}}{\languagename}%
\selectlanguage[#1]{#2}%
}
{%