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

learn more… | top users | synonyms (1)

6
votes
2answers
2k views

PSTricks error, but package not loaded

I am working on a textbook, with a looming deadline, so I admit I did not do an exhaustive search for a solution to this situation. I was hoping someone would see this and say, "This is a duplicate ...
3
votes
1answer
258 views

Problem with listings-ext [closed]

I am using listings-ext on Ubuntu 11.10 (with LyX) and listings.cfg defines the style colored-code - which I also use in the LaTeX preamble: \usepackage[style=colored-code]{listings-ext} But ...
5
votes
2answers
481 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 ...
7
votes
1answer
7k views

Package pgf Error: No shape named X is known

I can't get this document to compile: \documentclass{article} \usepackage{tikz} \usetikzlibrary{snakes,arrows,shapes} \begin{document} \begin{tikzpicture}[>=latex',line join=bevel,] ...
0
votes
2answers
7k views

Latex Error: \begin{document} ended by \end{sidewaystable}

I get the following error when compiling my LaTeX source: ! LaTeX Error: \begin{document} ended by \end{sidewaystable}. See the LaTeX manual or LaTeX Companion for explanation. Type H ...
4
votes
3answers
1k views

Error using \usepackage{fancyvrb, fancybox}

With TeX Live 2009, with this MWE. \documentclass{article} \usepackage{fancyvrb, fancybox} \begin{document} \begin{Verbatim}[frame=single] auto eth0 \end{Verbatim} \end{document} I ...
4
votes
1answer
3k views

“Cannot find file” error when running biber

I'm commuting to using the new biber/biblatex system of referencing. Previously I have been using bibtex as a backend and have tried converting to biber. I'm using MikTeX 2.9 under windows xp sp3. I ...
5
votes
2answers
292 views

“Missing Number” error when using “switch” in “boolexpr”

\pdfoutput=1 \documentclass[12pt]{amsart} \usepackage{boolexpr} \def \p{1} \def \q{1} \begin{document} \switch[\p=] \case{\q}abc \endswitch def \end{document} Compiling the above I get the ...
2
votes
3answers
7k views

'fontspec' package problem with XeLaTeX in MiKTeX 2.9

Recently, I updated to MiKTeX 2.9, and after this the xelatex compiler fails when compiling documents with the fontspec package included. In other words, the following code won't compile: ...
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 ...
3
votes
3answers
2k views

Math symbols not showing while using fontspec

Math, symbols are not showing when i am using the fontspec package. Here i paste the command and output please tell me as to how i can rectify this. Command: \documentclass[10pt,amssymb]{revtex4} ...
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 ...
25
votes
1answer
612 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.
0
votes
1answer
772 views

Laprint causing end of file during psfrag call

I am attempting to create and use file in my TeX document using laprint.m. The laprint function call produces the .tex and .eps files as expected. When I try to use \input{filename} though I get an ...
1
vote
1answer
3k views

Why am I getting this “Missing $ inserted” error in an algorithm figure just like all my other algorithm figures?

I'm writing a paper in LaTeX, and I'm getting a strange "Missing $ inserted" error when I try to compile the paper using pdflatex, but only if it contains the following code. \begin{algorithm*}[tbh] ...
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 ...
4
votes
1answer
209 views

Shortcut macro for tabularx environment

I'm trying to define a shortcut using \newcommand for setting up a table using the tabularx environment. The command seems to work fine when beginning the table: \newcommand{\bt}{\begin{tabularx}} ...
0
votes
1answer
360 views

Strange error in my table

I need help with an error: \begin{table} \centering \begin{tabular}{@{}ccp{8cm}@{}} \toprule Valor DOP & Calificación & Descripción \\ \cmidrule(c){1-1}\cmidrule(c){2-2}\cmidrule(p){3-3} ...
0
votes
1answer
3k views

“There's no line here to end” error when pages break at unfortunate locations

I'm recieving seemingly random There's no line here to end errors at different parts in my code. At first I thought they were truly random and that I had some weird configuration error somewhere, but ...
6
votes
2answers
571 views

User defined command produces error in conflict with siunitx and TeXLive2011

I recently installed TeXLive 2011 on my MacBook (running MacOS X 10.6.8) and got the following problem: Example: \documentclass[11pt, a4paper]{scrbook} \usepackage[ngerman]{babel} ...
21
votes
4answers
10k views

Making a new environment combining equation and split

I'm trying to define a new environment that consists of a split environment inside an equation environment. But I'm getting an error. Here's what I'm doing: \documentclass[a4paper,12pt]{article} ...
10
votes
1answer
18k views

Problem inserting figure to LaTeX file using Texlipse

I'm trying to insert a figure into my LaTeX file using the following syntax: \begin{figure} \centering \includegraphics [width=3in]{fig1.png} \caption{Calculation of shortest path betweenness} ...
0
votes
2answers
154 views

Mysteriously fails to compile when I comment a line

I set up a github repo with a not-so minimal working environment (sorry for that). As the README at github says, uncommenting the following stupid line solves the problem and makes the ...
4
votes
1answer
9k views

Use multiple \multicolumn commands in a LaTeX table to achieve column headers

I'm trying to code column headers in LaTeX so that each header spans two columns; however, the following code isn't working: \usepackage{booktabs} \begin{tabular}{cccc} \toprule ...
2
votes
1answer
3k views

Errors using \acrodef or \newacro

