2022 Developer Survey is open! Take survey.

Questions tagged [errors]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 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 ...
user avatar
  • 1
-1 votes
0 answers
21 views

BibTeX - bst file - You can't pop an empty literal stack for entry Hirt1974; while executing---line 2291 of file WileyNJD-APS.bst

I have customized the bibliography style file (WileyNJD-APS.bst) and compiling the bibtex getting the following errors. I am unable to identify the bibtex error and could you please help me to resolve ...
user avatar
1 vote
1 answer
25 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$ \\ ...
user avatar
2 votes
2 answers
139 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 \...
user avatar
0 votes
1 answer
27 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 \...
user avatar
1 vote
0 answers
62 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, ...
user avatar
  • 11
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 ...
user avatar
  • 1
-1 votes
1 answer
36 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} \...
user avatar
  • 25
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{\...
user avatar
  • 297
2 votes
1 answer
38 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 ...
user avatar
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} \...
user avatar
0 votes
0 answers
26 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 !! ...
user avatar
-1 votes
0 answers
14 views

suggest ways to rectify "File ended while scanning use of \frame . "

How should I rectify this error?
user avatar
  • 1
3 votes
1 answer
54 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,...
user avatar
0 votes
1 answer
30 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 ...
user avatar
  • 1,059
0 votes
3 answers
48 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} \...
user avatar
  • 321
0 votes
0 answers
20 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 ...
user avatar
0 votes
1 answer
47 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) ...
user avatar
0 votes
0 answers
56 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 ...
user avatar
  • 670
0 votes
1 answer
40 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 \...
user avatar
  • 1
0 votes
0 answers
14 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 ...
user avatar
  • 1
1 vote
1 answer
43 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/...
user avatar
  • 103
0 votes
0 answers
23 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 ...
user avatar
1 vote
1 answer
56 views

Origin of Lua Error

If a lualatex compilation breaks with/at this terminal output: (/usr/local/texlive/2022/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.c ode.tex))[\directlua]:1: attempt to call a nil value (...
user avatar
  • 1,870
0 votes
0 answers
40 views

Float [H] not working // Two-column problem // Various errors

I am currently writing my PhD thesis, and have been looking for a solution of the two stated problem below for hours, when I finally decided to ask the question in front of the "pros". :) ...
user avatar
  • 11
1 vote
1 answer
47 views

Custom environment for tcolorbox not working with certain option

I have trouble defining a custom environment for a tcolorbox equation environment. When I define an environment for my tcolorbox with ams align Option I get the error: LaTeX Error: \begin{tcolorbox} ...
user avatar
  • 202
0 votes
0 answers
31 views

Converting an overleaf text into Latex [duplicate]

I have written a paper in Overleaf. I can't convert it into a LaTeX file. Is there any special way to do that. For example the document class is \documentclass[graybox]{svmult} but in LaTeX it has not ...
user avatar
  • 3
0 votes
0 answers
25 views

Random errors show up when I insert a bibliography

