{errors} is for questions regarding or including compilation or similar errors.
41
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?
32
votes
5answers
2k views
Documents with typical LaTeX errors
I am giving a LaTeX course and have the idea to let the students find and solve problems within a few documents. Basically they shall learn how to create minimal examples and read error messages.
...
31
votes
1answer
296 views
Static analysis of LaTeX documents?
For programming languages like C, C++, C#, Java and so on there always exist some kind of static analysers, tools that check the sourcecode for unreachable code, unused variables, memory leaks and ...
28
votes
3answers
1k views
$327.68 Knuth reward check
I know something about $327.68 Knuth reward check. However, I cannot find a comprehensive list of people rewarded for finding errors in TeX. I do know, that among them is Bogusław Jackowski (Twice, ...
26
votes
3answers
2k views
Applying a postaction to every path in TikZ
Sometime, for example in a solution to a recent question, one wants to apply a postaction (like a decoration) to a group of paths. A naive solution is to use every path/.style={}. Unfortunately this ...
23
votes
1answer
397 views
Is there a \die command?
Is there a command that generates the error or warning of my choice? I'm planning to put it in an \ifthenelse, so it can't be a syntax error.
23
votes
1answer
3k views
“Too many math alphabets” error
I just got the error
Too many math alphabets used in version normal.
on a document I'm editing. What can I do to fix this, other than stop using an alphabet? All I've found online is instructions ...
22
votes
2answers
354 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 ...
21
votes
3answers
3k views
How to obtain verbatim text in a footnote?
I want to employ a \verb command in a footnote. But, when I run pdflatex on
\documentclass{article}
\begin{document}
I want this.\footnote{\verb|But, it does not work!|}
\end{document}
I get ...
20
votes
4answers
21k views
Package natbib Error: Bibliography not compatible with author-year citations
I have a basic tex file and a bibliography which is exported from Mendeley
However, when I want to cite in the author-year style, I get the error:
Package natbib Error: Bibliography not compatible ...
20
votes
1answer
34k views
Cannot determine size of graphic
I'm trying to include graphics in my Latex-file, which I compiled with latex+dvipdf on OS X. Latex however returns this error: "Cannot determine size of graphic"
My graphic is exported from ...
19
votes
2answers
837 views
Which are your “favourite” confusing error messages?
This question: \addvspace can't replace \vspace shows a situation in which an error message can be confusing. If \addvspace is used when not in vmode the error message obtained is
! LaTeX Error: ...
19
votes
1answer
2k views
libertine font package doesn't work anymore (December 2011)
If you're using an up-to-date system and you're having trouble with using the Linux Libertine fonts, you should probably check out Linux Libertine package and fonts not working any more (fall 2012), ...
18
votes
2answers
5k views
No room for a new \dimen
I have this error message:
! No room for a new \dimen . \ch@ck ...\else \errmessage {No room for
a new #3}
\fi
which I can not find a cure for.
18
votes
2answers
230 views
Incompatibility between verbatim and tabu? (Danger of using \scantokens in a package)
With the following MWE
\documentclass{article}
\usepackage{verbatim}
\usepackage{tabu}
\makeatletter
\renewcommand\verbatim@processline
{%
\begin{tabu}to\textwidth{|l|X[-1,l]|}
...
18
votes
1answer
328 views
A “stacktrace” for errors
Is it possible to get some kind of "stacktrace" in TeX errors? I sometimes get errors which only show some deep LaTeX internals, but nothing about which LaTeX macro referenced it.
Thanks,
17
votes
1answer
708 views
Using TikZ inside a figure caption
I have a PNG plot with a couple of black patches in it, and I'd like to refer to it in the \caption of of the figure. According to the TikZ manual, I'd have to
\tikz \fill[black] (1ex,1ex) circle ...
16
votes
4answers
4k views
Making a new environment combining equation and split
I'm trying to define a new environment that consists of a split environment inside an equation environment. But I'm getting an error. Here's what I'm doing:
\documentclass[a4paper,12pt]{article}
...
15
votes
3answers
7k views
Tex capacity exceeded, sorry [input stack size = 5000]
This is the error I am getting since I have added some new references to my .bib file. I think is more than a filled stack. Any ideas? references.bib
It was requested a minimum working example but I ...
14
votes
2answers
346 views
Error with \foreach in TikZ
In the MWE below
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\foreach \i in {0, 1, 2, 3}
\draw (\i, 0) rectangle +(0.5, 0.5);
% \draw (\i, 1) rectangle ...
14
votes
2answers
1k views
Error: Counter too large! with \alph{cntr} and cntr>26
I would like to have \alph{counter} for values larger than 26. The following MnWE gives me the error ! LaTeX Error: Counter too large.
\documentclass{article}
\begin{document}
\begin{enumerate}
...
14
votes
3answers
2k views
Is there any way to generate custom errors/warnings in LaTeX?
I want something like \ifmmode\else\GenerateWarning{The command \backslash uzuka is supported only in math mode.}\fi, which is supposed to generate a warning "The command \uzuka is supported only in ...
14
votes
3answers
943 views
Too many unprocessed floats with marginpar
I'm updating my CV, which is written by modifying this template. I have always been very happy with the result, but now I'm getting a Too many unprocessed floats error.
For those who do not want to ...
13
votes
6answers
1k views
Use latexmk to filter the log file
I am usually using latexmk in a split shell with my code on the left and latexmk in -pvc mode on the right.
When using some packages which themselves load a lot of other packages (think beamer) the ...
13
votes
2answers
3k views
Too many unprocessed floats
I'm trying to a large number of figures. The code is
\begin{figure}
\includegraphics[scale=0.5]{m2T4.pdf}
\caption{M2T, Problem Size 513}
\end{figure}
I'm not able to compile, I get the error
! ...
13
votes
2answers
107 views
“!Missing $ inserted.” when using svn $Id$ keyword substitution
I'd like to to surface subversion revision numbers for use in the contents of my document. svninfo and svn packages rely on svn keyword substitution to accomplish this, but I get this error when I ...
13
votes
1answer
606 views
How to patch a package
I have a document that uses symbols both from the marvosym package as well as the eurosym package. There are two commands that clash and I get an error message (due to \newcommand being used and ...
13
votes
1answer
382 views
How does “missing \begin{document}” work?
I would like to know how does LaTeX invoke the error Missing \begin{document}. I would like to reproduce it in the sense of the following MWE (it will become a part of my own document class):
...
13
votes
1answer
101 views
\( \) don't work with TOC?
If i write this line of code
\subsection{Ranger \( n \) boules distinguables dans \( M \) boîtes}
I obtain an error over the second \)
(./Probabilité.toc
./Probabilité.toc:8: LaTeX Error: Bad ...
13
votes
3answers
805 views
How can I word-wrap LaTeX warning/error output?
This question led to a new package:
hardwrap
In writing error messages and warnings for a package/class, I find it a pain to manually insert \MessageBreaks so that words don't get cruelly ...
12
votes
5answers
659 views
Double superscript error involving tilde
When I write {{\tilde{C}}^{0}_{har}}^{\Gamma} (or the same with fewer curly brackets) in Tex I obtain a double superscript error and I can't solve it. Does someone know how to fix this?
12
votes
1answer
233 views
Making sense of compile error logs
Is there a documentation somewhere which gives a gentle guidance on interpreting error logs?
Sometimes it is really hard to figure out how to correct something judging by the log and it would be ...
12
votes
2answers
9k views
inputenc Error: Unicode char \u8: not set up for use with LaTeX
This is with ref to my previous question Package clash in multilingual report.
\documentclass[11pt,table,a4paper]{article}
\usepackage{lmodern}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
...
11
votes
3answers
250 views
fancyvrb ShortVerb and tikz incompatibity
I've been working on a document that has a lot of little verbatim bits so I'm using fancyvrb \DeflneShortVerb{\|}. Now I want to add a tikz picture, and the whole thing fails. It there a simple way ...
11
votes
1answer
14k views
\mathbb{Z} yields undefined control sequence error
I am using WinEdt 6 for compiling my TeX documents. I am getting an error with contains the line $\mathbb{Z}$ showing that it is undefined control sequence. How should I rectify it? Should I include ...
11
votes
1answer
565 views
xelatex stopped working after TexLive2011 update 2 days ago
I updated Tex Live 2011 a couple of days ago and I can't run XeLaTeX anymore on a document I was working on. When it runs it gets stuck and I have to abort it. Resulting in the following error. I've ...
11
votes
2answers
10k views
Error message: There's no line here to end
In a letter-class document that had no previous errors I am suddenly getting the error message:
"There's no line here to end" \opening{text}
I've used this file many times and today it starts ...
11
votes
1answer
487 views
Which version of LaTeX permits more than 16 alphabets?
Sometimes I receive a message:
! LaTeX Error: Too many math alphabets used in version normal.
I know that there is a limit of 16 alphabets at most allowed to one article. However this message ...
11
votes
1answer
4k views
Error: Missing \begin{document}
I wanted to make a command that outputs a number in math mode. This is how my file looks like:
\documentclass{scrartcl}
%\usepackage{epsdice}
%\newcommand{dice}[1]{\epsdice{#1}}
...
11
votes
1answer
425 views
Error when using colour in \author
I am getting an error when I try to use \color{} in the the author field with beamer, even though the file compiles and I get the the words I want coloured in the author field.
This is the error ...
11
votes
1answer
371 views
Lost labels using intertext with varioref and hyperref
I have a problem using \intertext together with \vref when hyperref is also used. Consider the following minimal example:
\documentclass{article}
\usepackage{amsmath, varioref}
...
11
votes
1answer
4k views
Impossible to save LaTeX file in Texmaker on Windows
Yesterday, I downloaded the latest version of MiKTeX and Texmaker and started using XeLaTeX. Today, I am no longer able to compile or save any .tex file. When I try to do so, a message pops up: “The ...
10
votes
2answers
185 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 ...
10
votes
2answers
550 views
How can I get utf8 character
I want to make cross references for sections to be symbols but after using the description given I got error report saying keyboard character used is undefined in inputencoding 'utf8'. What might be ...
10
votes
3answers
494 views
How to quickly troubleshoot errors caused by missing closing brackets?
Perhaps the most common mistake I make is to forget to place a closing bracket, i.e. }, or closing command, e.g. \end{description}. When compiling, such mistakes usually do not say, ...
10
votes
3answers
1k views
\pgfmathsetmacro - dimension too large (biggest value allowed?)
I want to import some data with parameters to parametrize some plots. After importing a table, I assign specific variables of the table to a placeholder by using \pgfplotstablegetelem. And it works ...
10
votes
2answers
8k views
How can I fix the error “GUI framework cannot be initialized” with TeXnicCenter and MiKTeX?
I don't know what I've done, but all of a sudden I am unable to compile any document which uses the geometry package. Minimal (non)-working example:
\documentclass[11pt]{article}
...
10
votes
1answer
516 views
Polyglossia doesn't work with the ltxdoc document class
I have a package that uses the ltxdoc document class and the docstrip program for code and documentation generation. The package deals with some multilingual stuff and needs XeTeX (to be precise, ...
10
votes
1answer
115 views
Error with table
\begin{table}[ht]
\makebox[\textwidth][c]{
\begin{tabular}{ccccc}
\hline
\hline
[] & [] & [] & [] & []\\
[] & [] & [] & [] & []\\
...
10
votes
3answers
597 views
mysterious error: \pdfendlink ended up in different nesting level than \pdfstartlink
I ran into the "mysterious"
\pdfendlink ended up in different nesting level than \pdfstartlink
error. According to http://www.tug.org/errors, "this happens when hyperref is used under pdftex and a ...


