Questions tagged [errors]
{errors} is for questions regarding or including compilation or similar errors.
5,008
questions
0
votes
0
answers
12
views
Jump to PDF from chapter source file
I have one file named test.tex having the following code:
\documentclass[12pt,a4paper]{article}
\begin{document}
hello
\include{chapter1}
\end{document}
and another file named chapter1.tex in the ...
0
votes
0
answers
15
views
Argument of \cvskill has an extra } when trying to override an existing command
I'm using the moderncv package which already defines the \cvskill command.
I'm trying to override/redefine this command with \renewcommand:
% ...
% param 1: name of the skill / tech / etc.
% param 2: ...
0
votes
1
answer
84
views
I cannot insert an image using miktex console
I've been playing around with latex using the MiKTeX console and I am trying to insert an image but I cannot. First I type(before \begin{document} ) \usepackage{graphicx} and \graphicspath{The path ...
0
votes
0
answers
152
views
pdflatex | Error when compiling
I installed Miktex version 22.1 on my Mac Monterey. Since then I get the error message Sorry, but pdflatex did not succeed. even if I try a simple pdflatex -v. By looking into the log files it tries ...
1
vote
0
answers
23
views
"! File ended while scanning use of \@lbibitem" error while citing an article
I am getting the following error (marked as "runaway argument?") while citing an article:
{\citenamefont {{Abbott}}\ \emph {et~al.}(2020)\citenamefont {{Abbott\ETC.
! File ended while ...
-1
votes
0
answers
34
views
Undefined Control Error in latex
Undefined control sequence. ...\em Компьютерная оптика
The following error shown in the .bbl file
\newblock {\em Компьютерная оптика}, 41(4).
0
votes
1
answer
38
views
NiceArray unknown issue
I'm trying to compile the simplest MWE with NiceArray environment from nicematrix package
\documentclass{article}
\usepackage{nicematrix}
\begin{document}
\[
\begin{NiceArray}{ccc}
1 & 2 & 3
...
0
votes
2
answers
51
views
LaTeX Error: Something's wrong--perhaps a missing \item - Unsure, why?
What am I doing wrong? (I am very new to LaTeX, and this is my 1st question, pls forgive my ignorance)
\section*{TERM 2}
\textbf{10 weeks} (30 hrs)
\begin{itemize}
\...
0
votes
0
answers
35
views
Brackets and circumflex in TikZ coordinate calculations [duplicate]
What's the difference between
\draw[domain=-3:2] plot(\x,{-0.07*(\x)^4+1.51*(\x)^3-9.58*(\x)^2+23.94*(\x)-17.59});
and
\draw[domain=-3:2] plot(\x,{-0.07*\x^4+1.51*\x^3-9.58*\x^2+23.94*\x-17.59});
?
...
1
vote
1
answer
49
views
How can I fix this beamer presentation error?
I am making a beamer presentation that has some tikzpictures and pgfplots and I get this error : >Illegal parameter number in definition of \beamer@doifinframe. I tried adding fragile in \begin{...
0
votes
2
answers
43
views
PythonTex Error : No such file or directory on VSCode
\documentclass{ltjsarticle}
\usepackage{pythontex}
\begin{pycode}
def fizbuz(n):
for i in range(1, n+1):
if i % 3 == 0:
print("fiz", end=' ')
else:
...
-1
votes
0
answers
35
views
Latex LaTex error : "Missing } inserted"
I have written this:
but latex gives me the error "Missing } inserted", i tried some stuff but everytime latex gives me this. Can you help me please ?
0
votes
0
answers
62
views
Overleaf Why PDF Rendering Error for any projects?
I am facing the issue of PDF Rendering Error for basically any projects I am making in Overleaf, including blank proejcts. This is the source code I am using:
\documentclass{article}
\usepackage[utf8]{...
-1
votes
0
answers
55
views
PDF Rendering Error
I have some files in Overleaf. When I want to compile it on my laptop I received some error as follows:
PDF Rendering Error: Something went wrong while rendering this PDF.
But I can compile it on my ...
0
votes
1
answer
14
views
Cases error $ is added
I have read all the posts on this error that I can find. None of the solutions end up with the correct layout that this code does (left aligned, a=1 in rear). My issue is that it throws a $ added ...
0
votes
1
answer
29
views
Missing } inserted \subfile{} Error message
I keep getting this error message on my main .tex file. It reads:
Missing }.\subfield{2chaptertwo.tex}.
I have a separate .tex file for each chapter (including one that is entitled 2chaptertwo.tex.
...
0
votes
2
answers
45
views
don't understand a particular error message I'm getting
When I type
$$ A_n\ =\ \left\{\begin{array}{ccc}
[\hskip.017in 0,1\hskip.017in] & {} & n\ {\rm is\ even} \\
[\hskip.017in -1,0\hskip.017in] & {} & n\ {\rm is\ odd} \\
\end{array}\right....
0
votes
0
answers
21
views
Error when using the els-cas template in Texmaker
I'm quite new to the els-cas-dc template in LaTeX. I want to submit a paper to Elsevier, thus I downloaded the "els-cas-templates" package. Specifically, my paper is a two column paper so I'...
0
votes
0
answers
28
views
Simplefonts module issue with texlive 2022 (context)
With old versions of texlive I had no problem with simplefonts module but after installing the new version (texlive 2022) errors appears when adding the module
tex error > tex error on line ...
5
votes
2
answers
118
views
Error with package diffcoeff
When loading the diffcoeff package, even in very basic examples, I'm getting a repeated error that wasn't there a few weeks ago. Does anyone know what the problem is? Thanks!
Here is the MWE:
\...
0
votes
0
answers
44
views
Fatal Error in Overleaf
I have been using LaTeX Overleaf for around one year now, and I am currently working on an English project, but after I made some subsubsubsections, suddenly the compiler crashed, and when I undid the ...
0
votes
1
answer
20
views
\longdivision using [separators in work = false] generates a Missing number error
I’ve spent a bit trying to debug this, but wanted to make sure it wasn’t a known bug before killing myself.
I’m trying to use the \longdivision{} command in a LaTeXit equation. It’s alone in the ...
0
votes
0
answers
47
views
Using two packages with tons of commands having same names
I write a review paper in which various coathors are willing to insert equations from their prior works. Their latex manuscripts seem to use incompatible packages. In particular, the qcircuit package ...
2
votes
1
answer
32
views
Missing \endcsname inserted. due to conflict between biblatex and underscore
I encounter the "Missing \endcsname inserted" error when I have both biblatex and underscore packages. I need both for my text.
\documentclass{article}
\usepackage[english]{babel}
\...
2
votes
1
answer
547
views
Why compiling errors disappear after deleting cache?
I am working on my thesis and, all of sudden, overleaf didn't want to compile and showed a lot of compiling errors. I deleted the cache clicking on the option in the bottom right corner and then it ...
1
vote
0
answers
518
views
pdflatex.exe: the memory dump file could not be found / Miktex does not build formats
Im using Windows 10 pro, and I installed both MikTeX (basic-miktex-22.3-x64) and Texmaker (Texmaker_5.1.3_Win_x64). When I try to build any .tex file in Texmaker it gives me the error:
pdflatex -...
0
votes
0
answers
2k
views
Using Latex on win10
I just installed basic-miktex-22.3-x64 on C:\Miktex and then installed Texmaker_5.1.3_Win_x64, when I tried to run this: I get on Could not start the command.
"C:/MiKTeX 2.9/miktex/bin/x64/latex....
0
votes
0
answers
26
views
Import seems to fail with TexStudio after reinstallation. Why?
I reinstalled Texsudio on a new SSD yesterday. After that I only encounter problems, Nothing changed to my actual MikTex installation, which has always been on my boot disk.
E.g. when I import my ...
0
votes
1
answer
42
views
environment subfigure undefined
I want to place two images side by side and I have seen LaTeX figures side by side but one of the answers give me the Environment subfigure undefined error and I haven't the slightest idea why. The ...
0
votes
1
answer
31
views
How do I disable scrollmode in Tex Maker?
As answered by David Carlisle in this thread:
Texmaker - Where to type 'H' for help?
David states that \scrollmode is on not allowing the user to interact with the error message after the ...
1
vote
1
answer
26
views
Error in making table with multiple columns
I try to make a table with more than two columns as follows
\begin{center}\begin{tabular}{cc}
Sub & $A_i$ & $B_i$ & $C_i$ & $D_i$ & $E_i$ & $F_i$ & $G_i$ & $H_i$ \\ ...
0
votes
2
answers
191
views
Overleaf: PDF causing compilation timeout (due to an infinite loop)
I just added a PDF in my Overleaf project (created by myself from Samsung Notes, never had a problem before) and adding this pdf using
\includepdf[pages=-]{Tp12.pdf}
(see pictures below) with
\...
0
votes
1
answer
31
views
Error : Missing $ inserted in \begin{cases} and basic questions?
\newpage
\section*{Basics}
\begin{definition} [\textsc{Pochhammer}-Symbol]
The \textsc{Pochhammer-Symbol} with $(a;q)_n$
is an expression in combinatorics, which is defined as
\...
1
vote
0
answers
64
views
How to add label to bent arrow? [closed]
I use this code:
\begin{tikzpicture}
\node[place,
accepting,
label=above:$p_1^1$] (p11) at (-3,0) {};
\node[transition,
minimum width=1.5mm,
...
0
votes
1
answer
51
views
Can't colour the right rows table
I have made a table with a table generator. I want the two first rows to be white, the following row to be grey and white intermittently.
This is the code I generated:
Preamble:
(long since this is a ...
-1
votes
1
answer
38
views
Pgfmath code conflict
I am using the following code, and it works except for the custom macro \QuadraticEquations.
However, it works in a stand alone file. Am I missing something obvious?
\documentclass{article}
\...
0
votes
0
answers
20
views
"Missing { inserted" in DeclarePairedDelimiter [duplicate]
MWE:
\documentclass{article}
\usepackage{mathtools}
\DeclarePairedDelimiter{\abs}{\left|}{\right|}
\DeclarePairedDelimiter{\absl}{\lvert}{\rvert}
\begin{document}
$\abs{\cdot}$
$\absl{\...
0
votes
1
answer
47
views
"Emergency stop" error in an original document after copying it (Overfleaf)
I have a big problem with my LaTeX project. I haven't modified it for 15 hours (worked before !), just copied it to get the same template in another project, and now the original document stopped ...
0
votes
0
answers
17
views
New environment gives "File ended while scanning use of \thmt@collect@body."
In the code below, I use starred theorems through some macros and commands.
\documentclass[]{article}
\usepackage[english]{babel}
\usepackage{amssymb,amsthm,amsmath,xparse}
\usepackage{hyperref}
\...
0
votes
0
answers
29
views
"Missing $ inserted " error while using algorithm2e
Hello Latex Community,
I'm writing an algorithm but the TEX maker is showing an error "missing $ inserted error in the last line of the algorithm (\end{algorithm})!!! Could you please help me !!
...
3
votes
1
answer
61
views
“\end occurred when \ifnum ... was incomplete” with both tikz and luatexja
The following MCE:
\documentclass{article}
\usepackage{tikz}
% \usepackage{luatexja}
\begin{document}
\tikz{\coordinate[yshift=\the\ht\strutbox];}
\end{document}
compiles without anything suspect but,...
0
votes
1
answer
66
views
How to locate the line of "Invalid UTF-8 byte or sequence at line ..."?
In my report.log I have plenty of these messages:
(/usr/share/texlive/texmf-dist/tex/generic/xstring/xstring.sty
(/usr/share/texlive/texmf-dist/tex/generic/xstring/xstring.tex
\integerpart=\count405
...
0
votes
3
answers
53
views
Some align mistake [duplicate]
A question why I get this error when I use align? My code is the following
\documentclass[12pt,a4paper]{report}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}
\...
0
votes
0
answers
48
views
Package CJK Error: Invalid character code
Today, I use another computer to run my .tex. The console shows the following error.
But, I can run the same file on my foemer PC. After diagnosing, I find the problem which is marked below.
If I ...
0
votes
1
answer
50
views
Problem with Poker packages
I want to display playing cards in my document, but none of the poker packages I've tried are working (\usepackage{poker} nor \usepackage{pst-poker}). I am, in fact, able to compile (using XeLaTeX) ...
0
votes
0
answers
91
views
You can't use `\unskip' in vertical mode
So I have this strange error You can't use `\unskip' in vertical mode in springer latex template. For whatever reason, this is caused by the blank line before the last \end{proof}. Not sure how ...
0
votes
1
answer
43
views
Receiving this error in latex for "missing $ inserted" and that "You need to enclose all mathematical expressions.."
This is latex Overleaf and I'm receiving this error with no idea on how to fix it
edit: Here is the code
\begin{definition}[Dirichlet Character]
Any map $\chi:(\mathbb{Z}/n\mathbb{Z})* \rightarrow \...
0
votes
0
answers
15
views
installing labbook template or package with chronological + experiment indices
So I have started the research for my Masters thesis and I would like to keep an electronic lab book in LaTex. I am using texlive and tex studio for writing. I have discovered a labbook package on ...
1
vote
1
answer
46
views
Undefined control sequence \IfFormatAtLeastTF
I am using \RequirePackage{expkv/expkv-opt,expkv/expkv-def} in my sty file. But when I run my tex file I am getting the following error.
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/...
0
votes
0
answers
80
views
problem when inserting figure: "dfTeX error: pdflatex (file ./billeder/Metodeteori/nmr_spectra_ny.png): libpng: internal error"
When I insert a figure in LaTex I get this error:
dfTeX error: pdflatex (file ./billeder/Metodeteori/nmr_spectra_ny.png): libpng: internal error.
I have checked that the file is correctly uploaded, in ...