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

learn more… | top users | synonyms (1)

3
votes
4answers
2k views

What package or class defines an \email macro?

A colleague sent to me a manuscript written in Ubuntu. I am using Mac OS X Snow Leopard and I only have trouble when I compile the document due to the latex command \email. It seems it is not ...
3
votes
1answer
1k views

PGF/TikZ error when using chains

I'm trying to learn how to use PGF/TikZ to draw pictures, in particular a chain of nodes. I have the following picture: \begin{tikzpicture}[start chain, node distance=5mm] \node [on chain,join] ...
2
votes
2answers
320 views

Unable to include equation featuring special symbols

I am designing an article, and using the amsmath package. I tried to use the following to include an equation in my document: \begin{equation} |\psi\rangle = \alpha|0\rangle + \beta|1\rangle ...
2
votes
1answer
621 views

Tex4ht on document: error “\leftmargin doesn't match its definition” when \small is used in acronym name

Is it possible to change the settings of dvi compilation in tex4ht? I ask, because I get a strange errors, when trying to generate html for my latex file: ! Use of \leftmargin doesn't match its ...
1
vote
1answer
4k views

Figure inside leftbar environment generates error “Not in outer par mode”

! LaTeX Error: Not in outer par mode. I seek a solution to be able to make this figure inside leftbar environment work: \documentclass[12pt]{article} \usepackage{graphicx} \usepackage{framed} ...
3
votes
3answers
6k 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 ...
2
votes
1answer
3k views

figure, errors '\undefined control sequence - \ltx@Ifundefined{…'

Please help me tell why the following code is not correct? \documentclass[a4paper,12pt]{article} \usepackage{graphicx} \begin{document} \begin{figure}[htp] \centering ...
7
votes
3answers
5k views

units error with siunitx

! Undefined control sequence. \documentclass[12pt]{article} \usepackage{siunitx} \begin{document} \si{300}{\nanogram\per\millilitre} \end{document} Why?
9
votes
3answers
3k 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 ...
2
votes
1answer
355 views

Running the animate package documentation

I downloaded the tex file for the documentation of animate package by Alexander Grahn and tried to run it on MikTeX instead of giving me the PDF output it generate the following error: ! LaTeX Error: ...
2
votes
1answer
181 views

Problems with Terminal output garbled when using ConTeXt

when using texexec to compile my documents my terminal is sometimes garbled, so I can't read any error messages anymore :( But since this only happened a very few times, I couldn't be really bothered ...
0
votes
1answer
1k views

Help! How to get the PDF-File? Error & Warnings lead to no pdf-file

I have a big problem. I am writing my phd thesis and started to use latex recently. I developed some basic skills that helped out me most time. But at the moment I dont know how to solve the problem. ...
1
vote
1answer
145 views

matching comment environments, no longer able to comment out text

I have a long LaTeX document and I am trying to comment out lines of text using \begin{comment} text \end{comment} and while compiling the document I have the interpreter giving out: <recently ...
1
vote
1answer
244 views

How to fix the MiKTeX bug about uni-wtal-ger / uni-wtal-get? [closed]

I encountered the exact problem as MikTeX 2.9 without list of packages in settings program. Now I figure out it may be a bug of MiKTeX. It misnamed one package. The correct package should be ...
1
vote
1answer
656 views

Missing $ error

Why doesn't this code compile? % Oxidation and reduction % Author: Arne Röhrs % Note that two compilations are necessary. \documentclass{article} \usepackage{tikz} ...
8
votes
1answer
483 views

Curious effect with \newsavebox

The following code fails with the error ! LaTeX Error: Command \mybox already defined. Or name \end... illegal, see p.192 of the manual. despite the fact that \mybox has been ...
33
votes
4answers
37k 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: ...
1
vote
0answers
1k views

Compilation problem after running bibtex [closed]

I'm having the following problem: My document compiles properly before running bibtex. When I try to recompile after running the bibtex command it gave this compiling error: Runaway argument? ...
2
votes
1answer
517 views

LaTeX Error only if certain citation is used

I've got a strange problem, where texmaker throws an error only if I include the following citation: however natural mood swings during weekdays might also have an influence\footnote{see the appendix ...
12
votes
1answer
2k views

Beamer error driving me nuts

OK, I've been staring at this for an hour. I know there's an error in this frame, as the document compiles fine if I put \end{document} in the frame before this. But this frame gives an error File ...
4
votes
1answer
26k 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} ...
67
votes
3answers
191k 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 ...
2
votes
2answers
4k views

TikZ/PGF: I can't find file `tikzlibrarycircuit.code.tex' error

