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

learn more… | top users | synonyms (1)

3
votes
1answer
133 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
957 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
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 ...
3
votes
1answer
13k 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
538 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. ...
2
votes
2answers
10k views

Error Latex TeX capacity exceeded, sorry [input stack size=5000]

I want to test this template http://students.engr.scu.edu/~sschaeck/latexforthesis/. when i run the makefile i get this error .Please what does it mean this error here the code : ...
2
votes
1answer
97 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
4k 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 ...
25
votes
2answers
534 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 ...
15
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 ...
12
votes
1answer
5k 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
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
558 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, ...
7
votes
1answer
162 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
646 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
4k views

Language problems with biblatex and babel

I am trying to use biblatex with IEEEtran and babel, however I am having an error: Package babel Error: You haven't defined the language ENGLISH yet.. With regular Bibtex everything works as usual. ...
7
votes
2answers
565 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 ...
7
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 ...
6
votes
1answer
572 views

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 not the issue. I have added logic to insert additional links ...
6
votes
1answer
58 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
154 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
147 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
174 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
338 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 (...) ...
5
votes
1answer
132 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 ...
5
votes
1answer
354 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
245 views

Problems with \pgfplotstableread and relative paths

I have this folder structure in my project: main.tex mystyle.sty tex mytex.tex img myimg.tex dat mydat.dat And the following files: main.tex: \documentclass{scrartcl} \usepackage{mystyle} ...
5
votes
1answer
156 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
541 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
940 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 ...
5
votes
1answer
2k 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
1k 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
547 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
529 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
1answer
889 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
5k 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} ...
5
votes
4answers
7k 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 ...
4
votes
1answer
36 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
104 views

Why aren't the braces showing

I have this tex: \(\mu_{A}\left(x\right)\in \[0,1 \right\]\) The issue here is that [ and ] are not showing around 0,1, why is that? Thanks.
4
votes
1answer
178 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. ...
4
votes
1answer
718 views

LaTeX file not compiling due to too many unprocessed floats and other error messages

I am in the process of trying to compile a LaTeX document. I have a separate .bib file and am using BiBTex. I had put in eight figures, generally using the htbp placement option, and these compiled ...
4
votes
1answer
235 views

xelatex error paragraph ended before \@tempa was complete

Hi I ve got this error message Runaway argument? \x@protect \[\protect \[ \@nil \@ifpackageloaded {amstex}{\def \@tempa \ETC. Paragraph ended before \@tempa was complete. <to be read again> ...
4
votes
2answers
785 views

Undefined control sequence while using bib file for References

I'm using TexMaker, if it helps. I also have TeXnicCenter and TexWorks. The tex file is the following: \documentclass[11pt]{book} \begin{document} (...) \bibliographystyle{unrst} ...
4
votes
1answer
2k 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 ...
4
votes
1answer
342 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} ...
4
votes
1answer
503 views

Packages hyperref together with subfig break when \renewcommand{\thefigure}{…} is used

The following code compiles and acts as you would expect: \documentclass[12pt]{report} %\usepackage{hyperref} \usepackage{subfig} \begin{document} \begin{figure} \centering ...
4
votes
1answer
643 views

Strange PDF issue for Adobe Acrobat on Linux reading a document produced in latex

This is probably a well known bug or error, but I don't really know how to search for it. I have a PDF, which I have created on my computer running os X (10.6) in texshop. There are various figures ...
4
votes
1answer
210 views

Excessive Input causes problems in XeLaTeX

I am using polyglossia and xelatex for my Arabic document. I have about 600 pages wrapped in 001.tex 002.tex ... and a unique TTF font assigned for each page. When I use all these external tex files ...
4
votes
1answer
309 views

Add offset to line number (in error message) when using input files

I am compiling a latex document, and when I have errors, I get nice messages like l.1041 \end{frame} which tells me that there is an error somewhere before line 1041. So far, so good. I can use my ...