When I include at the bottom of my latex file the code \bibliographystyle{plain} \bibliography{Bibliography} I get the following errors in my Log file (note my Latex compiles with no errors when I ...
user avatar
0 votes
0 answers
38 views

Missing number, treated as zero - what did I read

OK, guys I wanted to compile a simple thing that usually works and on the line: [\sum\sub{\gamma \in \Delta}c\sub{\gamma}h\sub{\gamma}, x\sub{\alpha\sub{1}}] \equals 0 LaTeX says "missing number,...
user avatar
  • 321
0 votes
0 answers
56 views

pdflatex: Command for pdflatex gave return code 1, but not error in log file

When I build my project using a Makefile I get this: (see the transcript file for additional information) Output written on build/report.pdf (51 pages). SyncTeX written on build/report.synctex.gz. ...
user avatar
  • 1,059
2 votes
1 answer
51 views

\tl_gput_right:Nx with argument containing \par causing error after a list

I accidentally ran into this issue and don't understand why this happens. Consider the following code: \documentclass{article} \begin{document} %% OK Text \ExplSyntaxOn \tl_gput_right:Nx \l_tmpa_tl {...
user avatar
  • 5,074
1 vote
1 answer
41 views

Patch \input in tabular if on a recent LaTeX

I am trying to implement a workaround for the error I get when inputting a table as external file in a file using \input. The code snippet below works for this purpose: \IfFileExists{filename} \...
user avatar
  • 175
4 votes
2 answers
115 views

"Illegal parameter number in definition of \reserved@a" following \IfFileExists

I tried to use a switch \IfFileExists to define a command differently, but I get the illegal parameter error. I am running LaTeX from TeX Live 2021. A minimal example is: \documentclass[12pt,fleqn]{...
user avatar
  • 175
0 votes
1 answer
31 views

`Missing = inserted for \ifnum` Error During Compilation

I know this question has been asked many times before. There are many similar questions but I failed to solve mine. During compilation, I'm getting the following error message: ./thesis.tex:41: ...
user avatar
2 votes
2 answers
100 views

`\newenvironment` throwing errors

I defined an environment: % Custom environment % \begin{subeqns}[eq:label] % ... % \end{subeqns} \newenvironment{subeqns}[1][] { \begin{subequations} \ifthenelse{\isempty{#1}}{}{\label{#...
user avatar
  • 240
0 votes
1 answer
57 views

Overleaf error messages when compiling with \begin{align*} and \end{align*} and using \bm{\varphi}

I'm getting error messages in overleaf such as "Missing } inserted.", "Extra }, or forgotten \endgroup.", "Misplaced alignment tab character &.", "Misplaced ...
user avatar
2 votes
1 answer
192 views

hyperref stopped working abruptly

An avid user of hyperref package here. I had been using it for almost all of my documents, and it had been working just fine, until today, when all of a sudden, all my files that have \usepackage{...
user avatar
  • 297
0 votes
0 answers
67 views

Chemformula giving Missing number, treated as zero error

I've recently installed TeXstudio and MiKteX on a new Windows 11 machine and have been trying to compile some of my old .tex files which uses chemformula: \documentclass[answers, 12pt]{exam} \...
user avatar
  • 113
1 vote
0 answers
58 views

Failure to include pdf files in a Windows 11 computer using LuaLaTex MikTex, but ok in Windows 10

I am a reasonably apt LaTeX user, being a local reference to solve problems. However, this baffles me and I could use some help. I already did a lot of checking on both installations, and reinstalled ...
user avatar
  • 169
2 votes
1 answer
145 views

Is there a \return command to end the current macro?

Is there a \return statement in Latex to end the current macro from being processed? \if some condition \PackageError{mypackage}{main text}{help text} \return \fi I just think it would be more ...
user avatar
0 votes
1 answer
57 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, ...
user avatar
  • 4,335
1 vote
1 answer
58 views

Image.png suddenly not found [closed]

Latex compiled fine for me until a second ago, I don't know if I did something (I think not), but suddenly it threw me this error: no image ending in "png" loads. The folder with images is ...
user avatar
  • 25
0 votes
1 answer
62 views

Error with ctable package after updating MikTex

I had a tex file that was compiling fine until I updated MikTex a few nights ago (I updated in both admin and user modes). I now keep getting the following error when I try to compile: ! LaTeX Error: ...
user avatar
1 vote
1 answer
78 views

Cannot paste a large chunk of LaTeX to Overleaf

When I try to copy a large chunk of LaTeX to Overleaf (especially tables), nothing happens. Overleaf does not paste my LaTeX to its editor. I have to manually copy each line in order for Overleaf to ...
user avatar
  • 21
1 vote
0 answers
43 views

Can Lua access the traceback/surrounding tokens on error?

Let's say if I have... \documentclass{article} \errorcontextlines=10000 \def\c{1 \errorerror 2} \def\b{3 \c 4} \def\a{5 \b 6} 7 \a 8 I can see the traceback on the console... ! Undefined control ...
user avatar
  • 1,471
0 votes
1 answer
51 views

Missing number error in pgfplot [closed]

I got a weird error when I use add yshift=-1mm to my plot. The error does not appear when I use positive value. The shift works, but looking at the red error is really annoying. Can anyone suggest a ...
user avatar
0 votes
0 answers
44 views

Latex No Files found

I do not know what happened. I tried everything I found on line. The problem is as follows: If I include \addbibresource{example.bib}, Latex stops recognizing any files. It doesn't matter what is in ...
user avatar
  • 1
0 votes
0 answers
33 views

luatex doesn't stop on error on Windows, but does on ubuntu

I use TeXworks on Win7 (Version 0.6.5, MikTex 21.1) and TeXworks on Ubuntu (Version 0.6.5, "launchpad"). And I have a tex file with an error (undeclared control sequence). Running luatex (1....
user avatar
1 vote
1 answer
38 views

Aligns: missing $ inserted and other severe errors

I got some fatal error from my code: \begin{align} a_{n+1}-a_{n} &= \frac{1}{n+2}\left(1+\frac{1}{2} + \cdots + \frac{1}{n+1} \right) - \frac{1}{n+1} \left(1+\frac{1}{2} + \cdots + \frac{1}{n} \...
user avatar
  • 113
0 votes
0 answers
32 views

No Output PDF Produced

I'm using TeXShop to produce a PDF file of a .tex file, and my professor can produce an output, but I cannot. I assume it has something to do with garamondx, but I believe I installed it correctly. To ...
user avatar
  • 1

1
2 3 4 5
100