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 [errors]

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

1
vote
1answer
13 views

Illegal pream-token error

I'm facing an error while compiling and have already included the necessary packages. O want the three columns to be 15 % 70 % 15% respectively and the first two left aligned with the third right ...
0
votes
1answer
19 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
23 views

Missing number treated as zero error coming for a specific line irrespective of the command which is entered there

\documentclass{article} \usepackage{eso-pic,xcolor} \renewcommand{\baselinestretch}{1.2} \hbadness=99999 \setlength{\parindent}{0.9cm} \begin{document} \begin{center} \topskip0pt \vspace*{\fill} \...
0
votes
2answers
17 views

Listing in a command error: Text dropped after begin of listing on input line

While I wanted to test some alignment options to ask another question regarding to listings, I have encountered a problem that I was not expecting. Consider the following code: % Preamble \...
0
votes
1answer
32 views

Undefined control sequence \maketitle apa6 journal

I am making a journal with apa6 but when I make all the preamble, and put the make a \title command the editor says undefined control sequence line 11 (which is \maketitle). My code: \...
2
votes
2answers
76 views

How can the go to summary be fixed so the \section[Some]{Some more} does not throw all these errors?

On the question How to automatically put a [Go To Summary] | [Go Back] on each section? I learned how to create a go to summary on each section on the text. However now I am having a errors when I ...
0
votes
0answers
108 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
3answers
28 views

Tilde in section title + amsmath & hyperef & silence leads to crash

I stumbled upon a LaTeX crash (capacity exceeded, parameter stack size=10000) and condensed it into the minimal working example below. I assume this is a bug in one of these packages? Can anyone ...
0
votes
0answers
45 views

Error using itemize- Illegal parameter number in definition of \NewCount. \begin{itemize}

I'm trying to make a list using the code below. It had been working previously but now I am getting this odd error. I've tried cleaning auxiliary files with no luck. \begin{itemize} \item Alice and ...
5
votes
4answers
2k views

I can't write on file 'foo.aux'

I am getting an error when compiling this template with pdflatex -output-directory=./_out thesis.tex: ! I can't write on file `text/abbreviations.aux'. \@include ...\immediate \openout \@partaux #1....
0
votes
0answers
47 views

Error: Files not found

Dear LateX community, I've been working with LateX quite some time now and have now a document that originates from a template from this website. https://www.rsc.org/journals-books-databases/journal-...
1
vote
3answers
48 views

The LaTeX gives error for the figure codes

