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

learn more… | top users | synonyms (1)

0
votes
2answers
39 views

How to lint for undefined control sequence?

So I'm beginning to learn LaTeX and often find myself mistyping control sequences like \idotsint. I use editor plugins which call lacheck and chktex on the document which helps catch some errors, but ...
1
vote
0answers
93 views

How to make pdflatex in (MikTeX) write only the error messages to the log file

I've MikTeX installation on my Windows 8.1. When I generate a PDF from a tex file using pdflatex command it generates lots of content in the corresponding log file from which it's hard to read errors ...
4
votes
0answers
72 views

Getting negative vspace to behave

My TeX code (including parameters in command definitions) that creates lyrics sheets and chord sheets of songs is generated dynamically by other code accessing database data and processing it line by ...
1
vote
1answer
67 views

TeXStudio doesn't recognize self-defined commands in external file

I'd like to define some tables as commands (MWE) in an external .tex file, because there are a lot of settings for them. This external file gets included in the main document by the \input{} command. ...
1
vote
1answer
54 views

How do you write the double turnstille & its negation in ShareLaTeX?

I think the code for the double turnstile is \vDash and the code for its negation is \nvDash. Neither of these commands work for me in ShareLatex. I enter them, hit recompile and nothing appears. ...
6
votes
1answer
50 views

Passing alignment tab character to \ifx

