[latex3-commits] [git/LaTeX3-latex3-latex2e] master: 9+1 is not 10 in hex (380124c)

David Carlisle d.p.carlisle at gmail.com
Fri Mar 30 01:24:32 CEST 2018


Repository : https://github.com/latex3/latex2e
On branch  : master
Link       : https://github.com/latex3/latex2e/commit/380124c0ca562b887b0d567aa8a5b966fd2baf47

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

commit 380124c0ca562b887b0d567aa8a5b966fd2baf47
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Fri Mar 30 00:24:32 2018 +0100

    9+1 is not 10 in hex


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

380124c0ca562b887b0d567aa8a5b966fd2baf47
 base/testfiles/tltx001.luatex.tlg |  132 ------------------
 base/testfiles/tltx001.tlg        |  270 ++++++++++++++++++++++++++-----------
 base/utf8ienc.dtx                 |   10 +-
 3 files changed, 194 insertions(+), 218 deletions(-)

diff --git a/base/testfiles/tltx001.luatex.tlg b/base/testfiles/tltx001.luatex.tlg
index 5637c98..0314e6d 100644
--- a/base/testfiles/tltx001.luatex.tlg
+++ b/base/testfiles/tltx001.luatex.tlg
@@ -1743,141 +1743,9 @@ Type  H <return>  for immediate help.
 l. ...\mbox{\verb=zyx=}
 Try typing  <return>  to proceed.
 If that doesn't work, type  X <return>  to quit.
-! Text line contains an invalid character.
-l. ...^^A
-       ^^B^^C^^D^^E^^F^^G^^H^^I^^J^^K
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^A^^B
-          ^^C^^D^^E^^F^^G^^H^^I^^J^^K
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^A^^B^^C
-             ^^D^^E^^F^^G^^H^^I^^J^^K
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^A^^B^^C^^D
-                ^^E^^F^^G^^H^^I^^J^^K
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^A^^B^^C^^D^^E
-                   ^^F^^G^^H^^I^^J^^K
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^A^^B^^C^^D^^E^^F
-                      ^^G^^H^^I^^J^^K
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^A^^B^^C^^D^^E^^F^^G
-                         ^^H^^I^^J^^K
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^A^^B^^C^^D^^E^^F^^G^^H
-                            ^^I^^J^^K
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^A^^B^^C^^D^^E^^F^^G^^H^^I^^J^^K
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^N
-       ^^O^^P^^Q^^R^^S^^T^^U^^V^^W^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^N^^O
-          ^^P^^Q^^R^^S^^T^^U^^V^^W^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^N^^O^^P
-             ^^Q^^R^^S^^T^^U^^V^^W^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^N^^O^^P^^Q
-                ^^R^^S^^T^^U^^V^^W^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^N^^O^^P^^Q^^R
-                   ^^S^^T^^U^^V^^W^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^N^^O^^P^^Q^^R^^S
-                      ^^T^^U^^V^^W^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^N^^O^^P^^Q^^R^^S^^T
-                         ^^U^^V^^W^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^N^^O^^P^^Q^^R^^S^^T^^U
-                            ^^V^^W^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^N^^O^^P^^Q^^R^^S^^T^^U^^V
-                               ^^W^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^N^^O^^P^^Q^^R^^S^^T^^U^^V^^W
-                                  ^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^N^^O^^P^^Q^^R^^S^^T^^U^^V^^W^^X
-                                     ^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^N^^O^^P^^Q^^R^^S^^T^^U^^V^^W^^X^^Y
-                                        ^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^N^^O^^P^^Q^^R^^S^^T^^U^^V^^W^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^[
-       ^^\^^]^^^^^_
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^[^^\
-          ^^]^^^^^_
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^[^^\^^]
-             ^^^^^_
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
 ! ^^^^ needs four hex digits, end of input.
 l. ...^^[^^\^^]^
               ^^^^_