Using the package acronym, I get a error defining acronyms with \acrodef or \newacro instead of \acro: ! LaTeX Error: Something's wrong--perhaps a missing \item. See the LaTeX manual or LaTeX ...
6
votes
1answer
2k views

Enable binary SI units with siunitx in MacTeX

I'm using TeXShop on OS X Lion (the MacTeX distro, which is kind of amazing) and I cannot do the following with siunitx: \SI{4}{\giga\byte} TeXShop says it's an "Undefined control sequence." ...
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 ...
1
vote
2answers
301 views

Troubleshooting font problems with XeTeX

When using XeTeX, I sometimes get errors like this: LaTeX Font Warning: Font shape `EU1/AdobeSongStd(0)/m/sc' undefined (Font) using `EU1/AdobeSongStd(0)/m/n' instead on input line 181. ...
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 ...
3
votes
3answers
758 views

error catching in AUCTeX

When working with AUCTeX, I experience an unexpected behavior regarding error catching. In particular, when I hit C-c C-c, and there are errors, then C-c ` does two things: Splits the window and ...
5
votes
1answer
3k views

Unicode “undefined control sequence” in XeLaTeX

I have got a TeXLive 2011 on an Apple Time Machine and TeXShop on my local MacBook. When I try to typeset the XeLaTeX template from TeXShop, I get “undefined control sequence” for some of the Unicode ...
2
votes
2answers
2k views

“xelatex: Command not found.” on network installation

I installed a TeX Live 2011 distribution on a network drive, actually an Apple Time Capsule. Even though normal TeXing with LaTeX (via pdfTeX) in TeXShop works fine, when I try to use the %!TEX ...
1
vote
2answers
3k views

Typeset in TextMate has a PATH error

I downloaded Textmate (1.5.10) on a new MacBookPro (MacOSX 10.6.7) after using it to typeset LaTeX on my old MacBook. I saved my document folders on my new computer in the same document folder ...
10
votes
1answer
999 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 ...
0
votes
1answer
216 views

xtable in pgfSweave (on lyx) : output=tex is invalid?

Many tutorials online say that to include a table in Sweave one should write something like this: <<output=tex>>= require(xtable) stuff xtable(stuff) @ That makes sense. But when I do ...
1
vote
0answers
568 views

Compilation problem with WinEdt [closed]

I am writing my PhD thesis with WinEdt and recently started to see the following error message. I didn't edit any settings nor change anything in the configurations. Can anybody help? Runaway ...
2
votes
1answer
111 views

Diagnosing errors inside newcommands

When I need to use something repeatedly within a document, I make my own command. E.g.: \newcommand{\notification}[2]{ % line 2 Hello #1, your #2 pie is ready. % line 3 } ...
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
1k views

Custom font sizes inside section titles

I need to change the size of some text within a section title: \documentclass{article} \begin{document} \section{This text is normal {\Large This text is large}} \end{document} This works, ...
1
vote
2answers
4k views

Bibtex references not compiling because of LastPage package?

I am trying to compile an essay and it has references in it. I am using BibTeX and XeLaTeX. Here are the last few lines of the log LaTeX Warning: Reference `LastPage' on page 4 undefined on input ...
13
votes
1answer
512 views

Error with table

\begin{table}[ht] \makebox[\textwidth][c]{ \begin{tabular}{ccccc} \hline \hline [] & [] & [] & [] & []\\ [] & [] & [] & [] & []\\ ...
2
votes
1answer
1k views

Why does lualatex return with exit code 1 even though a PDF was built?

Using TeXLive 2011, I invoke lualatex on a TeX file from the command line. The PDF builds (mostly correctly, although the source TeX file has many many errors and warnings, none fatal). However, the ...
4
votes
1answer
1k views

Error compiling CJK with \tableofcontents and \makeindex

A basic document with Chinese text works fine: \documentclass{article} \usepackage{CJKutf8} \title{标题} \begin{document} \begin{CJK}{UTF8}{gkai} \maketitle (text) \end{CJK} ...
0
votes
0answers
276 views

LaTeX and Textmate [closed]

I have been trying to get to grips with TextMate for creating LaTeX files and when I go to view the file I get an error: can't find kpsewhich on path. I have two questions: Do I have to have a LaTeX ...
4
votes
0answers
4k views

pdflatex hangs during compiling (every 2nd run) [closed]

Newly, it frequently happens that pdflatex hangs during compile. The system: TeXLive 2010 (yes, I know that 2011 is out already) MacOS X 10.6.8. Texstudio as editor Currently, I'm compiling in ...
1
vote
1answer
791 views

Can't find Metrics for opentype font; why does XeTeX need them?

I want to use an OpenType font for a document, so I'm trying to compile it with xelatex. I followed the answers on this question: How do I use an OpenType font with my LaTeX document? However, when ...
8
votes
1answer
7k views

List of url-links with \href

When trying to create a list of weblinks using \documentclass{report} \usepackage{hyperref} \begin{document} \begin{itemize} \item \href{www.washingtonpost.com} \item ...
3
votes
2answers
5k views

alignat problem

Whenever I try to use the alignat environment, it doesn't seem to work on my computer! I tried the following simple code (my file had \usepackage{amsmath}): \begin{alignat}{3} \min \quad x_1 ...
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 ...
2
votes
1answer
4k views

\cal gives “Undefined control sequence” error

I've used \cal throughout my document and now when I go to switch the document class the \cal is giving me a "Undefined control sequence." error. Any thoughts on why the document class would make a ...