Tagged Questions
7
votes
2answers
107 views
Why does TeX attempt to insert 'missing' tokens?
"Missing \cr inserted", but it looks to me like it's already there!
Missing $ inserted
...
Why does TeX attempt to insert missing tokens? Why doesn't it simply throw up and die?
...
8
votes
1answer
79 views
Why doesn't \mathord work to turn an Acc atom into Ord?
Writing ${\dot X^a}^b$ produces a very cryptic "double superscript" error: this has been explained here on this forum: the reason is that {\dot X}^a generates an Acc atom and that, for a reason that ...
10
votes
2answers
183 views
All (La)TeX warnings and errors
For testing purposes, I am looking for a comprehensive list of all errors and warnings that TeX, and LaTeX can output. I don't mean errors and warnings produced by all packages, as this would give an ...
22
votes
2answers
346 views
“That makes 100 errors” and one question
Although I never make any misteyk, occasionally I compile a TeX file in non-stop mode (that's how I roll) so wonderful that it just starts stuttering and spits out this
and provides some moral ...
7
votes
1answer
80 views
Error line inside a package
I've created my own package, but, when I use it in a new document, and pdflatex find an error using a custom command (defined in my own package), it shows me only the error line where this command was ...
3
votes
1answer
90 views
Error message and newline
In the following, why is the exclamation mark (!) repeated in the error message?
\def\error#1#2{%
\begingroup
\errhelp{#2}%
\errmessage{^^J! package Error: #1^^J}%
\endgroup
}
\error{Stop ...
3
votes
1answer
290 views
TeX capacity exceeded, sorry [save size=50000]
I am on Mac OS X Lion latest, and get the error trying to compile my large multi-page project. This happens after adding one more code listing (shown below). The full error is:
TeX capacity ...
4
votes
1answer
208 views
pdftex and interaction=batchmode and xwatermark
I try to compile this file:
\documentclass[10pt,openany,titlepage]{book}%
\usepackage{lipsum}%
\usepackage{xcolor}%
\usepackage[printwatermark,default-first-page=10]{xwatermark}%
...
39
votes
4answers
3k views
Shortest code causing “Emergency stop.” error
This question is purely academic. TeXing a file containing
\valign{\halign#\cr!
causes an ! Emergency stop. error. Is that the shortest code which produces a fatal error in TeX?
8
votes
1answer
209 views
Interwoven alignment preambles are not allowed - what exactly does this mean?
I admit that this post is purely idle curiosity. But I recently stumbled upon a little factoid saying that the TeX error "Interwoven alignment preambles are not allowed" has the following explanation ...
4
votes
3answers
298 views
Programmatically setting a counter to a substring
I'm trying to set a counter based on the name of the current job. I've got the number I need by doing something like \substring{\jobname}{5}{5}} using the stringstrings package, and if I just output ...