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

learn more… | top users | synonyms (1)

12
votes
2answers
1k views

Appending to Variables

The following code works: \def \robble {robble} \def \robbles {\robble\robble} But the following but doesn't: \def \robbles {robble} \def \robbles {\robbles robble} The overall goal is to get ...
10
votes
1answer
48k 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} ...
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 ...
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}}\! ...
7
votes
2answers
270 views

Usage of library advnodes of the tikz-timing package causes “Undefined control sequence”-error

I have a problem with the "advnodes" library of the "tikz-timing" package. The sample code below generates following error message and points to the ".sty"-file of the advnodes-library: Package: ...
7
votes
1answer
621 views

How to solve this bibliography error?

Here is my bibliography in latex. The types is "Inprooceedings". I use WinEdt. @INPROCEEDINGS{tem_1, Author = {Comelli, P, Ferragina, P, Granieri, M.N, and Stabile, F}, Title ...
5
votes
0answers
366 views

Miktex amsfont problem: \scriptfont is undefined [duplicate]

Today, After updating Miktex system, I have trouble with error \scriptfont is undefined. So I tried to reinstall Miktex 2.9.4813 (32 bit version). Everything OK, but again after updating, problem is ...
5
votes
1answer
2k views

Error when using minted package and -output-directory option

I am having problem when I use the -output-directory option while I am using minted. It does not move the .out.pyg and .pyg file to the output directory and it gives me an error. I there any ...
5
votes
1answer
2k views

Error caused by interaction between minted, footnotes, babel and "(double quote)

I'd like to put some inline code using minted but when I try to typesent the empty string "" I get an "undefined control sequence" error. Sample code: \documentclass[a4paper,10pt]{article} ...
5
votes
1answer
1k views

How can I see why a file isn't compiling somewhere else, if it does in my machine?

I'm attempting to submit a paper using the Elsevier Editorial System in LaTeX, and in the final step before submission it builds a file with information, the cover letter, and hopefully the ...
4
votes
1answer
120 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
3k views

LaTeX algorithmic package: Undefined Control Sequence in for-Loop

I'm trying to specify an algorithm in pseudocode in a LaTeX document, but I'm having trouble with the for-Loop. My statement: \for{$bin=0 to binCount$} \item blablabla \endfor keeps on generating ...
2
votes
3answers
226 views

Generating a template

My professor gave me a template which I compiled but it gave me lots of errors. The code is: \documentclass[12pt]{article} \usepackage{rotating,graphics,psfrag,epsfig} \usepackage{graphicx} ...
1
vote
2answers
2k views

miktex-makepk: PK font Alegreya-Regular-lf-t1--base could not be created

I just want to use Alegreya font with pdflatex. i had a question about an error before and got an answer. But it gives another error now. what should i do. error message: miktex-makepk: PK font ...
14
votes
2answers
2k views

Coloring lines in an algorithm

I am using Beamer for creating a presentation and I am trying to highlight some lines in an algorithm. I am actually using algcompatible. I found a solution here and created a couple of new commands ...
14
votes
1answer
1k views

What does 'missing \@ before…' error mean in vim?

I get this strange behavior when I have capitals before a period, like so 1 \documentclass{article} 2 \begin{document} >> 3 Another possible protein blah blah blah from GRIP/ABP. Blah ...
10
votes
3answers
4k views

Using \pgfmathparse and \ifnum for a TikZ checkerboard

I am trying to produce a 6-by-6 checkboard of small circles, alternating colour between red and black. To do this I have attempted to use \pgfmathparse and \ifnum in order to decide if to colour a ...
52
votes
5answers
8k views

Shortest code causing “Emergency stop.” error

This question is purely academic. TeXing a file containing \valign{\halign#\cr! causes an ! Emergency stop. error. Is that the shortest code which produces a fatal error in TeX?
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 ...
12
votes
1answer
10k views

Package ifpdf Error

I am trying to use amspset. Here is my minimum code: \documentclass[12pt,letterpaper]{amspset} \usepackage[margin=1in]{geometry} \usepackage{graphicx} % info for header block in upper right hand ...
20
votes
2answers
670 views

Incompatibility between verbatim and tabu? (Danger of using \scantokens in a package)

With the following MWE \documentclass{article} \usepackage{verbatim} \usepackage{tabu} \makeatletter \renewcommand\verbatim@processline {% \begin{tabu}to\textwidth{|l|X[-1,l]|} ...
20
votes
7answers
17k views

Missing $ inserted issue

Trying to get my dissertaion sorted (due in a few hours) and I keep getting this error: ! Missing $ inserted. <inserted text> $ l.190 ... pp. 225--236, ...
11
votes
2answers
6k views

How can I ignore latex error while compiling?

When a tex file is compiled, everytime an error is detected, compilation stops and user action (usually hitting return key) is expected through console by user. I would like to ask, how is it possible ...
7
votes
3answers
3k views

Struggling to get moderncv files to compile

I'm a real novice on LaTex, having only used it previously a small amount at University but not for a while. I've decided I'd quite like to transfer my CV to the LaTex moderncv style. I downloaded ...
3
votes
0answers
803 views

MiKTeX Package Manager Crashes [closed]

Whenever I try to install some package from MiKTeX Package Manager, the packet manager crashes. Why would this be happening? Problem signature: Problem Event Name: APPCRASH Application Name: ...
29
votes
1answer
2k views

How to generate “You can't use \unskip in vertical mode”?

We all know (or believe so) that \unskip is not possible in main vertical mode and this statement can be found in various answers on the site. And yes LaTeX does a lot of gymnastics in \addvspace or ...
16
votes
4answers
8k views

TeX Live error on Ubuntu 10.04: pdflatex.fmt doesn't match pdftex.pool

I recently installed Ubuntu 10.04 over-top of Ubuntu 9.04, preserving my /home partition, but aside from that partition, it was a fresh install. I installed the texlive package (2009-7) from Ubuntu's ...
15
votes
1answer
485 views

Interwoven alignment preambles are not allowed - what exactly does this mean?

I admit that this post is purely idle curiosity. But I recently stumbled upon a little factoid saying that the TeX error "Interwoven alignment preambles are not allowed" has the following explanation ...
14
votes
2answers
5k 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
1answer
1k views

What does “you have forgotten to use \caption” mean?

I'm stumped by an error I'm getting, when I try to render a Tufte-LaTeX document using hypcap and hyperref. For example, even a minimal document consisting of \documentclass[nohyper]{tufte-handout} ...
10
votes
2answers
398 views

How to create command for a box where text inside the box can automatically adjust?

I have a problem on how I can make my command right. I created a box where the text will be inside it when used but something went wrong when I prolong the text it turn out like this: Code: ...
9
votes
1answer
1k views

LuaTeX cannot find existing font

My Fedora 17 LuaLaTeX (2012) system just keeps complaining about some particular (of course existing) font not existing. It can't spit out any PDF from a TeX file using that font. This is the error I ...
7
votes
3answers
2k views

How to make nonstopmode really not stop on a missing input file

I have a file test.tex with these contents: \input{missing} \input{present} When I run PDFLaTeX with --interaction=nonstopmode it stops after the first missing input file: $ pdflatex ...
6
votes
1answer
1k views

pgfplots contour example error

I'm reproducing the following example from pgfplots manual. \begin{tikzpicture} \begin{axis}[view={0}{90}] \addplot3[contour gnuplot] {x*y}; \end{axis} \end{tikzpicture} But this code produces the ...
5
votes
1answer
265 views

After MiKTeX update when using LuaLaTeX: Package pgf Error: Driver file ``pgfsys-luatex.def'' not found

I just updated my MiKTeX instance to the latest packages and am using the LuaLaTeX compiler. Whenever a document relies on pgf I get the following error: ! Package pgf Error: Driver file ...
5
votes
1answer
3k views

Package `fixltx2e` conflicts with `float` and cannot be resolved in Lyx

The latex package fixltx2e conflicts with float and prevents using the option H for floats. This can be solved in LaTeX if fixltx2e is loaded prior to float. However, this doesn't work in Lyx, and an ...
5
votes
3answers
2k views

Conversion problem using standalone and imagemagick

I'm trying to convert a table to png format using Imagemagick \documentclass[12pt,a4paper,border=8pt,convert=true]{standalone} \usepackage{booktabs} \usepackage{caption} \usepackage{siunitx} ...
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 ...
4
votes
1answer
4k views

Lyx 2.x: Document Class Not Available - Mac OS X 10.10 Yosemite PB 3

I'm running the latest Mac OS X 10.10 Yosemite beta, and I ran into a problem installing MacTeX (2014) and LyX (2.1.2). Upon successful installation of both, LyX would launch with an error: "Document ...
17
votes
0answers
13k 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 ...
11
votes
3answers
3k 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 ...
10
votes
1answer
1k views

Linux Libertine and pdfTeX: glyph `a' undefined

I have little doubt, usually, in the Linux Libertine font with LaTeX / pdflatex, but a couple of weeks ago, the following happened to me: I have the file with the following test.tex ...
8
votes
1answer
580 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
682 views

error when patching with etoolbox \apptocmd: “the patching command seems to be nested in the argument to some other command”

The \apptocmd command from etoolbox is giving me an error I don't understand. I know how to work around the error in this particular case, but I'd like to understand what it's complaining about so ...
7
votes
1answer
188 views

** ERROR ** DVI stack exceeded limit. with tikz-qtrees in xelatex

I've got a snippet of tikz-qtree which causes ** ERROR ** DVI stack exceeded limit. when compiling with xelatex, but works fine with pdflatex. But I need xelatex because I've got a lot of unicode ...
7
votes
1answer
1k views

Conflict between my modified .sty file and babel's ngerman?

There is some conflict or error I don't understand. I can skip it and nothing visible happens. The output is okay and everything seems to be fine. Still I would like to get rid of the error message. ...
7
votes
1answer
985 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} ...
6
votes
1answer
516 views

How to increase (relevant) verbosity of compilation errors with Emacs+AucTeX?

I often debug LaTeX files and Emacs+AUCTeX does not show many informations about errors. I always have the following message in the minibuffer: LaTeX errors in `*~/my/file output*'. Use C-c ` to ...
6
votes
2answers
16k views

LaTeX Error: Missing \begin{document} [closed]

While i wrote \begin{document} but it gives me the error what should i do? You can see my template below: \documentclass{res}‎ ‎\newsectionwidth{0pt} ‎\setlength{\textheight}{10.2in} ...
5
votes
1answer
4k views

bflabel undefined

After updating LaTeX (MacTex) with Tex Live Utility the other day I've had trouble compiling using \bflabel: ! LaTeX Error: \bflabel undefined. The document I'm trying to compile is a modified ...