Questions tagged [errors]
{errors} is for questions regarding or including compilation or similar errors.
5,007
questions
0
votes
0
answers
34
views
VSCode not underlining error line in red when render fails (soft-question)
For some reason after re-installing windows and setting up LaTex on VSCode with the usual Latex workshop extension, when I have an error in my LaTex document there is no longer any squiggly underlined ...
1
vote
1
answer
186
views
Extra \endgroup error after transforming \documentclass{article} into \documentclass{revtex4-2}
Can you please help me identify what is wrong with my coding? I've searched online for solutions but I couldn't find a working one. Before, I used article for my \documentclass to complete my thesis. ...
0
votes
0
answers
81
views
Issue downloading Revtex using Texstudio and miktex
I am using TeXstudio as my editor, but am having trubles with the following document:
\documentclass[aip]{revtex4-1}
\begin{document}
test
\end{document}
The MikTex package manager tries to ...
0
votes
2
answers
198
views
Missing number, treated as zero (\hspace, I think)
At the outset let me say I am not even a LaTeX beginner - I know almost nothing. I have an .tex file named title.tex which was developed on a Windows platform and is used in an R markdown document ...
5
votes
2
answers
129
views
Concatenate a variable with a string in a loop
I want to use subfile within a loop to add new pages to a document, depending on the number of lines in a .txt file. The .txt may look like this:
000100020003
The .tex Subfiles are A0001.tex, A0002....
2
votes
1
answer
56
views
Help with Formatting + Lots of Errors
I was typing up a small document of a few equations, and it was really messy trying to get what I wanted. I tried cleaning it up using the gather environment, but I don't know how to properly use it ...
1
vote
1
answer
25
views
Removing Picture insertions for Chapters from Template
I'm got this template that gives me errors like this one:
LaTeX Error: File `' not found.
main.tex, 74
The compiler cannot find the file you want to include. Make sure that you have uploaded the ...
0
votes
1
answer
80
views
How can I make TeX stop on the first error, but do not stop on \show (or \tl_show:n)?
I want TeX to terminate on any error, because I only care about the first error and so that it finishes faster.
Unfortunately, if I use either -interaction=errorstopmode (and run with </dev/null) ...
0
votes
0
answers
67
views
Help, cant find 'undefined control sequence' error in tex script
Help, cant find 'undefined control sequence' error in tex script. I run my script frequently and thought I just added sentence and it now cant typeset the script, with error 'undefined control ...
2
votes
1
answer
34
views
Delimiter error using nested commands [duplicate]
I'm not an expert on TeX and I've run into a problem. I've been able to condense it into the following minimal working (or rather not working) example:
\documentclass{article}
\usepackage[utf8]{...
3
votes
2
answers
88
views
Error with length of list of listofitems and ... in \foreach
While I was answering another question, I found the error
! Illegal unit of measure (pt inserted).
only when I use ... in a \foreach with a simple operation of the list length:
\documentclass{article}...
1
vote
0
answers
45
views
Wrong release issue
I am trying to use the animate package, but whenever I include it I get the error
You have requested release '2020-10-1' of LaTeX, but only release '2020-02-02' is available.
I am using MikTex and ...
0
votes
1
answer
173
views
Error producing PDF - Latex pandoc template
I'm writting a pandoc template inspired on iv054-homework-template.
I want something like this:
The code I use is:
\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage{titlesec}
\...
0
votes
0
answers
69
views
LaTex error: missing \endcsname inserted. Cannot compile
while editing the citations in a chapter of my thesis I got dozens of errors like the following and can't compile the file to a pdf anymore:
*Missing \endcsname inserted.
<to be read again>
...
0
votes
0
answers
31
views
Vertical line causes 'dimension too large' error [duplicate]
For the following plot (with time axis) I would like to add a bold, red vertical line at index 2010-01-01.
But I always run into a Dimension too large error. How can I solve this issue?
Here is the ...
2
votes
1
answer
58
views
Errors using \bottomrule when inserting table
EDIT: Added preamble, and it seems \input table worked! When I manually insert the table, rather than input it, I do not get any errors, and it looks nice. However, when I use \input{table.tex}, I get ...
1
vote
1
answer
115
views
Argument of \ttl@gmk has an extra }. \begin{thebibliography}{112}
I have this errors that is making me mad:
Argument of \ttl@gmk has an extra }. \begin{thebibliography}{112}
and then also
Paragraph ended before \ttl@gmk was complete. \begin{thebibliography}{112}.
...
2
votes
0
answers
380
views
texshade: Error ! Paragraph ended before \inf@@get was complete
I am trying to get multiple alignments to render with texshade but it seems that there is a problem with the package. When trying to use a file the following is output to the console:
Runaway ...
1
vote
1
answer
50
views
suppress small hbox errors
I would like to get a list of the really bad hbox errors (say 20pt + too wide) in my document. Is there a way to suppress the smaller errors? I have a really large file and looking through the log ...
0
votes
0
answers
71
views
Error message: undefined control sequence \includegraphics
I am running the following code in R:
tmp <- mtcars[, c("mpg", "hp")]
# create a list with individual variables
# remove missing and rescale
tmp_list <- lapply(tmp, na.omit)
...
13
votes
1
answer
258
views
How to force LaTeX to error when an \include file is missing/misspelled?
The only file which was meant to be compiled in my Main.tex was specified by the following line:
\include{transformtaion}
It was compiled without any error using the following command:
pdflatex -...
2
votes
1
answer
366
views
Error on Launch - MikTeX Console not working
I just re-installed MiKTeX for the same reason, when I try to launch the console I'm prompted with this message:
"MiKTeX cannot retrieve attributes for the directory 'G:\USER\program\Instaled\...
3
votes
2
answers
199
views
TeX capacity exceeded with several \input in a spreadtab
I use several \input in a spreadtab using the method from this answer in my document until I got this error:
TeX capacity exceeded, sorry [text input levels=15].
I read in the Internet that I can ...
0
votes
2
answers
54
views
There is no output in the following LaTeX code
\documentclass[12pt]{article}
\usepackage{amsfonts}
\usepackage{amsbsy}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{pst-all}
\usepackage{pstricks}
\usepackage{graphicx}
\usepackage{hyperref}
...
1
vote
1
answer
172
views
hyperref warning: token not allowed in pdf string (Math in section titles)
At the risk of being attacked for asking one of these questions again:
Ways to avoid 'Package hyperref Warning: Token not allowed in a PDF string' warning
Hyperref warning - Token not allowed ...
3
votes
1
answer
50
views
Missing { inserted. & Missing } inserted
The code works fine and displays the equations I want but it says that I'm missing "{" and "}" in the \end{align*} line. And I can not find any solutions to it.
\begin{align*}
...
1
vote
0
answers
258
views
\newfontfamily undefined control sequence
I am producing a latex document in rmarkdown. I want to change the typeface used in the tables.
I am following this answer on stack overflow : https://stackoverflow.com/questions/54720299/rmarkdown-...
2
votes
1
answer
206
views
Unwanted bold text?
I get bold text without using "\textbf{}", how to resolve that?!
P.S. I'm using "overleaf"
\\
\textbf{"\textbackslash end\{titlepage\}"}:\\
C'est pour << fin de la ...
0
votes
0
answers
14
views
understanding mistake: paragraph indentation in newcommand environment [duplicate]
I am fairly new to using Tex, and am encountering the following error that I don't understand.
I define the following new environment to list selection criteria for a job:
\newcommand*{\selcrit}[2]
{
...
2
votes
1
answer
50
views
tcolorbox inside footnote
I'm wondering if it's possible to put a tcolorbox environment inside a footnote. If I do it, I'll get the error:
! LaTeX Error: Float(s) lost.
The code is:
\documentclass{article}
\usepackage[utf8]{...
0
votes
0
answers
17
views
latex error(can only be used in preamble,example of the code) [duplicate]
This is an exemple of the code below.
\begin{center}
\textbf{UNIVERSITY OF BUEA}
\end{center}
\vspace{1cm}
\noindent \textbf{FACULTY OF SCIENCE \hspace{2.5cm} DEPARTMENT OF MATHEMATICS}
\...
1
vote
0
answers
99
views
latex error(can only be used in preamble)
goodevening to everyone. please when i try running this code below i always have can only be used at the preamble.Please need your help.
\documentclass[12pt,A4,english]{report}
\usepackage{setspace}
\...
0
votes
0
answers
168
views
LyX installation error - Error opening file for writing: C:\Program Files\LyX 2.3\Python\python.exe
trying to install LyX, MikTeX and culmusmiktex and it gives me this error in a pop up window while it tries to install.
also when im trying to install culmus, it says installing in progress, then ...
0
votes
0
answers
90
views
xkeyval error when using the changes package
I am working on an Analysis textbook with a friend, and am using the changes package, but keep getting the following error:
Package xkeyval Error: `remark' undefined in families `Changes@added'. ... \...
0
votes
0
answers
35
views
Texstudio returns error
I try to run this beamer in Texstudio. But I encounter,
"Undefined control sequence. \end{frame}." The beamer compiles in overleaf but not in Texstudio.
\documentclass{beamer}
\usepackage{...
0
votes
1
answer
533
views
main.tex .....Missing \endcsname inserted , Extra \endcsname
I tried creating a multi-file project as described in overleaf here, but I get this message
main.tex .....Missing \endcsname inserted
and this message
main.tex... Extra \endcsname
for the line ...
0
votes
0
answers
31
views
Getting multiple errors using ACM small class in Latex
I am using the following packages (copied from my IEEETransaction latex template):
\documentclass[format=acmsmall, review=false, screen=true]{acmart}
\usepackage{cite}
\usepackage{amssymb}
\usepackage{...
2
votes
1
answer
100
views
Error in TeX Live after Windows crash
My Windows 10 machine crashed while I was updating TeX Live.
Now, when I launch TeX Live Manager I got this error:
Is there a way to recover it?
0
votes
0
answers
68
views
Help me about TexStudio
I've just install the TexStudio 4.0 program. I want to compile the simple tex file:
\documentclass{article}
\begin{document}
Hello, \LaTeX\ world.
\end{document}
But the errors occur:
Undefined ...
0
votes
1
answer
98
views
My latex broke, possibly corrupted amsmath package
I have come across a very unusual (for me at least) situation.
For whatever reason, after using tex for quite some time, today my latex just gave error message:
"File ended while scanning use of @...
1
vote
2
answers
70
views
Problem with \def
can someone tell me why this works
\documentclass{article}
\usepackage{etoolbox}
\newcounter{mylistcounter}
\newcommand{\getnthelement}[2]{
\setcounter{mylistcounter}{1}
\renewcommand*\do[1]{
\...
0
votes
1
answer
117
views
A lot of errors occurred when using Latexdiff
There are two .tex files, one is the original tex file named Old.tex and the other revised tex file named New.tex.
I need Latexdiff to formulate a PDF that highlighting the revisions I've made.
If the ...
1
vote
0
answers
273
views
Error compiling with tcolorbox and tikz package
I'm using the official springer nature template. But whenever I try to add tcolorbox or tikz package it throws the following error. I've removed the content of the template but it's still there.
...
1
vote
2
answers
79
views
Latex will not allow me to typeset apostrophe key?
I'm trying to use the apostrophe key in math mode to write something like x' for "x prime" but I keep getting an error that says
"TeX capacity exceeded, sorry [input stack size=5000].
'-...
3
votes
1
answer
164
views
Unidentified control sequence error in equation [closed]
I have a problem to a question that I don't find the answer to.
I wanted to represent a system of equations but it gives me the following error "unidentified control sequence". Additionally ...
0
votes
1
answer
137
views
XeLaTeX does not compile with many tcolorboxes
I am attempting to compile a document using XeLaTeX. Both in TeXstudio and TeXworks, it fails to produce any PDF. I narrowed down the problem to be the number of tcolorboxs included. If I remove one ...
0
votes
0
answers
27
views
Limit controls must follow a math operator error
I am using the following equation but getting an error "Limit controls must follow a math operator"
$\Upsilon = \text{Hypergeometric}\sideset{_2}{_1}F\Bigl(1+d,2+d+m,2+d,\frac{-A\sigma^2_{...
0
votes
0
answers
200
views
Missing \begin{document}. \AddToHook{b
For some reason the following script doesn't work in TeXstudio:
\documentclass[12pt]{article}
\usepackage{setspace}
\usepackage{booktabs,siunitx}
\usepackage{tabu, tabulary}
\usepackage{multirow,...
3
votes
2
answers
210
views
Missing \begin{document} - LaTeX Error
I was making a template for Journal of Applied Crystallography, example available here (please see Appendix D). Unfortunately, I am getting error mentioned in the title of the question. I followed ...
0
votes
1
answer
66
views
Error - Table of contents in uppercase
I want to produce a table of contents using LaTeX like this image at which the table of contents list are all in capital:
So I wrote this LaTeX code:
%To make the sections in uppercase
\makeatletter
\...