[latex3-commits] [git/LaTeX3-latex3-babel] main: Added \BCP{casing}. Fix #234. Added casing= in \babelprovide. (d85d3fb)

Javier email at dante.de
Fri Apr 14 19:04:45 CEST 2023


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

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

commit d85d3fb501a272f1fbf4c9d18fadd5a1ec8405a7
Author: Javier <email at localhost>
Date:   Fri Apr 14 19:04:45 2023 +0200

    Added \BCP{casing}. Fix #234. Added casing= in \babelprovide.


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

d85d3fb501a272f1fbf4c9d18fadd5a1ec8405a7
 README.md                       |   2 +-
 babel.dtx                       |  22 ++++++++++++++++------
 babel.ins                       |   2 +-
 babel.pdf                       | Bin 912918 -> 913825 bytes
 bbcompat.dtx                    |   2 +-
 testfiles-lua/bbl-340.tlg       |   0
 testfiles-lua/bbl-calendars.tlg |   0
 testfiles/bbl-attributes.tlg    |   0
 testfiles/bbl-provide.tlg       |   0
 testfiles/tlb-catalan.tlg       |   8 ++++----
 testfiles/tlb2247.tlg           |   6 +++---
 testfiles/tlb2701.tlg           |   2 +-
 testfiles/tlb2752.tlg           |   4 ++--
 testfiles/tlb2773.tlg           |   2 +-
 testfiles/tlb2800.tlg           |   2 +-
 testfiles/tlb2814.tlg           |   4 ++--
 testfiles/tlb3004.tlg           |  12 ++++++------
 testfiles/tlb3267.tlg           |   2 +-
 testfiles/tlb3583.tlg           |   2 +-
 testfiles/tlb3756.tlg           |   2 +-
 testfiles/tlb3851.tlg           |   2 +-
 testfiles/tlb3866.tlg           |   6 +++---
 testfiles/tlbamsart.tlg         |   2 +-
 23 files changed, 47 insertions(+), 37 deletions(-)

diff --git a/README.md b/README.md
index 96e306c..dc51800 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## Babel 3.87.09667
+## Babel 3.87.10474
 
 (dev)
 