\documentclass[journal]{IEEEtran} \usepackage[classicReIm]{kpfonts} \usepackage{booktabs,tabularx,lipsum \begin{document} \begin{figure}[H] \centering \subfigure [\ RBM-based load forecast] {...
0
votes
0answers
37 views

how to use \define@ for additional xcookybooky-keys

I am starting to use the xcookybooky package and currently am trying to define additional keys to the headline, as in the documentation, where it say, for example, \define@key{headlines}{...
1
vote
1answer
23 views

Command \iint already defined, but i am not using the wasysym package

I have the same problem as this question: I get the error \iint is already defined but I am not using the wasysym package. Here is my preamble \usepackage{amsfonts} \usepackage{amssymb} \usepackage{...
4
votes
2answers
41 views

“Dimension too large” error with tikz graphic using tikzmark when document gets too many pages

I use this code (fixed by marmot :) ...), which worked perfectly until a point where my document got too many pages. At a given point I get a "Dimension too large" error. It uses code that tests if a ...
1
vote
1answer
24 views

pkfix-helper shows METAFONT error (can't find file `ecsy')

I tried to use pkfix-helper, but I get a strange error from METAFONT. I'm MiKTeX and all packages are updated to the newest version. What does this error mean and how can I fix it? C:\Users\username\...
0
votes
1answer
56 views

How to report the --output-directory bug on pdflatex/latexmk on Tex Live?

As already reported on this other question I can't write on file 'foo.aux', when: Using the --output-directory option of both pdflatex and latexmk Using Tex Live 2017 on Linux The ...
1
vote
1answer
28 views

error-command \c@refsection already defined

I'm using the IET template(https://digital-library.theiet.org/journals/author-guide). The error information also tell incompatible with natbib? Can anyone help me? Thanks a lot! \documentclass{cta-...
1
vote
1answer
45 views

I can't add a photo in a solution (underfull \hbox (badness 1000)

\begin{solution} text \begin{figure}[h] \centering \includegraphics[width=0.4\textwidth]{images/mixtas.png} \label{fig:mesh2} \end{figure}\\ more text \end{solution}
5
votes
1answer
5k views

soul package \hl with \cite gives error: “@citex has an extra }” [duplicate]

The following MWE gives me an error. This should work, shouldn't it? \documentclass{article} \usepackage{color,soul} \begin{document} \hl{A statement \cite{hong_groups_2004}} \end{document} Here's ...
0
votes
1answer
88 views

Error: Could not start the command: pdflatex -synctex=1 -interaction=nonstopmode “filename”.tex

I'm using texstudio on Mac for a long time and everything used to work well. Suddenly, I get the following error message for every tex file I try to run: Error: Could not start the command: pdflatex -...
14
votes
2answers
24k views

MiKTeX: […] does not seem to be a local package repository

I used MiKTeX 2.9 on windows. I have downloaded a package I want to install from the internet (manually, not through MiKTeX). The archive (*.lmza) containing the package was saved to a directory on my ...
0
votes
1answer
13 views

hyperref--xkeyval interaction? \reserved@a ->\@nil error

The code from this answer produces an error \reserved@a ->\@nil when also loading hyperref. % !TEX TS-program = xelatexmk \documentclass{report} \usepackage{xkeyval} \usepackage{hyperref} \...
0
votes
1answer
460 views

MikTex Installation Error - latex/acroflex/examples/afgraph.pdf Windows 10

I tried to install the downloaded version of MikTex 2.9 on my HP Demon laptop and I got the following error. I tried to change the installation folder but no success. Early help would be really ...
10
votes
10answers
58k views

How to fix the “Sorry, but C:\…\miktex-pdftex.exe did not succeed. ” error?

I just installed MikTex 2.9 and tried just making a simple table: \documentclass{article} \begin{document} \begin{table}[h!] \begin{center} \caption{Caption for the table.} \label{tab:...
0
votes
0answers
32 views

How do I move these words to the left? They are cut off the edge [closed]

Code: \begin{twenty} % Environment for a list with descriptions \twentyitem{May 2017 - present \hspace{0.5cm}}{\hspace{0.5cm}Production assistent weekend/holidays \newline \hspace{0.41cm} Royal ...
0
votes
0answers
23 views

! Package inputenc Error: Unicode character × (U+00D7)

$\ln{\frac{1}{×}}$ I try to write this code for ln(1/x) but it doesn't matter, I define some package for example \usepackage[utf8]{inputenc} but it doesn't matter really. anyone can help me?
0
votes
1answer
49 views

Make LaTeX error messages more detailed, e.g. “command not found” > which command? [closed]

It would save users a lot of time if error messages from LaTeX would show more details. For example, the notorious "command not found" could show WHICH command caused the error.
0
votes
0answers
35 views

system returned with code 256

From this morning I'm not able to compile even the most simple codes. I don't know why these errors are produced \documentclass[preview, border=1pt, convert={outext=.png}]{standalone} \...
0
votes
0answers
69 views

Invalid character in input file [closed]

i was writing a file for 6 months. when i opened this file today, i didnt find the code but i found this message: (This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/W32TeX) (preloaded ...
2
votes
2answers
36 views

Errors with table [duplicate]

I am very new to the latex community (1 week) and writing my thesis with latex. I am trying to built a table using the following code: \begin{center} \begin{longtable} [c] { |m{3cm}|m{2cm}|m{2cm}|m{...
0
votes
1answer
31 views

\mbox overflowing the line

I'm trying to avoid a line break in a middle of a method name as it can be seen here: I want PredRNN++ to remain intact. I tried using \mbox{PredRNN++} but then the name gets pushed out into the ...
0
votes
0answers
28 views

Double question marks instead of figure reference

% !TeX program = pdflatex \documentclass{article} \usepackage[draft]{graphicx} \usepackage{float} \usepackage{amsmath} \begin{document} \begin{figure} \includegraphics[width=\linewidth]{boat.jpg} \...
2
votes
1answer
21 views

Beamer - error when uncovering tikz matrix

I am trying to uncover a tikz matrix using the code below. But it is throwing an "undefined controlled sequence" error. Does anybody know how I can fix this? \documentclass{beamer} \usepackage{tikz} \...
1
vote
1answer
184 views

Missing \item error, even though there is no list

I am trying to create a book class document in Malayalam using XeLaTeX and I get this error: ! LaTeX Error: Something's wrong--perhaps a missing \item. even when there is no list there. I would ...
0
votes
0answers
85 views

usepackage{siunitx} produces error - texstudio

Im using TexStudio in UTF8. the following codes \documentclass{article} \usepackage{siunitx} \begin{document} \num{0.12368455} \num[round-mode=places,round-precision=4]{0.12368455} \end{...
2
votes
0answers
30 views

Split Equation not working in trivial case in Overleaf

I,m quite new at LaTeX and I've been having problems with the split equation environment with error messages on every line in my environment. I'm trying to isolate the problem and I've reduced to ...
6
votes
2answers
3k views

Suppressing unwanted command line output when running pdflatex

Using the \batchmode command at the top of the file helps getting rid of some lines, but I'm still left with a few lines, for example: (/usr/local/texlive/2011/texmf-dist/tex/latex/base/t1enc.def)) (/...
0
votes
1answer
3k views

Problem with thesis class

When I am trying to use the thesis class file for my thesis I am getting this error: File `thesis.cls' not found. \usepackage My codes \documentclass[12pt]{thesis} \usepackage{blkarray} \usepackage{...
0
votes
0answers
30 views

Package tikz Error: I did not find the tikz library 'bayesnet' not found

I receive the following error while I try to compile my tex file Package tikz Error: I did not find the tikz library 'bayesnet'. I looked for either could be found in the current texmf trees.. \...
1
vote
0answers
25 views

Unknown errors with pax package with lualatex compiling

Let we have some document.tex-file with hyperlinks \documentclass[]{article} \usepackage{amsmath} \usepackage{hyperref} \begin{document} \begin{equation}\label{key} E = mc^c \end{equation} \eqref{...
0
votes
0answers
36 views

fontspec package conflicts with \textbf and \textit and \textsc

I have used fontspec package along with different packages to use some diacs such as ʾ ı ā ū, but when I use \textit or textbf, they do not function. When I deactivate the fontspec package, everything ...
0
votes
0answers
33 views

location of the Runaway argument?

I have difficulties in locating the runaway argument, where exactly should I look at in the code? Runaway argument? {\contentsline {section}{\numberline {4.4}Analisi dello Spettro ! File ended while ...
0
votes
0answers
28 views

fncychap.sty not found

These are the packages I used while during compilation I got this error see in the attachement. \documentclass[oneside]{book} \usepackage[T1]{fontenc} \let\circledS\undefined \usepackage[english]{...
6
votes
2answers
4k views

Is it bug or feature? I cannot use makeidx in beamer.

I attempted to use makeidx.sty in my beamer project. The first two compilation using latex, the input file can be processed successfully. Then I execute makeindex, it also run without error. But ...
7
votes
1answer
191 views

Simple macro for new # symbol [duplicate]

I was unsatisfied with how the # symbol looked in my document and had a look at this question. I tried to create a simple macro to replace # with \texttt{\#} I thought that a simple \...
0
votes
0answers
37 views

Missing number treated as zero in overleaf

I'm currently working on my thesis and when I compile the acknowledgements alone it has no error but once I compile everything it shows this error. \documentclass[english, a4paper, 12pt, twoside]{...
0
votes
1answer
45 views

LaTeX Commands Directories are not set

I have installed LaTeX using proTeXt for learning purpose as I have to use it in near future. After I want to save a newly created file several pop-ups appear in sequence which states the some ...
0
votes
0answers
90 views

PDF being generated and then disappears [error message below]

The error message reads"Sorry, but miktex-makepk did not succeed for the following reason: PK font futr8r could not be created. The log file hopefully contains the information to get MiKTeX going ...
2
votes
1answer
93 views

Define command that accepts \\ in arguments

I am trying to define a new command \dfix that can handle newlines in its arguments. The command works as expected when the arguments have no \\ in them, but LaTeX produces errors if I do include ...