[latex3-commits] [latex3/latex2e] develop: Use a protected def for tilde which is safe in csnames (e98027dc)

github at latex-project.org github at latex-project.org
Fri Oct 27 11:12:07 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/e98027dcfd95d74d99e0c724739b55df894311d1

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

commit e98027dcfd95d74d99e0c724739b55df894311d1
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Oct 26 15:17:49 2023 +0100

    Use a protected def for tilde which is safe in csnames


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

e98027dcfd95d74d99e0c724739b55df894311d1
 base/changes.txt                                    |  4 ++++
 base/doc/ltnews38.tex                               |  9 ++++++++-
 base/ltspace.dtx                                    | 21 +++++++++++++++++++--
 base/testfiles-lthooks/lthooks-rollback-args.tlg    |  2 ++
 base/testfiles/github-0479-often.luatex.tlg         |  2 ++
 base/testfiles/github-0479-often.tlg                |  2 ++
 base/testfiles/github-0479-often.xetex.tlg          |  2 ++
 .../tlb-latexrelease-rollback-003-often.luatex.tlg  |  4 ++++
 .../tlb-latexrelease-rollback-003-often.tlg         |  4 ++++
 .../tlb-latexrelease-rollback-003-often.xetex.tlg   |  4 ++++
 .../tlb-latexrelease-rollback-2020-10-01.luatex.tlg |  2 ++
 .../tlb-latexrelease-rollback-2020-10-01.tlg        |  2 ++
 .../tlb-latexrelease-rollback-2020-10-01.xetex.tlg  |  2 ++
 .../tlb-latexrelease-rollback-2021-06-01.luatex.tlg |  2 ++
 .../tlb-latexrelease-rollback-2021-06-01.tlg        |  2 ++
 .../tlb-latexrelease-rollback-2021-06-01.xetex.tlg  |  2 ++
 .../tlb-latexrelease-rollback-2021-11-15.luatex.tlg |  2 ++
 .../tlb-latexrelease-rollback-2021-11-15.tlg        |  2 ++
 .../tlb-latexrelease-rollback-2021-11-15.xetex.tlg  |  2 ++
 .../tlb-latexrelease-rollback-2022-06-01.luatex.tlg |  2 ++
 .../tlb-latexrelease-rollback-2022-06-01.tlg        |  2 ++
 .../tlb-latexrelease-rollback-2022-06-01.xetex.tlg  |  2 ++
 .../tlb-latexrelease-rollback-2022-11-01.luatex.tlg |  2 ++
 .../tlb-latexrelease-rollback-2022-11-01.tlg        |  2 ++
 .../tlb-latexrelease-rollback-2022-11-01.xetex.tlg  |  2 ++
 .../tlb-latexrelease-rollback-2023-06-01.luatex.tlg |  2 ++
 .../tlb-latexrelease-rollback-2023-06-01.tlg        |  2 ++
 .../tlb-latexrelease-rollback-2023-06-01.xetex.tlg  |  2 ++
 base/testfiles/tlb-rollback-004-often.luatex.tlg    |  2 ++
 base/testfiles/tlb-rollback-004-often.tlg           |  2 ++
 base/testfiles/tlb-rollback-004-often.xetex.tlg     |  2 ++
 base/testfiles/tlb-rollback-005.luatex.tlg          |  2 ++
 base/testfiles/tlb-rollback-005.tlg                 |  2 ++
 base/testfiles/tlb-rollback-005.xetex.tlg           |  2 ++
 base/testfiles/vlatex02.luatex.tlg                  |  8 ++++----
 base/testfiles/vlatex02.tlg                         |  8 ++++----
 base/testfiles/vtl2e02.luatex.tlg                   |  8 ++++----
 base/testfiles/vtl2e02.tlg                          |  8 ++++----
 38 files changed, 115 insertions(+), 19 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index d84e25b0..5b8acb74 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,6 +6,10 @@ completeness or accuracy and it contains some references to files that
 are not part of the distribution.
 ================================================================================
 
+2023-10-26 Joseph Wright  <Joseph.Wright at latex-project.org>
+	* ltspace.tex:
+	Use a protected definition for tilde which is safe in csnames
+
 2023-10-21 Yukai Chou  <muzimuzhi at gmai.com>
 	* ltfssbas.dtx, ltplain.dtx, ltspace.dtx:
 	Correct typos
diff --git a/base/doc/ltnews38.tex b/base/doc/ltnews38.tex
index b8067d17..70ec9da1 100644
--- a/base/doc/ltnews38.tex
+++ b/base/doc/ltnews38.tex
@@ -381,7 +381,14 @@ behavior can be adjusted if required to be different from that of spaces.
 %
 \githubissue{1085}
 
