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

learn more… | top users | synonyms (1)

3
votes
3answers
21k views

Texmaker Error “File not found”

When I open my Thesis.tex file I get "File not found" Worst error description ever!? This first occured when I opened the .tex file yesterday from my USB. My USB was suddenly write protected ...
0
votes
1answer
344 views

error when generating index

The .ilg file is fulll of errors, and no \index command is accepted. This is makeindex, version 2.15 [TeX Live 2011] (kpathsea + Thai support). Scanning input file thesis.idx... !! Input index error ...
7
votes
4answers
739 views

Illegal parameter number with \docsvlist

I'm trying to define a macro that take as an input a CSV list and create an item list. etoolbox comes just handy for this and the macro I'm using is \begin{itemize} \renewcommand*{\do}[1]{\item[] ...
4
votes
1answer
835 views

Can't get \fancyheadoffset to work

I have loaded the fancyhdr package and I want to make the headers and footers wider (clamp them to the margin), so I inserted the following line after the package has loaded: ...
9
votes
2answers
21k views

Misplaced alignment tab character when building a matrix

I'm still new to latex. I've been having a problem with building a matrix and I have no idea what I'm doing (or what I'm doing wrong), so be gentle please :) \begin{matrix} 5 & 6 & 7 \\ 4 ...
4
votes
1answer
929 views

Strange PDF issue for Adobe Acrobat on Linux reading a document produced in latex

This is probably a well known bug or error, but I don't really know how to search for it. I have a PDF, which I have created on my computer running os X (10.6) in texshop. There are various figures ...
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} ...
7
votes
2answers
163 views

error in mathematical expression

I type in the code shown below for a displayed formula. However the output is not what it should be. Can you tell me what is the mistake over here? $$ \frac{(1-a)\frac{$q_{f}$}{{$q_{n}$}^a}}{$p_{n}$} ...
2
votes
0answers
315 views

Undefined \pgfsetpath: is tikz or Miktex update responsible [closed]

I run the following simple example using MikTeX 2.9 (complete installation) that is regularly updated (this is one of the first examples in TikZ manual): \documentclass{article} \usepackage{tikz} ...
14
votes
2answers
28k views

Subfigure: error “Missing number, treated as zero”

\begin{figure} \center \begin{subfigure}[b] \includegraphics[width=60mm]{a} \label{fig:a} \end{subfigure} % \begin{subfigure}[b] ...
22
votes
1answer
2k views

Using TikZ inside a figure caption

I have a PNG plot with a couple of black patches in it, and I'd like to refer to it in the \caption of of the figure. According to the TikZ manual, I'd have to \tikz \fill[black] (1ex,1ex) circle ...
5
votes
2answers
462 views

expand macro in single byte encoded code

In this minimal (not) working example, I try to use single-byte latin10-encoded source file, and expand a command-macro containing a character with \catcode254: % -*- mode: latex; unibyte: t; ...
2
votes
1answer
398 views

In TeXnic center, is there a command can I use to point to exactly the place in the article where I made a LaTeX error?

I know this probably could be a very elementary question, but I am a very beginner in LaTeX. I am using LaTeX in windows on a PC. I am using teXniC center and MikTeX for writing a laTeX article. When ...
4
votes
1answer
240 views

Excessive Input causes problems in XeLaTeX

I am using polyglossia and xelatex for my Arabic document. I have about 600 pages wrapped in 001.tex 002.tex ... and a unique TTF font assigned for each page. When I use all these external tex files ...
2
votes
1answer
886 views

Beamer error with columns

