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

learn more… | top users | synonyms (1)

2
votes
2answers
1k views

Check installed packages on Mac OS X and install new ones

When trying to compile a new LaTeX document, this line \usepackage[mtplusscr,mtbold]{mathtime} produces the error ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion ...
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
300 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
612 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} ...
2
votes
1answer
2k 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 ...
6
votes
3answers
4k views

units error with siunitx

! Undefined control sequence. \documentclass[12pt]{article} \usepackage{siunitx} \begin{document} \si{300}{\nanogram\per\millilitre} \end{document} Why?
2
votes
1answer
957 views

Chemstyle xkeyval error

I recently installed texlive-science from the Ubuntu repos and received the following error when I compile: ! Package xkeyval Error: `load-configurations' undefined in families `key'. LaTeX works ...
2
votes
1answer
348 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 ...
3
votes
1answer
586 views

Strange persisting error, even after removing the code.

After doing some changes to my document, I get a “Runaway Argument” error on compilation. After undoing these changes the error persists. However, when I copy the code to a new file or rename the .tex ...
1
vote
1answer
143 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
614 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
465 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 ...
7
votes
1answer
3k views

Why do I get an error “Too many }'s” when using package doublespace?

When I use pdfLaTeX to compile this document: \documentclass[12pt]{article} \usepackage{graphicx} \usepackage{doublespace} \usepackage{todonotes} \begin{document} \begin{figure} ...
2
votes
1answer
512 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 ...
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
2answers
522 views

Why does \everydisplay conflict with gather and multline

When gather* is used together with \everydisplay an error is produced. Is there a possibility to make these work together? Minimal working example: \documentclass{ctexart} \usepackage{amsmath,color} ...
23
votes
3answers
24k 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 ...
2
votes
1answer
548 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} ...
2
votes
2answers
3k views

xelatex compilation error

I am using xelatex to compile a tex file. However, I got a strange problem, the log says: ! This is a LaTeX bug: check coding! ! ! Command name `\font_set:Nnn' already defined! Any hint to solve ...
6
votes
2answers
430 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 (...) ...
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 ...
1
vote
0answers
851 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
872 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: ...
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 ...
9
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 ...
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?
4
votes
1answer
612 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
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.
6
votes
1answer
6k 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
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.
3
votes
2answers
235 views

Error in arrow symbols.

My LaTeX installation, and many others on the internet seem to be typesetting arrows with thick bits in them, and it looks like a hypen or something has been overlayed over them. Does anyone have a ...
1
vote
1answer
2k views

XeLaTeX does not find fontspec any longer after TeXLive update

I am using XeLaTeX in TeX Live suites 2010 and everything was going well before I did an upgrade via TeX Live Manager minutes ago. Now every document I compile gets a "File not found" error as the ...
3
votes
1answer
493 views

Array problem, can only have one row.

I'm not sure what I'm doing wrong, I'm trying to create a line of bits with labels. I'm trying to do this with an array: $\begin{array}{c|ccccccc} \mbox{L1} & \mbox{L2} & \mbox{L3} & ...
9
votes
1answer
43k views

using subequations

I have an equation consisting of two parts and would like to use subequation for that. Here's the code: \usepackage{amsmath} \begin{subequations} \begin{equation} \operatorname{min}_{a,b,c} ...
2
votes
0answers
242 views

Incompatibility between classicthesis and afterpage [closed]

It looks like there is an incompatibility between afterpage and classicthesis :( I successfully run this example: How to wrap text around landscape page. But as soon as I incorporate it in my classic ...
16
votes
1answer
3k views

Cite in theorem environment argument

When I try to cite a book in such a way \begin{theorem}[\cite[p.~90]{bibitem}] Theorem body. \end{theorem} I've got an error because of multiple use of [ and ]. Is it possible to cite in such a way ...
15
votes
2answers
6k views

Dimension too large while plotting with pgfplots

I have the following pgfplots code: \begin{tikzpicture} \begin{axis}[domain=-8:2] \foreach \i in {-10,-9.8,...,10} {\addplot+[smooth] {-x/\i+\i};}% \end{axis} \end{tikzpicture} I need several ...
7
votes
1answer
3k views

Ignore compile errors

How can I set up a permanent compile loop that keeps trying even when there are errors? I'm using latexmk with a remote compile setup as discussed here and here. However, if I save a document with a ...
14
votes
1answer
1k views

How to patch a package

I have a document that uses symbols both from the marvosym package as well as the eurosym package. There are two commands that clash and I get an error message (due to \newcommand being used and ...
8
votes
2answers
1k views

“TeX capacity exceeded” because of a couple of raiseboxes in a \section?

In a package, I have the following command defined: \newcommand\fkm{ \ensuremath{\mathrm{ \raisebox{-0.1ex}{\rotatebox{22}{f}}\! \raisebox{0.2ex}{\rotatebox{-15} {k}}\! ...
0
votes
1answer
967 views

Table works for one page, but not for multiple

I have a longtable, that is inputted to the main-file using LTXTable, but it does not work, when the longtable is more than one page long. The latex-code for the table can be found here: ...
3
votes
2answers
1k views

Weird error with xymatrix and pmatrix.

Please look at the following minimal example: \documentclass{article} \usepackage[all]{xy} \begin{document} \( \xymatrix{ \begin{pmatrix} 1 & 1\end{pmatrix} } \) \end{document} The output I get ...
2
votes
1answer
1k views

MiKTeX 2.9 portable — Unavailable to complete the update

I have received several errors with MiKTeX 2.9, being portable or standard install, in which some files related to configuration, does not work well. In my laptop (Win XP, spanish), the user's ...
9
votes
1answer
7k views

Missing } inserted, yet braces are balanced

Regard the following document: \documentclass[a4paper,reqno]{amsart} \usepackage{amssymb,amsmath,amsthm,fullpage} \begin{document} For each $k$ we denote by $\lambda_k$ the $k$th symmetric ...
2
votes
1answer
910 views

Is there a way to fix the following errors?

I am trying to compile a .tex file using pdflatex and I get the following two kinds of errors: Package natbib Warning: Citation `give-citation' on page 14 undefined on input line 41. ! Undefined ...
3
votes
1answer
541 views

BibLaTeX doesn't seem to work with MacTex 2010

I've read good things about biblatex so I want to use it for my paper. I use MacTex 2010 on OS X 10.6.6 with Textmate. So far I've been happy with MacTex but I just can' get biblatex to run. I did a ...
0
votes
2answers
3k views

Problem with defining a titlepage

I am writing a LaTeX 2e class with two options msc and phd for my department theses/dissertations. In this class, I need to define a titlepage for the first page of the theses/dissertations which ...