diff --git a/babel.dtx b/babel.dtx
index d700079..4bd9ce7 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -32,7 +32,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2023/04/06 v3.87.09667 The Babel package]
+\ProvidesFile{babel.dtx}[2023/04/14 v3.87.10474 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -2579,7 +2579,7 @@ languages.
   Polytonic Greek with but with some sections in Italian. Then, the
   first attempt should be:
 \begin{verbatim}
-\usepackage[italian, greek.polutonico]{babel}
+\usepackage[italian, greek.polutoniko]{babel}
 \end{verbatim}
   But if, say, accents in Greek are not shown correctly, you can try
 \begin{verbatim}
@@ -5295,8 +5295,8 @@ help from Bernd Raichle, for which I am grateful.
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.87.09667>>
-%<<date=2023/04/06>>
+%<<version=3.87.10474>>
+%<<date=2023/04/14>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -9824,7 +9824,7 @@ help from Bernd Raichle, for which I am grateful.
   \bbl at vforeach{captions,date,import,main,script,language,%
       hyphenrules,linebreaking,justification,mapfont,maparabic,%
       mapdigits,intraspace,intrapenalty,onchar,transforms,alph,%
-      Alph,labels,labels*,calendar,date}%
+      Alph,labels,labels*,calendar,date,casing}%
     {\bbl at csarg\let{KVP@##1}\@nnil}%
   \global\let\bbl at release@transforms\@empty
   \let\bbl at calendars\@empty
@@ -9832,7 +9832,7 @@ help from Bernd Raichle, for which I am grateful.
   \global\let\bbl at extend@ini\@gobble
   \gdef\bbl at key@list{;}% 
   \bbl at forkv{#1}{%
-    \in@{/}{##1}%
+    \in@{/}{##1}% With /, (se)sets a value in the ini
     \ifin@ 
       \global\let\bbl at extend@ini\bbl at extend@ini at aux
       \bbl at renewinikey##1\@@{##2}%
@@ -10128,6 +10128,10 @@ help from Bernd Raichle, for which I am grateful.
         \\\babel at save\\\@Alph
         \let\\\@Alph\<bbl at cntr@\bbl at KVP@Alph @\languagename>}}%
   \fi
+  % == Casing ==
+  \bbl at exp{\def\<bbl at casing@\languagename>%
+    {\<bbl at lbcp@\languagename>%
+     \ifx\bbl at KVP@casing\@nnil\else-x-\bbl at KVP@casing\fi}}%
   % == Calendars ==
   \ifx\bbl at KVP@calendar\@nnil
     \edef\bbl at KVP@calendar{\bbl at cl{calpr}}%
@@ -10596,6 +10600,8 @@ help from Bernd Raichle, for which I am grateful.
     {\csname bbl at elname@\languagename\endcsname}}%
   \bbl at exportkey{tbcp}{identification.tag.bcp47}{}%
   \bbl at exportkey{lbcp}{identification.language.tag.bcp47}{}%
+  % Somewhat hackish. TODO
+  \bbl at exportkey{casing}{identification.language.tag.bcp47}{}%
   \bbl at exportkey{lotf}{identification.tag.opentype}{dflt}%
   \bbl at exportkey{esname}{identification.script.name}{}%
   \bbl at exp{\\\bbl at exportkey{sname}{identification.script.name.opentype}%
@@ -11259,6 +11265,8 @@ help from Bernd Raichle, for which I am grateful.
       {\bbl at ifunset{bbl@\csname bbl at info@#1.tag.bcp47\endcsname @\languagename}{}%
         {\bbl at cs{\csname bbl at info@#1.tag.bcp47\endcsname @\languagename}}}}
 \fi
+% Still somewhat hackish:
+\@namedef{bbl at info@casing.tag.bcp47}{casing}
 %    \end{macrocode}
 %
 % With version 3.75 |\BabelEnsureInfo| is executed always, but there is
@@ -11276,6 +11284,7 @@ help from Bernd Raichle, for which I am grateful.
       \bbl at ifunset{bbl at lname@##1}{\bbl at load@info{##1}}{}}%
   \fi
   \bbl at foreach\bbl at loaded{{%
+    \let\bbl at ensuring\@empty
     \def\languagename{##1}%
     \bbl at ensureinfo{##1}}}}
 \@ifpackagewith{babel}{ensureinfo=off}{}%
@@ -23186,6 +23195,7 @@ Babel.cjk_breaks = {
   \bbl at elt{identification}{derivate}{no}}
 \@namedef{bbl at tbcp@nil}{und}
 \@namedef{bbl at lbcp@nil}{und}
+\@namedef{bbl at casing@nil}{und} % TODO
 \@namedef{bbl at lotf@nil}{dflt}
 \@namedef{bbl at elname@nil}{nil}
 \@namedef{bbl at lname@nil}{nil}
diff --git a/babel.ins b/babel.ins
index 792919f..2197420 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{2023/04/06}
+\def\filedate{2023/04/14}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 
diff --git a/babel.pdf b/babel.pdf
index d43f702..44b485d 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index 381987b..1f50d88 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2023/04/06 v3.87.09667]
+\ProvidesFile{bbcompat.dtx}[2023/04/14 v3.87.10474]
 %</dtx>
 %
 %% File 'bbcompat.dtx'
diff --git a/testfiles/tlb-catalan.tlg b/testfiles/tlb-catalan.tlg
index d5935a3..07b8717 100644
--- a/testfiles/tlb-catalan.tlg
+++ b/testfiles/tlb-catalan.tlg
@@ -27,10 +27,10 @@ Package: babel
 ..\penalty 10000
 ..\glue(\parfillskip) 0.0 plus 1.0fil
 ..\glue(\rightskip) 0.0
-.\marks2{\protect \foreignlanguage {catalan}{\protect \bbl at restore@actives \MakeUppercase    \ETC.}
-.\marks3{\protect \foreignlanguage {catalan}{\protect \bbl at restore@actives \MakeUppercase    \ETC.}
-.\mark{{}{\protect \foreignlanguage {catalan}{\protect \bbl at restore@actives \ETC.}
-.\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline \ETC.}
+.\marks2{\protect \foreignlanguage {catalan}{\protect \bbl at restore@actives \MakeUppercase    []{0.1. \ ``Hola''}}}
+.\marks3{\protect \foreignlanguage {catalan}{\protect \bbl at restore@actives \MakeUppercase    []{0.1. \ ``Hola''}}}
+.\mark{{}{\protect \foreignlanguage {catalan}{\protect \bbl at restore@actives \MakeUppercase    []{0.1. \ ``Hola''}}}}
+.\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {0.1}``Hola''}{\thepage }{}\protected at file@percent }}
 .\penalty 10000
 .\glue 9.90276 plus 0.86108
 ! OK.
diff --git a/testfiles/tlb2247.tlg b/testfiles/tlb2247.tlg
index f40c930..8aed3b3 100644
--- a/testfiles/tlb2247.tlg
+++ b/testfiles/tlb2247.tlg
@@ -15,10 +15,10 @@ Package: babel
 .\write-{}
 .\vbox(0.0+0.0)x0.0
 .\penalty -10001
-.\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberline \ETC.}
-.\marks1{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \MakeUppercase    \ETC.}
+.\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberline {1}Privet}{\thepage }{}\protected at file@percent }}
+.\marks1{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \MakeUppercase    []{{\protect \cyrillictext  \CYRG \cyrl \cyra \cyrv \cyra }\ 1. \ Privet}}}
 .\marks2{\prg_do_nothing: }
-.\mark{{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \MakeUppercase    \ETC.}
+.\mark{{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \MakeUppercase    []{{\protect \cyrillictext  \CYRG \cyrl \cyra \cyrv \cyra }\ 1. \ Privet}}}{}}
 .\write1{\@writefile{lof}{\protect \addvspace {10\p@ }}}
 .\write1{\@writefile{lot}{\protect \addvspace {10\p@ }}}
 .\rule(0.0+0.0)x*
diff --git a/testfiles/tlb2701.tlg b/testfiles/tlb2701.tlg
index f0c3a02..a24a35d 100644
--- a/testfiles/tlb2701.tlg
+++ b/testfiles/tlb2701.tlg
@@ -65,7 +65,7 @@ LaTeX Font Info:    External font `cmex10' loaded for size
 ..\penalty 10000
 ..\glue(\parfillskip) 0.0 plus 1.0fil
 ..\glue(\rightskip) 0.0
-.\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline \ETC.}
+.\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1}$\protect \bar {E}$-field}{\thepage }{}\protected at file@percent }}
 .\penalty 10000
 .\glue 9.90276 plus 0.86108
 ! OK.
diff --git a/testfiles/tlb2752.tlg b/testfiles/tlb2752.tlg
index 0158a08..582597d 100644
--- a/testfiles/tlb2752.tlg
+++ b/testfiles/tlb2752.tlg
@@ -12,7 +12,7 @@ Package: babel
 .\write-{}
 .\vbox(0.0+0.0)x0.0
 .\penalty -10001
-.\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberline \ETC.}
+.\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberline {1}kefaleio}{\thepage }{}\protected at file@percent }}
 .\write1{\@writefile{lof}{\protect \addvspace {10\p@ }}}
 .\write1{\@writefile{lot}{\protect \addvspace {10\p@ }}}
 .\rule(0.0+0.0)x*
@@ -69,7 +69,7 @@ l. ...\showbox0
 .\write-{}
 .\vbox(0.0+0.0)x0.0
 .\penalty -10001
-.\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberline \ETC.}
+.\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberline {{\greekscript \textAlpha \textnumeralsigngreek }}kegalaio}{\thepage }{}\protected at file@percent }}
 .\write1{\@writefile{lof}{\protect \addvspace {10\p@ }}}
 .\write1{\@writefile{lot}{\protect \addvspace {10\p@ }}}
 .\rule(0.0+0.0)x*
diff --git a/testfiles/tlb2773.tlg b/testfiles/tlb2773.tlg
index 8b30be2..f393506 100644
--- a/testfiles/tlb2773.tlg
+++ b/testfiles/tlb2773.tlg
@@ -82,7 +82,7 @@ LaTeX Font Info:    External font `cmex10' loaded for size
 ..\penalty 10000
 ..\glue(\parfillskip) 0.0 plus 1.0fil
 ..\glue(\rightskip) 0.0
-.\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline \ETC.}
+.\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1}Math accent: $\protect \hat  {a}$}{\thepage }{}\protected at file@percent }}
 .\penalty 10000
 .\glue 9.90276 plus 0.86108
 ! OK.
diff --git a/testfiles/tlb2800.tlg b/testfiles/tlb2800.tlg
index 7a1ae92..a05144c 100644
--- a/testfiles/tlb2800.tlg
+++ b/testfiles/tlb2800.tlg
@@ -135,7 +135,7 @@ l. ...\showbox0
 ..\penalty 10000
 ..\glue(\parfillskip) 0.0 plus 1.0fil
 ..\glue(\rightskip) 0.0
-.\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline \ETC.}
+.\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1}german}{\thepage }{}\protected at file@percent }}
 .\penalty 10000
 .\glue 9.90276 plus 0.86108
 .\glue(\parskip) 0.0
