[latex3-commits] [git/LaTeX3-latex3-latex2e] marks: try again with more tests adjusted ... (c9b69de6)

Frank Mittelbach frank.mittelbach at latex-project.org
Sun Apr 3 22:33:14 CEST 2022


Repository : https://github.com/latex3/latex2e
On branch  : marks
Link       : https://github.com/latex3/latex2e/commit/c9b69de67729357856e8347b85d19200e7eb435a

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

commit c9b69de67729357856e8347b85d19200e7eb435a
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Sun Apr 3 22:33:14 2022 +0200

    try again with more tests adjusted ...


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

c9b69de67729357856e8347b85d19200e7eb435a
 .github/tl_packages                     |  1 +
 base/testfiles/tlb0985.luatex.tlg       |  2 ++
 base/testfiles/tlb0985.tlg              |  2 ++
 base/testfiles/tlb1135.tlg              |  4 ++++
 base/testfiles/tlb1352.tlg              |  2 ++
 base/testfiles/tlb1451.luatex.tlg       |  3 +++
 base/testfiles/tlb1451.tlg              |  3 +++
 base/testfiles/tlb1519.tlg              |  4 ++++
 base/testfiles/vlatex02.luatex.tlg      | 10 ++++++++++
 base/testfiles/vlatex02.tlg             | 10 ++++++++++
 base/testfiles/vlatex06-2015.luatex.tlg | 14 ++++++++++++++
 base/testfiles/vlatex06-2015.tlg        | 14 ++++++++++++++
 base/testfiles/vlatex06.luatex.tlg      | 17 +++++++++++++++++
 base/testfiles/vlatex06.tlg             | 17 +++++++++++++++++
 base/testfiles/vtl2e02.luatex.tlg       | 10 ++++++++++
 base/testfiles/vtl2e02.tlg              | 10 ++++++++++
 base/testfiles/vtl2e06.luatex.tlg       | 14 ++++++++++++++
 base/testfiles/vtl2e06.tlg              | 14 ++++++++++++++
 18 files changed, 151 insertions(+)

diff --git a/.github/tl_packages b/.github/tl_packages
index d3950e85..ee65b2ab 100644
--- a/.github/tl_packages
+++ b/.github/tl_packages
@@ -23,6 +23,7 @@ oberdiek
 lh
 tex-gyre
 hypdoc
+fancyhdr
 #
 # special testing for firstaid
 bidi
diff --git a/base/testfiles/tlb0985.luatex.tlg b/base/testfiles/tlb0985.luatex.tlg
index 81ef8a39..27658e5e 100644
--- a/base/testfiles/tlb0985.luatex.tlg
+++ b/base/testfiles/tlb0985.luatex.tlg
@@ -23,6 +23,8 @@ Completed box being shipped out [1]
 ..\vbox(526.0+0.0)x345.0, glue set 515.94489fil, direction TLT
 ...\mark{{}{}}
 ...\write-{}
+...\marks2{\protect \usebox  {\head }}
+...\marks3{\protect \usebox  {\head }}
 ...\mark{{}{\protect \usebox  {\head }}}
 ...\glue(\topskip) 3.05556
 ...\hbox(6.94444+1.94444)x345.0, glue set 250.05545fil, direction TLT
diff --git a/base/testfiles/tlb0985.tlg b/base/testfiles/tlb0985.tlg
index aea37e21..f4e83fb6 100644
--- a/base/testfiles/tlb0985.tlg
+++ b/base/testfiles/tlb0985.tlg
@@ -23,6 +23,8 @@ Completed box being shipped out [1]
 ..\vbox(526.0+0.0)x345.0, glue set 515.94489fil
 ...\mark{{}{}}
 ...\write-{}
+...\marks2{\protect \usebox  {\head }}
+...\marks3{\protect \usebox  {\head }}
 ...\mark{{}{\protect \usebox  {\head }}}
 ...\glue(\topskip) 3.05556
 ...\hbox(6.94444+1.94444)x345.0, glue set 250.05545fil
diff --git a/base/testfiles/tlb1135.tlg b/base/testfiles/tlb1135.tlg
index 5d546030..c1794b27 100644
--- a/base/testfiles/tlb1135.tlg
+++ b/base/testfiles/tlb1135.tlg
@@ -9,6 +9,8 @@ Underfull \vbox (badness 10000) has occurred while \output is active
 .\write-{}
 .\write-{}
 .\write-{}
+.\marks1{\protect \MakeUppercase  {Chapter\ 1. \ Chaptertitle}}
+.\marks2{\prg_do_nothing: }
 .\mark{{\protect \MakeUppercase  {Chapter\ 1. \ Chaptertitle}}{}}
 .\write-{}
 .\write-{}
