[latex3-commits] [git/LaTeX3-latex3-babel] main: New locales files: Sardinian, Nheengatu. Fix #198. (ab9bcbc)

Javier email at dante.de
Thu Nov 24 17:45:50 CET 2022


Repository : https://github.com/latex3/babel
On branch  : main
Link       : https://github.com/latex3/babel/commit/ab9bcbc518988cb82d1698395fed3209edfb1add

>---------------------------------------------------------------

commit ab9bcbc518988cb82d1698395fed3209edfb1add
Author: Javier <email at localhost>
Date:   Thu Nov 24 17:45:50 2022 +0100

    New locales files: Sardinian, Nheengatu. Fix #198.


>---------------------------------------------------------------

ab9bcbc518988cb82d1698395fed3209edfb1add
 README.md                                          |   7 +-
 babel.dtx                                          |  75 ++++-----
 babel.ins                                          |   2 +-
 babel.pdf                                          | Bin 885304 -> 885276 bytes
 bbcompat.dtx                                       |   2 +-
 .../sc/babel-sardinian.tex                         |   0
 locale/sc/babel-sc.ini                             | 178 +++++++++++++++++++++
 .../yrl/babel-nheengatu.tex                        |   0
 locale/yrl/babel-yrl.ini                           | 178 +++++++++++++++++++++
 9 files changed, 392 insertions(+), 50 deletions(-)

diff --git a/README.md b/README.md
index c431f70..391db86 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## Babel 3.82
+## Babel 3.82.2931
 
 This package manages culturally-determined typographical (and other)
 rules, and hyphenation patterns for a wide range of languages. Many
