Questions tagged [compilation-error]

For Questions when the compiler failed to translate the source code due to a coding error or due to an error in the compiler itself.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

Incomplete \iffalse; all text was ignored after line 27

I am getting the above error while compiling the below code using Springer journal template available at Template The MWC is shared below \documentclass[sn-mathphys]{sn-jnl}% Math and Physical ...
0
votes
1answer
29 views

tikzlibrary: external file names with spaces issue

Hello there Currently trying to implement tikz's external library to a file named stack q.tex MWE: \newcommand\subfilename{"./stack q.tex"} \documentclass{article} % pgfplots \usepackage{...
1
vote
1answer
39 views

tikzlibrary: external not outputting usable file

Hello there Currently trying to implement the external library but cant seem to make it work \documentclass{article} % pgfplots \usepackage{pgfplots} % % Uncommenting generates error % \...
0
votes
1answer
39 views

File ended while scanning use of multicolumn

I am getting crazy with this code: I get a "File ended while scanning use of \multicolumn". This is one of multiple tables. They are all similar but I receive the error on this one (and the ...
0
votes
0answers
20 views

Problem with cross-referencing in Overleaf

I am working in Overleaf and I have a project folder with 4 documents: Main_paper.tex File1.tex File2.tex Additional_tables.tex I have to include Main_paper as external document in File1 and ...
0
votes
0answers
31 views

How to solve dfTeX error: pdflatex (file myfigure.png): reading image file failed

I'm working with Overleaf on my Master Thesis and I'm now blocked for this technical problem. I already insert many images of type (.pdf, .eps, .png, .jpeg...) and always the figure is inserted ...
1
vote
0answers
34 views

error with font paths

I have a situation regarding font paths. Something is not using the specified path and it causes a critical failure at the pdf build step. What is strange is that the the fonts seem to have been ...
0
votes
1answer
30 views

How do I use the Tex Gyre Schola font with fontspec in XeTeX

So I was trying to migrate from LuaTeX to XeTeX in overleaf and when I switched the compiler, It suddenly shows this error: Package fontspec Error: The font "Tex Gyre Schola" cannot be found....
0
votes
0answers
26 views

TeXstudio won't compile after I save

Apologies in advance for the lack of technical terminology; I'm not so good with computers. I just started using TeXstudio today, and I'm not entirely sure what happened but now pressing the double ...
0
votes
0answers
30 views

Extra \endgroup, missing \begin{document} compilation error

My minimum code necessary to replicate the error is just three lines: \input{report_template.cls} \begin{document} \end{document} I suspect its a problem with the "report_template.cls" ...
0
votes
1answer
59 views

Error Caused by The \makebox Command When Used Inside an Exam Document Header

I am using the exam package for the first time. I wanted to edit the header as mentioned on page 117 of the documentation. The \makebox command is causing an error of the type: Missing \begin{document}...
1
vote
0answers
28 views

Compilation errors when using \input inside tabular environment [duplicate]

I would like to include a table stored an external tex file in a latex document via \input inside a \begin{tabular}...\end{tabular} environment. This way the column alignment definitions and ...
0
votes
0answers
44 views

Latex error appearing from nowhere

When compiling my latex file I'm getting the following error message: ./main.aux|1 error| Text line contains an invalid character. ^^@ ./main.aux|1 error| Text line contains an invalid character. ^^@^^...
2
votes
3answers
138 views

Working PSTricks LaTex Code that runs using TexShop or pdflatex on MacBook Pro

I am looking for working PSTricks example code that would run using pdflatex or TexShop on a MacBook Pro laptop. For example, the PSTricks code that I copied from https://tug.org/PSTricks/main.cgi?...
1
vote
2answers
48 views

Cannot get \cellcolor to work on a table

i've used the following table generator site to create the below table but feel like it's a bit more complicated than it's need to be, and I cannot get the color cell working. https://www....
0
votes
0answers
43 views

Why all resume templates showing PDF rendering error?

I heard about overleaf and wanted to try it for building a resume. Problem is that whatever template I choose, it doesn't show me a preview on the right side. There is always some error and it shows ...
1
vote
2answers
32 views

Bibtex footnote - citation in beamer have tried many posts

I read through many posts and I cannot for the life of me get this citation working. My bib file is located in the same folder as my LaTeX file and everything is named appropriately. Please help! ...
1
vote
1answer
71 views

How to increase the setting dest_names_size using lualatex on TL 2021?

Summary of problem: I get error TeX capacity exceeded, sorry [number of destination names (dest_names_size)=1 31072] But unable to find how to increase dest_names_size value to avoid this error. ...
1
vote
0answers
35 views

Beamer Presentation and compiler error - ! Missing } inserted. <inserted text>} \end{frame} [closed]