-! Text line contains an invalid character.
-l. ...^^[^^\^^]^^^
-                ^^_
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
-l. ...^^[^^\^^]^^^^^_
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
 LaTeX Warning: Citation `Pratchett:Weird-Sisters' on page 12 undefined on input line ....
 ! LaTeX Error: Too many columns in eqnarray environment.
 See the LaTeX manual or LaTeX Companion for explanation.
diff --git a/base/testfiles/tltx001.tlg b/base/testfiles/tltx001.tlg
index cc2d5e7..68bef0b 100644
--- a/base/testfiles/tltx001.tlg
+++ b/base/testfiles/tltx001.tlg
@@ -1520,138 +1520,246 @@ Type  H <return>  for immediate help.
 l. ...\mbox{\verb=zyx=}
 Try typing  <return>  to proceed.
 If that doesn't work, type  X <return>  to quit.
-! Text line contains an invalid character.
+! Package inputenc Error: Unicode character ^^A (U+1)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^A
          ^^B^^C^^D^^E^^F^^G^^H^^I^^J^^K
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^B (U+2)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^A^^B
             ^^C^^D^^E^^F^^G^^H^^I^^J^^K
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^C (U+3)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^A^^B^^C
                ^^D^^E^^F^^G^^H^^I^^J^^K
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^D (U+4)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^A^^B^^C^^D
                   ^^E^^F^^G^^H^^I^^J^^K
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^E (U+5)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^A^^B^^C^^D^^E
                      ^^F^^G^^H^^I^^J^^K
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^F (U+6)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^A^^B^^C^^D^^E^^F
                         ^^G^^H^^I^^J^^K
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^G (U+7)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^A^^B^^C^^D^^E^^F^^G
                            ^^H^^I^^J^^K
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^H (U+8)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^A^^B^^C^^D^^E^^F^^G^^H
                               ^^I^^J^^K
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^K (U+B)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^A^^B^^C^^D^^E^^F^^G^^H^^I^^J^^K
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^N (U+E)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^N
          ^^O^^P^^Q^^R^^S^^T^^U^^V^^W^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^O (U+F)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^N^^O
             ^^P^^Q^^R^^S^^T^^U^^V^^W^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^P (U+10)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^N^^O^^P
                ^^Q^^R^^S^^T^^U^^V^^W^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^Q (U+11)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^N^^O^^P^^Q
                   ^^R^^S^^T^^U^^V^^W^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^R (U+12)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^N^^O^^P^^Q^^R
                      ^^S^^T^^U^^V^^W^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^S (U+13)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^N^^O^^P^^Q^^R^^S
                         ^^T^^U^^V^^W^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^T (U+14)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^N^^O^^P^^Q^^R^^S^^T
                            ^^U^^V^^W^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^U (U+15)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^N^^O^^P^^Q^^R^^S^^T^^U
                               ^^V^^W^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^V (U+16)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^N^^O^^P^^Q^^R^^S^^T^^U^^V
                                  ^^W^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^W (U+17)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^N^^O^^P^^Q^^R^^S^^T^^U^^V^^W
                                     ^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^X (U+18)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^N^^O^^P^^Q^^R^^S^^T^^U^^V^^W^^X
                                        ^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^Y (U+19)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^N^^O^^P^^Q^^R^^S^^T^^U^^V^^W^^X^^Y
                                           ^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^Z (U+1A)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^N^^O^^P^^Q^^R^^S^^T^^U^^V^^W^^X^^Y^^Z
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^[ (U+1B)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^[
          ^^\^^]^^^^^_
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^\ (U+1C)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^[^^\
             ^^]^^^^^_
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^] (U+1D)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^[^^\^^]
                ^^^^^_
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^^ (U+1E)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^[^^\^^]^^^
                   ^^_
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
-! Text line contains an invalid character.
+You may provide a definition with
+\DeclareUnicodeCharacter 
+! Package inputenc Error: Unicode character ^^_ (U+1F)
+(inputenc)                not set up for use with LaTeX.
+See the inputenc package documentation for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
 l. ...^^[^^\^^]^^^^^_
-A funny symbol that I can't read has just been input.
-Continue, and I'll forget that it ever happened.
+You may provide a definition with
+\DeclareUnicodeCharacter 
 LaTeX Warning: Citation `Pratchett:Weird-Sisters' on page 12 undefined on input line ....
 ! LaTeX Error: Too many columns in eqnarray environment.
 See the LaTeX manual or LaTeX Companion for explanation.
diff --git a/base/utf8ienc.dtx b/base/utf8ienc.dtx
index 9f412d6..ae6e9dd 100644
--- a/base/utf8ienc.dtx
+++ b/base/utf8ienc.dtx
@@ -420,17 +420,17 @@
     \def\UTFviii at tmp{\xdef~{\noexpand\UTFviii at undefined@err{:\string~}}}
 % 0 ^^@ null
     \count@"1
-    \@tempcnta"9
+    \@tempcnta9
 % 9 ^^I tab
 % 10 ^^J nl
 \UTFviii at loop
-    \count@"11
-    \@tempcnta"12
+    \count at 11
+    \@tempcnta12
 \UTFviii at loop
 % 12 ^^L
 % 13 ^^M
-    \count@"14
-    \@tempcnta"20
+    \count at 14
+    \@tempcnta32
 \UTFviii at loop
 %    \end{macrocode}
 %





More information about the latex3-commits mailing list