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

learn more… | top users | synonyms (1)

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}}\! m\!...
7
votes
1answer
702 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
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
0answers
368 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
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 manuscript,...
2
votes
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 ...
32
votes
7answers
3k views

Use latexmk to filter the log file

I am usually using latexmk in a split shell with my code on the left and latexmk in -pvc mode on the right. When using some packages which themselves load a lot of other packages (think beamer) the ...
23
votes
8answers
18k 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, 10.1007/978-0-387-68772-...
15
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
5k 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 ...
6
votes
5answers
28k views

Error: could not start the command in Texmaker when I run makeindex

I'm trying to create a nomenclature but I'm getting the following error when I run makeindex: Error: Could not start the command This error appears even with this basic example: \documentclass{...
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
8k 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-...
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 ...
21
votes
2answers
694 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]|} foo&\the\...
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 ...
12
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 ...
3
votes
0answers
830 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
3k 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 \...
17
votes
1answer
42k views

Brackets in first column in table give “Missing number, treated as zero” error [duplicate]

Possible Duplicate: Error with table I'm writing a table with 4 columns and 1 row. The first column starts with a bracket. It compiles without issues: \documentclass{article} \begin{document} ...
16
votes
3answers
5k views

How to quickly troubleshoot errors caused by missing closing brackets?

Perhaps the most common mistake I make is to forget to place a closing bracket, i.e. }, or closing command, e.g. \end{description}. When compiling, such mistakes usually do not say, "\begin{...
15
votes
1answer
494 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
411 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 ...
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
3answers
3k 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
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
4answers
7k 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
5answers
29k 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 : \documentclass[...
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 ...
1
vote
1answer
2k views

missing $ inserted error for equation

I get the missing $ inserted error for the following code: \begin{equation} C = $ \frac{2}{\omega^2N^2\mu\pia} $ \end{equation} I have tried out different changes based on Googling for this error,...
11
votes
3answers
33k views

Error: extra alignment tab has been changed to \cr

I am using the ACM SIG template and trying to create a table of 4 columns. I get the error mentioned in the title of the question. I know the standard reasons why this error can occur. But my ...
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 \documentclass{...
9
votes
4answers
9k 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. ...
8
votes
4answers
13k views

! LaTeX Error: File `adjustbox.sty' not found on Ubuntu 10.04.2

I have install $ sudo apt-get install texlive-full on Ubuntu 10.04.2 but when I run I got this error about adjustbox. ! LaTeX Error: File `adjustbox.sty' not found Is there anyone know how to ...
8
votes
1answer
589 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} \usepackage[urw-garamond,uppercase=...
8
votes
3answers
712 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
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
1k 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
528 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
1answer
1k views

Why does `! Missing $ inserted.` occur when using \verb in beamer?

When I use \verb+...+ within beamer I get ! Missing $ inserted. <inserted text> $ l.6 \end{frame} ? What is going wrong and how do I fix this problem? A minimal example is ...
6
votes
2answers
17k 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
2answers
1k views

Siunitx: how to deal with invalid numerical input '-'?

Thanks to you all, I found siunitx for decimal alignment. However, some of the columns in my correlation matrix don't have any numbers and have "-" instead. siunitx gives me an error about invalid ...
5
votes
2answers
367 views

Post-filtering output that I can't seem to pre-filter with silence package

I have a book that was producing 20,000 lines of output to stdout when I compiled it with pdflatex. I did the following to reduce the output: \RequirePackage{silence} \WarningFilter{Fancyhdr}{\...
5
votes
2answers
24k views

Error including a .png: Cannot determine size of graphic [duplicate]

I have a little problem: I am not able to put an image in my document. This is how I start: \documentclass[a4paper,12pt,titlepage]{report} \usepackage{fontenc} \usepackage[italian]{babel} \...