diff --git a/testfiles/tlb2814.tlg b/testfiles/tlb2814.tlg
index e4d5d67..cee549c 100644
--- a/testfiles/tlb2814.tlg
+++ b/testfiles/tlb2814.tlg
@@ -63,7 +63,7 @@ Package: babel
 ..\penalty 10000
 ..\glue(\parfillskip) 0.0 plus 1.0fil
 ..\glue(\rightskip) 0.0
-.\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline \ETC.}
+.\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1}This is a test!`!{}{}{}}{\thepage }{}\protected at file@percent }}
 .\penalty 10000
 .\glue 9.90276 plus 0.86108
 .\glue(\parskip) 0.0
@@ -95,7 +95,7 @@ Package: babel
 ..\penalty 10000
 ..\glue(\parfillskip) 0.0 plus 1.0fil
 ..\glue(\rightskip) 0.0
-.\write1{\@writefile{toc}{\protect \contentsline {subsection}{\protect \numberline \ETC.}
+.\write1{\@writefile{toc}{\protect \contentsline {subsection}{\protect \numberline {1.1}This is a test!`!{}{}{}}{\thepage }{}\protected at file@percent }}
 .\penalty 10000
 .\penalty 10000
 .\glue 6.45831 plus 0.86108
diff --git a/testfiles/tlb3004.tlg b/testfiles/tlb3004.tlg
index 9f53b65..2787cab 100644
--- a/testfiles/tlb3004.tlg
+++ b/testfiles/tlb3004.tlg
@@ -21,10 +21,10 @@ LaTeX Font Info:    External font `cmex10' loaded for size
 .\write-{}
 .\vbox(0.0+0.0)x0.0
 .\penalty -10001
-.\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberline \ETC.}
-.\marks1{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \MakeUppercase    \ETC.}
+.\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberline {1}It was \protect \TeX  {} the first}{\thepage }{}\protected at file@percent }}
+.\marks1{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \MakeUppercase    []{{\protect \cyrillictext  \CYRG \cyrl \cyra \cyrv \cyra }\ 1. \ It was \protect \TeX  {} the first}}}
 .\marks2{\prg_do_nothing: }
-.\mark{{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \MakeUppercase    \ETC.}
+.\mark{{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \MakeUppercase    []{{\protect \cyrillictext  \CYRG \cyrl \cyra \cyrv \cyra }\ 1. \ It was \protect \TeX  {} the first}}}{}}
 .\write1{\@writefile{lof}{\protect \addvspace {10\p@ }}}
 .\write1{\@writefile{lot}{\protect \addvspace {10\p@ }}}
 .\rule(0.0+0.0)x*
@@ -121,9 +121,9 @@ LaTeX Font Info:    External font `cmex10' loaded for size
 ..\penalty 10000
 ..\glue(\parfillskip) 0.0 plus 1.0fil
 ..\glue(\rightskip) 0.0
