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

learn more… | top users | synonyms (1)

2
votes
1answer
994 views

Code in \lstlisting breaks document (compile error)

I want to show a JSON object in my document. If I do the following, it works: \begin{lstlisting} { "id": "5", "key": "discardedCard" } \end{lstlisting} But if I extend the code to the ...
1
vote
0answers
24 views

What am I doing wrong with the qtree function? [duplicate]

I have been trying to figure out what is wrong with my code, but no matter what I do it does not compile. \documentclass[12pt]{report} \usepackage{tikz-qtree, qtree, graphicx} ...
0
votes
0answers
90 views

Building with asymptote: file-2.tex not found, null surface

I keep getting these weird errors when trying to compile with Asymptote. I compile with pdflatex, then asymptote, then pdflatex. The error is as stated in the title. For example, when building ...
1
vote
1answer
407 views

“I found no \citation commands while reading myFile.aux”

I'm trying to compile myFile.tex, a program which draws on bibtex and biber \documentclass[12pt]{article} \usepackage{amsmath} \usepackage[style=authoryear,backend=biber]{biblatex} ...
3
votes
1answer
67 views

Spanish language not working after update [closed]

I've recently updated my Lyx to the new 2.1 version. But when I try to compile my documents (in spanish language), I obtain the following "Undefined control sequence" error: \StartBabelCommands ...
3
votes
1answer
43 views

Missing } inserted. \end{alignat}? why this error keeps on popping up?

here is a part of my code, which I am trying to run. \begin{alignat}{2} [M]: \max_&Z ~ \label{eqnP27}\\ \mbox{s.t.}~ %capacity constraints & \sum_{k \in H} y_{k} \leq ...
0
votes
2answers
45 views

Missing control sequence inserted ressubheading

First-time LaTeX user here! I'm using Overleaf (used to be WriteLatex) and when trying to use one of their CV templates, I get an error without event typing a single letter in the code. Template: ...
3
votes
2answers
87 views

Copy-Paste error in LaTeX

When I try to copy some text from a Word page or pdf an paste it to LaTeX, I get the error below. Any idea how to fix this? PS: I am using LaTeX on a Mac While the text which I typed my self works ...
7
votes
2answers
134 views

Usage of library advnodes of the tikz-timing package causes “Undefined control sequence”-error

I have a problem with the "advnodes" library of the "tikz-timing" package. The sample code below generates following error message and points to the ".sty"-file of the advnodes-library: Package: ...
3
votes
3answers
106 views

'Undefined control sequence' error when typesetting table

The error is Undefined control sequence. Here is the code: \begin{table}[htb!!] \center \begin{tabular}{|c|c|c|c|c|c|} \hline \multicolumn{2}{|c|}{Experiment} & Initial tip deflection ...
4
votes
2answers
113 views

Undefined control sequence error in using spy TikZ library

My minimal working example is as follows. \documentclass{article} \usepackage{xcolor} \usepackage{tikz} \usepackage{graphicx} \usepackage{pgfplots} \usetikzlibrary{spy} ...
0
votes
0answers
136 views

LaTeX is removing `fi` in words

I have this sentence in my LaTeX article : fraudulent financial. When complied it as pdf this is the output in my text: I'm using WinEdt and Miktex. Why I have this behavior? This is an IEEE ...
1
vote
1answer
76 views

File `graficx.sty' not found

I'm using LaTeX for a week now and I couldn't figure the problem is this error out, I have copied a CV template from internet and I made some changes, for sudden every time I make quick build in ...
3
votes
2answers
1k views

Texments/minted not working - Undefined control sequence

I'm trying to add some syntax highlighting to my code and found two packages: texments and minted. I tried to use them, but I'm getting errors while trying to build. I used following code to test both ...
3
votes
1answer
62 views

dramatist can't make \act and \DramPer work

I'm new to the use of both LaTeX and dramatist, so I suppose I'm doing some very crude error here. I tried to get some example of dramatist code and copy paste, but I nevertheless have the problem. ...
2
votes
2answers
68 views

bundledoc fails with subfolder paths (MiKTeX)

I would like to use bundledoc mainly in Windows with MiKTeX. However, I encounter a problem with subfolder paths that is annoying. I run the program as follows: bundledoc --config=miktex.cfg ...
1
vote
0answers
27 views

Problem using AMS package for TexMaker [closed]

I am trying to figure out whether the AMS package is already installed or not. I tried running the AMS test file (ftp://ftp.ams.org/pub/tex/amslatex/math/testmath.tex) and it shows an error. (Error : ...
0
votes
1answer
37 views

Unknown option `breakable' for package `tcolorbox'?

