From 74af565bc810606af82c6932c84dae62f82ae64a Mon Sep 17 00:00:00 2001 From: Udi-Fogiel Date: Sun, 26 May 2024 13:50:38 +0300 Subject: [PATCH] ammend mongolian gloss --- testfiles/autogen/test-gloss-mn.luatex.tlg | 60 ++++++++++++------- testfiles/autogen/test-gloss-mn.tlg | 30 +++++----- .../autogen/test-gloss-mongolian.luatex.tlg | 59 +++++++++++------- testfiles/autogen/test-gloss-mongolian.tlg | 31 +++++----- tex/gloss-mongolian.ldf | 1 - 5 files changed, 105 insertions(+), 76 deletions(-) diff --git a/testfiles/autogen/test-gloss-mn.luatex.tlg b/testfiles/autogen/test-gloss-mn.luatex.tlg index 35d49407..d28aefd6 100644 --- a/testfiles/autogen/test-gloss-mn.luatex.tlg +++ b/testfiles/autogen/test-gloss-mn.luatex.tlg @@ -15,36 +15,50 @@ Module polyglossia Info: Language data for mongolian (polyglossia) righthyphenmin^^I2 (polyglossia) synonyms^^I on input line ... Module polyglossia Info: Language mongolian was not yet loaded; created with id 2 on input line ... +(babelsh.def +File: babelsh.def ....-..-.. Babel common definitions for shorthands + Taken verbatim from babel files (....-..-.. v...) ) -Runaway argument? -{ babelshorthands.if = mongolian@babelshorthands, babelshorthands.def\ETC. -! File ended while scanning use of \DeclareKeys . - -\par -l. ...\InheritGlossFile{mongolian} -I suspect you have forgotten a `}', causing me -to read past where you wanted me to stop. -I'll try to recover; but if the error is serious, -you'd better type `E' or `X' now and fix your file. -) +Package babel Info: Making " an active character on input line .... +)) Package polyglossia Info: Default language is mongolian > \box...= -\hbox(7.16+2.06)x68.39, direction TLT -.\TU/lmr/m/n/10 A -.\kern-0.28 (font) -.\TU/lmr/m/n/10 u -.\TU/lmr/m/n/10 g -.\TU/lmr/m/n/10 u -.\TU/lmr/m/n/10 s -.\TU/lmr/m/n/10 t -.\glue(\spaceskip) 3.33 plus 1.665 minus 1.11 -.\TU/lmr/m/n/10 6 -.\TU/lmr/m/n/10 , -.\glue(\spaceskip) 3.33 plus 1.665 minus 1.11 +\hbox(6.66+0.22)x74.63004, direction TLT .\TU/lmr/m/n/10 2 .\TU/lmr/m/n/10 0 .\TU/lmr/m/n/10 1 .\TU/lmr/m/n/10 2 +.\penalty 10000 +.\glue(\spaceskip) 3.33 plus 1.665 minus 1.11 +.\TU/lmr/m/n/10 о +.\TU/lmr/m/n/10 󰀀 +.\TU/lmr/m/n/10 н +.\TU/lmr/m/n/10 󰀀 +.\TU/lmr/m/n/10 ы +.\TU/lmr/m/n/10 󰀀 +.\glue(\spaceskip) 3.33 plus 1.665 minus 1.11 +.\TU/lmr/m/n/10 8 +.\discretionary (penalty 50) +..< \TU/lmr/m/n/10 - +..= \TU/lmr/m/n/10 - +.\TU/lmr/m/n/10 р +.\TU/lmr/m/n/10 󰀀 +.\penalty 10000 +.\glue(\spaceskip) 3.33 plus 1.665 minus 1.11 +.\TU/lmr/m/n/10 с +.\TU/lmr/m/n/10 󰀀 +.\TU/lmr/m/n/10 а +.\TU/lmr/m/n/10 󰀀 +.\discretionary (penalty 50) +..< \TU/lmr/m/n/10 - +.\TU/lmr/m/n/10 р +.\TU/lmr/m/n/10 󰀀 +.\TU/lmr/m/n/10 ы +.\TU/lmr/m/n/10 󰀀 +.\TU/lmr/m/n/10 н +.\TU/lmr/m/n/10 󰀀 +.\glue(\spaceskip) 3.33 plus 1.665 minus 1.11 +.\TU/lmr/m/n/10 6 .\TU/lmr/m/n/10 . ! OK. diff --git a/testfiles/autogen/test-gloss-mn.tlg b/testfiles/autogen/test-gloss-mn.tlg index 7632ed28..0672fba3 100644 --- a/testfiles/autogen/test-gloss-mn.tlg +++ b/testfiles/autogen/test-gloss-mn.tlg @@ -6,26 +6,26 @@ File: gloss-mn.ldf polyglossia: module for mn (Mongolian) File: gloss-mongolian.ldf polyglossia: module for Mongolian (xpg-cyrillicnumbers.sty Package: xpg-cyrillicnumbers ....-..-.. v... Formatting of Cyrillic alphabetic numbers -)) -Runaway argument? -{ babelshorthands.if = mongolian@babelshorthands, babelshorthands.def\ETC. -! File ended while scanning use of \DeclareKeys . - - \par -l. ...\InheritGlossFile{mongolian} -I suspect you have forgotten a `}', causing me -to read past where you wanted me to stop. -I'll try to recover; but if the error is serious, -you'd better type `E' or `X' now and fix your file. +) (babelsh.def +File: babelsh.def ....-..-.. Babel common definitions for shorthands + Taken verbatim from babel files (....-..-.. v...) ) +Package babel Info: Making " an active character on input line .... +)) Package polyglossia Info: Default language is mongolian > \box...= -\hbox(7.16+2.05998)x68.39 -.\TU/lmr/m/n/10 August +\hbox(6.66+0.21999)x74.63 +.\TU/lmr/m/n/10 2012 +.\penalty 10000 +.\glue 3.33 plus 1.665 minus 1.11 +.\TU/lmr/m/n/10 оны +.\glue 3.33 plus 1.665 minus 1.11 +.\TU/lmr/m/n/10 8-р +.\penalty 10000 .\glue 3.33 plus 1.665 minus 1.11 -.\TU/lmr/m/n/10 6, +.\TU/lmr/m/n/10 сарын .\glue 3.33 plus 1.665 minus 1.11 -.\TU/lmr/m/n/10 2012. +.\TU/lmr/m/n/10 6. ! OK. \begingroup diff --git a/testfiles/autogen/test-gloss-mongolian.luatex.tlg b/testfiles/autogen/test-gloss-mongolian.luatex.tlg index cca19780..5f8d7a4f 100644 --- a/testfiles/autogen/test-gloss-mongolian.luatex.tlg +++ b/testfiles/autogen/test-gloss-mongolian.luatex.tlg @@ -13,35 +13,50 @@ Module polyglossia Info: Language data for mongolian (polyglossia) righthyphenmin^^I2 (polyglossia) synonyms^^I on input line ... Module polyglossia Info: Language mongolian was not yet loaded; created with id 2 on input line ... +(babelsh.def +File: babelsh.def ....-..-.. Babel common definitions for shorthands + Taken verbatim from babel files (....-..-.. v...) +) +Package babel Info: Making " an active character on input line .... ) -Runaway argument? -{ babelshorthands.if = mongolian@babelshorthands, babelshorthands.def\ETC. -! File ended while scanning use of \DeclareKeys . - -\par -l. ...\setmainlanguage{mongolian} -I suspect you have forgotten a `}', causing me -to read past where you wanted me to stop. -I'll try to recover; but if the error is serious, -you'd better type `E' or `X' now and fix your file. Package polyglossia Info: Default language is mongolian > \box...= -\hbox(7.16+2.06)x68.39, direction TLT -.\TU/lmr/m/n/10 A -.\kern-0.28 (font) -.\TU/lmr/m/n/10 u -.\TU/lmr/m/n/10 g -.\TU/lmr/m/n/10 u -.\TU/lmr/m/n/10 s -.\TU/lmr/m/n/10 t -.\glue(\spaceskip) 3.33 plus 1.665 minus 1.11 -.\TU/lmr/m/n/10 6 -.\TU/lmr/m/n/10 , -.\glue(\spaceskip) 3.33 plus 1.665 minus 1.11 +\hbox(6.66+0.22)x74.63004, direction TLT .\TU/lmr/m/n/10 2 .\TU/lmr/m/n/10 0 .\TU/lmr/m/n/10 1 .\TU/lmr/m/n/10 2 +.\penalty 10000 +.\glue(\spaceskip) 3.33 plus 1.665 minus 1.11 +.\TU/lmr/m/n/10 о +.\TU/lmr/m/n/10 󰀀 +.\TU/lmr/m/n/10 н +.\TU/lmr/m/n/10 󰀀 +.\TU/lmr/m/n/10 ы +.\TU/lmr/m/n/10 󰀀 +.\glue(\spaceskip) 3.33 plus 1.665 minus 1.11 +.\TU/lmr/m/n/10 8 +.\discretionary (penalty 50) +..< \TU/lmr/m/n/10 - +..= \TU/lmr/m/n/10 - +.\TU/lmr/m/n/10 р +.\TU/lmr/m/n/10 󰀀 +.\penalty 10000 +.\glue(\spaceskip) 3.33 plus 1.665 minus 1.11 +.\TU/lmr/m/n/10 с +.\TU/lmr/m/n/10 󰀀 +.\TU/lmr/m/n/10 а +.\TU/lmr/m/n/10 󰀀 +.\discretionary (penalty 50) +..< \TU/lmr/m/n/10 - +.\TU/lmr/m/n/10 р +.\TU/lmr/m/n/10 󰀀 +.\TU/lmr/m/n/10 ы +.\TU/lmr/m/n/10 󰀀 +.\TU/lmr/m/n/10 н +.\TU/lmr/m/n/10 󰀀 +.\glue(\spaceskip) 3.33 plus 1.665 minus 1.11 +.\TU/lmr/m/n/10 6 .\TU/lmr/m/n/10 . ! OK. diff --git a/testfiles/autogen/test-gloss-mongolian.tlg b/testfiles/autogen/test-gloss-mongolian.tlg index 3d79db30..3de527f6 100644 --- a/testfiles/autogen/test-gloss-mongolian.tlg +++ b/testfiles/autogen/test-gloss-mongolian.tlg @@ -4,25 +4,26 @@ Don't change this file in any respect. File: gloss-mongolian.ldf polyglossia: module for Mongolian (xpg-cyrillicnumbers.sty Package: xpg-cyrillicnumbers ....-..-.. v... Formatting of Cyrillic alphabetic numbers -)) -Runaway argument? -{ babelshorthands.if = mongolian@babelshorthands, babelshorthands.def\ETC. -! File ended while scanning use of \DeclareKeys . - - \par -l. ...\setmainlanguage{mongolian} -I suspect you have forgotten a `}', causing me -to read past where you wanted me to stop. -I'll try to recover; but if the error is serious, -you'd better type `E' or `X' now and fix your file. +) (babelsh.def +File: babelsh.def ....-..-.. Babel common definitions for shorthands + Taken verbatim from babel files (....-..-.. v...) +) +Package babel Info: Making " an active character on input line .... +) Package polyglossia Info: Default language is mongolian > \box...= -\hbox(7.16+2.05998)x68.39 -.\TU/lmr/m/n/10 August +\hbox(6.66+0.21999)x74.63 +.\TU/lmr/m/n/10 2012 +.\penalty 10000 .\glue 3.33 plus 1.665 minus 1.11 -.\TU/lmr/m/n/10 6, +.\TU/lmr/m/n/10 оны .\glue 3.33 plus 1.665 minus 1.11 -.\TU/lmr/m/n/10 2012. +.\TU/lmr/m/n/10 8-р +.\penalty 10000 +.\glue 3.33 plus 1.665 minus 1.11 +.\TU/lmr/m/n/10 сарын +.\glue 3.33 plus 1.665 minus 1.11 +.\TU/lmr/m/n/10 6. ! OK. \begingroup diff --git a/tex/gloss-mongolian.ldf b/tex/gloss-mongolian.ldf index 99df5ea5..feb68580 100644 --- a/tex/gloss-mongolian.ldf +++ b/tex/gloss-mongolian.ldf @@ -36,7 +36,6 @@ babelshorthands.if = mongolian@babelshorthands, babelshorthands.default:n = true, numerals.choice:, - {% numerals / arabic.code = {% \cyrillic@numeralsfalse