-.\marks2{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \MakeUppercase    \ETC.}
-.\marks3{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \MakeUppercase    \ETC.}
-.\mark{{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \MakeUppercase    \ETC.}
+.\marks2{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \MakeUppercase    []{1.1. \ \protect \LaTeX  }}}
+.\marks3{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \MakeUppercase    []{1.1. \ \protect \LaTeX  }}}
+.\mark{{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \MakeUppercase    []{{\protect \cyrillictext  \CYRG \cyrl \cyra \cyrv \cyra }\ 1. \ It was \protect \TeX  {} the first}}}{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \MakeUppercase    []{1.1. \ \protect \LaTeX  }}}}
 .etc.
 ! OK.
 l. ...}\showbox0
diff --git a/testfiles/tlb3267.tlg b/testfiles/tlb3267.tlg
index fd80e99..0c956d3 100644
--- a/testfiles/tlb3267.tlg
+++ b/testfiles/tlb3267.tlg
@@ -18,7 +18,7 @@ Kapihttal 1.
 .\write-{}
 .\vbox(0.0+0.0)x0.0
 .\penalty -10001
-.\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberline \ETC.}
+.\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberline {1}One}{\thepage }{}\protected at file@percent }}
 .\write1{\@writefile{lof}{\protect \addvspace {10\p@ }}}
 .\write1{\@writefile{lot}{\protect \addvspace {10\p@ }}}
 .\rule(0.0+0.0)x*
