Questions tagged [errors]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
995 views

! You can't use `macro parameter character #' in math mode error, but I need the #

Goal: Display several sources which have been used for research with spaces in between the words and non cursive letters Issue: #-error and no space in between words and sources are written in cursive ...
user avatar
1 vote
1 answer
318 views

Undefined control sequence in R Markdown from \frac{}{}

I am a beginner working in R markdown. I can compile the given minimally reproducible example below as an HTML. But, when I try to compile the RMD file as a PDF, I get the following error: ! Undefined ...
user avatar
0 votes
0 answers
76 views

Familiar with TeXCeL?

Our journal publisher has advised us it is evaluating TexCeL for typesetting, following many problems with math, and typography in general, in our proofs. I can find no technical details about it ...
user avatar
  • 1
0 votes
0 answers
27 views

Error compiling latex

I need help, I am very desperate. I was advancing in my thesis as I do daily, and suddenly an error appeared which I do not know how to fix it although it seems simple: l.25 \ begin {document} I ...
user avatar
0 votes
1 answer
40 views

Missing } error in table

I am getting a missing } error when compiling a longtable in a pdf document using rmarkdown. The table knits to html, so I think the problem is with the latex that is being produced and I can't ...
user avatar
1 vote
2 answers
67 views

Arrow above = symbol - Code ok in overleaf, ko in Texmaker

I have the following code which works in overleaf, but doesn't work in texmaker: \documentclass{article} \usepackage{graphicx,mathtools} %* \usepackage{old-arrows} \newcommand{\eqstackrel}[1]{\...
user avatar
0 votes
1 answer
61 views

Generate an expandable error message when a file does not exist

I would like to understand how to use the expl3 command \msg_expandable_error (as used here) with \IfFileExists to get an expandable error message if some external file does not exist. I deliberately ...
user avatar
  • 8,789
3 votes
2 answers
95 views

Missing $ in math mode? [closed]