I am running TeXLive 2012 however when I run this... \documentclass{article} \usepackage[breakable]{tcolorbox} \usepackage{lipsum} \begin{document} \begin{tcolorbox}[breakable, title=My breakable ...
4
votes
2answers
6k views

! LaTeX Error: File `adjustbox.sty' not found on Ubuntu 10.04.2

I have install $ sudo apt-get install texlive-full on Ubuntu 10.04.2 but when I run I got this error about adjustbox. ! LaTeX Error: File `adjustbox.sty' not found Is there anyone know how to ...
2
votes
1answer
62 views

error: option clash for package xcolor

When trying to load I get the error message 'Option clash for package xcolor'. I have already understood that this is because other packages I loaded before also automatically load this package. All I ...
0
votes
0answers
108 views

File ended while scanning use of \@argdef. \usepackage

I have this code \documentclass[paper=a4, fontsize=11pt]{scrartcl} \usepackage[T1]{fontenc} \usepackage{fourier} \usepackage[english]{babel} \usepackage{amsmath,amsfonts,amsthm} \usepackage{tabu} ...
4
votes
1answer
580 views

Beamer - ! File ended while scanning use of \next

I ran into an issue with the following code \begin{document} \begin{frame}[fragile] % Start of frame \begin{columns}[t] \begin{column}{.02\textwidth}\end{column} % ...
3
votes
1answer
45 views

Missing number treated as zero error

I have read several posts with a similar error, but cannot find where mine is. I have the following code to put in comments next to sequential inequalities in an alignat* environment. Unfortunately, ...
2
votes
1answer
179 views

PDFLaTeX Undefined control sequence documentclass ^^@

I've just started playing with texmaker today and I can't get a .tex file to compile, even for a simple helloworld file. Upon running the pdflatex command, I get a log file where the first error is: ...
1
vote
0answers
21 views

Why am I getting 'Undefined Control Space' error? [duplicate]

I've come across some issues whilst compiling. I am using TeXShop and everything was working just fine and then suddenly I got this block of code: Not sure what's wrong with it... :'( Any help ...
0
votes
0answers
35 views

Latex in R getting error after putting code

I am getting this error in R ...after putting code for latex document Undefined control sequence Overfull\hbox(7.71355pt too wide) in paragraph at lines 16--16 Code is below ...
0
votes
0answers
62 views

! Missing number, treated as zero. <to be read again> error with makeglossaries

I'm getting these two errors after compile with makeglossary. If I compile my .tex file with PDFLatex->makeindex->PDFLatex runs without problem but if I change this command series to ...
1
vote
1answer
25 views

Error-Undefined control sequence

I occurred a problem recently, but, I donot know how to solve it? Error: Undefined control sequence. l.26 $$\eqalignno {P^{-1}&=P_{1}^{-1}+P_{2}^{-1}\cr ...
1
vote
1answer
114 views
2
votes
0answers
118 views

error: could not start the command. lualatex -interaction=nonstopmode %.tex

I have just installed texmaker 4.4.1 and MikTeX 64bit in my laptop. When I use pdflaTeX everything seems to be working fine, however when I try to switch to LuaLaTex I get the message shown in the ...
0
votes
0answers
20 views

Problems in recompiling different chaptersusing include

When I try to recompile my chapters (using include) in the main file, such as \include{Frontmatter/title} it shows this error: Can be used only in preamble. Note that my TEXT editor is TEXT MAKER. ...
2
votes
3answers
68 views

Aligning an Expression - ! Missing } inserted

I am getting this error when I run this code. It all looks exactly like a different instance in which I was aligning stuff and had no problem: \begin{align} B \times B &= \lbrace ...
1
vote
1answer
41 views

What would cause an error to only come up on one computer even when the files are identical?

I'm having an issue with the following code. The error is an undefined control sequence, the contents of the file does not matter on whether or not the error orcours. The error only exists on 1 ...
3
votes
1answer
33 views

Getting an error related to \prevdepth when using \caption on a figure with subfloats

I am writing a manuscript and I am using the subfloat package to include in a figure several figures, if I don't include a caption it compiles nicely, but when including the caption I get the error ! ...
3
votes
1answer
28 views

How to put \varinjlim in the section name?

Here is (almost) minimal example of the file, which gives the error. \documentclass{article} \usepackage{amsmath} \usepackage[english]{babel} \begin{document} \section{Section name with varinjlim: ...
1
vote
1answer
46 views

incomplete \ifodd , all text was ignored… error

shall you please help me to know why here I have got an error ? : \begin{document} \begin{equation}\label{3-6} \begin{aligned} \overline{\epsilon}_{ij} = \frac{1}{V} \int_V \epsilon}_{ij} dV\\ ...
0
votes
0answers
34 views

Why can the 7-line TeX file not be compiled? [duplicate]

\documentclass{article} \usepackage{graphicx} \newenvironment{Figure}[1]{\begin{figure}}{\caption{#1}\end{figure}} \begin{document} \begin{Figure}{This is a caption.} \end{Figure} \end{document} ...
74
votes
11answers
90k views

Package natbib Error: Bibliography not compatible with author-year citations

I have a basic tex file and a bibliography which is exported from Mendeley However, when I want to cite in the author-year style, I get the error: Package natbib Error: Bibliography not compatible ...
2
votes
1answer
35 views

! Undefined control sequence. why

Noob here: first time using Latex and can't seem to write one line of code without getting ! Undefined control sequence. error. Here is the line it has a problem with: $$ \left \{ ...
0
votes
2answers
64 views

Having trouble on why this latex code is outputting gibberish. Can someone help me fix it please?

Having trouble finding why this isn't outputting correctly. $ \text{ Let there be a right triangle with angle A (not with measurement 90 deg) } \\ \text{ whose adjacent has measurement } 3 \text{ ...
1
vote
0answers
187 views

Strange Activity with TexStudio after Installing Package [closed]

I'm writing a program in TexStudio which includes an algorithm/pseudocode. I used the second post here to help write the pseudocode. After installing the following packages: \usepackage{graphicx} ...
3
votes
1answer
57 views

Simplest way to extract errors from log files

When running pdflatex -interaction=nonstopmode I am looking for: Ways to detect whether there were errors solely based on the log files (assume we don't have access to the process exit code). ...
3
votes
1answer
164 views

What is the meaning for “Package hyperref Error: Wrong DVI mode driver option ”

I load the following packages: \documentclass[12pt]{amsart} \usepackage{amsfonts, amssymb, amscd} \usepackage[dvipdfm]{hyperref} \usepackage{verbatim} \usepackage{eucal} \usepackage{amssymb} ...
0
votes
1answer
26 views

Natbib errors: find which entry is causing them

When one is pestered with the all too familiar error message ! Package natbib Error: Bibliography not compatible with author-year citations, how does one find which entry is causing the problem? ...
38
votes
3answers
35k views

Package babel Error: Unknown option `francais'

I recently updated my Operating system from Ubuntu 13.04 to Ubuntu 13.10. Since then, I am facing difficulties compiling my tex code in which the french babel package is called. Please note that all ...
5
votes
2answers
3k views

md-chr7y source file could not be found

I am trying to build a document with pdflatex (MikTeX) but it fails. It seems to be the used font on the title page. The error is as follows: miktex-makemf: The md-chr7y source file could not be ...
3
votes
2answers
43 views

Strange endgroup errors and enumerate errors are everywhere

I am writing a document. Problem with equations After I tried to put two equations into the document, LaTeX started giving me a whole bunch of errors such as: \begin{document} ended by ...
0
votes
0answers
25 views

How to ignore undefined references (e.g. when temporarily commenting out whole chapters)?

I'm working on a fairly large document, and compilation times are somewhat annoying. My general workflow is to use: latexmk in continuous mode to compile the document (pdflatex), and rubber-info on ...
1
vote
0answers
136 views

How to use LuaLaTeX at WinEdt?

I have a problem " How to use LuaLaTeX at WinEdt ? And my MWE : \documentclass{article} \usepackage{luacode} \usepackage{tikz} \begin{document} \luaexec{ tp=tex.print ...
2
votes
1answer
26 views

Longtable not working

so I'm trying to create a longtable over several pages - however it doesn't produce it over two pages when it compiles. Can anyone help me out? Thanks in advance! \documentclass[12pt]{article} ...