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

learn more… | top users | synonyms (1)

70
votes
3answers
201k 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 f\...
2
votes
1answer
4k 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
576 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
570 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
628 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
622 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
881 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
901 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: \usepackage{...
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
651 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 \end{...
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. I'...
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 \begin{...
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 \newcommand*{\alignedfbox}[1]{\@...
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
458 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 (...) \...
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
497 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} & \...
3
votes
1answer
3k views

Attempt to export EPS figures from TikZ fails

I'm attempting to output EPS figures when using MikTeX 2.8 under Windows XP, and am following Export eps figures from TikZ. My problem is that I can't get the bare example given there to run. The ...
10
votes
1answer
49k 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} \frac{1}...
19
votes
1answer
4k 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 ...
16
votes
2answers
7k 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 line-...
6
votes
2answers
2k views

Centering and \MakeUppercase with linebreaks

I wish to make the list of authors show up as centered, uppercase and listed vertically on my titlepage. My documentclass contains a section like this \begin{center} ... \renewcommand{\and}{\\}\...
2
votes
0answers
245 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 ...
2
votes
2answers
574 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} ...
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 ...
19
votes
3answers
4k 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 ...
2
votes
1answer
3k views

Error message when I try to run pdflatex with movie15 package

I am trying to use package movie15 to include videos in my PDF produced by the command pdflatex, however all the time I use this command the followed part of massage rises: (/usr/share/texmf-texlive/...
0
votes
1answer
982 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: http://latex....
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 ...
26
votes
1answer
624 views

Is there a \die command?

Is there a command that generates the error or warning of my choice? I'm planning to put it in an \ifthenelse, so it can't be a syntax error.
4
votes
1answer
874 views

What could cause repeated NULL characters in an .aux file? [closed]

I have a LaTeX document that was compiling fine until this evening. I was playing around with synctex and latexmk when I noticed the error, but I'm not sure what is causing it. There are over 100 of ...
3
votes
1answer
614 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 ...
5
votes
2answers
488 views

TeX compilers/wrappers and robustness

Please see this post for context. We can use texi2dvi to get LaTeX to compile the correct number of times, and to insert a bibtex call into the loop if necessary. rubber is another wrapper script ...
3
votes
2answers
2k views

Texments/minted not working - Undefined control sequence

I'm trying to add some syntax highlighting to my code and found two packages: texments and minted. I tried to use them, but I'm getting errors while trying to build. I used following code to test both ...
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 ...
5
votes
1answer
2k views

PDF inclusion: found PDF version <1.5>, but at most version <1. 4> allowed

How do I get rid of this error: PDF inclusion: found PDF version <1.5>, but at most version <1. 4> allowed I tried putting \pdfoptionpdfminorversion=5 after my preamble, but nothing ...