Questions tagged [errors]

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

Filter by
Sorted by
Tagged with
26 votes
4 answers
10k views

How to put \verb command inside of \textbf{} block?

It looks like you can't use \verb|...| inside of \textbf{...}. I tried the following: \textbf{Be very careful when using \verb|-i| as it's destructive and it's not reversible!} And got this error: !...
0 votes
0 answers
67 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 ...
2 votes
4 answers
307 views

LaTeX Table error- Extra alignment tab has been changed to \cr

What is the problem in the following table code? \begin{table}[!ht] \caption{Comparative Results} \label{Results} \centering \begin{tabular}{|c|ccc|ccc|ccc|ccc|} \hline \textbf{M1 vs.$} & \...
5 votes
2 answers
117 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: \...
1 vote
0 answers
22 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 ...
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 ...
-1 votes
0 answers
22 views

Undefine Control Error in latex

Undefined control sequence. ...\em Компьютерная оптика The following error shown in the .bbl file \newblock {\em Компьютерная оптика}, 41(4).
9 votes
4 answers
77k views

TeXnicCenter & MiKTeX – "directory where the executable is located"?

I have a 64-bit System running Windows 7. I installed MiKTeX and then tried to install the TeXnicCenter editor. All went well until I clicked on the TeXnicCenter icon on my desktop and was asked ...
3 votes
1 answer
2k views

Mysterious "Two \documentclass or \documentstyle commands."

The LaTeX code \documentclass[12pt,a4paper]{article} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{pstricks} \begin{document} zzz \end{document} causes in latex and pdflatex the mysterious ...
0 votes
2 answers
47 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
34 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}); ? ...
0 votes
0 answers
28 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{...
2 votes
2 answers
468 views

Dimension too large, <to be read again> error

I've been using GeoGebra for drawing some figures for a while now, since I'm totally new to TikZ. Up to now I'm fine with the figures I created with GeoGebra, although the code is awfully complicated. ...
0 votes
2 answers
37 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 ?
4 votes
1 answer
3k views

File l3backend-pdftex.def Not Found, even after installing l3backend

I've seen the previous threads on this error such as this thread and this and carried out the instructions here. So that being said, I've installed l3backend through MikTex Console and I still receive ...
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. ...
76 votes
12 answers
64k views

Missing $ inserted issue

Trying to get my dissertation sorted (due in a few hours) and I keep getting this error: ! Missing $ inserted. <inserted text> $ l.190 ... pp. 225--236, 10.1007/978-0-387-68772-...
1 vote
2 answers
444 views

"Package pgf Error: No shape named `c' is known. }"

Errors: Package pgf Error: No shape named `c' is known. } Package pgf Error: No shape named `e' is known. } Package pgf Error: No shape named `' is known. } \documentclass[a4paper,12pt]{report} \...
1 vote
1 answer
50 views

problsoln and listings package compatibility issues

I'm trying to use the probsoln and listings packages for computer science exercises, but it seems that these packages are incompatible when the problems are put in a separate file. Any help would be ...
0 votes
0 answers
51 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
54 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 ...
4 votes
3 answers
10k views

apacite not working in tex

I've been requested to change the bibliographic reference style of one of my papars to APA style, but when using the apacite command the document is not compiling. A MWE is shown below. My problems ...
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
344 views

Some citations becomes citation label instead of of number reference [duplicate]

When citing my sources, most citations works like intended (i.e., ...[1]). However, a few have become brackets with the citation label inside [citation-label]. In those cases, the source does not ...
2 votes
0 answers
377 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 ...
0 votes
0 answers
55 views

Package pgf Error: No shape named A known

I am trying to draw a 2-coloured graph, but my code does not compile. Interestingly enough, I had no problems with it until I used the babel package to change my document's language. Here is my code: ...
2 votes
1 answer
78 views

Plain TeX input Tikz package not found

I ran \input tikz.tex \bye and the Tikz package is not found This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021/MacPorts 2021.58693_2) (preloaded format=pdftex) restricted \write18 ...
0 votes
0 answers
20 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 ...
1 vote
1 answer
249 views

Missing number, treated as zero; Illegal unit of measure (pt inserted)

I just encountered this problem Missing number, treated as zero. [ \begin{Cauchy} ] and this Illegal unit of measure (pt inserted). [ \begin{Cauchy} ] I know that somebody has already met this problem ...
2 votes
1 answer
85 views

Error: Wrong DVI mode driver option ps2pdf when building with pdflatex

I realize this has come up repeatedly before. My use case does not have any explicit driver selection and is as simple as it can possibly be, so none of the prior answers I've found seem applicable, ...
1 vote
1 answer
155 views

How to debug todonotes issues (expandafter {\@captype)

In a LaTeX document (using revtex-4.2 and todonotes) I run into issues with todo note related errors – which seem erratic and which I somehow cannot debug. The issue seems to be related to a certain ...
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 ...
1 vote
1 answer
128 views

Error after upgrading MikTeX (interfaces and pgfkeys)

I have a compilation problem with an old document, which I cannot recompile today with an up to date MiKTex 2.9 installation on Windows. It seems that it is a problem with latest version of pgfkeys. ...
0 votes
0 answers
41 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
55 views

File ended while scanning use of \@LTRfootnotetext

I use text studio to write a latex file in Persian. It worked good and produce the output pdf using xelatex. I edited the file and now when I want to compile it it produces File ended while scanning ...
1 vote
1 answer
987 views

Error with minted and TeXMaker : You must have `pygmentize' installed to use this package

I discovered TeX and LaTeX recently, and I started to learn how to make math documents, but I need to write some source codes in Python3. So I choose to use the package minted, but I got this error: !...
0 votes
1 answer
74 views

Forward Search in execution modes doesn't work well in WinEdt 10.3

When I enable in Execution Modes the sub-field Forward Search under XeTeX in WinEdt 10.3 and then compile my .tex file, I get the following error immediately after compilation (i.e. without ever ...
0 votes
0 answers
46 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
545 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 ...
2 votes
1 answer
31 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} \...
0 votes
1 answer
93 views

MikTeX Installation

I installed MikTeX on Windows 10 (64bit) in order to practice LaTeX. However when I am opening the command prompt and typing latex there it is showing an error. What should I do ?
0 votes
1 answer
25 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
0 answers
506 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
41 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
2 answers
187 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 \...

1
2 3 4 5
101