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

learn more… | top users | synonyms (1)

2
votes
1answer
1k views

tikz-uml sequence diagram “Extra \or” error

I was compiling the following code which uses the tikz-uml package. \documentclass{article} %\usepackage{pgf} %\usepackage{tikz} \usepackage{tikz-uml} \begin{document} \begin{tikzpicture} ...
2
votes
1answer
104 views

Diagnosing errors inside newcommands

When I need to use something repeatedly within a document, I make my own command. E.g.: \newcommand{\notification}[2]{ % line 2 Hello #1, your #2 pie is ready. % line 3 } ...
1
vote
1answer
761 views

Code in \lstlisting breaks document (compile error) [closed]

I want to show a JSON object in my document. If I do the following, it works: \begin{lstlisting} { "id": "5", "key": "discardedCard" } \end{lstlisting} But if I extend the code to the ...
1
vote
1answer
3k views

Multicolumn misplaced \omit problem

Okay, I know there are a few questions already about this but I looked at them and tried to get it to work but couldn't, I'm kinda new at this so I dont really have a clue what I'm doing. Anyway ...
27
votes
2answers
684 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 ...
16
votes
3answers
2k 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
3answers
2k 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 ...
12
votes
2answers
260 views

How can I get latex to show an error message if there are too many pages?

I have a series of pdf files that I'm combining. I'd like to include as many of them as possible in the finished document, but for logistical reasons I cannot have a total of more than 50 pages. Is ...
12
votes
2answers
3k views

How do you put multiple paragraphs in a caption?

I have a really long caption for a figure in a LaTeX document. I would like to break the caption into a few paragraphs. How do I do that? As per the request below, I removed everything I could ...
10
votes
1answer
574 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, ...
8
votes
1answer
340 views

htlatex interrupted at '\:temp{rm}'

Using TL2013, I cannot compile documents with htlatex anymore. For example, using: \documentclass{scrbook} \begin{document} test \end{document} I get: $ htlatex test.tex This is pdfTeX, ...
8
votes
0answers
6k 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 ...
8
votes
2answers
17k views

Misplaced alignment tab character when building a matrix

I'm still new to latex. I've been having a problem with building a matrix and I have no idea what I'm doing (or what I'm doing wrong), so be gentle please :) \begin{matrix} 5 & 6 & 7 \\ 4 ...
8
votes
3answers
419 views

error when patching with etoolbox \apptocmd: “the patching command seems to be nested in the argument to some other command”

The \apptocmd command from etoolbox is giving me an error I don't understand. I know how to work around the error in this particular case, but I'd like to understand what it's complaining about so ...
8
votes
3answers
2k views

Latexdiff error (caused by multi paragraph \sout): Paragraph ended before \UL@on was complete

I try to use latexdiff to point out changes I have made in a document to the other people who need to read it and give me their advice... However, I've been getting this error: Runaway argument? {En ...
8
votes
1answer
746 views

Amsmath has problems with $e^{\sum{x}}$

Running the code: \documentclass{article} \usepackage{amsmath} \begin{document} Test: $e^{\sum{x}}$ \end{document} Dies, yet it runs just fine with the \usepackage{amsmath} commented out. The logs ...
7
votes
1answer
205 views

Error message with hobby package

