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

learn more… | top users | synonyms (1)

2
votes
4answers
5k 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 ! ...
2
votes
1answer
59 views

Weird “\bfseries invalid in math mode” problem

I am compiling an Appendix file as part of my report. I have the file complete and the funny thing is when I compile the main file, it works fine, but if I make a mistake that somehow leads to ...
0
votes
0answers
63 views

Cannot update and run my PDF file [closed]

I am using Texmaker and I was able to compile and view my PDF file at first but now, after going back to it after several days, I can't seem to update and run it. Under Configure Texmaker, under ...
5
votes
3answers
58 views

Conflict between TikZ and *.cls file

I am attempting to convert a document from one class to another. In the original class, I am able to use TikZ and PGFPlots for my graphics. However, in the new class, I receive the following error: ...
2
votes
1answer
53 views

Nodes near coords gives Undefined Control Sequence

I have the following example of a graph. I want to place the items in the table "Restart" next to the nodes. Everything works until I add "nodes near coords", I get a bunch of errors saying "Undefined ...
1
vote
0answers
60 views

French Cursive font in English document

Why is it that when I use the packages \usepackage[default]{frcursive} and \usepackage[T1]{fontenc} in MiKTeX I get words like composimpoition for composition and transformasforation for ...
5
votes
2answers
44 views

xstring substitution with font commands fails in error

I want to substitute some spaces with normal font \dots in between name parts typeset in \ttfamily. Below example works except for the commented part which fails miserably with the error: TeX ...
2
votes
2answers
38 views

Multi-line text retrieved from file via \input, within a newcommand declaration, passing newly declared command as argument of standard letter class

I have put together a minimum working example consisting of a number of files mwe.tex % instance of personal letter address.tex % full address of individual being addressed in mwe.tex ...
3
votes
0answers
47 views

Temp file fails verification every time I try to update MiKTeX

I have been using TeX for two years now, mostly as a replacement for Word. I'm an academic and I like the typesetting capability, especially when I need to use math, but am not an advanced user. I ...
3
votes
2answers
325 views

Epstopdf does not compile *.eps

I work in WinEdt + MikTex 2.8 and mostly compile the source through PdfTexify. In order to compile eps figures in this mode I used the package epstopdf, but recently it stopped working. This is quite ...
6
votes
1answer
221 views
+50

Strange error when combining Beamer, Animate, Tikz and Listings

I'm working on some slides where I show how code is actually executed in Java. Therefore I'm working with the animate package to generate animations. Without going into details, I've written a macro ...
3
votes
0answers
95 views

How to mitigate “same number of coordinates” error?

I have a rather complicated pgfplots graph mixing const plot with ybar stacked and it doesn't like the data sets I am importing due to coordinate mismatch. However the graphs are correct and exactly ...
7
votes
1answer
63 views

pdflatex nonstopmode with TikZ stops compiling

I compiled a TikZ code using pdflatex -interaction=nonstopmode. Depending on code errors, compiling stops. I want to know what went wrong. Let me show you two cases, both of which involve a code error ...
4
votes
1answer
34 views

Use of \cals doesn't match its definition \calscommand

The following minimal working example employs a cals table in the document environment and works fine: \documentclass{article} %document encoding \usepackage[utf8]{inputenc} %geometry ...
0
votes
1answer
30 views

errors: esami package short answer questions

I am using the esami package to make a short answer exam. According to the documentation, I can use the following code in the variants file: This is the eachtest.tex file. \begin{problem} This is ...
8
votes
1answer
135 views

MiKTeX’s LuaLaTeX and minitoc: “I can't write on file …mtc”

When compiling the code below with LuaLaTeX I get the error: "I can't write on file 'test.mtc'". Any ideas on how to resolve this? (Btw, the file test.mtc is there and contains the word "Contents") ...
19
votes
3answers
19k 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 ...
14
votes
3answers
2k views

Is there any way to generate custom errors/warnings in LaTeX?

