Questions tagged [errors]
{errors} is for questions regarding or including compilation or similar errors.
5,007
questions
263
votes
13
answers
407k
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 ...
235
votes
8
answers
147k
views
tlmgr cannot setup TLPDB
I'm trying to update my installation of texlive 2013 under Ubuntu 13.10.
However, I followed the instruction on this answer, but I get an error
(running on Debian, switching to user mode!)
cannot ...
217
votes
4
answers
484k
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 ...
186
votes
6
answers
533k
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 ...
169
votes
2
answers
55k
views
Biblatex/biber fails with a strange error about missing recode_data.xml file
I'm trying to use biblatex and when I compile my document I get an error like the following:
Windows
data source C:\Users\<username>\AppData\Local\Temp\par-5061756c\
cache-...
147
votes
8
answers
317k
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 giving ...
141
votes
5
answers
158k
views
Error in TeX Live – Font ... not loadable: Metric (TFM) file not found
I freshly installed 'basic' version of TeX Live 2012 (not full, only basic version).
I have following line in my code:
\usepackage[T1]{fontenc}
I get following error:
(/usr/local/texlive/2012/texmf-...
128
votes
13
answers
375k
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}
\...
108
votes
2
answers
58k
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.
103
votes
8
answers
176k
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 ...
102
votes
10
answers
61k
views
\pdfendlink ended up in different nesting level than \pdfstartlink
I started using showkeys in one of my documents and see this error
\pdfendlink ended up in different nesting level than \pdfstartlink
A bit of google suggests that this "happens when hyperref is ...
98
votes
10
answers
118k
views
pdfTeX error (font expansion): auto expansion is only possible with scalable
I'm using a custom class file.
My main file looks like this:
\documentclass[12pt,a4paper]{thesis}
\begin{document}
\frontmatter
\pagenumbering{alph}
\pagenumbering{roman}
\clearpage
...
98
votes
7
answers
171k
views
Package babel Error: Unknown option `francais'
I recently updated my operating system from Ubuntu 13.04 to Ubuntu 13.10.
Since then, I am facing difficulties compiling my TeX code in which the french babel package is called. Please note that all ...
94
votes
5
answers
42k
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 ...
92
votes
5
answers
83k
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
! ...
89
votes
1
answer
305k
views
What does the phrase "Underfull \hbox (badness 10000) in paragraph" actually mean?
What does the actual phrase above mean?
84
votes
2
answers
37k
views
How to trace LaTeX errors efficiently?
One of the most annoying things about LaTeX is that handling errors can be cumbersome and nerve-racking. In fact, it is the main reason that keeps me from actively recommending LaTeX to most people (...
83
votes
4
answers
193k
views
! LaTeX Error: Not in outer par mode
I am using an image within minipage and getting error message.
! LaTeX Error: Not in outer par mode.
Below is minimal working example.
\documentclass[11pt,table,a4paper]{article}
\usepackage{...
81
votes
1
answer
65k
views
What does this warning mean? (fancyhdr and headheight)
My LaTeX file compiles fine. However, in reading my .log file, I see many repeated instances of
Package Fancyhdr Warning: \headheight is too small
Looking for it in google, I found some 'fixes', but ...
76
votes
12
answers
65k
views
Missing $ inserted issue
Trying to get my dissertation sorted (due in a few hours) and I keep getting this error:
! Missing $ inserted.
<inserted text>
$
l.190 ... pp. 225--236, 10.1007/978-0-387-68772-...
76
votes
4
answers
81k
views
MikTeX 2.8 Update Error "Windows API error 87"
I was happily updating packages when the following error appeared:
Error: Windows API error 87: The parameter is incorrect.
The full update report with this error at the very end is as follows:
...
65
votes
5
answers
198k
views
Subfigure: error "Missing number, treated as zero"
\begin{figure} \center
\begin{subfigure}[b]
\includegraphics[width=60mm]{a}
\label{fig:a}
\end{subfigure} %
\begin{subfigure}[b]
\includegraphics[width=60mm]{b}...
64
votes
6
answers
14k
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.
...
63
votes
6
answers
18k
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 this:...
62
votes
3
answers
30k
views
How to overcome Acrobat Reader error 131 with a pdfLaTeX doc?
I'm generating a PDF document with pdflatex (more precisely, latexmk invoked from TexMaker 3.4. My LaTeX install is TeXLive 20120719). I can read the document fine in Okular and Gmail's attachment ...
61
votes
5
answers
12k
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?
59
votes
3
answers
7k
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, ...
59
votes
3
answers
24k
views
(error) \tightlist (converting .md file into .pdf using pandoc)
I was converting 'lecture1.md' file I made via Rstudio into 'lecture1.pdf'
using Pandoc at Mac Terminal.
and I got this error message :
! Undefined control sequence.
<recently read> \tightlist ...
56
votes
0
answers
49k
views
Undefined control sequence \url error [closed]
I got this error while trying to run the latex command:
! Undefined control sequence.
l.10 \newblock Available from: \url
{http://www.google.com}.
?
Why is it an ...
53
votes
3
answers
49k
views
Unknown graphics extension: .1.png
I have a file called xxxx_0.1.png, and want to import it as an image in my document. I am using graphicx with the following command:
\includegraphics[width=0.5\textwidth]{images/xxxx_0.1.png}
and ...
53
votes
3
answers
15k
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 ...
53
votes
1
answer
9k
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 the figure. According to the TikZ manual, I'd have to
\tikz \fill[black] (1ex,1ex) circle (1ex);
...
52
votes
8
answers
47k
views
How to find the lost text part when having "Float(s) lost" error
I've lost some text. I don't know if theres something missing, so how can I find it? I'm not in the mood to compare the chapter1.tex to the pdf file by reading both. Chapter 1 (chapter1.tex) is rather ...
52
votes
8
answers
215k
views
Texmaker (Windows version) - first use - Error: Log file not found!
This is my first time using a LaTeX editor.
I installed Texmaker allowing it to use the default directory on the C drive.
Software Versions
Windows: 7 Ultimate 64-bit
Texmaker 3.4.1 for Windows
...
52
votes
1
answer
403k
views
Writing multiplication dots
I try to write a multiplication dot and use \cdot, 4 = 2\cdot{2}. But I get the error message Missing $ inserted. What have I forgotten?
48
votes
2
answers
84k
views
How to use algorithmicx package?
I found the algorithmicx package on this page, and tried to compile this example from the pdf file.
\documentclass{article}
\usepackage{algorithmicx}
\begin{document}
\begin{algorithm}
\caption{...
48
votes
3
answers
481k
views
What is causing undefined control sequence?
I'm getting this error:
! Undefined control sequence.
l.64 ...p(- \frac{E_j - E_i}{k_B T}) & \quad \text
{: E_j > E_i}\\
?
! Undefined ...
48
votes
2
answers
6k
views
Teach me to debug
Ok, 35 years of programming has not prepared me to debug tex errors. It's painful.
I can't create an MWE because the point is to be able to debug in place.
Everything was working well, I would ...
46
votes
2
answers
86k
views
I get the warning "Undefined control sequence" with \mathbb
I am doing my first LaTeX work using TeXstudios and I'm having trouble with an Undefined control sequence.
When I've checked solutions on google it appears as this is caused by typos in the ...
43
votes
2
answers
25k
views
Package PGF Math Error: Unknown operator `o' or `of'
I am getting a unhelpful error while trying to place a node above another node using the below= syntax.
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node[] (node1)...
43
votes
3
answers
96k
views
Is there really no better solution to "Overfull \hbox" than adding a line break?
I am going through a rather long book to resolve the Overfull \hbox problem. Here is an example:
varies greatly from organization to organization, team to team, and
manager to manager. Innovation ...
42
votes
3
answers
16k
views
How to disable the prompt on error?
When pdflatex can't compile a file, it drops me to a prompt. I've never used it and always try to get away from there as quickly as possible, usually generating a q.log file in the process.
Is there ...
42
votes
2
answers
10k
views
Cite in theorem environment argument
When I try to cite a book in such a way
\begin{theorem}[\cite[p.~90]{bibitem}]
Theorem body.
\end{theorem}
I've got an error because of multiple use of [ and ]. Is it possible to cite in such a way ...
41
votes
3
answers
50k
views
Compiler gives hundreds of "invalid character" suddenly
I am writing my latex document in TexMaker and suddenly in one of the thousands of compilations I make there is a error and I cant get rid of it. The error is:
! Text line contains an invalid ...
41
votes
2
answers
1k
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 ...
41
votes
4
answers
3k
views
TeX Live Manager crashes with "Unknown docfile tag"
Today my TeX Live 2013 stopped updating packages. I use tlmgr to update packages but it's crashing with the following error:
$ sudo tlmgr update
Unknown docfile tag: texmf-dist/doc/latex/pythontex/...
39
votes
5
answers
143k
views
Table - Extra alignment tab has been changed to \cr
What is the real problem with this table?
\begin{table}[h]
\centering
\begin{tabular}{ c | c | c | c | c | c | c | c }
B & F & P & C & $B \lor F$ & $P \lor C$ & $\neg(F \...
39
votes
6
answers
142k
views
"Misplaced alignment tab character &" error when citing a particular entry
I've been getting the error: 'Misplaced alignment tab character & ...' even in sentences where the &-character is not used. It says it in sentences where I am citing.
\documentclass{article}
\...
38
votes
3
answers
3k
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: ...
38
votes
7
answers
6k
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 ...