I am trying to use the hobbypackage with this minimal example from the manual: \documentclass{article} \usepackage{tikz} \usetikzlibrary{hobby} \begin{document} \begin{tikzpicture}[scale=.5,use Hobby ...
7
votes
3answers
846 views

\uline within a pgfmath expression produces an error

Why does using \uline within a pgfmath expression result in an error? \documentclass{article} \usepackage[normalem]{ulem} \usepackage{tikz} \begin{document} \pgfmathparse{width("\uline{blabla}")} ...
7
votes
1answer
6k views

Errors in tables then runaway argument at \begin{document}

I am new to LaTeX and keep having this re-occurring problem. I create a table and notice a mistake (incorrectly specifying the number of columns or something) because the pdf won't compile (I am using ...
7
votes
2answers
715 views

How do I put a musical clef in a memoir-class document?

I've got a lot of questions about preparing a book layout, but as I'm slowly going through the various books and other documents out there, I think most of the questions are being answered. However, ...
7
votes
2answers
14k views

Error: extra alignment tab has been changed to \cr

I am using the ACM SIG template and trying to create a table of 4 columns. I get the error mentioned in the title of the question. I know the standard reasons why this error can occur. But my ...
7
votes
1answer
3k views

natbib: Error when citing paper with similar authors and same year

I get a strange error when I try cite two certain papers in the same document, when I use the natbib package (with numbers option enabled). If I trim the author list or change the year of either ...
6
votes
1answer
233 views

Compilation fail with pstool: \begin{document} wrapped in \makeatletter \makeatother

I'm trying to create a presentation with LaTeX beamer using pstool, and since updating my system to Ubuntu 13.10 (pstool 1.5a, TeX Live 2013) the compilation of the pstool auxiliary TeX files ...
6
votes
1answer
64 views

My attempt to local redefine a command is failing and not sure why

I want to decorate some text and then reprint it undecorated. This is the code that I was using to do this. \documentclass{article} \usepackage{xcolor} \makeatletter ...
6
votes
1answer
224 views

Error using smartdiagram package:

I am trying to use the smartdiagram package and wanted to replicate an example in the documentation. Here is my MWE: \documentclass[10pt]{article} \usepackage{tikz} \usepackage{smartdiagram} ...
6
votes
1answer
250 views

“No room for a new \read” with writing a journal

I'm fairly new to TeX and learning as I go. I am trying to keep a journal in LaTeX. I'm using the solution provided at Using LaTeX to keep a diary . It's essentially a setup where each day's entry is ...
6
votes
1answer
547 views

No room for a new \mathgroup

Using MnSymbol, bm and pxfonts together causes No room for a new \mathgroup MWE: \documentclass{article} \usepackage{MnSymbol} \usepackage{bm} \usepackage{pxfonts} \begin{document} ...
6
votes
1answer
1k views

Command \AtBeginEnvironment already defined

I am pretty new to LaTeX. With windows, Miktex/Texmaker pretty-much takes care of package installation whenever needed, but on Ubuntu I have been downloading needed packages from CTAN and installing ...
6
votes
1answer
160 views

Using permute with glossaries

There is a problem with using the package permute with glossaries. A minimal working example: (by the way a minimal working example to show how an "index of notation" can be created) ...
6
votes
2answers
190 views

How to increase the node memory size in ConTeXt?

With a very large document, after about 30 minutes of compiling with context, I get this error: ! TeX capacity exceeded, sorry [node memory size=100987760]. I added a line to texmf.cnf which says ...
6
votes
2answers
380 views

In the verbatim environment, how can I display an 'if' statement I declared as '\ifcondition'?

I have declared a couple of if commands of the form \newif\iffinal \newif\ifsolutions Now I want to write about it in the same document! So I want to write something like \iffinal (...) ...
6
votes
4answers
8k views

Missing $ inserted

I am new to latex. I am trying to compile someone else's document. I have all the correct packages installed, but I get the following error: *Overfull \hbox <37.8394pt too wide> in paragraph ...
5
votes
1answer
597 views

MikTeX update caused compilation problems (Oct 2013)

I just updated all my MikTeX packages in an attempt to deal with the problem posed in this question: Biblatex citation and bibliography misbehaving in Texmaker - help!. Now TeXworks and TeXmaker both ...
5
votes
1answer
787 views

TeXLive 2013 (on Linux/Ubuntu) - tcfmgr & fmtutil not found

When I try to update packages via tlmgr (or run fmtutil-sys --all directly), TeXLIve reports: /usr/local/texlive/2013/bin/i386-linux/fmtutil: 395: /usr/local/texlive/2013/bin/i386-linux/fmtutil: ...
5
votes
1answer
5k views

Getting strange misplaced \noalign error

I'm trying to add a horizontal line to my document, like so: \documentclass[10pt]{article} \usepackage{fullpage, graphicx, url} \usepackage{dsfont} \begin{document} $ \mathds{C}$ \hline ...
5
votes
1answer
178 views

How to mitigate “same number of coordinates” error?

I have a rather complicated pgfplots graph mixing const plot with ybar stacked and it doesn't like the data sets I am importing due to coordinate mismatch. However the graphs are correct and exactly ...
5
votes
1answer
17k views

Underfull \hbox badness 10000 \textbf

Simple code (new to LaTeX). Receiving these errors: Underfull \hbox (badness 10000) in paragraph at lines 13--14 Underfull \hbox (badness 10000) in paragraph at lines 15--26 Underfull \hbox (badness ...
5
votes
1answer
1k views

Using 'caption' package with 'thesis' class - undefined control sequence [closed]

I am trying to compile my PhD thesis. It worked a while ago (a few months or so) but something has somehow changes since then because I get an undefined control sequence error relating to the ...
5
votes
1answer
3k views

No Counter Theorem1 is defined

I got an exception in the following latex code: "No Counter Theorem1 is defined", what is the problem? \documentclass[conference]{IEEEtran} \newtheorem{definition}[theorem1]{Definition} ...
5
votes
1answer
2k views

Why does this error keep popping up even though I clearly fixed it?

This is the code I have: \begin{align} \vec{l} \cdot \vec{n} & = \left \langle 1,2,3 \right \rangle$ \cdot \left \langle 3,-3,1 \right \rangle \\ ...
5
votes
1answer
714 views

Problem with spanish and babelbib

I'm not an English native speaker. All the documents I write are in Spanish. To handle this I use some packages like babel and babelbib for bibliographies. However, this can cause some troubles of ...
5
votes
1answer
2k views

why does latex report errors when using styles in a tikz pgf picture?

I get three errors when attempting to build the following example (with the tikzpicture taken from the tikz pgf manual). Why does this happen, and what am I doing wrong? \documentclass[12pt]{article} ...
5
votes
1answer
561 views

Powerdot cannot be compiled under xelatex; how to solve it?

I use Tex Live 2011 and test a simple example: \documentclass{powerdot} \begin{document} \begin{slide}{a slide} Contents of the slide. \end{slide} \section{first section} \begin{slide}{another slide} ...
5
votes
2answers
1k views

Font name in LuaTeX's fontspec

I have a document using fontspec which works fine with XeTeX, but a the Linux Libertine Initialis O font is not found when compiling with LuaTeX: Here is a MWE reproducing the problem: ...
5
votes
1answer
1k views

Error “Reconstruction failed” with soul package

I've got a problem with the soul package while adding a letter-spacing to a result of a command that is defined just like this: \newcommand{\myCommand}{some text} In the document I'd like to have ...
5
votes
1answer
8k views

Error message when using biber

Great site here. I have a question regarding Biblatex and Biber. My current .tex file structure looks like this in TeXworks: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{inputenc} ...
4
votes
1answer
76 views

loop macro fails if wrapped in conditional

The following code is a subset of the answer in this question. The code provided in the answer works fine, but fails if I add a conditional \IfPackageLoaded. I post this error as a new question, ...
4
votes
2answers
114 views

error while drawing currents in circuitikz

This is my first complete circuit in circuitiks. I'm trying to draw a circuit to show Kirchoff's Law. I was able to draw the nodes and voltages, but putting currents with arrow is giving me trouble. ...
4
votes
1answer
64 views

compilation error with `legend entries={…}` and `y filter/.code={…}` [duplicate]

The following example doesn't compile, unless I remove either the y filter/.code={...} or the [legend entries={...}] option: Is it a bug? \documentclass{article} \usepackage{pgfplots} ...
4
votes
1answer
246 views

Using listings inside mdframed causes unknown compilation error

I have a problem with the listings and the mdframed package together. The following code compiles with errors, but the only info I managed to get about it is that it was fatal. ...