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

learn more… | top users | synonyms (1)

12
votes
1answer
19k 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
155 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
217 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}} ...
5
votes
3answers
397 views

Can't get ledpar to work with section headings

I'm trying to create a bilingual critical edition with Latin on the left page and English on the right. I'm trying to figure out ledpar and I can't get the following example to compile. It compiles ...
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 ...
3
votes
2answers
4k views

MiKTeX Portable can't open Beamer theme

I have a Beamer theme called beamerthemeMittweida.sty that's not available in a package. At home I just copied the .sty to Miktex\tex\latex\beamer, then updated all packages and I was able to use the ...
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
3answers
17k views

error: pdflatex.exe: the memory dump file could not be found

I've seen this question on a closed post on this forum, but the answer given there does not solve my problem. I'm an unexperienced LaTeX user, using TeXnicCenter, and MikTeX 2.9 on 64-bit Windows 7. ...
1
vote
2answers
307 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. ...
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 TS-...
4
votes
1answer
2k views

Undefined control sequence with pgfgantt package when creating Gantt chart

I'm attempting to make a Gantt chart in my LaTeX document with the pgfgantt package. However, when I try to compile, it gives me undefined control sequence at the first \gantttitle between the {7} and ...
9
votes
2answers
3k views

TeX capacity exceeded with glossary package

My document contains many thousands of glossary items. When compiling with XeLaTeX, about 1/8 of the way through the document, it reports: ! TeX capacity exceeded, sorry [main memory size=3000000]. \@...
1
vote
0answers
573 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
114 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 } ...
4
votes
2answers
6k views

How do I fix a Corrupted NFSS tables

I'm getting this error. From poking around I think it might be due to a missing language file, but I don't know how to find out which. LaTeX Font Warning: Font shape `TS1/aett/m/n' undefined (Font) ...
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, ...
13
votes
1answer
539 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 ...
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 ...
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} \...
1
vote
3answers
2k views

LuaTeX: tex-text at 10 pt not loadable [closed]

I am trying to use LuaTeX with Linux Biolinum. It works fine with XeLaTeX, but when I'm running LuaLaTex, it gives me the following error: ! Font \EU1/lmr/m/n/10=[lmroman10-regular]:mapping=tex-...
0
votes
0answers
277 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 ...
6
votes
2answers
296 views

\StrMid and \MakeUppercase problem

What's wrong with this: \documentclass{minimal} \usepackage{xstring} \begin{document} \newcommand{\cim}{c1095} \StrMid{\MakeUppercase{\cim}}{1}{1} \StrMid{\cim}{2}{100} \end{document} \...
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
810 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 ...
49
votes
6answers
9k views

Documents with typical LaTeX errors

I am giving a LaTeX course and have the idea to let the students find and solve problems within a few documents. Basically they shall learn how to create minimal examples and read error messages. ...
8
votes
1answer
8k 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 \href{www.newyorktimes.com}...
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 --interaction=...
5
votes
1answer
32k views

LaTeX Error: File subfigure.sty not found

I'm getting this error when compiling: ! LaTeX Error: File `subfigure.sty' not found. Here is part of the relevant code: \documentclass[11pt]{article} \usepackage{graphicx} \usepackage{subfigure}...
2
votes
1answer
5k 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 ...
4
votes
2answers
198 views

Strange error after upgrading to MacTeX 2011 (TeXLive)

I have my own personal style file that I use for exams. It keeps track of points each question is worth and prints a grading table on the front page, automatically adding all points for the total. ...
2
votes
1answer
4k views

MiKTeX 2.9 doesn't find the includegraphics package

I am using MiKTeX 2.9 and when I include the package{Includegraphics} to use graphics, doesn't recognize. So I need help.
15
votes
5answers
3k views

Double superscript error involving tilde

When I write {{\tilde{C}}^{0}_{har}}^{\Gamma} (or the same with fewer curly brackets) in Tex I obtain a double superscript error and I can't solve it. Does someone know how to fix this?
4
votes
1answer
3k views

command \equal{#1}{} produces error if compactitem is in argument

I want to check if a variable is empty or not in a custom command. This works well, as long as it contains "normal text" but as soon as there is an itemize environment, I get an error message: \...
5
votes
1answer
4k views

xkeyval error: 'defernums' undefined in families

Relative noob in LaTeX, and I'm trying to adapt an existing (public) template (with attribution) to my own needs, and the first step is gutting all the project specific code and setting up the ...
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 ...
9
votes
2answers
4k views

Unable to create multiple timelines using chronology.sty

I wanted to create a document that contains multiple timelines on one page. I am using chronology.sty, which uses TikZ, to accomplish this. However, I get an error when I try to create more than one ...
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?
2
votes
3answers
417 views

\caption works in one file but not another

Hi I'm trying to display an image with a caption; the parent file (CODE1) calls the chapter file (CODE2) and the .sty file (CODE3). Here is the the "chapter" file... call it CODE1 \chapter{...
6
votes
2answers
30k views

TeXnicCenter & MiKTeX – “directory where the executable is located”?

I have a 64-bit System running Windows 7. I installed MiKTeX and then tried to install the TeXnicCenter editor. All went well until I clicked on the TeXnicCenter icon on my desktop and was asked ...
5
votes
1answer
3k views

Getting strange error with MiKTeX when trying to use “kpfonts” package

I'm getting the following error when trying to compile the following very minimal example with MiKTeX: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{kpfonts} \begin{document} test \...
4
votes
0answers
746 views

problem with polyglossia after update of MiKTeX 2.9 packages [closed]

I updated all MiKTeX packages today (2011-10-11) and my files no longer compile. I traced the problem to the polyglossia package. Even an empty file won't compile: \documentclass[a4paper]{article} \...
1
vote
0answers
484 views

luaotfload : Windows API error 67 [closed]

I got subtle error when running lualatex on my new desktop (W7 Pro Russian x64, MiKTeX 2.9 64-bit). Similar program set on my laptop (W7 Home Russian x64, MiKTeX 2.9 64-bit) gives no errors. As it is ...
2
votes
1answer
445 views

Why won't this macro work in a \caption?

I created a macro to easily shift into typewriter mode, ala markdown or fancyvrb's "short verbatim" command. It works everywhere but in \captions. In that case, TeX fails saying I've exceeded capacity....
1
vote
1answer
1k views

Error using the package makeidx

My index is working smoothly with the command \makeindex alone. However, when I put \usepackage{makeidx}\makeindex compilation gives two errors as 1. Command \see already defined. \newcommand*...
1
vote
0answers
699 views

Error including manually installed TikZ package [closed]

I am trying to manually install tikz in my local texmf tree on my shell account at school. I simply unpacked the latest build to ~/texmf/tex and ran texhash. Now, trying to compile this simple ...
5
votes
1answer
24k views

Any reason why \blacksquare and \box are causing errors?

I am using the amsmath package. I just want a black box at the end of a proof, right-justified. \blacksquare and \box both cause errors. Actually, I'd prefer a musical quarter note if that's ...
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 ...
2
votes
1answer
1k views

How to make Vim LaTeX Suite show errors when compile

Compiling TeX with command : silent call Tex_RunLaTeX() The gvim window turns grey when there are errors. One needs to press Enter for each error to continue. It will be better if the error ...