I want to put a picture in one column, some text in the other, and beneath all that some more text in a beamer style presentation. My frame looks like this: \begin{frame} \frametitle{Svemir dominiran ...
5
votes
1answer
2k views

Why does this error keep popping up even though I clearly fixed it?

This is the code I have: \begin{align} \vec{l} \cdot \vec{n} & = \left \langle 1,2,3 \right \rangle$ \cdot \left \langle 3,-3,1 \right \rangle \\ ...
3
votes
1answer
10k views

Package listings: Error “Undefined control sequence.” because of single-quote-symbol?

I'm using the package listings and came across a problem displaying an SQL statement within an java environment. This is the MWE. \documentclass[]{report} \usepackage{listings} ...
2
votes
1answer
537 views

Why is LaTeX refusing to create a new page to place content?

Ihave stumbled upon strange behavior (at least for me). I am generating a document composed of a set of blank framed boxes, each with a text attached above, and it will always be most likely necessary ...
16
votes
3answers
3k views

\pgfmathsetmacro - dimension too large (biggest value allowed?)

I want to import some data with parameters to parametrize some plots. After importing a table, I assign specific variables of the table to a placeholder by using \pgfplotstablegetelem. And it works ...
77
votes
11answers
97k views

Package natbib Error: Bibliography not compatible with author-year citations

I have a basic tex file and a bibliography which is exported from Mendeley However, when I want to cite in the author-year style, I get the error: Package natbib Error: Bibliography not compatible ...
3
votes
2answers
2k views

Aligned Table of Notation Sybmols - Works but with Errors

I am getting a four (4) errors and 1 Bad Box with the code below. However, the output is the way I need in the PDF. Any ideas why I am getting the errors? And if so, how I can fix it. The error is ...
10
votes
1answer
491 views

A problem with thmtools

I updated my TeXLive yesterday and thmtools is being problematic... Running pdflatex on the following minimal example \documentclass{article} \usepackage{thmtools} \begin{document} Hello ...
4
votes
2answers
762 views

can't get lato fonts to work in texlive 2011

This is my first post - so I hope you can help me; and I haven't missed anything obvious. I am interested in using Lato fonts an am using texlive 2011 on Windows 7. My minimal example is: ...
3
votes
2answers
483 views

How to use the “mover” command in Skak

I teach after school chess, and installed LaTeX on my computer just to make chess worksheets. I'm using skak. My documents start: \documentclass[12pt]{article} \usepackage{chess-workshop-symbols} ...
0
votes
1answer
445 views

Getting “\andnext undefined” errors compiling latex code

When I try to use pdflatex to compile the following latex code, it throws errors: [steevmi1@phusca-L24500][21:01] [~/] % cat ./bar.tex % Created 2012-05-02 Wed 20:57 \documentclass[11pt]{article} ...
1
vote
0answers
74 views

\@ title and You can't use `\spacefactor' in vertical mode [duplicate]

Possible Duplicate: What do \makeatletter and \makeatother do? I'm trying to use a template with the following content: \documentclass[a4paper,twoside,10.5pt]{report} \usepackage{a4wide} ...
2
votes
0answers
47 views

Trying to typset Persian(Farsi) with MikTeX - expl3.sty not found [duplicate]

Possible Duplicate: Latest MiKTeX-Update broke XeLaTeX with fontspec I am a new user of LaTeX. I have installed MikTeX 2.9 and my editor is: TeXnic. Actually, I installed the xepersian ...
2
votes
4answers
3k views

Error when using the python package

I am very new to LaTeX. I need to run python package in LaTeX but I can't. I use MiKTeX 2.9 under Windows 7 but the programs gives me this error: Latex error: ! I can't find file ...
15
votes
3answers
3k 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, ...
2
votes
0answers
4k views

help with textgreek package [closed]

I can't seem to get textgreek to work on my system and I am out of ideas where to try next to fix it. I'm using LyX to write my thesis, so the TeX output is autogenerated. That said, I am perfectly ...
1
vote
1answer
178 views

Bibliography is shown on partially

In the References list at the end of my latex document, only the first 14 references are shown, while the others are not (I use a bib file with around 50 references). The error is: ! TeX capacity ...
1
vote
1answer
5k views

Runaway argument

The following code: \begin{align*} \lim_{u\rightarrow\infty}\frac{\psi(u)}{\overline{F_I}(u)}&=\left(\frac{\rho}{1+\rho}\right)\sum_{n=0}^{\infty}n(1+\rho)^{-n}\\ ...
3
votes
0answers
1k views

LaTeX Error: “cmap.sty” not found [closed]

Could anybody help me with my situation. When I try to see my Lyx document in pdf Lyx write this Error note "LaTeX Error: "cmap.sty" not found" and in description "*** (cannot \read from ...
4
votes
5answers
32k views

! Missing $ inserted. <inserted text> $

I am new to LaTeX and I am using it to write a report with several chapters (main page in which I include the other pages). I got this error: C:\Users\hussam\Desktop\thèse\latex\thèse\thèse.brf ! ...
9
votes
3answers
2k views

Problems using `\left\{` in array environment

I am trying to define a matrix in segments by enclosing the entries of the matrix in boxes, and also using the open and closed braces to label those segments. So far I have developed the following ...
19
votes
2answers
5k views

Error: Counter too large! with \alph{cntr} and cntr>26

I would like to have \alph{counter} for values larger than 26. The following MnWE gives me the error ! LaTeX Error: Counter too large. \documentclass{article} \begin{document} \begin{enumerate} ...
5
votes
1answer
320 views

Why doesn't latexmk handle errors in the preamble?

Today I discovered that if I have an error in the preamble of my tex file then Latexmk produce an error only once. Precisely, for example if my file looks like this \documentclass{article} ...
14
votes
2answers
604 views

Error with \foreach in TikZ

In the MWE below \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \foreach \i in {0, 1, 2, 3} \draw (\i, 0) rectangle +(0.5, 0.5); % \draw (\i, 1) rectangle ...
8
votes
3answers
533 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 ...
20
votes
10answers
29k views

Windows API error 5: “Access is denied” when trying to compile TikZ picture

I installed PGF but are unable to compile the following document: \documentclass[10pt]{article} \usepackage{pgf,tikz} \begin{document} \begin{tikzpicture} \draw (0,0) --(1,2); \end{tikzpicture} ...
12
votes
1answer
607 views

Lost labels using intertext with varioref and hyperref

I have a problem using \intertext together with \vref when hyperref is also used. Consider the following minimal example: \documentclass{article} \usepackage{amsmath, varioref} ...
2
votes
1answer
571 views

Adjust line numbers in error messages

Question Is there any way I can alter the line-numbers reported by TeX and friends in error messages? This is almost an identical question to Add offset to line number (in error message) when using ...
3
votes
2answers
1k views

textcomp's \textmusicalnote doesn't work: “cannot open encoding file for reading”

I'd like to put a music note as an icon next to notes in my document. I discovered the \textmusicalnote symbol in the textcomp package, but it doesn't seem to render. I suspect I'm doing something ...
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. ...
3
votes
1answer
8k views

Problem with using scale while using \includegraphics [duplicate]

Possible Duplicate: \usepackage[turkish]{babel} and \includegraphics inconcistency I previously imported many figures to TEX files and simply use the corresponding parameters without any ...
3
votes
1answer
196 views

afterpage + list = missing \item

I'm trying to use the afterpage package to automatically insert text at the top of each page (please see my other question Section reminders at the top of each page?) but I'm having trouble. ...
2
votes
1answer
195 views

ntheorem conflicting with subfig

When I try to add a figure that consists of two subfigures to my document with the following piece of code \begin{figure}[h] \centering \subfloat[Locally confluent]{ ...
10
votes
2answers
9k views

Dimension too large on a PNG figure under xelatex and beamer

I have PNG image I want to introduce into my presentation. The figure is black and white and the edges are small. When I compile the file in pdflatex everything is fine but when I Compile it with ...
7
votes
2answers
827 views

How do I put a musical clef in a memoir-class document?

I've got a lot of questions about preparing a book layout, but as I'm slowly going through the various books and other documents out there, I think most of the questions are being answered. However, ...
4
votes
1answer
4k views

Algorithms \And boolean operator casuing “Undefined Control Sequence” error

I'm writing some algorithms using the algorithmicx package. I'm trying to create an if statement with an And boolean operator but using \And is causing an Undefined Control Sequence error ...