@@ -46,6 +46,11 @@ respective authors.
 
 ### Summary of latest changes
 ```
+3.82  (dev)
+      * Fixes:
+        - Wrong date format for Australian in babel-en-AU.ini (#195)
+        - Option handling is broken with braces (#198)
+      
 3.82  2022-10-23
       * Predefined transforms can be activated after the first
         \babelprovide (lua).
diff --git a/babel.dtx b/babel.dtx
index 44ed19a..d0b9917 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -32,7 +32,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2022/10/23 v3.82 The Babel package]
+\ProvidesFile{babel.dtx}[2022/11/24 v3.82.2931 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -5153,8 +5153,8 @@ help from Bernd Raichle, for which I am grateful.
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.82>>
-%<<date=2022/10/23>>
+%<<version=3.82.2931>>
+%<<date=2022/11/24>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -8690,49 +8690,26 @@ help from Bernd Raichle, for which I am grateful.
       {\bbl at tolower\@empty}{\bbl at toupper\@empty}}%
     \gdef\bbl at tolower{\csname\languagename @bbl at lc\endcsname}%
     \gdef\bbl at toupper{\csname\languagename @bbl at uc\endcsname}}}
-% A temporary hack:
-\ifx\BabelCaseHack\@undefined
-\AtBeginDocument{%
-  \bbl at xin@{\string\@uclclist}%
-           {\bbl at carg\meaning{MakeUppercase }}%
-  \ifin@\else
-    \chardef\bbl at ulflag\z@
-    \bbl at ncarg\let\bbl at newuc{MakeUppercase }%
-    \protected\@namedef{MakeUppercase }#1{{%
-      \chardef\bbl at ulflag\@ne
-      \ifx\bbl at uclc\@undefined
-        \bbl at newuc{#1}%
-      \else
-        \bbl at ifunset{\languagename @bbl at uclc}%
-          {\bbl at newuc{#1}}%
-          {\def\reserved at a##1##2{\let##1##2\reserved at a}%
-           \bbl at uclc\reserved at a\reserved at b{\reserved at b\@gobble}%
-           \protected at edef\reserved at a{\bbl at newuc{#1}}% Pre-expand
-           \reserved at a}%
-      \fi}}%
-    \bbl at ncarg\let\bbl at newlc{MakeLowercase }%
-    \protected\@namedef{MakeLowercase }#1{{%
-      \chardef\bbl at ulflag\tw@
-      \ifx\bbl at uclc\@undefined
-        \bbl at newlc{#1}%
-      \else
-        \bbl at ifunset{\languagename @bbl at uclc}%
-          {\bbl at newlc{#1}}%
-          {\def\reserved at a##1##2{\let##2##1\reserved at a}%
-           \bbl at uclc\reserved at a\reserved at b{\reserved at b\@gobble}%
-           \protected at edef\reserved at a{\bbl at newlc{#1}}% Pre-expand
-           \reserved at a}%
-      \fi}}%
-  \def\bbl at cased{%
-    \ifcase\bbl at ulflag
-      \expandafter\@firstofone
-    \or
-      \expandafter\MakeUppercase
-    \or
-      \expandafter\MakeLowercase
-    \fi}%
-  \fi}   
-\fi
+% A temporary hack, for testing purposes:
+\def\BabelRestoreCase{%
+  \DeclareRobustCommand{\MakeUppercase}[1]{{%
+    \def\reserved at a####1####2{\let####1####2\reserved at a}%
+    \def\i{I}\def\j{J}%
+    \expandafter\reserved at a\@uclclist\reserved at b{\reserved at b\@gobble}%
+    \let\UTF at two@octets at noexpand\@empty
+    \let\UTF at three@octets at noexpand\@empty
+    \let\UTF at four@octets at noexpand\@empty
+    \protected at edef\reserved at a{\uppercase{##1}}%
+    \reserved at a
+  }}%
+  \DeclareRobustCommand{\MakeLowercase}[1]{{%
+    \def\reserved at a####1####2{\let####2####1\reserved at a}%
+    \expandafter\reserved at a\@uclclist\reserved at b{\reserved at b\@gobble}%
+    \let\UTF at two@octets at noexpand\@empty
+    \let\UTF at three@octets at noexpand\@empty
+    \let\UTF at four@octets at noexpand\@empty
+    \protected at edef\reserved at a{\lowercase{##1}}%
+    \reserved at a}}}
 %    \end{macrocode}
 %
 %    \begin{macrocode}
@@ -12451,8 +12428,12 @@ help from Bernd Raichle, for which I am grateful.
 \ifx\bbl at opt@main\@nnil
   \edef\bbl at tempa{\@classoptionslist,\bbl at language@opts}
   \let\bbl at tempc\@empty
+  \edef\bbl at templ{,\bbl at loaded,}
+  \edef\bbl at templ{\expandafter\strip at prefix\meaning\bbl at templ}
   \bbl at for\bbl at tempb\bbl at tempa{%
-    \bbl at xin@{,\bbl at tempb,}{,\bbl at loaded,}%
+    \edef\bbl at tempd{,\bbl at tempb,}%
+    \edef\bbl at tempd{\expandafter\strip at prefix\meaning\bbl at tempd}%
+    \bbl at xin@{\bbl at tempd}{\bbl at templ}%
     \ifin@\edef\bbl at tempc{\bbl at tempb}\fi}
   \def\bbl at tempa#1,#2\@nnil{\def\bbl at tempb{#1}}
   \expandafter\bbl at tempa\bbl at loaded,\@nnil
diff --git a/babel.ins b/babel.ins
index 5128ec7..c676820 100644
--- a/babel.ins
+++ b/babel.ins
@@ -26,7 +26,7 @@
 %% and covered by LPPL is defined by the unpacking scripts (with
 %% extension .ins) which are part of the distribution.
 %%
-\def\filedate{2022/10/23}
+\def\filedate{2022/11/24}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 
diff --git a/babel.pdf b/babel.pdf
index 161bd23..cbd1957 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index 2ad2e62..b25bf8e 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2022/10/23 v3.82]
+\ProvidesFile{bbcompat.dtx}[2022/11/24 v3.82.2931]
 %</dtx>
 %
 %% File 'bbcompat.dtx'
diff --git a/locale-templates/sc/babel-sardinian.tex b/locale/sc/babel-sardinian.tex
similarity index 100%
copy from locale-templates/sc/babel-sardinian.tex
copy to locale/sc/babel-sardinian.tex
diff --git a/locale/sc/babel-sc.ini b/locale/sc/babel-sc.ini
new file mode 100644
index 0000000..3bf9249
--- /dev/null
+++ b/locale/sc/babel-sc.ini
@@ -0,0 +1,178 @@
+; This file is part of babel. For further details see:
+;   https://www.ctan.org/pkg/babel
+; Data has been collected mainly from the following sources:
+; * Common Locale Data Repository (license Unicode):
+;   http://cldr.unicode.org/
+;   http://unicode.org/copyright.html
+
+[identification]
+charset = utf8
+version = 0.1
+date = 2022-10-24
+name.local = sardu
+name.english = Sardinian
+name.babel = sardinian
+tag.bcp47 = sc
+language.tag.bcp47 = sc
+tag.bcp47.likely = sc-Latn-IT
+tag.opentype = SRD
+script.name = Latin
+script.tag.bcp47 = Latn
+script.tag.opentype = latn
+level = 1
+encodings = 
+derivate = no
+
+[captions]
+preface    = 
+ref        = 
+abstract   = 
+bib        = 
+chapter    = 
+appendix   = 
+contents   = 
+listfigure = 
+listtable  = 
+index      = 
+figure     = 
+table      = 
+part       = 
+encl       = 
+cc         = 
+headto     = 
+page       = 
+see        = 
+also       = 
+proof      = 
+glossary   = 
+
+[captions.licr]
+preface    = 
+ref        = 
+abstract   = 
+bib        = 
+chapter    = 
+appendix   = 
+contents   = 
+listfigure = 
+listtable  = 
+index      = 
+figure     = 
+table      = 
+part       = 
+encl       = 
+cc         = 
+headto     = 
+page       = 
+see        = 
+also       = 
+proof      = 
+glossary   = 
+
+[date.gregorian]
+date.long        = [d] de [MMMM] de su [y]
+date.short       = [dd]/[MM]/[y]
+months.wide.1    = ghennàrgiu
+months.wide.2    = freàrgiu
+months.wide.3    = martzu
+months.wide.4    = abrile
+months.wide.5    = maju
+months.wide.6    = làmpadas
+months.wide.7    = trìulas
+months.wide.8    = austu
+months.wide.9    = cabudanni
+months.wide.10   = santugaine
+months.wide.11   = santandria
+months.wide.12   = nadale
+months.narrow.1  = G
+months.narrow.2  = F
+months.narrow.3  = M
+months.narrow.4  = A
+months.narrow.5  = M
+months.narrow.6  = L
+months.narrow.7  = T
+months.narrow.8  = A
+months.narrow.9  = C
+months.narrow.10 = S
+months.narrow.11 = S
+months.narrow.12 = N
+days.wide.mon = lunis
+days.wide.tue = martis
+days.wide.wed = mèrcuris
+days.wide.thu = giòbia
+days.wide.fri = chenàbura
+days.wide.sat = sàbadu
+days.wide.sun = domìniga
+days.abbreviated.mon      = lun
+days.abbreviated.tue      = mar
+days.abbreviated.wed      = mèr
+days.abbreviated.thu      = giò
+days.abbreviated.fri      = che
+days.abbreviated.sat      = sàb
+days.abbreviated.sun      = dom
+days.narrow.mon           = L
+days.narrow.tue           = M
+days.narrow.wed           = M
+days.narrow.thu           = G
+days.narrow.fri           = C
+days.narrow.sat           = S
+days.narrow.sun           = D
+dayPeriods.abbreviated.am = AM
+dayPeriods.abbreviated.pm = PM
+dayPeriods.narrow.am      = m.
+dayPeriods.narrow.pm      = b.
+dayPeriods.wide.am        = AM
+dayPeriods.wide.pm        = PM
+
+[date.gregorian.licr]
+months.wide.1    = ghenn\`argiu
+months.wide.2    = fre\`argiu
+months.wide.3    = martzu
+months.wide.4    = abrile
+months.wide.5    = maju
+months.wide.6    = l\`ampadas
+months.wide.7    = tr\`\i ulas
+months.wide.8    = austu
+months.wide.9    = cabudanni
+months.wide.10   = santugaine
+months.wide.11   = santandria
+months.wide.12   = nadale
+
+[time.gregorian]
+time.medium = [HH]:[mm]:[ss]
+time.short  = [HH]:[mm]
+
+[typography]
+frenchspacing = yes
+hyphenrules = 
+lefthyphenmin = 
+righthyphenmin = 
+hyphenchar = 
+prehyphenchar = 
+posthyphenchar = 
+exhyphenchar = 
+preexhyphenchar = 
+postexhyphenchar = 
+hyphenationmin = 
+
+[characters]
+delimiters.quotes     = 
+auxiliary             = [ª á â å ä ã æ ç é ê ë í î ï k ñ º ó ô ö õ ø œ q ß ú û ü w x y ÿ]
+exemplarCharacters    = [a à b c d e è f g h i ì j l m n o ò p r s t u ù v z]
+index                 = [A B C D E F G H I J K L M N O P Q R S T {TZ} U V W X Y Z]
+punctuation           = [‐ – — , ; \\: ! ? . … · ' ‘ ’ \" “ ” « » ( ) \\[ \\] @ * / \\& # ′ ″]
+
+[numbers]
+defaultNumberingSystem = 
+minimumGroupingDigits  = 
+decimal                = ,
+exponential            = 
+group                  = .
+infinity               = 
+list                   = 
+minusSign              = 
+nan                    = 
+perMille               = 
+percentSign            = 
+plusSign               = 
+superscriptingExponent = 
diff --git a/locale-templates/yrl/babel-nheengatu.tex b/locale/yrl/babel-nheengatu.tex
similarity index 100%
copy from locale-templates/yrl/babel-nheengatu.tex
copy to locale/yrl/babel-nheengatu.tex
diff --git a/locale/yrl/babel-yrl.ini b/locale/yrl/babel-yrl.ini
new file mode 100644
index 0000000..111277d
--- /dev/null
+++ b/locale/yrl/babel-yrl.ini
@@ -0,0 +1,178 @@
+; This file is part of babel. For further details see:
+;   https://www.ctan.org/pkg/babel
+; Data has been collected mainly from the following sources:
+; * Common Locale Data Repository (license Unicode):
+;   http://cldr.unicode.org/
+;   http://unicode.org/copyright.html
+
+[identification]
+charset = utf8
+version = 0.1
+date = 2022-10-24
+name.local = nheẽgatu
+name.english = Nheengatu
+name.babel = nheengatu
+tag.bcp47 = yrl
+language.tag.bcp47 = yrl
+tag.bcp47.likely = yrl-Latn-BR
+tag.opentype = YRL
+script.name = Latin
+script.tag.bcp47 = Latn
+script.tag.opentype = latn
+level = 1
+encodings = 
+derivate = no
+
+[captions]
+preface    = 
+ref        = 
+abstract   = 
+bib        = 
+chapter    = 
+appendix   = 
+contents   = 
+listfigure = 
+listtable  = 
+index      = 
+figure     = 
+table      = 
+part       = 
+encl       = 
+cc         = 
+headto     = 
+page       = 
+see        = 
+also       = 
+proof      = 
+glossary   = 
+
+[captions.licr]
+preface    = 
+ref        = 
+abstract   = 
+bib        = 
+chapter    = 
+appendix   = 
+contents   = 
+listfigure = 
+listtable  = 
+index      = 
+figure     = 
+table      = 
+part       = 
+encl       = 
+cc         = 
+headto     = 
+page       = 
+see        = 
+also       = 
+proof      = 
+glossary   = 
+
+[date.gregorian]
+date.long        = [d] [MMMM] [y]
+date.short       = [dd]/[MM]/[y]
+months.wide.1    = yepé
+months.wide.2    = mukũi
+months.wide.3    = musapíri
+months.wide.4    = irũdí
+months.wide.5    = pú
+months.wide.6    = pú-yepé
+months.wide.7    = pú-mukũi
+months.wide.8    = pú-musapíri
+months.wide.9    = pú-irũdí
+months.wide.10   = yepé-putimaã
+months.wide.11   = yepé-yepé
+months.wide.12   = yepé-mukũi
+months.narrow.1  = Y
+months.narrow.2  = M
+months.narrow.3  = M
+months.narrow.4  = I
+months.narrow.5  = P
+months.narrow.6  = P
+months.narrow.7  = P
+months.narrow.8  = P
+months.narrow.9  = P
+months.narrow.10 = Y
+months.narrow.11 = Y
+months.narrow.12 = Y
+days.wide.mon = murakipí
+days.wide.tue = murakí-mukũi
+days.wide.wed = murakí-musapíri
+days.wide.thu = supapá
+days.wide.fri = yukuakú
+days.wide.sat = saurú
+days.wide.sun = mituú
+days.abbreviated.mon      = mur
+days.abbreviated.tue      = mmk
+days.abbreviated.wed      = mms
+days.abbreviated.thu      = sup
+days.abbreviated.fri      = yuk
+days.abbreviated.sat      = sau
+days.abbreviated.sun      = mit
+days.narrow.mon           = M
+days.narrow.tue           = M
+days.narrow.wed           = M
+days.narrow.thu           = S
+days.narrow.fri           = Y
+days.narrow.sat           = S
+days.narrow.sun           = M
+dayPeriods.abbreviated.am = AM
+dayPeriods.abbreviated.pm = PM
+dayPeriods.narrow.am      = AM
+dayPeriods.narrow.pm      = PM
+dayPeriods.wide.am        = AM
+dayPeriods.wide.pm        = PM
+
+[date.gregorian.licr]
+months.wide.1 = yep\'e
+months.wide.2 = muk\~ui
+months.wide.3 = musap\'\i ri
+months.wide.4 = ir\~ud\'\i
+months.wide.5 = p\'u
+months.wide.6 = p\'u-yep\'e
+months.wide.7 = p\'u-muk\~ui
+months.wide.8 = p\'u-musap\'\i ri
+months.wide.9 = p\'u-ir\~ud\'\i
+months.wide.10 = yep\'e-putima\~a
+months.wide.11 = yep\'e-yep\'e
+months.wide.12 = yep\'e-muk\~ui
+
+[time.gregorian]
+time.medium = [HH]:[mm]:[ss]
+time.short  = [HH]:[mm]
+
+[typography]
+frenchspacing = yes
+hyphenrules = 
+lefthyphenmin = 
+righthyphenmin = 
+hyphenchar = 
+prehyphenchar = 
+posthyphenchar = 
+exhyphenchar = 
+preexhyphenchar = 
+postexhyphenchar = 
+hyphenationmin = 
+
+[characters]
+delimiters.quotes     = 
+auxiliary             = [ª á à ă â å ä ā æ c ç é è ĕ ê ë ē f h í ì ĭ î ï ī j l ñ o º ó ò ŏ ô ö õ ø ō œ q ú ù ŭ û ü ū v ÿ ỹ z]
+exemplarCharacters    = [a ã b d e ẽ g i ĩ k m n p r s t u ũ w x y]
+index                 = [A B D E G I K M N P R S T U W X Y]
+punctuation           = [\\- ‐ ‑ – — , ; \\: ! ¡ ? ¿ . … ' ‘ ’ \" “ ” « » ( ) \\[ \\] § @ * / \\\\ \\& # † ‡ ′ ″]
+
+[numbers]
+defaultNumberingSystem = 
+minimumGroupingDigits  = 1
+decimal                = ,
+exponential            = E
+group                  = .
+infinity               = ∞
+list                   = ;
+minusSign              = -
+nan                    = NaN
+perMille               = ‰
+percentSign            = %
+plusSign               = +
+superscriptingExponent = ×





More information about the latex3-commits mailing list.