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

learn more… | top users | synonyms (1)

13
votes
3answers
2k 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, ...
11
votes
1answer
187 views

Tex capacity exceeded (string characters) (well it's about to be exceeded)

As per my earlier question TeX capacity exceeded (save size), I am generating a fairly large index of .txt, .tex, and .pdf files. This process has worked for a long time, and the size of the index is ...
9
votes
3answers
2k views

Problems using `\left\{` in array environment

I am trying to define a matrix in segments by enclosing the entries of the matrix in boxes, and also using the open and closed braces to label those segments. So far I have developed the following ...
8
votes
2answers
126 views

Dimension too large with tcolorbox and fading paths

I have this "Dimension too large" error that I don't understand: \documentclass{article} \usepackage{tcolorbox} \tcbuselibrary{skins} \usetikzlibrary{positioning,shadows} \newtcolorbox{mybox}{ ...
8
votes
1answer
352 views

Compilation error with LuaLaTeX (luaotfload- database.lua)

This file does not compile after updating TeXLive 2013 : \RequirePackage{ifluatex} \documentclass[12pt]{standalone} \ifluatex \usepackage[no-math]{fontspec} ...
8
votes
3answers
2k views

Problem with spanish babel package

I'm trying to use package amscd for a commutative diagram. Everything goes smoothly if I write: \documentclass{article} \usepackage[english]{babel} \usepackage{amscd} \begin{document} $\begin{CD} A ...
7
votes
2answers
4k views

TeX Live issue after update - `fmtutil.cnf` not found

I recently updated TeX Live to following version TeX 3.1415926 (TeX Live 2013/Arch Linux) and cannot compile any file anymore, it fails with error $ pdflatex blab.tex This is pdfTeX, Version ...
7
votes
1answer
135 views

Are nath and xcolor incompatible?

I have a file that compiles fine. It uses nath and color packages: \documentclass[10pt,a4paper]{article} \usepackage{color} \usepackage{nath} \delimgrowth=1 \begin{document} \begin{equation} A ...
6
votes
1answer
135 views

ogctools in combination with beamer

I try to use ocgtools in a beamer presentation, which worked for me some time ago. But now (TeXLive 2013) this seems not wo work anymore. As soon as I include the ocgtool package there are errors ...
6
votes
4answers
177 views

Expansion of commands in errmessage

When I run \documentclass{article} \def\pet{dog} \errmessage{My \pet\ is {sick}} \begin{document} My \pet\ is {sick}. \end{document} the error message is: My dog\ is {sick}. but the PDF ...
6
votes
1answer
680 views

Using a macro as value of addtotoc in \includepdf

I would like to include pages from an external PDF file into my document, using the pdfpages package. The following works for me: \documentclass{article} \usepackage{pdfpages} \begin{document} ...
5
votes
1answer
63 views

How can I use the align environment in flashcards document class?

I currently have this working example for flashcards: mycards.cfg Use A7 flashcards that get printed on A4 paper. \NeedsTeXFormat{LaTeX2e}[1996/12/01] \ProvidesFile{avery5388.cfg} ...
5
votes
2answers
946 views

extra } when use titlesec package

In the .tex file, I want to use the package titlesec. But there is a error: ! Argument of \subparagraph has an extra }. Is there some simple method to fix this? The code is: ...
5
votes
2answers
8k views

Error including a .png: Cannot determine size of graphic [duplicate]

I have a little problem: I am not able to put an image in my document. This is how I start: \documentclass[a4paper,12pt,titlepage]{report} \usepackage{fontenc} \usepackage[italian]{babel} ...
4
votes
1answer
322 views

Problem with \cdashline and package arydshln

I have a problem with \cdashline. I use the \cdashline in a matrix but I have an error with \usepackage{arydshln} I think: ! Use of \x doesn't match its definition. \LT@array ->\adl@arrayinit ...
4
votes
1answer
170 views

A list of pairs in pgfkeys