I have the following macro \usepackage{xintexpr} \newcommand\seq[4] %length, delimiter, generating func, last term {% \def\s##1{\def\n{##1} #3} \xintListWithSep{#2} {% ...
0
votes
1answer
37 views

How can I put a hat on a subscript?

I want to put a hat in a subscript like this: \documentclass{article} \begin{document} $x_\hat{z}$ \end{document} Unfortunately, this results in the errror pdflatex> ! Missing { inserted. ...
1
vote
0answers
57 views

TikZ (tikzexternalize) + subcaptionbox error

Update The error comes up only if I change the pictures themselves or insert/delete a picture that occurs before them in the document. As a dirty workaround, I defined a command ...
2
votes
0answers
31 views

Gummi won't compile document after compiling bibliography, table error

I'm new to this whole LaTeX thing, and I'm having a problem that I can't even begin to understand. I've written a great big document with several tables and images, and previously everything worked ...
0
votes
2answers
64 views

Why did TeXstudio suddenly highlight some commands with red background?

I tried to compile from a .tex file included by master. TeXstudio didn't infere that master.tex, which was also open in Texstudio was the master. I received a lot of error messages, and as a result, ...
1
vote
1answer
107 views

LaTeX CV template not working probably

Sadly, I wasn't able to copy more than just the first of two errors: ! Package unicode-math Error: Cannot be run with pdfLaTeX! (unicode-math) Use XeLaTeX or LuaLaTeX instead.. See the unicode-math ...
0
votes
1answer
60 views

Exporting an inkscape drawing to latex

I need help please, I'm new to using latex and inkscape. I saved my image from inkscape as a pdf_latex file, in the same directory as my latex document. Then in my latex document I added the following ...
1
vote
0answers
24 views

Error after installing animate and now unable to compile! Is there a way out?

Please can someone help? Two error messages ! LaTeX Error: Two \documentclass or \documentstyle commands.See the LaTeX manual or LaTeX Companion for explanation.Type H return> for immediate help.... ...
6
votes
3answers
32k views

“Misplaced alignment tab character &” error when citing a particular entry

I've been getting the error: 'Misplaced alignment tab character & ...' even in sentences where the &-character is not used. It says it in sentences where I am citing. \documentclass{article} ...
6
votes
1answer
158 views

One \cite crash all

I'm new to this. And I understand nothing. Please, explain me what happen. I use \usepackage[utf8]{inputenc} \usepackage[ backend=biber, style=authoryear, natbib=true, ...
3
votes
1answer
2k views

Spanish.ldf error [closed]

I just installed MiKTeX 2.9 x64 on my windows 8.1 laptop. I use Texmaker as a TeX editor. I'm trying to compile a document with these packages: \usepackage[utf8]{inputenc} ...
2
votes
1answer
40 views

My latex table does not work as it should

I am trying to solve this issue but I keep getting an error that I cannot get rid of. However the code works fine and compiles every time with the changes. The error: Missing $ inserted. ...
1
vote
2answers
68 views

Numbering exercises, Error: Missing number, treated as zero

I'm trying to horizontally number some exercises for a problem set, and I'm getting an error "Missing number, treated as zero." on the two lines after "\multicolumn" shown here: ...
1
vote
0answers
33 views

Runaway Argument Error even with closed brackets [closed]

I am trying to typeset using MacTeX. Every now and then I make a mistake and get an error; this is fine, I can correct this. But sometimes even when I correct and attempt to recompile I get a Runaway ...
2
votes
2answers
61 views

PDF inclusion error when using \input or \include

I have set up a LaTeX file for a book-type document with the following preamble: \documentclass{book} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{textgreek} ...
8
votes
2answers
17k views

Errors in tables then runaway argument at \begin{document}

I am new to LaTeX and keep having this re-occurring problem. I create a table and notice a mistake (incorrectly specifying the number of columns or something) because the pdf won't compile (I am using ...
2
votes
1answer
22 views

Animate gives errors when I also use bigfoot or cprotect

I get some errors trying to use the animate package with the cprotect or/and bigfoot packages. When I use the cprotect package in: \documentclass[10pt, oneside, openany]{book} \usepackage{graphicx} ...
1
vote
1answer
41 views

Graphic package

Please help, i'm going crazy =) I have new computer and I downloaded Latex and from the old computer I got my "script" in Latex. When I run it on new computer there are bunch of errors. The one I can ...
1
vote
0answers
74 views

You can't use a prefix with `\begingroup' error with Tex live 2013

Minimum not working example: \documentclass[12pt]{article} \usepackage{newtxtext,newtxmath} % Times New Roman \usepackage{tikz} \usepackage{pgfplots} \usepackage{hyperref} % clickable links ...
3
votes
3answers
248 views

Multi-line text retrieved from file via \input, within a newcommand declaration, passing newly declared command as argument of standard letter class

I have put together a minimum working example consisting of a number of files mwe.tex % instance of personal letter address.tex % full address of individual being addressed in mwe.tex ...
1
vote
1answer
36 views

After using \newcommand, Undefined control sequence error persists

I am using IEEEtran for a conference paper. When I try to define the \vicon seen in the code, I get an Undefined control sequence error. Although not shown in this code, the same error pops up for ...
1
vote
2answers
2k views

miktex-makepk: PK font Alegreya-Regular-lf-t1--base could not be created

I just want to use Alegreya font with pdflatex. i had a question about an error before and got an answer. But it gives another error now. what should i do. error message: miktex-makepk: PK font ...
0
votes
0answers
38 views

mnsymbol.sty is installed but latex cannot find the .sty file - Ubuntu 14.04

I'm using Ubuntu 14.04 and Texlive 2015. I installed Texlive using tl-install-ubuntu found here. Everything seems to be working except that I receive the following error when trying to use the ...
2
votes
1answer
19 views

Figure problem with catchfilebetweentags

This question is a follow up and based on this answer by touhami Situation I would like to create an excerpt from a script that I have TeX'ed as a compendium of the most important statements ...
1
vote
0answers
41 views

Why are missing characters reported as warnings and not errors?

In the following example, the PDF compiles without error using xelatex: \documentclass{article} \usepackage{fontspec} \usepackage{xunicode} \usepackage{polyglossia} \setdefaultlanguage{english} ...
1
vote
0answers
27 views

uppercase greek letters in mhchem formulas gives error when compiling [duplicate]

I tried compiling a ~1 year old document today and noticed that I got an error when using a uppercase greek letter in a chemical reaction. Here's an MWE (with an example from the mhchem manual): ...
2
votes
0answers
27 views

Texmaker error “File not found” when using a “build” subdirectory for output files

I am using Texmaker in Ubuntu and have a file that worked when compiling using Quickbuild: LaTeX + Bib(la)tex + LaTeX (x2) + dvips + ps2pdf + View PDF. In order to tidy up my directory I picked the ...
1
vote
0answers
24 views

Including Subindex in Figure Caption

I'm trying to include a subindex in a figure caption as: \begin{figure}[h!] \centering \includegraphics[width=\textwidth]{./Image_2.png} \caption{Some text in the caption with ...
1
vote
3answers
49 views

Table inside figure environment

I want two tables in the same line. I insert them using a figure environment and then minipages, inside each minipage I include one table. The trouble is that it doesn't allow me to include the ...
1
vote
1answer
43 views

Babel Spanish.ldf error

I have Windows 8.1 operation system and I installed Miktek 64 bits version for windows and TeXnicCenter 64 bits version. These is basically the main file: \documentclass{book} \usepackage{quotes} ...
3
votes
1answer
95 views

mhchem ver.4 not working after update! Control sequence undefined

I updated MikTex 2.9 Monday, and now can't compile while loading 'mhchem'. I'm using pdflatex [Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9 64-bit)] to compile the following: \documentclass{article} ...
1
vote
2answers
78 views

Package pgfkeys Error(s)

I am searching for a solution of 5 package pgfkeys errors. I think the root of the problem is the same. Preliminary I tested if the pgfplot version is the same I have installed (v1.13) and I used in ...
1
vote
0answers
21 views

Question regarding limited number of pages

I am quite new to latex and have a question that might seem a little silly: My report that i wrote would have just reached page nr. 10 if compiled. For some reason though the program stops at page 9 ...
1
vote
0answers
75 views

Pdftex.def Error, Cannot open Ghostscript for piped input: gs

I can compile my latex document from mac terminal using pdflatex mydocument.tex However, Texshop fails to compile my file. More precisely, Texshop cannot convert .eps files to pdffile. The ...
2
votes
1answer
391 views

Errors with the moderncv template used with w32tex

I want to prepare my resume using the moderncv package. I am using w32tex (installed on this September), which includes the moderncv package. I downloaded the template from CTAN ...
1
vote
0answers
14 views

acronym not found but installed

I use Tex Live on Windows. I try to include the package acronym, Tex Live Manager says it is installed, but the compiler (PdfLatex as well as LuaLatex) outputs the error it is not found: File ...
1
vote
0answers
24 views

How to fix the error : moderncvcoloroptions.sty not found? [closed]

I am trying to make a CV using the package moderncv in the Classic theme. On compiling I get an error message : 'moderncvcoloroptions.sty not found'. I tried googling this file on the internet but can ...
2
votes
1answer
31 views

LyX document compiled in OSX?

LyX is a wysiwyg LaTeX editor that I find useful to write exercises fast instead of TextMate that I use for long-term projects. So the below shows an exercise that I would like to print as PDF: ...
0
votes
1answer
20 views

Underfull\hbox (badness10000) in paragraph at lines 31--43

a.) Probetas de acr\'ilico transparente, con escala de alturas graduada y con tap\'on de hule.\\ b.) Tubo irrigador de acero inoxidable, provisto de un tramo de manguera de hule y con un sif\'on.\\ ...
0
votes
0answers
33 views

subscript appearing properly but following character are italic

To write subscript say, x subscript 1 , I am writing x_1. However, the problem is that anything following 1 appears to be italic. Why is it so? I am using Kile as editor.
2
votes
1answer
54 views

error couldn't find the 'fopn_foweb' security handler

I use LaTex to compile .pdf files together, but I have the types of files that requires "Fileopen adobe plug-in" to be installed to open them. I have installed the plug-in and am able to open them ...
49
votes
6answers
8k views

Documents with typical LaTeX errors

I am giving a LaTeX course and have the idea to let the students find and solve problems within a few documents. Basically they shall learn how to create minimal examples and read error messages. ...
20
votes
5answers
8k 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 ...
1
vote
1answer
197 views

Can't find LaTex font phvb on mac

I was compiling a latex document on mac osx and getting this error: This is METAFONT, Version 2.7182818 (TeX Live 2015) (preloaded base=mf) kpathsea: Running mktexmf phvb ! I can't find file `phvb'. ...
1
vote
1answer
49 views

Missing \begin{document} error when using .sty file

I am a fairly new LaTeX-user and I've come across a problem I can't solve related to a custom style. I keep getting a Missing \begin{document} error among others and I have no idea why. I am using ...