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

learn more… | top users | synonyms (1)

4
votes
1answer
323 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
37 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
72 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: ...
0
votes
0answers
20 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
32 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
37 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 ...
0
votes
1answer
32 views

“Log file not found” error for new files

I use Texmaker 4.1 under Ubuntu 14.04. Recently I have to reinstall all LaTeX distributions (LaTeX itself, TeXmaker, additional packages). There are no problems to compile a file that was previously ...
1
vote
1answer
21 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
105 views
2
votes
0answers
93 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
59 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
37 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
21 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
23 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
41 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
86k 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
29 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
60 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
178 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
50 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
75 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
0answers
41 views

Getting some latex error

I am getting the following two errors due to a line (\ref{diffin}) with $\theta(0) =\theta_0$ in my .tex file Font OT1/cmr/m/n/3.5=cmr3 at 3.5 pt not loadable Metric(TFM) file not found. \scriptfont ...
0
votes
1answer
25 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? ...
36
votes
3answers
32k 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
40 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 ...
1
vote
1answer
81 views

Compile error when using \bibliography: “can only use in preamble”

I have a main file and a references.bib file I want to use. The relevant code in my main file to my file is this: \documentclass[12pt]{article} \usepackage{biblatex} ... \section{References} ...
0
votes
0answers
20 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
125 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
21 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} ...
4
votes
1answer
585 views

Why can't I compile the simplest TeX file of only 6 lines?

\documentclass{article} \usepackage[adobefonts]{ctex} \usepackage[os=win]{menukeys} \usepackage{listings} \begin{document} \end{document} The simplest TeX file above cannot be compiled with ...
4
votes
4answers
9k views

LaTeX Error-Missing Begin Document

Below is the LaTeX code for which I am getting the LaTeX error missing \begin document{}. How can I resolve this error? \documentclass{acm_proc_article-sp} \usepackage{algorithmic} ...
1
vote
1answer
54 views

Trace problematic citation in BibLaTeX

I already found some entries concerning the same general problem (here, here, and here) but none of them helped me to solve my problem. I am compiling my literature list into a pdf using BibLaTeX ...
1
vote
0answers
51 views

what's probably the error?

Can anyone help me with latex.. This is my main report I was entering reference for report and its giving me error in bibliography \documentclass[fleqn,12pt]{report} \bibliographystyle{ieeetran} ...
0
votes
0answers
28 views

Citation link not split for page break, again

I have stumbled over a rare case of the notorious \pdfendlink ended up in different nesting level than \pdfstartlink error on an up to date system (Ubuntu 14.10, hyperref 6.83m). It occurs if all of ...
3
votes
1answer
31 views

Wrap natbib macros \citep and \citet

How can I patch the natbib commands \citep, \citet and the like? I have tried xparse (MWE below), etoolbox (the \pretocmd and \apptocmd commands) and xpatch (the \xpretocmd and \xapptocmd commands) ...
16
votes
4answers
4k views

\pdfendlink ended up in different nesting level than \pdfstartlink

I started using showkeys in one of my documents and see this error \pdfendlink ended up in different nesting level than \pdfstartlink A bit of google suggests that this "happens when hyperref is ...
3
votes
2answers
59 views

An equivalent of -file-line-error for warnings

The -file-line-error command line flag for tex, latex, etc., is very effective. When you have a large project with plenty of files, the error message indicates very clearly not only the line number, ...
9
votes
2answers
286 views

Why does Lualatex crash after a recent update?

After updating packages of MiKTEX 2.9 lualatex stopped working. I execute this code: \documentclass[12pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[] at (0,0) {A}; ...
3
votes
3answers
165 views

Why is adding \usepackage{physics} causing an error with \let\left\relax

The following small MWE gives an error, TeX Live 2014 \documentclass[]{article} \usepackage{amsmath} \usepackage{physics} \let\left\relax \let\right\relax \begin{document} $\frac{a^2 ...
19
votes
10answers
25k views

Windows API error 5: “Access is denied” when trying to compile TikZ picture

I installed PGF but are unable to compile the following document: \documentclass[10pt]{article} \usepackage{pgf,tikz} \begin{document} \begin{tikzpicture} \draw (0,0) --(1,2); \end{tikzpicture} ...
1
vote
1answer
61 views

Latex error: Control sequence \c_backslash_str already defined - l3str.sty

Two days ago I updated my miktex packages(using the auto update), as well as my editor (TeXstudio). After the update a document of mine simply stops rendering. On another PC of mine that wasn't ...
1
vote
0answers
27 views

pdfLatex error compiling [closed]

Hello I have the following error: "\documentclass[a4paper]{article}" % This file was converted to LaTeX by Writer2LaTeX ver. 1.2.1 % see http://writer2latex.sourceforge.net for more info ...
1
vote
1answer
2k views

Package inputenc Error: Unicode char \u8:�\expandafter not set up for use wit h LaTeX

I'm having problem with generating pdf file from my tex file. When I use \documentclass with draft option, it generates pdf file with images as boxes without errors, so it's fine. But when I change ...
1
vote
1answer
45 views

I need to write the formulas in the shared link

Please help me to write the formulas in this link (from Math.StackExchange)?
0
votes
1answer
52 views

Problem creating 2 subsections within the same section

I have a document Latex that contains many sections. In a given section I want to create two subsections that contain each different subparagraphs. I don't know why I get an error when compiling it (! ...
5
votes
1answer
2k views

Problems with endfloat package

A minimal example using the endfloat package fails to compile. Before filing a bug report with the maintainer, please, could you take a look if I'm using it correctly? Perhaps you know a workaround? ...
3
votes
1answer
50 views

natbib package error

I have been using the regular \cite command for my citations all the time. But now I used the 'natbib' package and instead used \citep and \citet, but this keeps giving me errors in the natbib.sty ...