diff --git a/testfiles/tlb3583.tlg b/testfiles/tlb3583.tlg
index 01d204c..33b2d5c 100644
--- a/testfiles/tlb3583.tlg
+++ b/testfiles/tlb3583.tlg
@@ -82,7 +82,7 @@ l. ...}
 ..\penalty 10000
 ..\glue(\parfillskip) 0.0 plus 1.0fil
 ..\glue(\rightskip) 0.0
-.\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline \ETC.}
+.\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1}English}{\thepage }{}\protected at file@percent }}
 .\penalty 10000
 .\glue 11.88045 plus 1.03305
 ! OK.
diff --git a/testfiles/tlb3756.tlg b/testfiles/tlb3756.tlg
index b7fcdf1..8c931e0 100644
--- a/testfiles/tlb3756.tlg
+++ b/testfiles/tlb3756.tlg
@@ -90,7 +90,7 @@ Completed box being shipped out [1]
 ...\penalty -51
 ...\glue 2.09999 plus 2.09999
 ...\glue 22.0
-...\mark{{\def \\{ \ignorespaces }\MakeUppercase {Albert}}{{\protect \@upprep \ETC.}
+...\mark{{\def \\{ \ignorespaces }\MakeUppercase {Albert}}{{\protect \@upprep ZUR ELEKTRODYNAMIK\dots }}}
 ...\glue(\parskip) 0.0
 ...\glue(\parskip) 0.0
 ...\glue(\baselineskip) 5.05556
diff --git a/testfiles/tlb3851.tlg b/testfiles/tlb3851.tlg
index 796e126..c27baa2 100644
--- a/testfiles/tlb3851.tlg
+++ b/testfiles/tlb3851.tlg
@@ -72,7 +72,7 @@ l. ...\testit{\tableofcontents}
 ..\penalty 10000
 ..\glue(\parfillskip) 0.0 plus 1.0fil
 ..\glue(\rightskip) 0.0
-.\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline \ETC.}
+.\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1}hello~world}{\thepage }{}\protected at file@percent }}
 .\penalty 10000
 .\glue 9.90276 plus 0.86108
 ! OK.
diff --git a/testfiles/tlb3866.tlg b/testfiles/tlb3866.tlg
index 187343a..70f74fd 100644
--- a/testfiles/tlb3866.tlg
+++ b/testfiles/tlb3866.tlg
@@ -37,7 +37,7 @@ Completed box being shipped out [1]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
-...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline \ETC.}
+...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {p}sekcio 20}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
 ...\glue 9.90276 plus 0.86108
 ...\glue(\parskip) 0.0 plus 1.0
@@ -61,7 +61,7 @@ Completed box being shipped out [1]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
-...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline \ETC.}
+...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {r}sekcio 21}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
 ...\penalty 10000
 ...\glue 9.90276 plus 0.86108
@@ -86,7 +86,7 @@ Completed box being shipped out [1]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
-...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline \ETC.}
+...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {s}sekcio 22}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
 ...\penalty 10000
 ...\glue 9.90276 plus 0.86108
diff --git a/testfiles/tlbamsart.tlg b/testfiles/tlbamsart.tlg
index d2d10f5..399e91d 100644
--- a/testfiles/tlbamsart.tlg
+++ b/testfiles/tlbamsart.tlg
@@ -109,7 +109,7 @@ Package: babel
 ..\penalty 10000
 ..\glue(\parfillskip) 0.0
 ..\glue(\rightskip) 0.0 plus 1.0fil
-.\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \tocsection \ETC.}
+.\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \tocsection {B\ij lage}{A}{Eerste appendix}}{\thepage }{}\protected at file@percent }}
 .\penalty 10000
 .\glue 6.0
 ! OK.





More information about the latex3-commits mailing list.