I want something like \ifmmode\else\GenerateWarning{The command \backslash uzuka is supported only in math mode.}\fi, which is supposed to generate a warning "The command \uzuka is supported only in ...
7
votes
2answers
6k 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] ...
2
votes
1answer
86 views

I can't get LaTeX to recognize the Venndiagram package even though TeX Live says the package is installed [closed]

I am new to using LaTeX, I have not figured out how to properly install a package yet. I believe this is my issue, if someone could help guide me through the proper way of doing so I would appreciate ...
0
votes
0answers
163 views

Error when compiling (pdfLaTeX)

I wrote some lines and I wanted to view the pdf, so I compiled and built but I have this error message: This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9 64-bit) pdflatex.EXE: The memory ...
3
votes
1answer
58 views

A list of pairs in pgfkeys

Having learnt a lot about the pgfkeys package as a result of my last question, I'm now trying to do some more adventurous things. Let's say I have a command called \blob, whose value is the ...
1
vote
0answers
25 views

Strange “missing \item” problem in enumerate [closed]

According to this website, the following should work: \begin{enumerate}[I] \item foobar \end{enumerate} Yet, I always get the same error, with any of the [] options: ! LaTeX Error: Something's ...
7
votes
2answers
107 views

Why does TeX attempt to insert 'missing' tokens?

"Missing \cr inserted", but it looks to me like it's already there! Missing $ inserted ... Why does TeX attempt to insert missing tokens? Why doesn't it simply throw up and die? ...
3
votes
3answers
11k views

Texmaker (Windows version) - first use - Error: Log file not found!

This is my first time using a LaTeX editor. I installed the Windows version of Texmaker changing the C drive to D and leaving the rest of the install path the same. Windows 7 Ultimate 64-bit ...
2
votes
2answers
62 views

Undefined control sequence \pgfmath@

Why does the following code give me this error message? Error ERROR: Undefined control sequence. --- TeX said --- \pgfmath@dimen@ ...men@@ #1=0.0pt\relax \pgfmath@ l.28 \draw ...
2
votes
1answer
49 views

Disappearing Lines?

I have a strange (and serious) problem. For some reason, text that is showing up in the pdf of my file (I'm using TeXworks) ... is no longer showing up in the file itself. And when I go to the line ...
3
votes
1answer
82 views

LaTeX getting “Missing } inserted” error

I'm getting "Missing } inserted" error, when compiling with pdflatex and I really don't understand why. This is occurring in a beamer frame. Maybe someone comes up with something useful. ...
0
votes
1answer
50 views

latexmk pointing to a line of code with an error that I don't see [closed]

When trying to compile my code, latexmk keeps hitting me with an undefined control sequences. I have checked above, below, and the line it says is causing the issue, but I don't see anything wrong. ...
0
votes
1answer
67 views

epstopdf : “No appropriate script or program found: epstopdf”

I have a paper I am trying to submit to a journal, but my advisor is unable to get it to compile on his computer. He has Windows XP. It compiles on my Mac, and I also compiled it on Windows Vista ...
3
votes
2answers
223 views

“Missing $ inserted” although I have $

I have problem with this $ \text{bredden = x \Leftrightarrow längden = 3 \cdot bredden = 3x} $ I get a Missing $ inserted error, although I have $.
0
votes
2answers
101 views

Updating packages in TeXLive 2011

I have TeXLive 2011 distribution on my Windows 7. I haven't updated it before. I downloaded it as an iso file. Anyway, I tried to use the mdframed package in an example document like below: ...
1
vote
0answers
56 views

Runaway argument [closed]

Where is my fault here: \text{Genom att undersöka var kurvan $f_{A}(x)$ skär linjen $T=20$ ser vi att $x\approx {4.3}$ då $f_{A}(x) = 20$. Error message "Runaway argument".
0
votes
0answers
31 views

Entering Extended Mode

I am trying to run a document in TeXworks and as far as the process gets to is 'entering extended mode.' It has been entering for about an hour. What is extended mode and why does it seem to be ...
2
votes
1answer
863 views

TeXstudio Compile: Error: Could not start the command: pdflatex.exe

I'm trying write a report in LaTeX but TeXstudio won't let me. All I have is this: \documentclass[a4paper,11pt]{report} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} ...
6
votes
3answers
85 views

