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

learn more… | top users | synonyms (1)

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, ...
12
votes
1answer
345 views

Error with table

\begin{table}[ht] \makebox[\textwidth][c]{ \begin{tabular}{ccccc} \hline \hline [] & [] & [] & [] & []\\ [] & [] & [] & [] & []\\ ...
2
votes
1answer
763 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
3k 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
1k 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 ...
0
votes
0answers
269 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
259 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} ...
3
votes
0answers
3k 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
672 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 ...
45
votes
5answers
6k 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
5k 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 ...
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 ...
4
votes
1answer
25k 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} ...
2
votes
1answer
3k 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
195 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
3k 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.
13
votes
5answers
2k 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
2k 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
3k 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 ...
8
votes
2answers
3k 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 ...
46
votes
4answers
6k 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
368 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 ...
5
votes
2answers
20k 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 ...
4
votes
1answer
2k 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
618 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
453 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
333 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 ...
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. ...
1
vote
0answers
612 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 ...
3
votes
1answer
14k 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
204 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
904 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 ...
5
votes
1answer
2k views

TeX capacity exceeded

The following is a minimal example which demonstrates my problem. The error TeX capacity exceeded, sorry [input stack size=5000] \end{latexresult} is depending more or less on the number of ...
5
votes
1answer
942 views

Package mh cannot be found

! LaTeX Error: File `mh.sty' not found. However, mh is assuredly included in my TexLive2011 installation. Why am I getting this error? OS: Kubuntu 64-bit Editor: TexWorks
1
vote
1answer
408 views

mdframed causes “too many floats” error

I defined a new environemnt examples for a book I am writing. I would like examples to be with a framed grey box, and use the following construct ...
2
votes
2answers
58 views

Error in built output

This is difficult for me with all these $ signs. Now, where is the problem in the following MWE? \documentclass{article}% \usepackage{amsmath}% \usepackage{amsfonts}% \usepackage{amssymb}% ...
2
votes
1answer
72 views

Error from equation

Below is a MWE. While the pdf output seems ok, TeXniccenter displays error in the equation line. Not able to understand what's wrong. Happens even when I put in the code to close the curly brackets. ...
9
votes
1answer
7k views

Error in align environment - runaway argument? [duplicate]

Possible Duplicate: Blank lines in align environment \documentclass[12pt,a4paper]{article} \usepackage[version=3]{mhchem} \usepackage{siunitx} \begin{document} \begin{align*} \ce{K_a} ...
1
vote
1answer
3k views

What does the “! Incomplete \ifx” error mean? [closed]

\documentclass[12pt,a4paper]{article} \usepackage[version=3]{mhchem} \usepackage{siunitx} \begin{document} \begin{align*} \ce{PH &= -\log \ce{[H+]}} \\ -\ce{PH} &= \log \ce{[H+]} \\ ...
5
votes
1answer
5k views

TeXlipse doesn't generate any pdf file

I've just installed TeXlipse using the simple installing option (Install new softwares -> http://texlipse.sourceforge.net/) on my Mac OS. I create a new LaTeX project, select output format = pdf, ...
1
vote
1answer
944 views

xelatex -Undefined control sequence

So I am trying to work with this tex file for CV available at http://kjhealy.github.com/kjh-vita/ The only thing I change is the font from pragmata to consolas. 2 problems I get a pdf output, with a ...
4
votes
2answers
7k views

Error in fontspec.sty

I downloaded a template for CV and one of the requirements was installation of fontspec.sty. Now when I compile the file the code file of fontspec.sty pops up in a new tab in TeXnicCenter and it ...
1
vote
1answer
3k views

Beamer: Missing $ in frame

Trying to compile the following code in a beamer presentation: \subsection{I servizi LBS oggi} \begin{frame} \frametitle{La privacy negli odierni servizi LBS} \begin{block}{Cosa ci dicono gli studi} ...
1
vote
1answer
508 views

Lyx and kerkis font error

I am a LyX and Ubuntu user. I am trying to use a Greek font named kerkis. I have installed the needed packages in order to enable xelatex in LyX and Greek language: texlive-xetex texlive-lang-greek ...
1
vote
1answer
579 views

biber breaks when it's run [closed]

I'm trying to use biber with biblatex under windows xp. However, when I run it with any argument including biber --help it breaks with the same error message: Biber/Utils.pm did not return a true ...
0
votes
0answers
315 views

polyglossia error after MiKTeX update [duplicate]

Possible Duplicate: xelatex stopped working after TexLive2011 update 2 days ago Sorry, I don't know where I could report bug that appeared after MiKTeX Update. Here is a test file: % ...
5
votes
1answer
584 views

Powerdot cannot be compiled under xelatex; how to solve it?

I use Tex Live 2011 and test a simple example: \documentclass{powerdot} \begin{document} \begin{slide}{a slide} Contents of the slide. \end{slide} \section{first section} \begin{slide}{another slide} ...
15
votes
1answer
7k views

Error: Missing \begin{document}

I wanted to make a command that outputs a number in math mode. This is how my file looks like: \documentclass{scrartcl} %\usepackage{epsdice} %\newcommand{dice}[1]{\epsdice{#1}} ...