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.
512
questions
0
votes
0
answers
26
views
XeLaTeX works but xelatexmk returns error: 'moderncv.cls' not found
When I try to compile with xelatexmk it fails with all kinds of "files not found" latex errors, but other engines (e.g. latex, pdflatex, XeLaTex, pdflatexmk, etc.). I found some answers that ...
-1
votes
1
answer
31
views
"Undefined control sequence." for equation
Latex compiles my code and it produces the PDF. But, I can not resolve the following error it gives me.
l.252 ...times I\textsubscript{tx} \times \dfrac
...
1
vote
1
answer
18
views
Missing } inserted error using tikz \matrix
My code compiles the matrix fine, but does not seem to realize it's left the matrix environment. If I try to put another matrix immediately after, I get the error "you cannot nest pgfmatrix ...
0
votes
1
answer
52
views
Mac OS Ventura 13.5.2 - Unable to compile
My mac upgraded to Ventura 13.5.2 and when I tried to compile using TexShop I now get the following error message. I have used LateX (AmSTeX,Tex) for quite sometime, however, I am not familiar with ...
2
votes
2
answers
80
views
Mistake in LaTeX code
Can anyone spot my mistake in my LaTeX code? It's my first time working with LaTeX, so I am not all to familiar with how it all works. I get an error at line 38 for my code with the following ...
1
vote
0
answers
48
views
Alternative of fancy-preview for mordern TeXLive
The script fancy-preview is obsolete and no longer works in the recent TeXLive versions (see, for example, this question). According to the author of fancy-preview, there are some better options, but ...
0
votes
0
answers
38
views
Latex file cannot be compiled by latexmk
I am trying to submit my latex project to JMLR which compiles fine locally and on overleaf. However, it cannot be compiled on JMLR's latexmk. Does anyone know why it can't be compiled with 3 runs of ...
1
vote
0
answers
58
views
Zotero citation, Undefined control sequence [closed]
After I installed the Zotero connector, I tried to cite through it, following every single step. I don't think there are issues with my citation procedure.
\chapter{Introduction}
%
Poly- and ...
0
votes
1
answer
120
views
revtex4.2 compilation error [closed]
I recently switched computers, reinstalled MikTeX and TeXmaker. I was working on a revtex document on my former computer, which was compiling fine, it is now compiling with errors.
I get the error &...
2
votes
0
answers
33
views
\iffalse not working inside of table
The following code is supposed to generate a table with a single row and two columns. It does however not compile. The error messages contains Incomplete \iffalse and A forbidden control sequence ...
0
votes
0
answers
18
views
Compilation errors after re-installation
I re-installed my OS (Ubuntu 20.04) and Latex (package texlive-latex-extra), and I get compilation errors for my previously working documents.
The documents still work fine on Overleaf, but not on my ...
2
votes
1
answer
73
views
Overleaf ignores errors, how to avoid it?
I would like to know if there is any way to prevent Overleaf from ignoring the errors that do appear when compiling on the desktop.
For example, the following template code runs perfectly on Overleaf, ...
0
votes
0
answers
36
views
TeXLive and TeXstudio error when compiling any file
I installed texlive and texstudiobut I'm always getting the same error when I try to compile any file. The error that outputs to texput.log is the following:
This is pdfTeX, Version 3.141592653-2.6-1....
0
votes
0
answers
83
views
Unknown Unicode character 128 = U+0080, U+0098, U+0099
I have the same problem which is described here:
Unknown Unicode character 128 = U+0080.
Error because of U+0080, U+0098 and U+0099.
The errors are displayed in my masterdoc in the line directly ...
1
vote
0
answers
42
views
Typeset process stops at "ts1cmr.fd" - Issue resolved - \MakeUppercase vs. \uppercase
UPDATE: I discovered "\MakeUppercase" vs. "\uppercase" was the root cause of the issue. Issue resolved.
I have been successfully compiling this document for a while. The file has ...
0
votes
0
answers
34
views
How to resolve a citation compilation error which occurs randomly
Occasionally when I compile a multi-chapter document it refuses to compile and says that there are math equations in the citations.
If I comment out all lines with citations in one particular chapter, ...
0
votes
0
answers
22
views
Error \gls@numberpage in Abstract of the document
I have been trying setup the glossaries and include in all my work but I only have the problem in the ABSTRACT because when run the LaTex send the followin the next error. The Abstract is numerate ...
0
votes
1
answer
61
views
Illegal parameter number in definition of \reserved@a' error when redefining a macro inside a macro invocation
The following example is largely shorn of its original context as part
of the process of simplification.
This LaTeX file, if compiled with pdflatex parameternum.tex, gives
! Illegal parameter number ...
0
votes
0
answers
22
views
Error Message in Compilation with glossaries and natbib Packages
I have a simple .tex file where I would like to use the glossaries and natbib packages for a glossary and a bibliography. The minimal working example (MWE) and the document build are given below.
MWE
...
2
votes
1
answer
42
views
Style File not found error even though it is in my system
I am trying to compile a file and I keep getting an error:
LaTeX Error: File "upgreek.sty" not found. [ \newcommand]
However, I have found the missing file in my system:
I am currently ...
0
votes
0
answers
20
views
Configure Texstudio with Macport (minted/pygments)
I got a MacAir from work and I wanted to use LaTeX as usual. I installed Macport and used it to install texlive and texlive-extra, which should contain most packages. Then I installed python and ...
0
votes
0
answers
55
views
A problem with .bib file or related
I have copied the Bibliography.bib into CWD but still getting the following error.
Can someone please suggest a solution to this ?
Command Line: makeindex.exe "main2.idx"
Startup Folder: C:...
0
votes
1
answer
45
views
Thesis template doesn't work with xetex
I was trying to compile this template for thesis. It, however, gives the following error, what's wrong with it ?
Command Line: xelatex.exe --interaction=errorstopmode --synctex=-1 "main4.tex&...
0
votes
1
answer
109
views
Latexdiff not compiling
I just found out about Latexdiff and it's just what I need right now. But unfortunatly I can't get the .tex-file created by Latexdiff to compile on my maschine. I tried a minimal example:
file nr. 1: ...
1
vote
0
answers
248
views
Error using hypperref after updating MiKTeX annd TeXStudio
Since I updated MiKTeX 4.9 and TeXstudio 4.5.2 (git 4.5.2) my code no longer compiles. Hyperref seems to be the problem, if it´s not in, it works.
\documentclass{scrbook}
\usepackage[UKenglish]{babel}...
0
votes
1
answer
30
views
Mysterious error with output.nls file and nomencl package
I am using an Overleaf template to write my master thesis, which I have to hand in in 2 days. While finalizing the Symbol and Abbreviations List, I had an error while compiling the file. As I could ...
5
votes
2
answers
219
views
Why not using curly braces with operators made with \DeclareMathOperator give problems?
The following code compiles and generates the pdf properly:
\documentclass{article}
\usepackage{amsmath}
\DeclareMathOperator{\zero}{\overline{0}}
\begin{document}
Writing $V_\alpha$ does not give ...
0
votes
0
answers
58
views
Compilation error in IEEE format latex file
So I am writing a latex code based on IEEE format , the format does not support jpeg or Png options , I uploaded the files in eps format. Earlier when there was only one picture it was compiling fine ...
1
vote
1
answer
43
views
Command \leftbar already defined after using \usepackage{framed}
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{polski}
\usepackage{framed}
\usepackage{mathtools}
\usepackage{amsthm}
\usepackage{letltxmacro}
\LetLtxMacro\amsproof\proof
\...
5
votes
2
answers
644
views
What's wrong with the xwatermark package?
On a relatively old MacTeX distribution (2015), the following code was compiling fine without any issue. But with the latest MacTeX, it doesn't compile well anymore. I'm getting some mysterious ...
0
votes
0
answers
76
views
Compilation issue with TeXShop on Mac (cross references and index not compiled)
I have a large document which is compiling perfectly fine with my old app Latexian (which is now defunct, but still working great under the Rosetta 2 emulation on my Mac). When I try to compile the ...
-1
votes
1
answer
103
views
Unable to compile - 2 errors
I am trying to compile the below in overleaf (It is a very reduced version of my original doc). It is giving me 2 errors:
Error 1: LaTeX Error: Something's wrong--perhaps a missing \item. (line 317)
...
-1
votes
1
answer
324
views
Undefined control sequence errors in overleaf
I am getting " Undefined control sequence. " errors in 3-4 parts of my latex code when using overleaf. I have loaded amsmath in my preamble. I am unable to understand what is the cause or ...
1
vote
1
answer
72
views
Argument of \blx@defformat@i has an extra }
I am writing my PhD Thesis on Overleaf and I am using a template that I found online and adapted to my university guidelines. I am very new to LaTeX and a basic user.
Since around a month ago, I haven'...
3
votes
1
answer
101
views
xr-hyper and cleveref unable to compile with make4ht
I'm trying to use cleveref to cross reference between documents and compile them with make4ht. The following example compiles with pdflatex but not with make4ht or htlatex.
main.tex:
\documentclass{...
1
vote
0
answers
67
views
Problem with multiple \str_case_e [closed]
I have a problem if I want to use multiple \str_case_e:nnTF. Could you please help me how to solve this?
Is there something wrong with the \str_case_e:nnTF definition?
Thank you.
I use pdflatex on Mac ...
1
vote
0
answers
96
views
Overleaf no longer compiling anything with a link - no table of contents, no cross-references, no citations [closed]
I have a report due in an hour and I cant seem to fix my Overleaf. Everything was fine and then I noticed that even though I had a citation present in my references.bib file (imported through Mendeley)...
0
votes
0
answers
42
views
Fatal Error in Latex persist after revoking changes
I have been writing on this thesis and compiling it quite regularly, it worked until it didnt anymore. The last thing i was trying to change was the link color, but since it gave me a fatal error i ...
-1
votes
1
answer
74
views
Why is it impossible to click on the entire URL?
Its only possible to click on the first piece of the link:
\documentclass[a4paper,
pointlessnumbers,
%draft,
parskip=half,
automark
]{scrartcl}
\setlength{\parindent}{...
-1
votes
1
answer
57
views
Why are the URL's not displayed when I run the pdf?
I can't find the mistake here:
\documentclass[a4paper,
pointlessnumbers,
%draft,
parskip=half,
automark
]{scrartcl}
\setlength{\parindent}{0pt}
\usepackage[a4paper, left=2.2cm, right=2.2cm, ...
0
votes
0
answers
29
views
Why are the URL's not displayed when I run the pdf? [duplicate]
I can't find the mistake here:
\documentclass[a4paper,
pointlessnumbers,
%draft,
parskip=half,
automark
]{scrartcl}
\setlength{\parindent}{0pt}
\usepackage[a4paper, left=2.2cm, right=2.2cm, ...
0
votes
0
answers
62
views
bibtex.exe an error: `I found no \citation commands---while reading file mergeS.aux`
I'm trying to print this pdf file https://shelah.logic.at/files/221770/h-v2.pdf
which I have saved as sh1.pdf via this xetex code
\documentclass[landscape,a4paper]{article}
\usepackage{pdfpages}
\...
-1
votes
1
answer
243
views
SWP5.5 LaTeX Error: File "`tcislid2." tex' not found [duplicate]
I am compiling a LaTeX file created with SWP 5.5. But I was stuck by LaTeX Error: File "`tcislid2." tex' not found.
How can I solve it?
Some information:
I do know there are two ways to ...
1
vote
1
answer
42
views
I do not know where the "Missing number" is
I've made what I thought was an exceedingly simple command, but the compiler yells at me that there is a "Missing number". If I skip the error then everything compiles and produces the ...
2
votes
1
answer
223
views
Subfiles not finding `main.tex` reliably
The minimal working example could not be simpler: I have a main.tex file like so:
\documentclass{article}
\usepackage{subfiles}
\begin{document}
\subfile{Subfiles/subfile}
\end{document}
and a ...
6
votes
1
answer
218
views
exit code from lualatex when characters are missing
When pdflatex encounters a character it cannot encode into a font, it dies and produces a non-zero exit code. By contrast, lualatex happily produces an exit code of 0 and simply prints a warning:
...
0
votes
0
answers
324
views
How to solve the Compile Error in Texstudio
I have tried each method on CSDN, ZhiHu but didn't work.
The error is as followed:
'Package fontspec Error: The font "KaiTi" cannot be found. \maketitle'
'Font TU/KaiTi(0)/m/n/10=[KaiTi.otf]/...
0
votes
1
answer
79
views
LaTeX \paperwidth is arguing
I wanted to make a horizontal separator in LaTeX
So i used this piece of code(as described here):
\noindent\mathmakebox[\linewidth]{\rule{\paperwidth}{0.4pt}}
The strange thing that it's properly ...
0
votes
1
answer
9k
views
Error with overleaf (no PDF)
I have a fairly serious issue on my document. I get the following error:
This compile didn’t produce a PDF. This can happen if:
There is an unrecoverable LaTeX error. If there are LaTeX errors ...
1
vote
1
answer
23
views
Error generated by graphicx with a table
I am getting a compilation error when I use the package graphicx with a table that I generated from this website: https://www.tablesgenerator.com/. When I drop the \usepackage{graphicx} from the text ...