Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [errors]

{errors} is for questions regarding or including compilation or similar errors.

184
votes
12answers
264k 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 ...
177
votes
8answers
93k 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!) ...
142
votes
2answers
39k 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-...
136
votes
1answer
268k 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 ...
125
votes
4answers
370k 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 ...
105
votes
2answers
54k 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.
104
votes
5answers
113k 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-...
94
votes
7answers
216k 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 ...
92
votes
11answers
222k 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} \...
87
votes
5answers
73k 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 ! ...
77
votes
6answers
123k 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 ...
74
votes
4answers
76k 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: ...
68
votes
6answers
101k 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 ...
68
votes
3answers
22k 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 ...
66
votes
9answers
42k 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 ...
63
votes
2answers
23k 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 (...
61
votes
6answers
13k 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. ...
59
votes
3answers
26k 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 ...
58
votes
5answers
11k 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?
56
votes
9answers
44k views

Missing $ inserted issue

Trying to get my dissertaion 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-...
55
votes
3answers
5k 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, ...
54
votes
8answers
69k 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 ...
52
votes
5answers
13k 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:...
52
votes
4answers
115k 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{...
45
votes
3answers
11k 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 ...
42
votes
2answers
4k 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 ...
41
votes
4answers
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
0answers
32k 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 ...
38
votes
2answers
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 ...
37
votes
3answers
14k 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 ...
37
votes
8answers
27k 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 ...
37
votes
1answer
6k 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 (...
36
votes
3answers
29k 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 ...
36
votes
3answers
42k 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 ...
35
votes
2answers
115k 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}...
35
votes
6answers
143k 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 ...
35
votes
3answers
2k 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: ...
34
votes
1answer
219k 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?
34
votes
7answers
4k 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 ...
33
votes
2answers
26k views

PSTricks error “Undefined control sequence <recently read> \c@lor@to@ps”

I have a problem with this file tex: \begin{document} \begin{figure} \begin{center} \begin{pspicture}(0,0)(1,3.8) \psline{-<}(0,0)(0,.2) \psline{-}(0,.2)(0,.4) \psline{*->}(0,.4)(0,.9) \psline{-...
33
votes
2answers
879 views

When is it safe to type less and drop curly braces in math mode

I'm using tex a lot more now, and I'd like to get more efficient by typing less. I've partly been inspired by editing mathjax posts and seeing people write things like \frac12. However I've also had ...
32
votes
2answers
15k 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)...
32
votes
3answers
339k 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 ...
32
votes
3answers
16k views

mysterious error: \pdfendlink ended up in different nesting level than \pdfstartlink [duplicate]

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 ...
31
votes
4answers
114k 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 \...
31
votes
2answers
57k 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{...
31
votes
1answer
87k views

Change Language in \usepackage[<language>]{babel}?

I've been trying to change the language of my LaTeX document by replacing \usepackage[swedish]{babel} with \usepackage[english]{babel} but I only get this message: ! Package babel Error: You haven't ...
31
votes
1answer
166k views

TexMaker - “File not found” when viewing as pdf

At the moment I'm having a problem when trying to view my LaTeX file as a PDF. Whether I do it internal or external I both the error "File not found.". I have no idea what file it means. I've read ...
30
votes
1answer
4k views

How to generate “You can't use \unskip in vertical mode”?

We all know (or believe so) that \unskip is not possible in main vertical mode and this statement can be found in various answers on the site. And yes LaTeX does a lot of gymnastics in \addvspace or \...
29
votes
2answers
2k 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 ...