@@ -27,6 +29,8 @@ Completed box being shipped out [1]
 ...\write-{}
 ...\write-{}
 ...\write-{}
+...\marks1{\protect \MakeUppercase  {Chapter\ 1. \ Chaptertitle}}
+...\marks2{\prg_do_nothing: }
 ...\mark{{\protect \MakeUppercase  {Chapter\ 1. \ Chaptertitle}}{}}
 ...\write-{}
 ...\write-{}
diff --git a/base/testfiles/tlb1352.tlg b/base/testfiles/tlb1352.tlg
index ef291720..5333cff0 100644
--- a/base/testfiles/tlb1352.tlg
+++ b/base/testfiles/tlb1352.tlg
@@ -93,6 +93,8 @@ Completed box being shipped out [1]
 ..\glue(\lineskip) 0.0
 ..\vbox(550.0+0.0)x345.0, glue set 539.94232fil
 ...\write-{}
+...\marks2{\protect \itshape  {\'a\'e\'\i {}\'o\'u}, {\protect \rm  \'a\'e\'\i {}\'o\'u}, {\protect \tt  \'a\'e\'\i {}\'o\'u}}
+...\marks3{\protect \itshape  {\'a\'e\'\i {}\'o\'u}, {\protect \rm  \'a\'e\'\i {}\'o\'u}, {\protect \tt  \'a\'e\'\i {}\'o\'u}}
 ...\mark{{}{\protect \itshape  {\'a\'e\'\i {}\'o\'u}, {\protect \rm  \'a\'e\'\i {}\'o\'u}, {\protect \tt  \'a\'e\'\i {}\'o\'u}}}
 ...\glue(\topskip) 3.16669
 ...\hbox(6.83331+0.0)x345.0, glue set 302.99997fil
diff --git a/base/testfiles/tlb1451.luatex.tlg b/base/testfiles/tlb1451.luatex.tlg
index 7eafab83..79c23f29 100644
--- a/base/testfiles/tlb1451.luatex.tlg
+++ b/base/testfiles/tlb1451.luatex.tlg
@@ -187,6 +187,9 @@ Underfull \vbox (badness 2073) has occurred while \output is active
 .\penalty -51
 .\glue 10.0 plus 3.0 minus 5.0
 .\glue 15.00002
+.\marks1{Michael Downes}
+.\marks2{Here is a title\\with a line break in it}
+.\marks3{Here is a title\\with a line break in it}
 .\mark{{Michael Downes}{Here is a title\\with a line break in it}}
 .\glue(\parskip) 0.0 plus 1.0
 .\glue(\parskip) 0.0
diff --git a/base/testfiles/tlb1451.tlg b/base/testfiles/tlb1451.tlg
index 175bd750..137246fd 100644
--- a/base/testfiles/tlb1451.tlg
+++ b/base/testfiles/tlb1451.tlg
@@ -165,6 +165,9 @@ Underfull \vbox (badness 2073) has occurred while \output is active
 .\penalty -51
 .\glue 10.0 plus 3.0 minus 5.0
 .\glue 15.00002
+.\marks1{Michael Downes}
+.\marks2{Here is a title\\with a line break in it}
+.\marks3{Here is a title\\with a line break in it}
 .\mark{{Michael Downes}{Here is a title\\with a line break in it}}
 .\glue(\parskip) 0.0 plus 1.0
 .\glue(\parskip) 0.0
diff --git a/base/testfiles/tlb1519.tlg b/base/testfiles/tlb1519.tlg
index 2bade61a..272bcbe0 100644
--- a/base/testfiles/tlb1519.tlg
+++ b/base/testfiles/tlb1519.tlg
@@ -44,6 +44,8 @@ Completed box being shipped out [2]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{1.2\hskip 1em\relax And another one}
+...\marks3{1.2\hskip 1em\relax And another one}
 ...\mark{{\protect \MakeUppercase  {1\hskip 1em\relax One}}{1.2\hskip 1em\relax And another one}}
 ...\write1{\@writefile{toc}{\protect \contentsline {subsection}{\protect \numberline {1.2}And another one}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
@@ -127,6 +129,8 @@ Completed box being shipped out [3]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{1.3\hskip 1em\relax And another one}
+...\marks3{1.3\hskip 1em\relax And another one}
 ...\mark{{\protect \MakeUppercase  {1\hskip 1em\relax One}}{1.3\hskip 1em\relax And another one}}
 ...\write1{\@writefile{toc}{\protect \contentsline {subsection}{\protect \numberline {1.3}And another one}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
diff --git a/base/testfiles/vlatex02.luatex.tlg b/base/testfiles/vlatex02.luatex.tlg
index 952be137..b1b4b061 100644
--- a/base/testfiles/vlatex02.luatex.tlg
+++ b/base/testfiles/vlatex02.luatex.tlg
@@ -536,6 +536,8 @@ Completed box being shipped out [2]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1\hskip 1em\relax \protect \LaTeX  {} and \protect \SLiTeX  {} logos}}
+...\marks3{\protect \MakeUppercase  {1\hskip 1em\relax \protect \LaTeX  {} and \protect \SLiTeX  {} logos}}
 ...\mark{{}{\protect \MakeUppercase  {1\hskip 1em\relax \protect \LaTeX  {} and \protect \SLiTeX  {} logos}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1}\protect \LaTeX  {} and \protect \SLiTeX  {} logos}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
@@ -880,6 +882,8 @@ Completed box being shipped out [3]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {2\hskip 1em\relax Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}}
+...\marks3{\protect \MakeUppercase  {2\hskip 1em\relax Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}}
 ...\mark{{}{\protect \MakeUppercase  {2\hskip 1em\relax Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {2}Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
@@ -908,6 +912,9 @@ Completed box being shipped out [3]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks1{\protect \MakeUppercase  {Contents}}
+...\marks2{\protect \MakeUppercase  {Contents}}
+...\marks3{\protect \MakeUppercase  {Contents}}
 ...\mark{{\protect \MakeUppercase  {Contents}}{\protect \MakeUppercase  {Contents}}}
 ...\penalty 10000
 ...\glue 9.90276 plus 0.86108
@@ -1063,6 +1070,9 @@ Completed box being shipped out [3]
 ....\glue(\rightskip) 0.0
 ...\penalty 10000
 ...\glue 9.90276 plus 0.86108
+...\marks1{\protect \MakeUppercase  {List of Figures}}
+...\marks2{\protect \MakeUppercase  {List of Figures}}
+...\marks3{\protect \MakeUppercase  {List of Figures}}
 ...\mark{{\protect \MakeUppercase  {List of Figures}}{\protect \MakeUppercase  {List of Figures}}}
 ...\penalty 10000
 ...\glue 0.0 plus 0.2
diff --git a/base/testfiles/vlatex02.tlg b/base/testfiles/vlatex02.tlg
index f37a2079..dce4584c 100644
--- a/base/testfiles/vlatex02.tlg
+++ b/base/testfiles/vlatex02.tlg
@@ -467,6 +467,8 @@ Completed box being shipped out [2]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1\hskip 1em\relax \protect \LaTeX  {} and \protect \SLiTeX  {} logos}}
+...\marks3{\protect \MakeUppercase  {1\hskip 1em\relax \protect \LaTeX  {} and \protect \SLiTeX  {} logos}}
 ...\mark{{}{\protect \MakeUppercase  {1\hskip 1em\relax \protect \LaTeX  {} and \protect \SLiTeX  {} logos}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1}\protect \LaTeX  {} and \protect \SLiTeX  {} logos}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
@@ -770,6 +772,8 @@ Completed box being shipped out [3]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {2\hskip 1em\relax Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}}
+...\marks3{\protect \MakeUppercase  {2\hskip 1em\relax Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}}
 ...\mark{{}{\protect \MakeUppercase  {2\hskip 1em\relax Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {2}Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
@@ -793,6 +797,9 @@ Completed box being shipped out [3]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks1{\protect \MakeUppercase  {Contents}}
+...\marks2{\protect \MakeUppercase  {Contents}}
+...\marks3{\protect \MakeUppercase  {Contents}}
 ...\mark{{\protect \MakeUppercase  {Contents}}{\protect \MakeUppercase  {Contents}}}
 ...\penalty 10000
 ...\glue 9.90276 plus 0.86108
@@ -929,6 +936,9 @@ Completed box being shipped out [3]
 ....\glue(\rightskip) 0.0
 ...\penalty 10000
 ...\glue 9.90276 plus 0.86108
+...\marks1{\protect \MakeUppercase  {List of Figures}}
+...\marks2{\protect \MakeUppercase  {List of Figures}}
+...\marks3{\protect \MakeUppercase  {List of Figures}}
 ...\mark{{\protect \MakeUppercase  {List of Figures}}{\protect \MakeUppercase  {List of Figures}}}
 ...\penalty 10000
 ...\glue 0.0 plus 0.2
diff --git a/base/testfiles/vlatex06-2015.luatex.tlg b/base/testfiles/vlatex06-2015.luatex.tlg
index d37b0435..3a32f32b 100644
--- a/base/testfiles/vlatex06-2015.luatex.tlg
+++ b/base/testfiles/vlatex06-2015.luatex.tlg
@@ -38,6 +38,8 @@ Completed box being shipped out [1]
 ...\write-{}
 ...\write-{}
 ...\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberline {1}First chapter}{\thepage }{}\protected at file@percent }}
+...\marks1{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}
+...\marks2{\prg_do_nothing: }
 ...\mark{{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}{}}
 ...\write1{\@writefile{lof}{\protect \addvspace {10\p@ }}}
 ...\write1{\@writefile{lot}{\protect \addvspace {10\p@ }}}
@@ -160,6 +162,8 @@ Completed box being shipped out [1]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1.1. \ First section}}
+...\marks3{\protect \MakeUppercase  {1.1. \ First section}}
 ...\mark{{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}{\protect \MakeUppercase  {1.1. \ First section}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.1}First section}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
@@ -419,6 +423,8 @@ Completed box being shipped out [1]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1.2. \ Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}}
+...\marks3{\protect \MakeUppercase  {1.2. \ Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}}
 ...\mark{{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}{\protect \MakeUppercase  {1.2. \ Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.2}Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
@@ -1913,6 +1919,9 @@ Completed box being shipped out [3]
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.3}Third section}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
 ...\glue 9.90276 plus 0.86108
+...\marks1{{\protect \bf  section\ 1.3}\hfil MY HEADINGS}
+...\marks2{{\protect \bf  Section\ 1.3}\hfil MY HEADINGS}
+...\marks3{{\protect \bf  Section\ 1.3}\hfil MY HEADINGS}
 ...\mark{{{\protect \bf  section\ 1.3}\hfil MY HEADINGS}{{\protect \bf  Section\ 1.3}\hfil MY HEADINGS}}
 ...\penalty 10000
 ...\glue(\parskip) 0.0 plus 1.0
@@ -3300,6 +3309,8 @@ Completed box being shipped out [5]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1.5. \ Are `\{' and `\}' fragile?\label {last:section}}}
+...\marks3{\protect \MakeUppercase  {1.5. \ Are `\{' and `\}' fragile?\label {last:section}}}
 ...\mark{{{\protect \bf  section\ 1.3}\hfil MY HEADINGS}{\protect \MakeUppercase  {1.5. \ Are `\{' and `\}' fragile?\label {last:section}}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.5}Are `\{' and `\}' fragile?}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
@@ -4030,6 +4041,9 @@ Completed box being shipped out [7]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0 plus 1.0fil
+...\marks1{\protect \MakeUppercase  {Contents}}
+...\marks2{\protect \MakeUppercase  {Contents}}
+...\marks3{\protect \MakeUppercase  {Contents}}
 ...\mark{{\protect \MakeUppercase  {Contents}}{\protect \MakeUppercase  {Contents}}}
 ...\penalty 10000
 ...\glue 40.0
diff --git a/base/testfiles/vlatex06-2015.tlg b/base/testfiles/vlatex06-2015.tlg
index 714244f4..72ed5703 100644
--- a/base/testfiles/vlatex06-2015.tlg
+++ b/base/testfiles/vlatex06-2015.tlg
@@ -38,6 +38,8 @@ Completed box being shipped out [1]
 ...\write-{}
 ...\write-{}
 ...\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberline {1}First chapter}{\thepage }{}\protected at file@percent }}
+...\marks1{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}
+...\marks2{\prg_do_nothing: }
 ...\mark{{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}{}}
 ...\write1{\@writefile{lof}{\protect \addvspace {10\p@ }}}
 ...\write1{\@writefile{lot}{\protect \addvspace {10\p@ }}}
@@ -134,6 +136,8 @@ Completed box being shipped out [1]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1.1. \ First section}}
+...\marks3{\protect \MakeUppercase  {1.1. \ First section}}
 ...\mark{{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}{\protect \MakeUppercase  {1.1. \ First section}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.1}First section}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
@@ -356,6 +360,8 @@ Completed box being shipped out [1]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1.2. \ Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}}
+...\marks3{\protect \MakeUppercase  {1.2. \ Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}}
 ...\mark{{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}{\protect \MakeUppercase  {1.2. \ Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.2}Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
@@ -1713,6 +1719,9 @@ Completed box being shipped out [3]
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.3}Third section}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
 ...\glue 9.90276 plus 0.86108
+...\marks1{{\protect \bf  section\ 1.3}\hfil MY HEADINGS}
+...\marks2{{\protect \bf  Section\ 1.3}\hfil MY HEADINGS}
+...\marks3{{\protect \bf  Section\ 1.3}\hfil MY HEADINGS}
 ...\mark{{{\protect \bf  section\ 1.3}\hfil MY HEADINGS}{{\protect \bf  Section\ 1.3}\hfil MY HEADINGS}}
 ...\penalty 10000
 ...\glue(\parskip) 0.0 plus 1.0
@@ -2896,6 +2905,8 @@ Completed box being shipped out [5]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1.5. \ Are `\{' and `\}' fragile?\label {last:section}}}
+...\marks3{\protect \MakeUppercase  {1.5. \ Are `\{' and `\}' fragile?\label {last:section}}}
 ...\mark{{{\protect \bf  section\ 1.3}\hfil MY HEADINGS}{\protect \MakeUppercase  {1.5. \ Are `\{' and `\}' fragile?\label {last:section}}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.5}Are `\{' and `\}' fragile?}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
@@ -3554,6 +3565,9 @@ Completed box being shipped out [7]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0 plus 1.0fil
+...\marks1{\protect \MakeUppercase  {Contents}}
+...\marks2{\protect \MakeUppercase  {Contents}}
+...\marks3{\protect \MakeUppercase  {Contents}}
 ...\mark{{\protect \MakeUppercase  {Contents}}{\protect \MakeUppercase  {Contents}}}
 ...\penalty 10000
 ...\glue 40.0
diff --git a/base/testfiles/vlatex06.luatex.tlg b/base/testfiles/vlatex06.luatex.tlg
index a659682a..8d9ad972 100644
--- a/base/testfiles/vlatex06.luatex.tlg
+++ b/base/testfiles/vlatex06.luatex.tlg
@@ -40,6 +40,8 @@ Completed box being shipped out [1]
 ...\write-{}
 ...\write-{}
 ...\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberline {1}First chapter}{\thepage }}}
+...\marks1{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}
+...\marks2{\prg_do_nothing: }
 ...\mark{{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}{}}
 ...\write1{\@writefile{lof}{\protect \addvspace {10\p@ }}}
 ...\write1{\@writefile{lot}{\protect \addvspace {10\p@ }}}
@@ -158,6 +160,8 @@ Completed box being shipped out [1]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1.1. \ First section}}
+...\marks3{\protect \MakeUppercase  {1.1. \ First section}}
 ...\mark{{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}{\protect \MakeUppercase  {1.1. \ First section}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.1}First section}{\thepage }}}
 ...\penalty 10000
@@ -412,6 +416,8 @@ Completed box being shipped out [1]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1.2. \ Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}}
+...\marks3{\protect \MakeUppercase  {1.2. \ Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}}
 ...\mark{{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}{\protect \MakeUppercase  {1.2. \ Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.2}Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}{\thepage }}}
 ...\penalty 10000
@@ -1882,6 +1888,12 @@ Completed box being shipped out [3]
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.3}Third section}{\thepage }}}
 ...\penalty 10000
 ...\glue 9.90276 plus 0.86108
+...\marks1{{\protect \bf  section\ 1.3}\hfil MY HEADINGS}
+...\penalty 10000
+...\marks2{{\protect \bf  Section\ 1.3}\hfil MY HEADINGS}
+...\penalty 10000
+...\marks3{{\protect \bf  Section\ 1.3}\hfil MY HEADINGS}
+...\penalty 10000
 ...\mark{{{\protect \bf  section\ 1.3}\hfil MY HEADINGS}{{\protect \bf  Section\ 1.3}\hfil MY HEADINGS}}
 ...\penalty 10000
 ...\glue(\parskip) 0.0 plus 1.0
@@ -3244,6 +3256,8 @@ Completed box being shipped out [5]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1.5. \ Are `\{' and `\}' fragile?\label {last:section}}}
+...\marks3{\protect \MakeUppercase  {1.5. \ Are `\{' and `\}' fragile?\label {last:section}}}
 ...\mark{{{\protect \bf  section\ 1.3}\hfil MY HEADINGS}{\protect \MakeUppercase  {1.5. \ Are `\{' and `\}' fragile?\label {last:section}}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.5}Are `\{' and `\}' fragile?}{\thepage }}}
 ...\penalty 10000
@@ -3958,6 +3972,9 @@ Completed box being shipped out [7]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0 plus 1.0fil
+...\marks1{\protect \MakeUppercase  {Contents}}
+...\marks2{\protect \MakeUppercase  {Contents}}
+...\marks3{\protect \MakeUppercase  {Contents}}
 ...\mark{{\protect \MakeUppercase  {Contents}}{\protect \MakeUppercase  {Contents}}}
 ...\penalty 10000
 ...\glue 40.0
diff --git a/base/testfiles/vlatex06.tlg b/base/testfiles/vlatex06.tlg
index 76f91c64..b1b68ed7 100644
--- a/base/testfiles/vlatex06.tlg
+++ b/base/testfiles/vlatex06.tlg
@@ -40,6 +40,8 @@ Completed box being shipped out [1]
 ...\write-{}
 ...\write-{}
 ...\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberline {1}First chapter}{\thepage }}}
+...\marks1{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}
+...\marks2{\prg_do_nothing: }
 ...\mark{{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}{}}
 ...\write1{\@writefile{lof}{\protect \addvspace {10\p@ }}}
 ...\write1{\@writefile{lot}{\protect \addvspace {10\p@ }}}
@@ -132,6 +134,8 @@ Completed box being shipped out [1]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1.1. \ First section}}
+...\marks3{\protect \MakeUppercase  {1.1. \ First section}}
 ...\mark{{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}{\protect \MakeUppercase  {1.1. \ First section}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.1}First section}{\thepage }}}
 ...\penalty 10000
@@ -349,6 +353,8 @@ Completed box being shipped out [1]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1.2. \ Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}}
+...\marks3{\protect \MakeUppercase  {1.2. \ Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}}
 ...\mark{{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}{\protect \MakeUppercase  {1.2. \ Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.2}Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}{\thepage }}}
 ...\penalty 10000
@@ -1682,6 +1688,12 @@ Completed box being shipped out [3]
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.3}Third section}{\thepage }}}
 ...\penalty 10000
 ...\glue 9.90276 plus 0.86108
+...\marks1{{\protect \bf  section\ 1.3}\hfil MY HEADINGS}
+...\penalty 10000
+...\marks2{{\protect \bf  Section\ 1.3}\hfil MY HEADINGS}
+...\penalty 10000
+...\marks3{{\protect \bf  Section\ 1.3}\hfil MY HEADINGS}
+...\penalty 10000
 ...\mark{{{\protect \bf  section\ 1.3}\hfil MY HEADINGS}{{\protect \bf  Section\ 1.3}\hfil MY HEADINGS}}
 ...\penalty 10000
 ...\glue(\parskip) 0.0 plus 1.0
@@ -2840,6 +2852,8 @@ Completed box being shipped out [5]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1.5. \ Are `\{' and `\}' fragile?\label {last:section}}}
+...\marks3{\protect \MakeUppercase  {1.5. \ Are `\{' and `\}' fragile?\label {last:section}}}
 ...\mark{{{\protect \bf  section\ 1.3}\hfil MY HEADINGS}{\protect \MakeUppercase  {1.5. \ Are `\{' and `\}' fragile?\label {last:section}}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.5}Are `\{' and `\}' fragile?}{\thepage }}}
 ...\penalty 10000
@@ -3482,6 +3496,9 @@ Completed box being shipped out [7]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0 plus 1.0fil
+...\marks1{\protect \MakeUppercase  {Contents}}
+...\marks2{\protect \MakeUppercase  {Contents}}
+...\marks3{\protect \MakeUppercase  {Contents}}
 ...\mark{{\protect \MakeUppercase  {Contents}}{\protect \MakeUppercase  {Contents}}}
 ...\penalty 10000
 ...\glue 40.0
diff --git a/base/testfiles/vtl2e02.luatex.tlg b/base/testfiles/vtl2e02.luatex.tlg
index 1dae6f0b..d9553826 100644
--- a/base/testfiles/vtl2e02.luatex.tlg
+++ b/base/testfiles/vtl2e02.luatex.tlg
@@ -474,6 +474,8 @@ Completed box being shipped out [2]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1\hskip 1em\relax \protect \LaTeX  {} logo}}
+...\marks3{\protect \MakeUppercase  {1\hskip 1em\relax \protect \LaTeX  {} logo}}
 ...\mark{{}{\protect \MakeUppercase  {1\hskip 1em\relax \protect \LaTeX  {} logo}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1}\protect \LaTeX  {} logo}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
@@ -814,6 +816,8 @@ Completed box being shipped out [3]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {2\hskip 1em\relax Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}}
+...\marks3{\protect \MakeUppercase  {2\hskip 1em\relax Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}}
 ...\mark{{}{\protect \MakeUppercase  {2\hskip 1em\relax Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {2}Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
@@ -842,6 +846,9 @@ Completed box being shipped out [3]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks1{\protect \MakeUppercase  {Contents}}
+...\marks2{\protect \MakeUppercase  {Contents}}
+...\marks3{\protect \MakeUppercase  {Contents}}
 ...\mark{{\protect \MakeUppercase  {Contents}}{\protect \MakeUppercase  {Contents}}}
 ...\penalty 10000
 ...\glue 9.90276 plus 0.86108
@@ -977,6 +984,9 @@ Completed box being shipped out [3]
 ....\glue(\rightskip) 0.0
 ...\penalty 10000
 ...\glue 9.90276 plus 0.86108
+...\marks1{\protect \MakeUppercase  {List of Figures}}
+...\marks2{\protect \MakeUppercase  {List of Figures}}
+...\marks3{\protect \MakeUppercase  {List of Figures}}
 ...\mark{{\protect \MakeUppercase  {List of Figures}}{\protect \MakeUppercase  {List of Figures}}}
 ...\penalty 10000
 ...\glue 0.0 plus 0.2
diff --git a/base/testfiles/vtl2e02.tlg b/base/testfiles/vtl2e02.tlg
index dc0f464f..cd3ed29d 100644
--- a/base/testfiles/vtl2e02.tlg
+++ b/base/testfiles/vtl2e02.tlg
@@ -410,6 +410,8 @@ Completed box being shipped out [2]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1\hskip 1em\relax \protect \LaTeX  {} logo}}
+...\marks3{\protect \MakeUppercase  {1\hskip 1em\relax \protect \LaTeX  {} logo}}
 ...\mark{{}{\protect \MakeUppercase  {1\hskip 1em\relax \protect \LaTeX  {} logo}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1}\protect \LaTeX  {} logo}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
@@ -709,6 +711,8 @@ Completed box being shipped out [3]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {2\hskip 1em\relax Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}}
+...\marks3{\protect \MakeUppercase  {2\hskip 1em\relax Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}}
 ...\mark{{}{\protect \MakeUppercase  {2\hskip 1em\relax Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {2}Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
@@ -732,6 +736,9 @@ Completed box being shipped out [3]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks1{\protect \MakeUppercase  {Contents}}
+...\marks2{\protect \MakeUppercase  {Contents}}
+...\marks3{\protect \MakeUppercase  {Contents}}
 ...\mark{{\protect \MakeUppercase  {Contents}}{\protect \MakeUppercase  {Contents}}}
 ...\penalty 10000
 ...\glue 9.90276 plus 0.86108
@@ -850,6 +857,9 @@ Completed box being shipped out [3]
 ....\glue(\rightskip) 0.0
 ...\penalty 10000
 ...\glue 9.90276 plus 0.86108
+...\marks1{\protect \MakeUppercase  {List of Figures}}
+...\marks2{\protect \MakeUppercase  {List of Figures}}
+...\marks3{\protect \MakeUppercase  {List of Figures}}
 ...\mark{{\protect \MakeUppercase  {List of Figures}}{\protect \MakeUppercase  {List of Figures}}}
 ...\penalty 10000
 ...\glue 0.0 plus 0.2
diff --git a/base/testfiles/vtl2e06.luatex.tlg b/base/testfiles/vtl2e06.luatex.tlg
index 5fb4ba33..e6768e01 100644
--- a/base/testfiles/vtl2e06.luatex.tlg
+++ b/base/testfiles/vtl2e06.luatex.tlg
@@ -36,6 +36,8 @@ Completed box being shipped out [1]
 ...\write-{}
 ...\write-{}
 ...\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberline {1}First chapter}{\thepage }{}\protected at file@percent }}
+...\marks1{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}
+...\marks2{\prg_do_nothing: }
 ...\mark{{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}{}}
 ...\write1{\@writefile{lof}{\protect \addvspace {10\p@ }}}
 ...\write1{\@writefile{lot}{\protect \addvspace {10\p@ }}}
@@ -158,6 +160,8 @@ Completed box being shipped out [1]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1.1. \ First section}}
+...\marks3{\protect \MakeUppercase  {1.1. \ First section}}
 ...\mark{{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}{\protect \MakeUppercase  {1.1. \ First section}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.1}First section}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
@@ -417,6 +421,8 @@ Completed box being shipped out [1]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1.2. \ Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}}
+...\marks3{\protect \MakeUppercase  {1.2. \ Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}}
 ...\mark{{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}{\protect \MakeUppercase  {1.2. \ Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.2}Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
@@ -1911,6 +1917,9 @@ Completed box being shipped out [3]
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.3}Third section}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
 ...\glue 9.90276 plus 0.86108
+...\marks1{{\protect \bf  section\ 1.3}\hfil MY HEADINGS}
+...\marks2{{\protect \bf  Section\ 1.3}\hfil MY HEADINGS}
+...\marks3{{\protect \bf  Section\ 1.3}\hfil MY HEADINGS}
 ...\mark{{{\protect \bf  section\ 1.3}\hfil MY HEADINGS}{{\protect \bf  Section\ 1.3}\hfil MY HEADINGS}}
 ...\penalty 10000
 ...\glue(\parskip) 0.0 plus 1.0
@@ -3296,6 +3305,8 @@ Completed box being shipped out [5]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1.5. \ Are `\{' and `\}' fragile?\label {last:section}}}
+...\marks3{\protect \MakeUppercase  {1.5. \ Are `\{' and `\}' fragile?\label {last:section}}}
 ...\mark{{{\protect \bf  section\ 1.3}\hfil MY HEADINGS}{\protect \MakeUppercase  {1.5. \ Are `\{' and `\}' fragile?\label {last:section}}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.5}Are `\{' and `\}' fragile?}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
@@ -3984,6 +3995,9 @@ Completed box being shipped out [7]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0 plus 1.0fil
+...\marks1{\protect \MakeUppercase  {Contents}}
+...\marks2{\protect \MakeUppercase  {Contents}}
+...\marks3{\protect \MakeUppercase  {Contents}}
 ...\mark{{\protect \MakeUppercase  {Contents}}{\protect \MakeUppercase  {Contents}}}
 ...\penalty 10000
 ...\glue 40.0
diff --git a/base/testfiles/vtl2e06.tlg b/base/testfiles/vtl2e06.tlg
index 40646e21..3225e9e1 100644
--- a/base/testfiles/vtl2e06.tlg
+++ b/base/testfiles/vtl2e06.tlg
@@ -36,6 +36,8 @@ Completed box being shipped out [1]
 ...\write-{}
 ...\write-{}
 ...\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberline {1}First chapter}{\thepage }{}\protected at file@percent }}
+...\marks1{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}
+...\marks2{\prg_do_nothing: }
 ...\mark{{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}{}}
 ...\write1{\@writefile{lof}{\protect \addvspace {10\p@ }}}
 ...\write1{\@writefile{lot}{\protect \addvspace {10\p@ }}}
@@ -132,6 +134,8 @@ Completed box being shipped out [1]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1.1. \ First section}}
+...\marks3{\protect \MakeUppercase  {1.1. \ First section}}
 ...\mark{{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}{\protect \MakeUppercase  {1.1. \ First section}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.1}First section}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
@@ -354,6 +358,8 @@ Completed box being shipped out [1]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1.2. \ Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}}
+...\marks3{\protect \MakeUppercase  {1.2. \ Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}}
 ...\mark{{\protect \MakeUppercase  {Chapter\ 1. \ First chapter}}{\protect \MakeUppercase  {1.2. \ Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.2}Do $\protect \longrightarrow  $ and $\protect \longleftarrow  $ or $\protect \longleftrightarrow  $ need protect'ing?}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
@@ -1711,6 +1717,9 @@ Completed box being shipped out [3]
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.3}Third section}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
 ...\glue 9.90276 plus 0.86108
+...\marks1{{\protect \bf  section\ 1.3}\hfil MY HEADINGS}
+...\marks2{{\protect \bf  Section\ 1.3}\hfil MY HEADINGS}
+...\marks3{{\protect \bf  Section\ 1.3}\hfil MY HEADINGS}
 ...\mark{{{\protect \bf  section\ 1.3}\hfil MY HEADINGS}{{\protect \bf  Section\ 1.3}\hfil MY HEADINGS}}
 ...\penalty 10000
 ...\glue(\parskip) 0.0 plus 1.0
@@ -2892,6 +2901,8 @@ Completed box being shipped out [5]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
+...\marks2{\protect \MakeUppercase  {1.5. \ Are `\{' and `\}' fragile?\label {last:section}}}
+...\marks3{\protect \MakeUppercase  {1.5. \ Are `\{' and `\}' fragile?\label {last:section}}}
 ...\mark{{{\protect \bf  section\ 1.3}\hfil MY HEADINGS}{\protect \MakeUppercase  {1.5. \ Are `\{' and `\}' fragile?\label {last:section}}}}
 ...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.5}Are `\{' and `\}' fragile?}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
@@ -3518,6 +3529,9 @@ Completed box being shipped out [7]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0 plus 1.0fil
+...\marks1{\protect \MakeUppercase  {Contents}}
+...\marks2{\protect \MakeUppercase  {Contents}}
+...\marks3{\protect \MakeUppercase  {Contents}}
 ...\mark{{\protect \MakeUppercase  {Contents}}{\protect \MakeUppercase  {Contents}}}
 ...\penalty 10000
 ...\glue 40.0





More information about the latex3-commits mailing list.