I am trying to use the circuit library from TikZ/PGF 2.1, but get the following error when I call LaTeX: ("C:\Documents and Settings\s0237326\Application Data\MiKTeX\2.9\tex\generic\pg ...
2
votes
1answer
3k views

usepgfplotslibrary - undefined control sequence

I have problem with following example code: %& --shell-escape --enable-write-18 \documentclass[a4paper,10pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{polski} ...
2
votes
2answers
3k views

pdftex.def Error: 'pix/quadratic.pdf' not found : Beamer

I am using a beamer template to make a presentation. When I compile the code I am getting the following error which I have no idea about. <Package pdftex.def Error: File 'pix/quadratic.pdf' not ...
3
votes
2answers
1k views

compilation problem: “Extended mathchar used as mathchar” with mathastext

When compiling a file using XeLaTex in TeXShop on Mac OS X, the console persistently hangs after the detection of the XeTeX driver: *geometry* driver: auto-detecting *geometry* detected driver: xetex ...
6
votes
4answers
558 views

Signalling error in “expandable context”

I'm reviewing a few old macros of mine to make them fully expandable. One of the macros takes one argument, which should either be a two-digit or a four-digit integer (>1955). The macro then converts ...
3
votes
1answer
562 views

Zero margins with memoir

I am trying to set up custom page size with zero margins. Here is the example \documentclass[oneside,final,12pt]{memoir} \usepackage{lipsum} % just for sample text \usepackage[T1]{fontenc} ...
3
votes
2answers
619 views

XYPic Frame with braces does not typeset correctly

I have a picture I am trying to typeset with xypic using pdflatex. As a minimal example there are basically a few boxes with a curly brace under them. I try to do this with the following code: ...
2
votes
0answers
2k views

thesis won't compile anymore! [closed]

I opened up my thesis this morning to compile and nothing happens! It worked fine Saturday. LyX hangs and when I exported to .tex and tried to compile with TeX Shop it also hangs. here is the console ...
2
votes
1answer
616 views

Error: Leading too small: minimum 12pt, saw values as small as 11.9pt

I'm submitting my assignment and get error from the automated format checker. First of all, I use: \documentclass[letterpaper,twocolumn,10pt]{article} Error: Leading too small: minimum 12pt, saw ...
2
votes
0answers
870 views

Problem in Latex2rtf [closed]

I installed LaTeX2rtf 2.1.1 GUI from SourceForge. I also installed MikTeX, Imagemagick and ghostscript, which is automatically detected in the environment tab. But when I run the program on a .tex ...
5
votes
1answer
886 views

Datatool error: undefined control sequence \begin

I'm using datatool to make a mail merge. I have my .csv file. I've defined my \DTLloaddb{indirizzi}{/home/kde/Dropbox/edile_150/consulenti_arezzo.csv} and if I use \DTLdisplaydb{indirizzi} I have my ...
2
votes
1answer
2k views

sidewaysfigure error when adding a caption

I'm trying to include a uml diagram, which as it's quite large i'd like to rotate. However, if I try and add a caption I get an error and it won't build. I'm adding the figure like this: ...
2
votes
1answer
76 views

Issue an error when section takes more than 2 pages

I have a need to make the build crash when a \section takes more than a single page (in a given environment). How can I achieve that?
10
votes
2answers
4k views

How to nest \Call in algorithmicx?

I tried to show something like: Min(Right(x)), when I input the following in my LaTeX manuscript: \begin{algorithmic}[1] ... \State \Return \Call{Min}{\Call{Right}{$x$}} ... \end{algorithmic} it ...
3
votes
3answers
4k views

Problem with AUCTeX, graphicx, pdfTeX and \pdfoutput not equaling 1

I've been using Emacs + AUCTeX for several years now, and all of a sudden I started getting the follow error on all documents that have compiled fine before: ERROR: Package pdftex.def Error: PDF mode ...
4
votes
1answer
635 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
3k views

beamer doesn't work after upgrading to MiKTeX 2.9 – 20 error messages

After upgrading to MiKTeX 2.9 my beamer files stopped working. The code: \documentclass{beamer} \begin{document} \begin{frame} Hello \end{frame} \end{document} Gives some 20 errors and two ...
6
votes
1answer
2k views

Undefined Control Sequence \hyper@link error

Every time I compile my beamer presentation, I get a list of 83 errors all of the form: Undefined Control Sequence \hyper@link...d@pdflink {#1}{#2}#3\Hy@xspace@end \close@pdflink at each ...
1
vote
2answers
2k views

Setspace package not working

I've tried searching, and I couldn't find my answer, so I hope I'm not re-asking stupid stuff. That being said, I'm a total noob to LaTeX. As such, this question is probably ridiculous and stupid. ...
6
votes
2answers
3k views

Why does doublespacing using setspace have errors when used in a minimal documentclass?

Just curious why \doublespacing seems broken in a minimal document. It works ok when the documentclass is set to article. \documentclass{minimal} \usepackage{setspace} \doublespacing ...
5
votes
4answers
6k views

Problem in TeXnicCenter

I have a problem in TeXnicCenter. So I have built the .tex file with Ctrl+F7. I have 0 errors, and now how can I generate the PDF file? That button - Build Output (F7) is disabled. Why? When I press ...
2
votes
1answer
2k views

pdflatex with index suddenly fails with undefined control sequences

The document I have been working on has built the index fine in the past. I have since made some changes to Part and Chapters, and re-arranged things in the preamble a little. Now pdflatex, mkindex, ...
3
votes
1answer
2k views

How to view Latex compiler error messages using Lyx?

I do not seem to find how to view the latex error messages when I use "View DVI" or "Export to PDF", etc.
7
votes
1answer
7k views

Error when trying to generate a PDF from a latexdiff document.

I used latexdiff to generate a tex document with the differences between two other tex documents. This worked fine, but when I try to generate a PDf from the diff document I always get this error: ...
0
votes
2answers
3k views

The argument of foo has an extra }.

I'm trying to write a command that does, effectively, an \fbox in something like an align environment. The following code works: \usepackage{etextools} \makeatletter ...
0
votes
1answer
7k views

Error with hrule

So I'm trying out this code from here, but I keep getting this image: What is happening? I copy-and-pasted the code.
25
votes
2answers
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: ...
6
votes
2answers
443 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 (...) ...