My compiler is flagging an error but everything seems to be working correctly. Can anyone help me understand the problem? \documentclass{beamer} \usetheme[progressbar=frametitle]{metropolis} \...
0
votes
0answers
20 views

Problem with xymatrix figure__> error: unknown float option

I have this code (xy and float packages loaded, (do I really need float?)), editor: texmaker: \begin{figure}[h,scale=0.9] \tightdisplaymath \[ \xymatrix{ *+[F]{\text{Adina (x)}} \ar@/^2pc/[r]^{r_{...
0
votes
2answers
87 views

Missing number, treated as zero (\hspace, I think)

At the outset let me say I am not even a LaTeX beginner - I know almost nothing. I have an .tex file named title.tex which was developed on a Windows platform and is used in an R markdown document ...
0
votes
1answer
40 views

Random comma in Table

I have a made a table with the sidewaytable package and got a weird comma in the center of the table and don't know where its coming from. Any ideas? %... \usepackage{array} \usepackage{longtable} \...
0
votes
1answer
25 views

How/where to find LyX error?

I have a very large LyX file. When outputting, I get this error: How do I find where this error is? What should I look for in the "Complete Log"?
13
votes
1answer
188 views

How to force LaTeX to error when an \include file is missing/misspelled?

The only file which was meant to be compiled in my Main.tex was specified by the following line: \include{transformtaion} It was compiled without any error using the following command: pdflatex -...
2
votes
1answer
47 views

halloweenmath package not working

I am trying to use the symbols from the halloweenmath package for a deck of slides. It works if I only define a symbol once or twice, but compilation fails (both on MikTeX and Overleaf) when too many ...
2
votes
0answers
33 views

Latex not recognizing | symbol [duplicate]

I have trouble compiling a document. The document compiles when using standard "article" documentclass, but fails using the format for Springer journals. I narrowed it down to the symbol &...
7
votes
1answer
201 views

`! Bad character code (-1)` when using monospace, Spanish, and the word starts with "r"

I'm facing a weird problem when trying to compile a PDF that contains a quoted word that starts with "r" while using the babel package in Spanish and monospace fonts. This minimal example \...
2
votes
1answer
170 views

Unwanted bold text?

I get bold text without using "\textbf{}", how to resolve that?! P.S. I'm using "overleaf" \\ \textbf{"\textbackslash end\{titlepage\}"}:\\ C'est pour << fin de la ...
1
vote
1answer
23 views

Dimension too large error using forest package

One forest in my document produces some weird problems. This is the problematic excerpt: \documentclass{article} \usepackage{amsfonts} \usepackage{amsmath} \usepackage{amssymb} \usepackage{forest} \...
0
votes
0answers
23 views

Getting multiple errors using ACM small class in Latex

I am using the following packages (copied from my IEEETransaction latex template): \documentclass[format=acmsmall, review=false, screen=true]{acmart} \usepackage{cite} \usepackage{amssymb} \usepackage{...
0
votes
0answers
30 views

Kpathsee looking for file "babel-xelatex.cfg"

Im working on compiling a format file using a XeLaTeX engine and It is trying to fetch a file babel-xelatex.cfg which is not found anywhere in MacTeX. It seems that upon initialisation "hyphen....
0
votes
1answer
72 views

My latex broke, possibly corrupted amsmath package

I have come across a very unusual (for me at least) situation. For whatever reason, after using tex for quite some time, today my latex just gave error message: "File ended while scanning use of @...
1
vote
0answers
114 views

Error compiling with tcolorbox and tikz package

I'm using the official springer nature template. But whenever I try to add tcolorbox or tikz package it throws the following error. I've removed the content of the template but it's still there. ...
1
vote
2answers
67 views

Latex will not allow me to typeset apostrophe key?

I'm trying to use the apostrophe key in math mode to write something like x' for "x prime" but I keep getting an error that says "TeX capacity exceeded, sorry [input stack size=5000]. '-...
0
votes
1answer
23 views

lapbox + cryptocode = Something's wrong--perhaps a missing \item

When I try to use cryptocode package inside a lapbox (from adjustbox), my code produces: ERROR: LaTeX Error: Something's wrong--perhaps a missing \item. MWE \documentclass{article} \usepackage{...
1
vote
1answer
51 views

Error - Table of contents in uppercase

I want to produce a table of contents using LaTeX like this image at which the table of contents list are all in capital: So I wrote this LaTeX code: %To make the sections in uppercase \makeatletter \...
0
votes
0answers
26 views

error in compiling latex

what's the meaning of \ProvidesPackageRCS[v\pgfversion] $Header: /cvsroot/pgf/pgf/generic/pgf/utilities/pgffor.code.tex,v 1.25 2013/12/13 11:40:27 tantau Exp $. I have updated both tex studio to 4.0.0....
0
votes
1answer
73 views

Novel class error compiling (LuaTeX, and XeTex)

Edited question I’d like to write a document with the novel class, which is installed on my distribution. Because it seems I can’t make my own minimal working example, I took it from the official web ...
1
vote
2answers
62 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]{\...
0
votes
0answers
32 views

tcolorbox generates errors when included

I'm having a small problem since my computer was reinstalled by the IT of my office. The package tcolorbox which used to work can't be included anymore. MWE : \documentclass[12pt]{article} \...
1
vote
0answers
40 views

Pstricks compiled with XeLaTex with many errors, but return a pdf file [duplicate]

Consider the following code: \documentclass[a4paper,margin=1cm,fontscale=1]{baposter} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{amsmath} \usepackage{...
0
votes
0answers
32 views

Kile : TeX file working on Overleaf not compiling on Kile

I am compiling a project report that contains at the moment of creation no complicated packages that I might have not installed on Kile (new user here!). Before Kile, I was using Overleaf and the same ...
2
votes
1answer
69 views

Bad math environment delimiter. \end{align}

I'd need help regarding this small piece of code. During the compilation the error message 'Bad math environment delimiter. \end{align}' appears, and the pdf looks like the image below: \begin{align} %...
0
votes
0answers
352 views

I cannot compile any tex file with pdflatex? (problem started today) How can I solve it?

I am using ubuntu 18.04. I downloaded miktex console 2 days ago to download some latex packages I wasn't able to. It was working fine. Today it was also working. But all of a sudden I started getting ...
0
votes
1answer
91 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 ...
1
vote
1answer
33 views

Nested optional \gls argument exceeds "semantic nest size" capacity

In a math-oriented document, I'm using glossaries to link most in-text mathematical symbols to their meaning in the glossary at the front of the document. Using different subscripts/superscripts ...
0
votes
0answers
50 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 ...
1
vote
0answers
388 views

Runtime Error on Compilation when using Latexmk

This morning I was editing a LaTex document when all of a sudden the continuous compilation stopped working. I tried recompiling the file and received this error: 2021/08/07 20:36:53 Rollbar error: ...
1
vote
1answer
649 views

LaTeX Workshop in VSCode failed to compile

I am trying to use LaTeX Workshop in VSCode to compile my tex file. I have no idea why it can not successfully compile it. The error log is as follows: This is pdfTeX, Version 3.141592653-2.6-1.40.22 (...
0
votes
0answers
52 views

After texlive package update, nothing compiles

I updated my packages in texlive 2021 today through the GUI package manager. Afterwards, no document compiles. When trying to compile a basic document with pdflatex, I receive the following error: ...

1
2 3 4 5
8