{errors} is for questions regarding or including compilation or similar errors.
5
votes
4answers
55 views
Expansion of commands in errmessage
When I run
\documentclass{article}
\def\pet{dog}
\errmessage{My \pet\ is {sick}}
\begin{document}
My \pet\ is {sick}.
\end{document}
the error message is:
My dog\ is {sick}.
but the PDF ...
1
vote
0answers
54 views
XeLaTeX problem? Undefined control sequence.
I'm new to LaTeX.
I downloaded a template for making a CV.
here
It says to be compiled with biber and XeLaTeX
Im trying with xelatex vc_10.tex but always getting errors, fixed them by searching ...
3
votes
1answer
62 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 ...
1
vote
0answers
62 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
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:
...
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 ...
2
votes
1answer
55 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 ...
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 ...
3
votes
0answers
51 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 ...
2
votes
2answers
39 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
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 ...
4
votes
1answer
36 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 ...
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 ...
8
votes
1answer
142 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")
...
2
votes
1answer
87 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 ...
1
vote
0answers
26 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 ...
2
votes
2answers
64 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 ...
0
votes
0answers
178 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
59 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 ...
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 ...
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?
...
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.
...
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
71 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 ...
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 ...
3
votes
2answers
228 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 $.
6
votes
3answers
87 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
61 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?
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 ...
3
votes
1answer
232 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 ...
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 ...
5
votes
3answers
110 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 ...
0
votes
0answers
100 views
Line 0: Something's wrong--perhaps a missing \item [closed]
I have written an article in LaTeX using TexStudio. I am new to LaTeX but I have added to this article today with the same functions used before i.e. maths, tables, wraptables, longtables, images (in ...
2
votes
1answer
89 views
Ghostscript Error “undefined in H.S”
I downloaded a thesis proposal template. When I compile it no error appears, but to display dvi, I got the following error. So what is the problem and how to fix it?
Error: /undefined in H.S
Operand ...
1
vote
1answer
32 views
Error when using minted package and -output-directory option
I am having problem when I use the -output-directory option while I am using minted. It does not move the .out.pyg and .pyg file to the output directory and it gives me an error.
I there any ...
4
votes
2answers
74 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}
...
2
votes
0answers
37 views
Custom class causing errors [closed]
I am using a custom class for my thesis.
It is causing errors whenever I try to make a chapter (the class is based on report). I have tracked down that this piece is the one causing the error:
...
0
votes
1answer
38 views
dvipng error when using htlatex on eps file. includegraphics Unrecoverable error 36096
I am hoping someone here can give me a hint about this error. I am not really sure this is latex problem, but part of the software that I am using to process the latex document.
The setup is very ...
0
votes
0answers
45 views
TeXstudio runtime error when adding a new figure
I am new to LaTeX, I use TeXstudio version 2.5.1 on Windows 7 to write my dissertation. Up to now all went perfectly well. Today I simply added a new figure in .pdf format, size is 4MB, and got a C++ ...
1
vote
0answers
36 views
includegraphics stopped working after including another graphic [closed]
Currently using Texmaker and using this line of code:
\begin{figure}[h!]
\includegraphics[scale=.5]{Figures/Blah}
\caption{\label{Blah} BLAH BLAH}
\end{figure}
Everything worked with several other ...
1
vote
0answers
75 views
Why can I compile a tikzpicture perfectly in one chapter but not in another? [closed]
I am having trouble with including a tikz flow chart in my code.
In my preamble I have included
\usepackage{tikz}
\usepackage{pgfplots}
\usetikzlibrary{shapes,arrows}
and this is the flow chart:
...
1
vote
2answers
63 views
Error message: LaTeX can't find ieeetrans.sty
My code is
\documentclass[oneside,12pt]{Classes/VTU}
\title{TITLE OF THE THESIS}
\author{by \\ \vspace{2mm}NAME OF CANDIDATE \vspace{5mm}}
\collegeordept{Department Name}
\university{College Name}
...
3
votes
2answers
71 views
Missing \item when compiling my resume
I've building my resume using resume.cls, and I keep getting an error. However, it doesn't seem to be consistent:
\documentclass{resume} % Use the custom resume.cls style
...
0
votes
0answers
28 views
Codes running smoothly when run separately but generates error on running together [closed]
I have two chunks of code running both of them individually gives no error but when i run them together in a single tex file i get errors as mentioned below
\begin{longtable}{l c}
\caption{Basic ...
0
votes
0answers
65 views
Why am I getting this “Runaway argument?” error? [closed]
My document has suddenly stopped working. My error message is
Runaway argument?
./Part II Project.tex:77: File ended while scanning use of \@newl@bel.
<inserted text>
/par
? h
I ...
2
votes
0answers
57 views
problem with footnote in xepersian : “ Undefined control sequence \small By me\footnote”
I have problem in using xepersian package. When I use footnote, it come with the error Undefined control sequence \end
but without xepersian it works properly.
I use MiKTeX 2.9
here is the code
...
1
vote
1answer
55 views
Latex compile errors with copernicus discussions template
I'm trying to compile a paper using the template for Copernicus publishing. In particular, I'm trying to use the Ocean Science Discussion option.
Here is a code snippet:
\documentclass[osd, ...