-
+\subsection{Aligning status of tilde with other active characters}
+
+Some time ago we revised the definition of active characters in \pdfTeX{} to
+allow the full range of UTF-8 codepoints to be used in for example labels,
+file names, etc. However, |~| was not changed at that point as it is active
+independent of the engine in use. This has how be corrected: the definition
+of |~| is an engine-protected one which gives the string version of the
+character if used inside a csname.
 
 \subsection{In the programming layer}
 
diff --git a/base/ltspace.dtx b/base/ltspace.dtx
index 3896bb7c..0c08ab52 100644
--- a/base/ltspace.dtx
+++ b/base/ltspace.dtx
@@ -32,7 +32,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltspace.dtx}
-             [2023/10/21 v1.3q LaTeX Kernel (spacing)]
+             [2023/10/26 v1.3r LaTeX Kernel (spacing)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltspace.dtx}
@@ -1195,6 +1195,7 @@
 %
 % \begin{macro}{\nobreakspace}
 % \changes{v1.2k}{1995/12/04}{(Macro added}
+% \changes{v1.3r}{2023/10/26}{Protected definition for tilde}
 % \begin{macro}{\@xobeysp}
 % \changes{v1.2t}{1996/09/28}{Moved from ltmiscen.dtx and redefined to
 %                 use \cs{nobreakspace }}
@@ -1217,7 +1218,23 @@
 \DeclareRobustCommand{\nobreakspace}{%
    \leavevmode\nobreak\ }
 \catcode `\~=13
-\def~{\nobreakspace{}}
+%</2ekernel>
+%<latexrelease>\IncludeInRelease{2023/11/01}%
+%<latexrelease>                 {[tilde]}{Protected tilde}%
+%<*2ekernel|latexrelease>
+\protected\edef~{%
+  \noexpand\ifincsname\noexpand\expandafter\string~%
+  \noexpand\else
+    \noexpand\expandafter\noexpand\nobreakspace
+  \noexpand\fi
+}
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{0000/00/00}%
+%<latexrelease>                 {[tilde]}{Protected tilde}%
+%<latexrelease>\def~{\nobreakspace{}}
+%<latexrelease>\EndIncludeInRelease
+%<*2ekernel>
 \expandafter\let\expandafter\@xobeysp\csname nobreakspace \endcsname
 %    \end{macrocode}
 % \end{macro}
diff --git a/base/testfiles-lthooks/lthooks-rollback-args.tlg b/base/testfiles-lthooks/lthooks-rollback-args.tlg
index 027ab306..49d4ffc3 100644
--- a/base/testfiles-lthooks/lthooks-rollback-args.tlg
+++ b/base/testfiles-lthooks/lthooks-rollback-args.tlg
@@ -293,6 +293,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/github-0479-often.luatex.tlg b/base/testfiles/github-0479-often.luatex.tlg
index cbd20100..deb1ebdb 100644
--- a/base/testfiles/github-0479-often.luatex.tlg
+++ b/base/testfiles/github-0479-often.luatex.tlg
@@ -303,6 +303,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/github-0479-often.tlg b/base/testfiles/github-0479-often.tlg
index a2769fda..5f6507df 100644
--- a/base/testfiles/github-0479-often.tlg
+++ b/base/testfiles/github-0479-often.tlg
@@ -293,6 +293,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/github-0479-often.xetex.tlg b/base/testfiles/github-0479-often.xetex.tlg
index f1c7d05b..4736dcb4 100644
--- a/base/testfiles/github-0479-often.xetex.tlg
+++ b/base/testfiles/github-0479-often.xetex.tlg
@@ -293,6 +293,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
index c8cb0863..7a477b84 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
@@ -281,6 +281,8 @@ Skipping: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] \addpenalty  on input line ....
 Skipping: [....-..-..] Support calc in \vspace  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Skipping: [....-..-..] Space after \@  on input line ....
@@ -1058,6 +1060,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Skipping: [....-..-..] Support calc in \vspace  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
index 927e8901..00773efb 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
@@ -275,6 +275,8 @@ Skipping: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] \addpenalty  on input line ....
 Skipping: [....-..-..] Support calc in \vspace  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Skipping: [....-..-..] Space after \@  on input line ....
@@ -1042,6 +1044,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Skipping: [....-..-..] Support calc in \vspace  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
index b7ce6299..d4c8d2c2 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
@@ -275,6 +275,8 @@ Skipping: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] \addpenalty  on input line ....
 Skipping: [....-..-..] Support calc in \vspace  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Skipping: [....-..-..] Space after \@  on input line ....
@@ -1051,6 +1053,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Skipping: [....-..-..] Support calc in \vspace  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg
index aec36527..228293e3 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg
@@ -303,6 +303,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg
index 2b2a591c..ea3e385a 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg
@@ -293,6 +293,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg
index d34f5c78..676a7032 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg
@@ -293,6 +293,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg
index 95b4436c..7457a9c8 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg
@@ -304,6 +304,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg
index 4e34079c..1d0b4ade 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg
@@ -293,6 +293,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg
index c3284335..ead1be06 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg
@@ -293,6 +293,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg
index 57fe36ff..b6f505de 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg
@@ -304,6 +304,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg
index 53ac9f41..a27ab3ba 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg
@@ -293,6 +293,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg
index 84ac7c27..a366d17d 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg
@@ -293,6 +293,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg
index 537e9944..821d9fd8 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg
@@ -305,6 +305,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg
index 5f644bca..bdbc89d6 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg
@@ -294,6 +294,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg
index a89f1e19..db94d455 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg
@@ -294,6 +294,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.luatex.tlg
index c01a6d22..371ea8d7 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.luatex.tlg
@@ -305,6 +305,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg
index 54240785..1e83fad4 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg
@@ -294,6 +294,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.xetex.tlg
index 236eca4c..cb7be23f 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.xetex.tlg
@@ -294,6 +294,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2023-06-01.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2023-06-01.luatex.tlg
index 2e261a9f..8830c1e0 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2023-06-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2023-06-01.luatex.tlg
@@ -305,6 +305,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2023-06-01.tlg b/base/testfiles/tlb-latexrelease-rollback-2023-06-01.tlg
index d9f4b45d..3c85ceef 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2023-06-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2023-06-01.tlg
@@ -294,6 +294,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2023-06-01.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2023-06-01.xetex.tlg
index 8d2d853b..b6f8d8ca 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2023-06-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2023-06-01.xetex.tlg
@@ -294,6 +294,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.luatex.tlg b/base/testfiles/tlb-rollback-004-often.luatex.tlg
index 6f8612a5..56d50eec 100644
--- a/base/testfiles/tlb-rollback-004-often.luatex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.luatex.tlg
@@ -304,6 +304,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Skipping: [....-..-..] Support calc in \vspace  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.tlg b/base/testfiles/tlb-rollback-004-often.tlg
index ec4fd78e..8cf93144 100644
--- a/base/testfiles/tlb-rollback-004-often.tlg
+++ b/base/testfiles/tlb-rollback-004-often.tlg
@@ -293,6 +293,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Skipping: [....-..-..] Support calc in \vspace  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.xetex.tlg b/base/testfiles/tlb-rollback-004-often.xetex.tlg
index c8249b84..fc379b67 100644
--- a/base/testfiles/tlb-rollback-004-often.xetex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.xetex.tlg
@@ -293,6 +293,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Skipping: [....-..-..] Support calc in \vspace  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-rollback-005.luatex.tlg b/base/testfiles/tlb-rollback-005.luatex.tlg
index 15d372f3..1a8f5fea 100644
--- a/base/testfiles/tlb-rollback-005.luatex.tlg
+++ b/base/testfiles/tlb-rollback-005.luatex.tlg
@@ -307,6 +307,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-rollback-005.tlg b/base/testfiles/tlb-rollback-005.tlg
index a236d4c7..ce3ae41a 100644
--- a/base/testfiles/tlb-rollback-005.tlg
+++ b/base/testfiles/tlb-rollback-005.tlg
@@ -297,6 +297,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/tlb-rollback-005.xetex.tlg b/base/testfiles/tlb-rollback-005.xetex.tlg
index df19964e..c3ed712a 100644
--- a/base/testfiles/tlb-rollback-005.xetex.tlg
+++ b/base/testfiles/tlb-rollback-005.xetex.tlg
@@ -297,6 +297,8 @@ Applying: [....-..-..] \addpenalty  on input line ....
 Already applied: [....-..-..] \addpenalty  on input line ....
 Applying: [....-..-..] Support calc in \vspace  on input line ....
 Already applied: [....-..-..] Support calc in \vspace  on input line ....
+Skipping: [....-..-..] Protected tilde on input line ....
+Applying: [....-..-..] Protected tilde on input line ....
 Skipping: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Obeyed tabs on input line ....
 Applying: [....-..-..] Space after \@  on input line ....
diff --git a/base/testfiles/vlatex02.luatex.tlg b/base/testfiles/vlatex02.luatex.tlg
index 96c26326..bd08e07d 100644
--- a/base/testfiles/vlatex02.luatex.tlg
+++ b/base/testfiles/vlatex02.luatex.tlg
@@ -882,10 +882,10 @@ Completed box being shipped out [3]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
-...\marks2{\MakeUppercase    []{2\hskip 1em\relax Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}}
-...\marks3{\MakeUppercase    []{2\hskip 1em\relax Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}}
-...\mark{{}{\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 }}
+...\marks2{\MakeUppercase    []{2\hskip 1em\relax Line~1\protect \\line~2}}
+...\marks3{\MakeUppercase    []{2\hskip 1em\relax Line~1\protect \\line~2}}
+...\mark{{}{\MakeUppercase    []{2\hskip 1em\relax Line~1\protect \\line~2}}}
+...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {2}Line~1\protect \\line~2}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
 ...\glue 9.90276 plus 0.86108
 ...\glue(\parskip) 0.0 plus 1.0
diff --git a/base/testfiles/vlatex02.tlg b/base/testfiles/vlatex02.tlg
index 0380a522..6aec25c5 100644
--- a/base/testfiles/vlatex02.tlg
+++ b/base/testfiles/vlatex02.tlg
@@ -772,10 +772,10 @@ Completed box being shipped out [3]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
-...\marks2{\MakeUppercase    []{2\hskip 1em\relax Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}}
-...\marks3{\MakeUppercase    []{2\hskip 1em\relax Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}}
-...\mark{{}{\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 }}
+...\marks2{\MakeUppercase    []{2\hskip 1em\relax Line~1\protect \\line~2}}
+...\marks3{\MakeUppercase    []{2\hskip 1em\relax Line~1\protect \\line~2}}
+...\mark{{}{\MakeUppercase    []{2\hskip 1em\relax Line~1\protect \\line~2}}}
+...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {2}Line~1\protect \\line~2}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
 ...\glue 9.90276 plus 0.86108
 ...\glue(\parskip) 0.0 plus 1.0
diff --git a/base/testfiles/vtl2e02.luatex.tlg b/base/testfiles/vtl2e02.luatex.tlg
index 130afdba..5ec8d5c6 100644
--- a/base/testfiles/vtl2e02.luatex.tlg
+++ b/base/testfiles/vtl2e02.luatex.tlg
@@ -816,10 +816,10 @@ Completed box being shipped out [3]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
-...\marks2{\MakeUppercase    []{2\hskip 1em\relax Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}}
-...\marks3{\MakeUppercase    []{2\hskip 1em\relax Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}}
-...\mark{{}{\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 }}
+...\marks2{\MakeUppercase    []{2\hskip 1em\relax Line~1\protect \\line~2}}
+...\marks3{\MakeUppercase    []{2\hskip 1em\relax Line~1\protect \\line~2}}
+...\mark{{}{\MakeUppercase    []{2\hskip 1em\relax Line~1\protect \\line~2}}}
+...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {2}Line~1\protect \\line~2}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
 ...\glue 9.90276 plus 0.86108
 ...\glue(\parskip) 0.0 plus 1.0
diff --git a/base/testfiles/vtl2e02.tlg b/base/testfiles/vtl2e02.tlg
index 01060800..a858d7a0 100644
--- a/base/testfiles/vtl2e02.tlg
+++ b/base/testfiles/vtl2e02.tlg
@@ -711,10 +711,10 @@ Completed box being shipped out [3]
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
-...\marks2{\MakeUppercase    []{2\hskip 1em\relax Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}}
-...\marks3{\MakeUppercase    []{2\hskip 1em\relax Line\protect \nobreakspace  {}1\protect \\line\protect \nobreakspace  {}2}}
-...\mark{{}{\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 }}
+...\marks2{\MakeUppercase    []{2\hskip 1em\relax Line~1\protect \\line~2}}
+...\marks3{\MakeUppercase    []{2\hskip 1em\relax Line~1\protect \\line~2}}
+...\mark{{}{\MakeUppercase    []{2\hskip 1em\relax Line~1\protect \\line~2}}}
+...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {2}Line~1\protect \\line~2}{\thepage }{}\protected at file@percent }}
 ...\penalty 10000
 ...\glue 9.90276 plus 0.86108
 ...\glue(\parskip) 0.0 plus 1.0





More information about the latex3-commits mailing list.