I have the following code: \documentclass{article} \usepackage{amsmath} \begin{document} \[ \det(A) = a_{11}(a_{22}a_{33} - a_{23}a_{32}) - a_{12}(a_{21}a_{33} - a_{23}a_{31}) + a_{13}(a_{21}a_{32} ...
user avatar
  • 155
0 votes
0 answers
49 views

Pdf Latex Sphinx make error: [! Missing \endcsname inserted.]

I'm creating a latex PDF file with Sphinx.. Eventually I'm trying to compile the Latex pdf file with make latexpdf But outputted a error: ------------ This is pdfTeX, Version 3.14159265-2.6-1.40.18 (...
user avatar
0 votes
0 answers
23 views

Align error: ! Missing } inserted. l.75 \end {align}

I'm just picking up LaTeX and I'm having trouble with align. Here's the offending code: \begin{align} A $\lor$ (A $\land$ B) &$\equiv$ $\neg$ $\neg$ (A $\lor$ (A $\land$ B)) \textbf{double ...
user avatar
  • 1
0 votes
1 answer
121 views

! Undefined control sequence. \@urlcolor with custom documentclass

I am trying to debug a custom documentclass that I need to use, in which the hyperref package (\href command) doesn't work. This is my document: \documentclass{article} \usepackage{hyperref} \begin{...
user avatar
1 vote
1 answer
131 views

Not using mathcal, but still getting "Error: \mathcal allowed only in math mode"

I am recieving a TeX error as follows: ! LaTeX Error: \mathcal allowed only in math mode. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... ...
user avatar
  • 13
1 vote
0 answers
28 views

Count errors in La(TeX)

Sometimes TeX ends a process with "That makes 100 errors..." which suggests that TeX keeps the count of errors made so far. Is that counter publicly available? My real purpose is to take an ...
user avatar
0 votes
1 answer
104 views

Underfull \hbox (badness 1043) in paragraph at lines 52--52

I have this bad error with Latex, and i can't resolve it can somebody help me ? Thank you \documentclass[12pt, letterpaper, twoside]{article} \usepackage[utf8]{inputenc} \usepackage{fancyhdr} \...
user avatar
0 votes
0 answers
106 views

Compilation error when uploading to arxiv.org

I am using CVPR template, the tex compilation is OK on my local machine, but has following compilation error when uploading to arxiv.org: ! LaTeX Error: Command \@EveryShipout@Hook already defined. Or ...
user avatar
0 votes
0 answers
26 views

How to add a label for a table? I get the "missing $ sign inserted" error even though everythings alright

This is a sample code of the table which I can't label: \documentclass[a4paper, pointlessnumbers, %draft, parskip=half, automark ]{scrartcl} \...
user avatar
0 votes
1 answer
42 views

My file has many double subscript but I do not know why [duplicate]

I don't know why my Overleaf file has many errors about double subscript and it makes my photo can not load in PDF. Please help me.
user avatar
  • 1
0 votes
0 answers
21 views

Bibliography error in TeXworks

I use Latex quite well but I have only used Overleaf so I didn't have any problem. Now I've start to use TexWork editor and I have some issues with Bibliography. I've create this basic script \...
user avatar
1 vote
1 answer
993 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: !...
user avatar
  • 21
1 vote
1 answer
180 views

Problem with \usepackage{caption}. The error: "Undefined control sequence in \caption" comes up. If \usepackage{caption} is removed pdf shows no error

\documentclass[msom,nonblindrev]{informs3} \usepackage{caption} \usepackage{subcaption} \usepackage{setspace} \usepackage{tikz} \usetikzlibrary{automata,arrows,positioning,calc} \begin{document} \...
user avatar
  • 11
1 vote
0 answers
74 views

Generate eps from tex

Assume the test.tex file for an image is as \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node [draw] {hello world!}; \end{tikzpicture} \end{document} I used the ...
user avatar
  • 216
0 votes
0 answers
33 views

Error regarding \contentsline when compiling [duplicate]

Consider the following MWE: \documentclass{article} \usepackage{tocloft} \usepackage{hyperref} \begin{document} \tableofcontents \addtocontents{toc}{\contentsline{subsection}{\numberline{}Something}...
user avatar
0 votes
0 answers
126 views

Error ! Package xkeyval Error: xkeyval loaded before \documentclass

I'm getting this error ! Package xkeyval Error: xkeyval loaded before \documentclass. but I don't have a package thats called xkeyval \input{Header/Packages} \documentclass[10pt,aspectratio=169,...
user avatar
  • 983
1 vote
1 answer
196 views

LaTeX beamer: Package keyval Error: 0.5cm undefined. \end{frame}

Recently, I am reading the book [1]. Today, I input the following code on page 794 of [1] into TeXstudio 3.1.2: \documentclass{beamer} \setbeamertemplate{background}[grid][0.5cm] \setbeamercolor{...
user avatar
0 votes
0 answers
204 views

LaTeX Error: Command \splitbox already defined

How do I solve this error? When I click on it, overleaf doesn't point me to the line where the error is supposed to be, my document is not even 1876 lines long, I have no idea what is wrong and how to ...
user avatar
1 vote
0 answers
241 views

I can't write equations on my presentation

I am making a presentation on latex using the beamer document class. The preamble of my .tex file is the following: \documentclass{beamer} \usepackage[latin1]{inputenc} \usepackage[many]{tcolorbox} \...
user avatar
0 votes
0 answers
64 views

UnicodeDecodeError while using LaTeX in Python

When trying to run a code containing text written for LaTeX I get an error. UnicodeDecodeError: 'charmap' codec can't decode byte 0xa1 in position 1281: character maps to <undefined> I'm ...
user avatar
  • 1
0 votes
1 answer
74 views

Undefined control sequence when using \begin{equation}

I have loaded amsmath and then giving the equation \begin{equation} RMSE = \sum \limit_{i=1}^{d} \left (\frac{original(i)-predicted(i)}{original(i)} \right) ^ 2 \label{eq1} \end{equation} It gives ...
user avatar
0 votes
1 answer
169 views

Problem with Wiley NJD class

UPDATE: the problem disappeared after I reinstalled mikTeX. Please thus consider the question closed. When trying to compile an empty document with mikTeX/pdfLaTeX and WileyNJD-v2 class, I get a ...
user avatar
  • 147
0 votes
0 answers
252 views

Overleaf, LaTeX: Missing number, treated as zero

I am writing a report. I am trying to put images side by side so I followed this tutorial. And I get the following errors: \begin{figure}[h] \begin{subfigure}{0.5\textwidth} % this line generates the ...
user avatar
0 votes
1 answer
39 views

Figures missing from document, replaced with commas

In my document, some figures are replaced with two commas (,,), without any error output. It's hard to predict when this will happen, but it seems to happen near the end of Chapters / near a page ...
user avatar
0 votes
1 answer
63 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 ...
user avatar
  • 13
0 votes
2 answers
57 views

Two Errors in this code: Why and significance

Overleaf tells me that there are 2 Errors in this code: \documentclass{book} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage[a4paper,top=3cm,bottom=3cm,left=1.5cm,right=1.5cm]{...
user avatar
  • 847
0 votes
0 answers
28 views

Txt.file does not want to open in Latex

After not closing my Latex in the correct manner, while being open in txt.file, my txt.file did not want to open up again. You can open up all my other txt.files exept for the one I closed my Latex in....
user avatar
0 votes
0 answers
35 views

arara fails on biber, but standalone biber doesn't fail [duplicate]

I have a LaTeX file ThesisFinal.tex that I compile with arara. The file starts with the following lines: % arara: clean: { extensions: [aux, bbl, bcf, blg, glg, glo, gls, idx, ilg, ind, ist, log, out, ...
user avatar
  • 8,734
0 votes
0 answers
97 views

I have package key value error

On my CV template this error is showing but I can not fin the error, could somebody help me? Package keyvalue Error: Unknown option 'vargreek-shape' for package ‪/usr/local/texlive/2020/texmf-dist/...
user avatar
1 vote
1 answer
657 views

problems with downloading lyx to a mac with m1 chip

I recently switched from pc to mac, specifically I have mac with a M1 chip. I've tried to download lyx a few times. first I downloaded mikitex and that wasn't a problem, then I downloaded LyX/Mac 2.3....
user avatar
  • 125
0 votes
0 answers
626 views

MikTex Console is opening with error

Whenever I open MikTex Console it pops up with an error and then I have to exit the application and try again but to no avail. I clicked on Copy info and here is the error: GENERAL MIKTEX INFORMATION ...
user avatar
  • 1
2 votes
1 answer
53 views

comment package and macro .sty file causing problems, why?

Here's main.tex: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{comment} \usepackage{tcolorbox} \tcbuselibrary{theorems} \newtcbtheorem[]{myprob}{Problem}% {colframe=blue!35!black,...
user avatar
  • 525
0 votes
0 answers
90 views

Errors after compiling my code in ScholarOne submission platform (File will not display in proof)

My code works super good in Overleaf and TexMaker without any problems. I tried to submit it to a journal that uses the ScholarOne platform, and I am facing this error "File will not display in ...
user avatar
  • 87
0 votes
0 answers
63 views

Why does this \gappto cause "Missing \endcsname inserted"?

I have a macro recoding the language: \def\mylang{English} and a command to convert the language name into its abbreviation: \NewDocumentCommand{\StrToABBR}{m}{% \expandafter\lowercase{\...
user avatar
  • 6,080
0 votes
0 answers
42 views

How can I install a package from a code like the code in the picture?

I am trying to use a package for natural deduction, this is fitch.sty. So, I wrote in Text Maker before "\begin{document}" the following: "\usepackage{fitch}". But the an error ...
user avatar
0 votes
0 answers
22 views

The preview pdf at last page is smaller than the others

What might be wrong in the following situation? The last page will be smaller than the others, whether it is in the preview screen or after the output. And the \end{document} is undefined?
user avatar
0 votes
0 answers
66 views

could't read file ''C:\texlive\tlpkg\installer\install-tl-gui.tcl

I Have problem ''could't read file ''C:\texlive\tlpkg\installer\install-tl-gui.tcl no such file or directory tex live''. After 15 hours of downloading, for some reason this file is not found in the ...
user avatar
1 vote
1 answer
126 views

\resizebox - Error: \begin{aligned} allowed only in math mode

This code snippet produces the error "\begin{aligned} allowed only in math mode. Missing $ inserted." \resizebox{\columnwidth}{!}{% $$\begin{aligned} \sin ^{2} \theta+\cos ^{2} \theta=1 &...
user avatar
  • 175
1 vote
1 answer
67 views

Recurring error with titlesec label

I'm asking the question again since I encounter the same issue using book class. Therefore, it doesn't seem to be related to a compatibility issue between titlesec and KOMA-script. What is the problem?...
user avatar
  • 43
0 votes
1 answer
204 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,...
user avatar
  • 11
4 votes
1 answer
220 views

LuaLaTeX: ctex and microtype together produce errors when using "\scshape"

Consider the following MWE, to compile with LuaLaTeX: %! TEX program = lualatex \documentclass{article} \RequirePackage[fontset=fandol]{ctex} \usepackage{microtype} \begin{document} {\scshape Some ...
user avatar
  • 6,080
0 votes
0 answers
102 views

Error messages when trying to compile

I'm a new LaTex user. I want to submit a paper to Elsevier, thus I downloaded the "els-cas-templates" package. Specifically, I've been using the "cas-sc-template" file. When I ...
user avatar
1 vote
0 answers
59 views

Can TikZ-Feynman be used in a document compiled with pdfLaTex?

I'd like to use TikZ-Feynman to have some nice Feynman-Diagrams in my paper. I have no experience with LuaTex, which TikZ-Feynman needs (and i currently don't really have the time to get used to ...
user avatar

1
3 4
5
6 7
101