Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [compilation-error]

The tag has no usage guidance.

0
votes
1answer
17 views

Inclusion of separate files in a main file show error for graphics

When I call two separate files(chapters) from a main file, it shows error for graphiscx. Details are bellows: (i) The main file main.tex contains following contents: \documentclass[a4paper,...
0
votes
0answers
24 views

Compiling document does not produce any file [solved] [on hold]

I've been writing LaTeX documents whith TeXnicCenter, MiKTeX 2.9 and Acrobat Reader DC 2019 for a while with no problem what so ever. The other day I noticed that fonts where pixelated so I installed ...
-1
votes
0answers
49 views

Latex error when compiling main file of a thesis

I have the following error when I complie my latex file: missing primitive name! Any ideas? \documentclass[12pt, twoside, openright, thesis]{settings/chthes} \usepackage{mathptmx} \graphicspath{{...
0
votes
0answers
26 views

Why do I get this error with \includepdf: “(\pdfsetmatrix): Unrecognized format”?

This MWE produces a compile error: \documentclass[12pt,letterpaper]{article} \usepackage{pdfpages} \usepackage{lipsum} \title{My Title} \author{First M. Last} \begin{document} \maketitle \lipsum ...
0
votes
0answers
29 views

Error : File ended while scanning use of \@writefile

As I was going through the table of contents, I faced the problem of typing a formula correctly, then after eventually deleting it because it caused many kinds of errors, LaTeX cannot compile anymore ...
1
vote
0answers
36 views

PDFLaTex complier gives a lot of errors after using LaTex compiler on Texmaker

I use texmaker program to produce latex documents in my macbook. I have used PDFLaTex compiler to generate pdf documents, and it works perfectly. For once, I mistakenly choose Latex compiler ...
0
votes
0answers
29 views

LaTeX not generating the pdf

So I am using the latex model that my university gave to me, and I am receiving the following error message: Process started: pdflatex.exe -synctex=1 -interaction=nonstopmode "trabalho".tex Sorry, ...
0
votes
0answers
35 views

Extra }, or forgotten \endgroup

I have problems with the tabular environment, using this code \documentclass[a4paper]{article} \usepackage{booktabs,array} \usepackage{float} \begin{document} \begin{table}[H] \centering \...
2
votes
2answers
76 views

Why I get “emergency stop” for simplest template in TeXnicCenter?

I'm newbie in LaTeX and sorry for silly question from my side. I'm using TeXnicCenter compiler and always get "emergency stop" for every template I've downloaded. what's wrong with that? what's the ...
0
votes
1answer
61 views

How to create an alternative to shortcut "= or \hyp{}?

After this question answer How to use the standard - (hyphen) as the \hyp{} command from the hyphenat package?, I decided to not use that hack. Then, I am looking for an alternative to that. On my ...
0
votes
0answers
27 views

How to write the hyphen substitution of - by \hyp on my preamble?

When I integrated this How to use the standard - (hyphen) as the \hyp{} command from the hyphenat package? into my main document, I got errors about hyphen usage on translations packages: Redoing ...
0
votes
1answer
38 views

How to use the standard - (hyphen) as the \hyp{} command from the hyphenat package?

I found this answer on http://www.oipapio.com/question-79176 \documentclass[10pt,a5paper,twoside]{article} \usepackage{hyphenat} \cs_new:Npn \hyphenfix_emdash:c {---} \cs_new:Npn \hyphenfix_endash:c ...
0
votes
1answer
24 views

TeXstudio fails to compile a Nature template

I have downloaded a template for Nature article from Sharelatex (from here), but when I try to compile it using TeXstudio or TexMaker it gives me this error message: File `nature.cls' not found. ^^M ...
0
votes
0answers
180 views

Why latex does not tell me which command is undefined?

From the beginning, took me a lot of time to come with the following minimal example: \PassOptionsToPackage{main=brazil,english,spanish,french}{babel} \documentclass[ 10pt, a5paper, ]{memoir} \...
0
votes
0answers
35 views

Fontspec compilation error with MacTeX-2018

Fontspec (and several other packages) were not working. I reinstalled MacTeX-2018, but the same errors keep coming up (see below). l3kernel & l3packages are both installed. All packages on TeX ...
0
votes
1answer
58 views

Use of \@next doesn't match its definition

I get the error: Use of \@next doesn't match its definition With the following TikZ code: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \coordinate (A) at (0,0); ...
1
vote
1answer
195 views

Unexpected error message (Undefined control sequence. l.18 \xwm@secstopagerange)

The following basic TikZ code is throwing the compilation error via PDFLaTeX: ("C:\fakepath\AppData\Local\Programs\MiKTeX 2.9\tex/generic/pgf/frontendla yer/tikz/libraries\tikzlibrarytopaths.code.tex"...
0
votes
1answer
58 views

File no longer compiles; missing packages

Recently, I've encountered errors compiling tex files using XeLaTeX in Sublime Text. I've compiled these same files earlier before without any major errors. I can't recall making any major changes to ...
1
vote
1answer
28 views

Tkiz compile error can't solve

I'm attempting to make a figure in Tkiz but now it gives me this vauge complie timed out error with no indication on what is the cause here's the figure. \documentclass{article} \usepackage{tikz} \...
0
votes
0answers
55 views

.tex File Won't Compile

As the title implies, I'm trying to compile a tex file but it's hanging after displaying the message "This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6500 64-bit) entering extended mode ("...
0
votes
0answers
27 views

Tecla F6 envía error: Archivo de registro no encontrado [duplicate]

Trato presionar la tecla F6 y en los tutoriales de YouTube los que hacen el video lo presionan y a todos les va bien, pero a mi no :(
0
votes
0answers
26 views

Reporting LaTeX error at custom location

I'm familiar with \PackageError as a way to cause LaTeX to report a custom error message when the command is run. But I'm wondering, is there a way to cause LaTeX to report an error, with a custom ...
0
votes
1answer
31 views

Functionality of section titles over pdf images only valid in non stop mode

UPDATED. The following code is functional, but the pdf only gets generated if Enter key is pressed when warning messages appear. My solution at the moment is to run it in non stop mode, such: open cmd ...
7
votes
2answers
186 views

Why won't this compile? Argument of \h has an extra {

\documentclass{article} \usepackage{amsmath} \begin{document} \newcommand{\x}[1][1]{\ensuremath{a_{n-#1}}} \newcommand{\e}[1][\left(1+\dfrac{1+\sqrt{5}}{2}\right)-\left(\dfrac{1-\sqrt{5}}{2}\right)^{...
1
vote
0answers
170 views

pgffor.code.tex Error?

\documentclass[12pt,a4paper]{book} \usepackage[english,greek]{babel} \usepackage[utf8x]{inputenc} \usepackage{ucs} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{makeidx} \...
2
votes
1answer
32 views

Error when citing in equation

I have a weird problem with one equation in my document: whenever I clear the output files to do a fresh re-compilation, all bibliography-related files have to be regenerated too, and this piece of ...
1
vote
0answers
38 views

Error runaway argument, missing }

I suddenly have several runaway arguments in several figures, while I don't think that I am missing something. These are the lines of my script: \begin{figure}[h] \centering \...
2
votes
0answers
34 views

Remove the name of picture [duplicate]

Why the name of picture can not to be removed? This is my code: > \begin{figure} > \centering > \includegraphics[scale=0.7]{One Step Multi Step.png}\\ > \caption{...
0
votes
1answer
59 views

Unable to compile basic tikz codes from pgfmanual

In last semester, I started using LaTeX just for assignments and homework but now I wanted to take to the next level. I started with the tikz library following the pgfmanual. Everytime I try to ...
1
vote
1answer
37 views

Document compiling when compiling with macos and overleaf, but fails when compiling with linux based system

I am unable to compile a quiz document specifically only on linux machines. My code looks like: %% Language and font encodings \usepackage[english]{babel} \usepackage[utf8x]{inputenc} \usepackage[T1]...
0
votes
0answers
317 views

MikTeX, Anki and Latex in Windows 10. Error executing dvipng. Sorry, but dvipng did not succeed

I have installed Anki and MikTeX in Windows 10 to create anki flashcards with LaTeX. I have installed MikTeX because I read that it's the best way to install dvipng and dvisvgm. After creating a ...
0
votes
1answer
19 views

Error trying to generate dashed grid with latexmk and pdfluatex

Because when I start the following style \ tikzset {mygridstyle / .style = {dash pattern = on 5pt off 3.5pt on 7pt}} with the "off" option instead of starting with the "on" option, does this not work? ...
1
vote
2answers
37 views

Why does adding a \Bar in a differential equation cause all these errors?

The line in question: B &= \diffp* { f(x, \Bar{\mu}) } { \Bar{\mu} } { x_{eq}, \Bar{\mu}_{eq} } The second \Bar{\mu} (bolded for clarity) seems to throw everything awry. Omitting the \Bar (just ...
0
votes
1answer
37 views

How to Make the Following CV template compile

I know how to use TeX, but I know nothing about coding. I am trying to write an academic CV for a conference application due tomorrow. At the following link, https://www.math.nyu.edu/student_resources/...
1
vote
1answer
39 views

Blank Boxes with mfpic in exam class

I'm working on a document that uses mfpicand would like to compile without having to do mpost every time. I tried to use the code given in this post, but have been unsuccessful. MWE: \...
0
votes
1answer
151 views

Fontspec crash with xelatex

I'm having a crash with XeLaTeX on any file that uses the fontspec package. I get this as the error: ! LaTeX error: "kernel/invalid-variant" ! ! Variant form 'e' invalid for base form '\...
4
votes
1answer
99 views

! Missing } inserted

I'm writing a report in latex for school for several months and everything was fine. But recently out of nowhere it stopped compiling and give a lot errors like the following one: ! Missing } ...
0
votes
2answers
26 views

Declaration of a font/change of parameters/compilation error is missing

I would like to know what in here \DeclareMathAlphabet\stixcalE{LS2}{stixcalE}{m}{n} the parameters LS2,m and n stand for, and to what values I can correctly change them? Whenever I type an ...
2
votes
1answer
116 views

Switching lines in preamble causes error/NO error

I have 2 almost idenctical lines of LaTeX source. They differ only in switching order of these two lines \usepackage[fleqn]{amsmath} \usepackage{amsmath,amssymb} One causes error and the other one ...
1
vote
0answers
547 views

Portable LaTeX fail

I installed miktex on a Usb and I try to use TexMaker and TexStudio and I see how to configure. I spent a lot of time doing that and it work's a few times but now when I open miktex and the text ...
0
votes
1answer
69 views

Are there any LaTeX IDEs which provide useful error messages?

I was using TeXworks as my source code editor and I got my actual LaTeX compiler and packages through MikTeX. I executed the following code block: \begin {enumerate} % WEAK \item $G$ is a function ...
0
votes
1answer
239 views

Undefined control sequence in edef (with polynom)

For some reason, this code: \documentclass{standalone} \usepackage{polynom} \newcommand{\calcRatFunc}[1]{ \edef\tmp{\polyfactorize{#1}} % The only difference } \begin{document} \...
5
votes
3answers
3k views

PSTricks: Newly introduced error in package

Consider the following MWE: \documentclass{article} \usepackage{pstricks} \begin{document} A \end{document} It produces the error Runaway argument? ] {pgffor.code.tex} ! Paragraph ended before \...
0
votes
0answers
583 views

! File ended while scanning use of \@writefile

I am getting below error when I am running the report to generate the PDF from GUI. I am using Texmaker 4.4.1. I also tried deleting aux files and other unwanted files. but, it is not helping me ...
0
votes
1answer
98 views

! LaTeX Error: Command \url already defined [on hold]

After compiling my tex file, I had the following message in the log file: ! LaTeX Error: Command \url already defined. Or name \end... illegal, see p.192 of the manual. See the LaTeX ...
0
votes
1answer
180 views

Error in tables when compiling project using Texstudio/Miktex

I am a beginner with LaTeX. I am using TeX studio with MikTeX, on windows 7 x64. I am trying to build some tables on my paper. I used existing papers from another paper as a sort of "template". ...
1
vote
1answer
61 views

Error showing “ ! Missing delimiter (. inserted).” when I am using \bigg

This code is bringing an error: We get, $g\begin{pmatrix}r&0\\0&1/r\end{pmatrix}=\bigg\( g\begin{pmatrix}r&0\\0&1/r\end{pmatrix}\bigg\)^{-1}\Rightarrow g\begin{pmatrix}r&0\\0&...
0
votes
0answers
91 views

Display error messages in TeXstudio (--shell-escape)

In order to get three output files at the same time (by one compilation) I added the option --shell-escape and \ifx\conditionmacro\undefined \immediate\write18{% pdflatex --jobname="\jobname" ...
3
votes
0answers
5k views

Overleaf cannot render any LaTex [closed]

I'm new to overleaf and I'm trying to render a basic document and I get: "PDF Rendering Error Something went wrong while rendering this PDF." Does anyone know what might cause this? I have tried ...
4
votes
3answers
93 views

Strange behaviour using center, tcolorbox, listings and enumerate

I have a problem compiling the following minimal example: \documentclass{article} \usepackage{listings} \usepackage{tcolorbox} \begin{document} \begin{center} \begin{tcolorbox} \begin{...