Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [errors]

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

Filter by
Sorted by
Tagged with
2 votes
2 answers
1k views

'filename-1.pdf' not found Asymptote

I am trying to run Asymptote code embedded in a tex file. The pdf generated has no asymptote figure but other latex stuff appear. I get a warning that file "filename-1.pdf" not found. I am using ...
0 votes
1 answer
53 views

Command transparent already defined [closed]

When I try to create my pdf with the code below and the command pdflatex --shell-escape latex.tex on linux : \documentclass[12pt]{article} \usepackage{a4wide} \usepackage[utf8]{inputenc} \usepackage{...
0 votes
0 answers
20 views

ERROR - Cannot find 'Podrozmaitosci_2.bcf'! INFO - ERRORS: 1

I can't find the solution for my TexMaker. I saved this document from the origin (using save as...) and It's the first compilation with the error. I don't know how I can solve it in my TexMaker. \...
3 votes
1 answer
55 views

Problem with unnumbered theorem

I would like to include an unnumbered theorem in my text. According to what I read, one needs to define a theorem environment using \newtheorem* instead of the usual \newtheorem. However, this seems ...
0 votes
0 answers
16 views

LaTeX Error: File `sn-jnl.cls' not found - Springer Nature Journal Template

I just downloaded the Springer Nature LaTeX Template. However, before even typing anything the .tex file fails to compile, showing the error message: LaTeX Error: File `sn-jnl.cls' not found I am ...
0 votes
1 answer
52 views

Missing \begin{document} error with macro

Ok, I created an MWE to clean this question. The following code generates an error. \documentclass{article} \usepackage[margin=0.5in]{geometry} \usepackage{tikz} % Include TikZ package for drawing \...
3 votes
1 answer
64 views

Error "\runscript.tlu:918: command failed with exit code 1" running arara

When I run even a simple document like this: % arara: pdflatex % arara: pdflatex \documentclass{book} \begin{document} Hello world! \end{document} I got this error: Process started (PID=7924) >>...
1 vote
1 answer
31 views

pgfplots plot difference between columns of table gives wrong results

This code compiles fine, but gives wrong results: \documentclass{article} \usepackage{pgfplots, pgfplotstable} \pgfplotsset{compat=newest} \begin{filecontents*}{data.csv} 1,2,5 2,4,6 3,5,8 4,7,10 5,8,...
6 votes
3 answers
1k views

Align and equation do not work in standalone

I am trying to use align and equation in standalone, but I get compiler errors even in the most basic of examples. For example, \documentclass{standalone} \usepackage{amsmath} \begin{document} \...
0 votes
1 answer
23 views

having error while inserting image

while applying this code, my output for image i have inserted is mixed pixels like blurry image is showing. Please help \documentclass[a4,12pt]{book} \usepackage[english]{babel} \usepackage{blindtext}...
0 votes
1 answer
56 views

Errors not allowing compiling [closed]

I'm new to Latex, but have been making a study guide for my class which has gotten very large. I changed one small thing, I believe I changed a section name, and now I get this error that I cannot for ...
0 votes
1 answer
170 views

Lyx problem with generating pdf

I have installed the newest versions of Lyx and MikTeX. When I try to make a pdf of ANY document I get the message like on the image. Does someone know the solution? When I click on Show output Anyway ...
63 votes
6 answers
13k views

Shortest code causing "Emergency stop." error

This question is purely academic. TeXing a file containing \valign{\halign#\cr! causes an ! Emergency stop. error. Is that the shortest code which produces a fatal error in TeX?
3 votes
1 answer
79 views

texlive 2024 / chemnum: error when referencing unknown IDs

Using texlive 2024 chemnum generates an error when referencing an unknown ID. Using texlive 2018 the expected "??" is written in the pdf. MWE: \documentclass{article} \usepackage{chemnum} \...
0 votes
0 answers
27 views

Latex not compiling tables correctly in Editorial Manager

I'm trying to submit to an Elsevier journal through the Editorial Manager. The latex file was created in Overleaf. It mostly compiles well, including two tables. The problem is that the tables appear ...
0 votes
1 answer
59 views

l@addto@macro undefined

Do I need a special package to use l@addto@macro? In the MWE below, g@addto@macro works, but l@addto@macro gives an "Undefined control sequence" error. \documentclass{article} \begin{...
2 votes
1 answer
302 views

"Missing $ inserted" error

\[ \begin{cases} $ {x_1}^{(1)} =1,25 + 0,25 \cdot 0,68 - 0,375 \cdot 0,89 = 1,09$ \\${x_2}^{(1)} = -1,2 \cdot 1,1 + 0,3 \cdot 0,89 = - 0,71 $ \\ ${x_3}^{(1)} = 2+ 0,4 \cdot 1,1 -0,6 \cdot 0,68 =2,03$ ...
1 vote
1 answer
21 views

tikz/external: Error writing files

The following code used to work before but now it is having trouble to write output files to destination, what is the problem here? Tried solution from this issue but it didn't work command: ...
1 vote
1 answer
3k views

XeLaTeX "Broken pipe" error

Edit: I cleaned up this first post to make it all a bit more clear. I am trying to compile my tex files using XeLaTeX. This is the minimal code I wrote to try: % !TEX program = xelatex \...
0 votes
1 answer
15 views

Is there a proper way to put `\fillin[]` inside `align` environment in the LaTeX `exam` class?

I am using \fillin[] command in the latex exam class to produce the following output: Convert the following angles from degrees to radians: \begin{questions} \begin{multicols}{4} \...
0 votes
0 answers
28 views

TeXstudio: Autocomplete for newcommands in a separate package

I created my own package where I defined several new commands with \newcommand and saved it in \texlive\texmf-local\tex\latex\local. After I imported the package at the beginning of my file, it is ...
0 votes
0 answers
28 views

XeLateX stopped compiling

I am using xelatex on vscode and i was working on a lab report when i set up some simple figures and now it doesnt generate the pdf anymore and no problems are detected. It worked perfectly before ...
1 vote
1 answer
248 views

XeLaTeX w/ MiKTeX produces "dvipdfmx:fatal: Invalid font: -1 (4)" error

I've tried following all these: XeLaTeX - Invalid Font: -1 XeLaTeX produces ‘dvipdfmx:fatal: Invalid font: -1 (22)’ error only on certain files and on certain computers Using other fonts caused ...
130 votes
2 answers
519k views

What does the phrase "Underfull \hbox (badness 10000) in paragraph" actually mean?

What does the actual phrase above mean?
1 vote
1 answer
163 views

\makeglossaries not working because of Github?

Completely new to LaTeX environment. So I'm using TexMaker for my Masters thesis. I thought I set it up correctly but this issue keeps cropping up. First, there is one instance if when I use \gls{...
2 votes
3 answers
118 views

Table not in the middle of the page because it is too long

As the title, I want my table place in the middle of paper. It is also to notice: LaTeX Error: \begin{document} ended by \end{longtable}. how can I fix it ? This is my code: \begin{longtable} \...
0 votes
0 answers
169 views

File `multirow.sty' not found. \usepackage

I am trying to execute this line of code(below) and getting the error above \usepackage[section]{placeins} Please assist
0 votes
1 answer
488 views

How to fix Undefined control sequence \caption@setlabelseparator with TexLive 2022?

I am trying to use again the answer from this question of mine from 2019 (Misplaced \noalign. \captionsetup ->\noalign when using \captionsetup inside memoir \legend command) with Tex Live 2022, ...
0 votes
0 answers
125 views

File `logreq.sty' not found on TeXstudio

I am trying to use biblatex on TeXstudio. This is the code I used and tried to run it. \usepackage[backend=biber, style=alphabetic, sorting=ynt]{biblatex}\addbibresource{bib.bib} But the error I got ...
3 votes
1 answer
61 views

pgfmathdeclarelist undefined control sequence error with item 33

I regularely use lists defined with pgfmath and encountered an error if one of the list items is "33" but not " 33" or "32".... Please find below a minimal example to ...
0 votes
3 answers
774 views

\mbox overflowing the line

I'm trying to avoid a line break in a middle of a method name as it can be seen here: I want PredRNN++ to remain intact. I tried using \mbox{PredRNN++} but then the name gets pushed out into the ...
2 votes
2 answers
67 views

Adding to a count with a command

I have the following command: \newcommand{\addtonewcount}[2]{\advance\#1 #2\relax} #1 is the name of the count and #2 is the degree to which one wants to add to the count. The command is returning an ...
0 votes
2 answers
32 views

Why is this error showing up when I run this section with a list in it?

I put a list in the section title of my document. Here is the code: \documentclass{article} \usepackage{enumerate} \usepackage{chemfig} \begin{document} \section{My Controversial Opinions: \begin{...
5 votes
4 answers
18k views

Undefined control sequence. \end{align*}

\begin{align*} \DIV \BP =&~\Bzero~,\label{PDE1}\\ \rho_0 c \dot{\theta}=&-\DIV \BQ + \theta\p{\theta}\BP:\dot{\BF}~.\label{PDE2} \end{align*} I had used packages like amsmath,amsfonts,...
0 votes
1 answer
786 views

\shorttitle error in Elsevier latex template

I am getting this error. Can anyone figure out the error? It will be helpful for me. Thank you in advance. Undefined control sequence. Please find code below and details here: \documentclass[a4paper,...
0 votes
0 answers
40 views

Compilation and output.lof errors when Figures are inserted

I am currently writing my thesis and all was going well until I reached a chapter that required a lot of pictures and little text. The majority of the pictures were placed next to each other with the ...
2 votes
1 answer
118 views

\cs_new:Npn causes illegal unit or measure error while \let doesn't

In the MWE: \documentclass{article} \setlength{\fboxsep}{0pt} \begin{document} \ExplSyntaxOn \cs_new:Npn \foo:nn #1#2 { \makebox[#1][s]{#2} } % \cs_new:Npn \bar:nn #1#2 { \foo:nn #1#2 } \let \...
4 votes
0 answers
98 views

luaotfload-tool: This version of luaotfload may have been tampered with. Is this a software bug, packaging bug or user malfunction?

Bug reports See also Max Chernoff's comment. Thanks to Max for directions to the first and prompting the second and third. https://github.com/latex3/luaotfload/issues/277 https://github.com/latex3/...
2 votes
1 answer
2k views

!pdfTeX error: pdflatex (file ./2_usr_share_lyx_images_buffer-view.pdf): reading image file failed

I am a complete beginner with latex and lyx, in order to learn I installed texlive and lyx in kubuntu using the next command: sudo apt-get install lyx texlive-plain-generic ispell ispanish texlive-...
2 votes
0 answers
56 views

Your compile timed out [closed]

I am a student and do a report in Latex. The file is large enough and began to push out errors related to labels. Tags I do using \label{metka1} \ref{metka1}. I have not previously made such errors, ...
0 votes
2 answers
41 views

Weird issue with pgfplots legend deleting curly brace

When compiling the following \documentclass{article} \usepackage{amsmath} \usepackage{pgfplots} \pgfplotsset{compat=1.18} \begin{document} \begin{tikzpicture} \begin{axis}[domain=-1:1] \...
1 vote
0 answers
515 views

Text disappearing in MiKTeX

This is about a hard-to-reproduce problem that has plagued me intermittently for years. I reported it earlier, but to no avail. I was now finally able to boil it down to a very small test case and I ...
6 votes
0 answers
349 views

Text mysteriously disappears

I have occasionally encountered a very mysterious problem that really bugs me and is also kind of dangerous if one creates a large document. However, although I have tried very hard, I'm not able to ...
1 vote
1 answer
41 views

cmbright won't compile a pdf-file

Since updating to TeXLive-2024-Basic I have trouble compiling files when I add the cmbright package. I had no trouble while at 2023 and still have no trouble if I switch back. Minimal example \...
1 vote
1 answer
59 views

Lyx - Saving error when using Russian letters in filename

I can't find a reason why the file is not saved if the name has Russian characters. Rename doesn't help. OS: Windows 10 x64. Installed and tried lyx versions from 2.3.0 until the new one. x32, x64 - ...
0 votes
1 answer
47 views

Font shape `OT1/lmss/m/up' undefined

I got this code \documentclass[12pt]{article} \usepackage[margin=1in]{geometry} \usepackage[dvipsnames]{xcolor} \usepackage{fancyhdr} \usepackage{lmodern} \usepackage{chessboard} \usepackage{...
0 votes
1 answer
1k views

pdfcolorstack error

whenever I'm trying to compile LaTeX using TeXmaker, my document provides the following error: pdfTeX error (\pdfcolorstack): not allowed in DVI mode (\pdfoutput <= 0).\set@color ->\...
1 vote
1 answer
73 views

Quantikz circuits bugs in TexStudio

I'm working in a huge file in Tex Studio in which I create lots of circuits using quantikz. The issue is that whenever I draw a circuit in the third chapter or later, the diagram that appears in the ...
0 votes
0 answers
15 views

"Environment publications undefined" - please help

%Section: Publications \sectionTitle{Publications}{\faLeanpub} \begin{publications} \publications {\textbf{Contrails Whitepaper}} {\textbf{Mar 2023}} \\* {\website{https://www.flipsnack....
3 votes
2 answers
324 views

Error "Missing $ inserted" but i cant find where they should be

I have an error where he tells me I have 4 missing $ in one line (paragraph below) but I don't know where. Everywhere I used _ or ^ is surrounded by $ and I can't find the missing ones. The log also ...

1
2 3 4 5
108