Opaque error messages given by common environments

This is a public-interest question. The title of the question Why does this error keep popping up even though I clearly fixed it? poignantly expresses a fundamental truth of LaTeX usage: sometimes ...
0
votes
1answer
59 views

'slashbox.sty' not found

I am not the best when it comes to working with programs like LaTeX and I am unable to open a .tex document, or rather 'LaTeX it' since it keeps coming up with this error. I have downloaded ...
2
votes
1answer
84 views

Writing multiplication dots

I try to write a multiplication dot and use \cdot, 4 = 2/cdot{2}. But I get the error message Missing $ inserted. What have I forgotten?
27
votes
3answers
1k views

$327.68 Knuth reward check

I know something about $327.68 Knuth reward check. However, I cannot find a comprehensive list of people rewarded for finding errors in TeX. I do know, that among them is Bogusław Jackowski (Twice, ...
1
vote
1answer
35 views

xdvi not showing pages of tex file

I am using the commands: latex <filename>.tex xdvi <filename>.dvi The document is compiling fine but in the xdvik viewer only the first page is visible. I am unable to understand why is ...
3
votes
1answer
228 views

Unable to compile TeXmaker 4.0.2 with MiKTeX 2.9

I just downloaded first MiKTex 2.9 and then TeXmaker 4.0.2. However, I am having a hard time getting it to compile. I always get the info box saying Can't detect the file name followed by the info box ...
10
votes
1answer
2k views

Impossible to save LaTeX file in Texmaker on Windows

Yesterday, I downloaded the latest version of MiKTeX and Texmaker and started using XeLaTeX. Today, I am no longer able to compile or save any .tex file. When I try to do so, a message pops up: “The ...
5
votes
2answers
98 views

Error using Minted for syntax highlighting in custom document class

I am writing Master thesis in LaTeX and want to use minted package for source code syntax highlighting. I have installed it successfully and minimal example from minted documentation works just fine. ...
3
votes
2answers
532 views

TeX fails to generate output with Hebrew text: Jerusalem font metric file missing

I have MiKTeX installed on a Windows machine. I have this simple document, where I'm trying to use Hebrew: \documentclass[12pt]{article} \usepackage{ucs} % package to add unicode support ...
0
votes
0answers
27 views

Problem when using hyperref together with cleveref [duplicate]

As it says in the cleveref documentation hyperref must be loaded before cleveref. But at me I have to load at least one package between them and I would really like to know why. The not working ...
1
vote
3answers
5k 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 ...
4
votes
2answers
72 views

Error while printing chinese character

I am printing a document with Chinese and getting some errors. Below is a MWE with the character causing problems. \documentclass[11pt,table,a5paper]{article} \usepackage[T1,T2A]{fontenc} ...
4
votes
1answer
749 views

PDF inclusion: found PDF version <1.5>, but at most version <1. 4> allowed

How do I get rid of this error: PDF inclusion: found PDF version <1.5>, but at most version <1. 4> allowed I tried putting \pdfoptionpdfminorversion=5 after my preamble, but nothing ...
5
votes
3answers
109 views

How to subtract both very large numbers and numbers smaller than one?

In the context of Scientific Notation Only For Large Numbers have we been looking for a way to handle large numbers, as pgfmathparse can't cope with these. The only package we could find was ...
1
vote
0answers
90 views

Running BibLatex (Backend=Biber) in Texmaker

I have quite an interesting problem. After backup of my system (Windwos 7 x86) I have troubles running biblatex in general. I solved the problem partially. I have MikTex 2.9 installed and using ...

1 2 3 4 5 19