[latex3-commits] [latex3/latex2e] gh1460: in this case the first error is fine, the second better and the rest just different but equally bad (af87f52b)
github at latex-project.org
github at latex-project.org
Tue Sep 10 18:24:24 CEST 2024
Repository : https://github.com/latex3/latex2e
On branch : gh1460
Link : https://github.com/latex3/latex2e/commit/af87f52b9293a671775eaf227cf2ab67a6f3dbc4
>---------------------------------------------------------------
commit af87f52b9293a671775eaf227cf2ab67a6f3dbc4
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Tue Sep 10 18:24:24 2024 +0200
in this case the first error is fine, the second better and the rest just different but equally bad
>---------------------------------------------------------------
af87f52b9293a671775eaf227cf2ab67a6f3dbc4
base/testfiles/tlb1816.luatex.tlg | 61 +++++++++++++++++++++++++++++++--------
base/testfiles/tlb1816.tlg | 61 +++++++++++++++++++++++++++++++--------
base/testfiles/tlb1816.xetex.tlg | 61 +++++++++++++++++++++++++++++++--------
3 files changed, 147 insertions(+), 36 deletions(-)
diff --git a/base/testfiles/tlb1816.luatex.tlg b/base/testfiles/tlb1816.luatex.tlg
index 5eea2308..7dfe351d 100644
--- a/base/testfiles/tlb1816.luatex.tlg
+++ b/base/testfiles/tlb1816.luatex.tlg
@@ -36,22 +36,36 @@ l. ...$\begin{array}{c} \AA \\ \item
\end{array}$
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
-! LaTeX Error: Something's wrong--perhaps a missing \item.
-See the LaTeX manual or LaTeX Companion for explanation.
-Type H <return> for immediate help.
- ...
+! Missing $ inserted.
+<inserted text>
+$
l. ...$\begin{array}{c} \AA \\ \item \end
{array}$
-Try typing <return> to proceed.
-If that doesn't work, type X <return> to quit.
-! LaTeX Error: Something's wrong--perhaps a missing \item.
-See the LaTeX manual or LaTeX Companion for explanation.
-Type H <return> for immediate help.
- ...
+I've inserted a begin-math/end-math symbol since I think
+you left one out. Proceed, with fingers crossed.
+! Missing } inserted.
+<inserted text>
+}
l. ...$\begin{array}{c} \AA \\ \item \end
{array}$
-Try typing <return> to proceed.
-If that doesn't work, type X <return> to quit.
+I've inserted something that you may have forgotten.
+(See the <inserted text> above.)
+With luck, this will get me unwedged. But if you
+really didn't forget anything, try typing `2' now; then
+my insertion and my current dilemma will both disappear.
+! Missing \cr inserted.
+<inserted text>
+\cr
+l. ...$\begin{array}{c} \AA \\ \item \end
+ {array}$
+I'm guessing that you meant to end an alignment here.
+! Missing $ inserted.
+<inserted text>
+$
+l. ...$\begin{array}{c} \AA \\ \item \end
+ {array}$
+I've inserted a begin-math/end-math symbol since I think
+you left one out. Proceed, with fingers crossed.
! LaTeX Error: Lonely \item--perhaps a missing list environment.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
@@ -60,6 +74,25 @@ l. ...$\begin{array}{c} \AA \\ \item \end
{array}$
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
+! Misplaced \crcr.
+\endarray ->\crcr
+ \egroup \egroup
+l. ...$\begin{array}{c} \AA \\ \item \end{array}
+ $
+I can't figure out why you would want to use a tab mark
+or \cr or \span just now. If something like a right brace
+up above has ended a previous alignment prematurely,
+you're probably due for more error messages, and you
+might try typing `S' now just to see what is salvageable.
+! Extra }, or forgotten \endgroup.
+\endarray ->\crcr \egroup \egroup
+l. ...$\begin{array}{c} \AA \\ \item \end{array}
+ $
+I've deleted a group-closing symbol because it seems to be
+spurious, as in `$x}$'. But perhaps the } is legitimate and
+you forgot something else, as in `\hbox{$x}'. In such cases
+the way to recover is to insert both the forgotten and the
+deleted material, e.g., by typing `I$}'.
Completed box being shipped out [1]
\vbox(633.0+0.0)x407.0, direction TLT
.\glue 16.0
@@ -222,10 +255,14 @@ Completed box being shipped out [1]
.......\glue 5.0
.......\glue 0.0 plus 1.0fil
.......\mathon
+.......\penalty -51
.......\mathoff
+.......\mathon
.......\glue 0.0 plus 1.0fil
.......\glue 5.0
+.......\mathoff
......\glue(\tabskip) 0.0
+.....\glue 0.0
....\mathoff
....\penalty 10000
....\glue(\parfillskip) 0.0 plus 1.0fil
diff --git a/base/testfiles/tlb1816.tlg b/base/testfiles/tlb1816.tlg
index 77de64ae..9dc19ef1 100644
--- a/base/testfiles/tlb1816.tlg
+++ b/base/testfiles/tlb1816.tlg
@@ -36,22 +36,36 @@ l. ...$\begin{array}{c} \AA \\ \item
\end{array}$
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
-! LaTeX Error: Something's wrong--perhaps a missing \item.
-See the LaTeX manual or LaTeX Companion for explanation.
-Type H <return> for immediate help.
- ...
+! Missing $ inserted.
+<inserted text>
+ $
l. ...$\begin{array}{c} \AA \\ \item \end
{array}$
-Try typing <return> to proceed.
-If that doesn't work, type X <return> to quit.
-! LaTeX Error: Something's wrong--perhaps a missing \item.
-See the LaTeX manual or LaTeX Companion for explanation.
-Type H <return> for immediate help.
- ...
+I've inserted a begin-math/end-math symbol since I think
+you left one out. Proceed, with fingers crossed.
+! Missing } inserted.
+<inserted text>
+ }
l. ...$\begin{array}{c} \AA \\ \item \end
{array}$
-Try typing <return> to proceed.
-If that doesn't work, type X <return> to quit.
+I've inserted something that you may have forgotten.
+(See the <inserted text> above.)
+With luck, this will get me unwedged. But if you
+really didn't forget anything, try typing `2' now; then
+my insertion and my current dilemma will both disappear.
+! Missing \cr inserted.
+<inserted text>
+ \cr
+l. ...$\begin{array}{c} \AA \\ \item \end
+ {array}$
+I'm guessing that you meant to end an alignment here.
+! Missing $ inserted.
+<inserted text>
+ $
+l. ...$\begin{array}{c} \AA \\ \item \end
+ {array}$
+I've inserted a begin-math/end-math symbol since I think
+you left one out. Proceed, with fingers crossed.
! LaTeX Error: Lonely \item--perhaps a missing list environment.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
@@ -60,6 +74,25 @@ l. ...$\begin{array}{c} \AA \\ \item \end
{array}$
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
+! Misplaced \crcr.
+\endarray ->\crcr
+ \egroup \egroup
+l. ...$\begin{array}{c} \AA \\ \item \end{array}
+ $
+I can't figure out why you would want to use a tab mark
+or \cr or \span just now. If something like a right brace
+up above has ended a previous alignment prematurely,
+you're probably due for more error messages, and you
+might try typing `S' now just to see what is salvageable.
+! Extra }, or forgotten \endgroup.
+\endarray ->\crcr \egroup \egroup
+l. ...$\begin{array}{c} \AA \\ \item \end{array}
+ $
+I've deleted a group-closing symbol because it seems to be
+spurious, as in `$x}$'. But perhaps the } is legitimate and
+you forgot something else, as in `\hbox{$x}'. In such cases
+the way to recover is to insert both the forgotten and the
+deleted material, e.g., by typing `I$}'.
Completed box being shipped out [1]
\vbox(633.0+0.0)x407.0
.\glue 16.0
@@ -204,10 +237,14 @@ Completed box being shipped out [1]
.......\glue 5.0
.......\glue 0.0 plus 1.0fil
.......\mathon
+.......\penalty -51
.......\mathoff
+.......\mathon
.......\glue 0.0 plus 1.0fil
.......\glue 5.0
+.......\mathoff
......\glue(\tabskip) 0.0
+.....\glue 0.0
....\mathoff
....\penalty 10000
....\glue(\parfillskip) 0.0 plus 1.0fil
diff --git a/base/testfiles/tlb1816.xetex.tlg b/base/testfiles/tlb1816.xetex.tlg
index 486b7a7c..58b4eb6c 100644
--- a/base/testfiles/tlb1816.xetex.tlg
+++ b/base/testfiles/tlb1816.xetex.tlg
@@ -36,22 +36,36 @@ l. ...$\begin{array}{c} \AA \\ \item
\end{array}$
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
-! LaTeX Error: Something's wrong--perhaps a missing \item.
-See the LaTeX manual or LaTeX Companion for explanation.
-Type H <return> for immediate help.
- ...
+! Missing $ inserted.
+<inserted text>
+ $
l. ...$\begin{array}{c} \AA \\ \item \end
{array}$
-Try typing <return> to proceed.
-If that doesn't work, type X <return> to quit.
-! LaTeX Error: Something's wrong--perhaps a missing \item.
-See the LaTeX manual or LaTeX Companion for explanation.
-Type H <return> for immediate help.
- ...
+I've inserted a begin-math/end-math symbol since I think
+you left one out. Proceed, with fingers crossed.
+! Missing } inserted.
+<inserted text>
+ }
l. ...$\begin{array}{c} \AA \\ \item \end
{array}$
-Try typing <return> to proceed.
-If that doesn't work, type X <return> to quit.
+I've inserted something that you may have forgotten.
+(See the <inserted text> above.)
+With luck, this will get me unwedged. But if you
+really didn't forget anything, try typing `2' now; then
+my insertion and my current dilemma will both disappear.
+! Missing \cr inserted.
+<inserted text>
+ \cr
+l. ...$\begin{array}{c} \AA \\ \item \end
+ {array}$
+I'm guessing that you meant to end an alignment here.
+! Missing $ inserted.
+<inserted text>
+ $
+l. ...$\begin{array}{c} \AA \\ \item \end
+ {array}$
+I've inserted a begin-math/end-math symbol since I think
+you left one out. Proceed, with fingers crossed.
! LaTeX Error: Lonely \item--perhaps a missing list environment.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
@@ -60,6 +74,25 @@ l. ...$\begin{array}{c} \AA \\ \item \end
{array}$
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
+! Misplaced \crcr.
+\endarray ->\crcr
+ \egroup \egroup
+l. ...$\begin{array}{c} \AA \\ \item \end{array}
+ $
+I can't figure out why you would want to use a tab mark
+or \cr or \span just now. If something like a right brace
+up above has ended a previous alignment prematurely,
+you're probably due for more error messages, and you
+might try typing `S' now just to see what is salvageable.
+! Extra }, or forgotten \endgroup.
+\endarray ->\crcr \egroup \egroup
+l. ...$\begin{array}{c} \AA \\ \item \end{array}
+ $
+I've deleted a group-closing symbol because it seems to be
+spurious, as in `$x}$'. But perhaps the } is legitimate and
+you forgot something else, as in `\hbox{$x}'. In such cases
+the way to recover is to insert both the forgotten and the
+deleted material, e.g., by typing `I$}'.
Completed box being shipped out [1]
\vbox(633.0+0.0)x407.0
.\glue 16.0
@@ -204,10 +237,14 @@ Completed box being shipped out [1]
.......\glue 5.0
.......\glue 0.0 plus 1.0fil
.......\mathon
+.......\penalty -51
.......\mathoff
+.......\mathon
.......\glue 0.0 plus 1.0fil
.......\glue 5.0
+.......\mathoff
......\glue(\tabskip) 0.0
+.....\glue 0.0
....\mathoff
....\penalty 10000
....\glue(\parfillskip) 0.0 plus 1.0fil
More information about the latex3-commits
mailing list.