Having learnt a lot about the pgfkeys package as a result of my last question, I'm now trying to do some more adventurous things. Let's say I have a command called \blob, whose value is the ...
4
votes
1answer
2k views

md-chr7y source file could not be found

I am trying to build a document with pdflatex (MikTeX) but it fails. It seems to be the used font on the title page. The error is as follows: miktex-makemf: The md-chr7y source file could not be ...
4
votes
2answers
442 views

Siunitx: how to deal with invalid numerical input '-'?

Thanks to you all, I found siunitx for decimal alignment. However, some of the columns in my correlation matrix don't have any numbers and have "-" instead. siunitx gives me an error about invalid ...
4
votes
1answer
850 views

Error compiling CJK with \tableofcontents and \makeindex

A basic document with Chinese text works fine: \documentclass{article} \usepackage{CJKutf8} \title{标题} \begin{document} \begin{CJK}{UTF8}{gkai} \maketitle (text) \end{CJK} ...
4
votes
2answers
2k views

How to avoid exceeding TeX capacity when using multi-page tables?

I'm using longtable package (together with xcolor for alternating row colors and booktabs for elegant table headers) to generate a huge table. And by huge, I mean it has more than 900 lines and takes ...
3
votes
2answers
456 views

TeX Live 2013 throwing up errors when using updmap and fmutil

I run TeX Live 2013 on Win 7(x64) and was doing fine with updates and everything until today. I went for another update, when suddenly the following error message popped up when the updater tried to ...
3
votes
2answers
308 views

Undefined control sequence \pgfmath@

Why does the following code give me this error message? Error ERROR: Undefined control sequence. --- TeX said --- \pgfmath@dimen@ ...men@@ #1=0.0pt\relax \pgfmath@ l.28 \draw ...
3
votes
1answer
155 views

Error when compiling a 'minted' listings inside a 'memoir' subfloat

I'm trying to compile the following minimal example: \documentclass{memoir} % Enable subfloats within figures \newsubfloat{figure} \usepackage{minted} \begin{document} \begin{figure} \subbottom{% ...
3
votes
1answer
1k views

Compilation error with media9 package

While using media9 package, I'm getting the following error : Argument of \bool_if:nTF has an extra } I'm unable to figure out where does the error come from. Here is the minimal example: ...
3
votes
1answer
16k views

Package pdftex.def error PDF mode expected

Took me 6 hours today and still doesn't work, the error is : Package pdftex.def error PDF mode expected mf-texlive/tex/latex/pdftex-def/pdftex.def Example document: \documentclass{article} ...
3
votes
1answer
551 views

Only \usepackage if the package can be found [duplicate]

Possible Duplicate: Conditional “if a package is available” I'm using a package "mcode.sty" that enhances/colors listings output; typesetting will work perfectly without it. ...
3
votes
1answer
2k views

Errors/Warnings in LaTeX Output

I use Vim to edit LaTeX documents and pdflatex to compile the documents. One problem with using pdflatex is that it takes time to go through the output to see if there is any warning/errors. ...
2
votes
0answers
107 views

Save size exceeded 80000 - which texmf.cnf to edit?

This started as a comment on David Carlisle's answer http://tex.stackexchange.com/a/134599/37570 Running under Windows, I see 2 texmf.cnf files: under \texlive\2013 and ...
2
votes
1answer
961 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
99 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 } ...
2
votes
3answers
5k views

babel: “No hyphenation patterns were loaded for the language 'Portuguese'”

I put in the preamble of my document: \usepackage[brazil]{babel} \usepackage[latin1]{inputenc} When I compile as a PDF, I receive the output: "No hyphenation patterns were loaded for(babel) the ...
1
vote
1answer
623 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
2k 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
605 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
1k 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 ...
11
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 ...
11
votes
3answers
1k 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 ...
10
votes
1answer
568 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
0answers
5k 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
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
734 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
177 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
737 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
2answers
646 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
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
190 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, ...
6
votes
1answer
62 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
195 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
5k 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 ...
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 ...