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

learn more… | top users | synonyms (1)

3
votes
1answer
65 views

newenvironment with braces split between start and end

I'm defining a command for placing figures in the margin. A simple version follows: \documentclass{article} \newcommand{\margin}[1]{\marginpar{#1}} \begin{document} \margin{Figure goes here} \end{...
3
votes
1answer
3k views

Missing delimiter (. inserted) }

Here is the tex file which I encounter to this error, the result has no problem but the software show this error and I can't understand what is wrong (as the pdf result is ok!). So I will be glad if ...
3
votes
0answers
99 views

Nil value error in LuaTeX when \bullet is replaced with text

I'm trying to draw a spectral sequence using luasseq, and getting the following error message: LuaTeX error /usr/share/texlive/texmf-dist/scripts/luasseq/luasseq.lua:377: attempt to index field 'wd'...
3
votes
1answer
1k views

Error, command already defined - IOP article with mhchem [duplicate]

I am using LyX to prepare an article. The document class is 'IOP article' and I am using the mhchem package to typeset chemical formulae in the paper. I include \usepackage[version=3]{mhchem} in the ...
3
votes
1answer
2k views

XeLaTeX problem? Undefined control sequence.

I'm new to LaTeX. I downloaded a template for making a CV. here It says to be compiled with biber and XeLaTeX Im trying with xelatex vc_10.tex but always getting errors, fixed them by searching ...
3
votes
2answers
3k views

Aligned Table of Notation Sybmols - Works but with Errors

I am getting a four (4) errors and 1 Bad Box with the code below. However, the output is the way I need in the PDF. Any ideas why I am getting the errors? And if so, how I can fix it. The error is ...
3
votes
2answers
125 views

babel/plain.def : ! Illegal parameter number in definition of \@yargdef

I tried to generate plain TeX cyrillic format files using makefmts.sh script from cyrplain package, here is the content of this script: #!/bin/sh tex -ini -fmt=cyrtex -progname=tex cyrtex.ini tex -...
3
votes
1answer
226 views

afterpage + list = missing \item

I'm trying to use the afterpage package to automatically insert text at the top of each page (please see my other question Section reminders at the top of each page?) but I'm having trouble. ...
3
votes
1answer
2k views

Error in MacTex – Font … not loadable: Metric (TFM) file not found

This question is exactly the same as this one, but for Mac OS. My error is: Font OT1/pcr/m/n/9=pcrr7t at 9.0pt not loadable: Metric (TFM) file not found So I tried the answer in the linked ...
3
votes
2answers
442 views

Combining two files - document class error

I want to combine several latex files. I started with 'combine' package. I encounter a error of \newcounter{par}. Then I moved to using input or include, but then I faced unrecognized document class. ...
3
votes
1answer
592 views

Missing dollar inserted

What is the problem with this stupid table? \begin{table}[h] \centering{ \begin{tabular} {l l l l l l l l} \hline B & F & C & P & B \lor F & P \lor C & \lnot (...
3
votes
2answers
2k 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
920 views

PdfTeX error: pdflatex (file ecbx0800): Font ecbx0800 at 600 not found

I am new to Latex and have been allowed to copy a Latex project in order to reuse it as a template for my thesis. I initially adjusted most the project's content and structure for my own thesis. The ...
3
votes
1answer
879 views

Plot with Min/Max bar and two average points

I am trying to stop using Excel charts in my academic papers and rather use something more LaTeX integrated such as Tikz. My current Excel chart looks like that: As can be seen, any combination from ...
3
votes
1answer
1k views

Problems with siunitx package?

Once I use the siunitx package, this error message prompts: ! File ended while scanning use of \__siunitx_table_rewrite_create_aux:w. <inserted text> \par <*> paper.tex I suspect ...
3
votes
2answers
213 views

How do I use IfStrEqCase within a siunitx command?

I am having trouble using \IfStrEqCase from xstring inside \num from siunitx: \documentclass{article} \usepackage{xstring} \usepackage{siunitx} \newcommand{\bla}[1]{% \IfStrEqCase{#1}{{a}{1}% {b}...
3
votes
1answer
210 views

MnSymbol fails with `\mathcal`?

Let me first give you this minimal example: \documentclass[11pt]{minimal} \usepackage[retainmissing, abx]{MnSymbol} \usepackage{fontspec} \begin{document} \[ \mathcal{ABC 123} \] \end{document} I'...
3
votes
2answers
156 views

Problem with align inside tabular environment when using xcolor

I'm trying to build a table with multiple numbered equations inside, hence I used the align environment. On the other hand, I need to color some cells, so I included the xcolor package with the table ...
3
votes
1answer
391 views

'Runaway argument? ' error when using the wx-ijcis class

I get the following error message when compiling for a journal article: Runaway argument? \relax \ifmmode \@badmath \else \bgroup \let \eqnnum \relax \let \refstepeqcnt \ETC. ! Paragraph ended ...
3
votes
1answer
143 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) ...
3
votes
1answer
1k views

Strange compilation problem using adjustwidth environment from changepage package

The following code gives a compilation error. \documentclass{report} \usepackage{changepage} \begin{document} \chapter{Text1} \begin{adjustwidth}{1cm}{2cm} \section{Text2} Text3 \begin{quote} ...
2
votes
1answer
60 views

Can't compile with BibTeX

I'm creating a document in LaTeX with the bibliography in a separated BibTeX file. When I compile the document without any reference to the bibliography it runs correctly, but when I add references ...
2
votes
1answer
24 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 (...
2
votes
1answer
5k views

Fractions with `\dfrac` cause compile error

I'm new to LyX. I'm writing my next homework with it to give it a try. My example code is below: % Preview source code %% LyX 2.0.5.1 created this file. For more info, see http://www.lyx.org/. %% ...
2
votes
1answer
115 views

Conflict between TikZ and university dissertation *.cls file

When compiling a document using my university's dissertation class file and the TikZ package I receive 3 error messages: 1) Missing number, treated as zero [\xdef], 2) Undefined control sequence. [...
2
votes
2answers
325 views

Strange errors while writing a package

This short document: \documentclass[a4paper]{report} \usepackage{gnu} \begin{document} \end{document} with the following package: %!TEX encoding = UTF-8 Unicode \def\fileversion{2.7} \def\...
2
votes
1answer
136 views

Problems getting my bibliography working - "empty bibliography! [duplicate]

This has been stressing me out for a couple of hours now. I'm using MiKTeX 2.9 with Texmaker as the editor. I've been trying to use a .bib file as an external bibliography, which I've typed up in a ...
2
votes
1answer
374 views

LuaTeX nil value errors

I tried to lualatex a document and got the following error: ! LuaTeX error ./luasseq.lua:377: attempt to index field 'wd' (a nil value) stack traceback: ./luasseq.lua:377: in function '...
2
votes
1answer
450 views

IEEEtran class, conference option and pdfusetitle in hyperref

Consider the following: \documentclass[conference]{IEEEtran} \usepackage %[pdfusetitle] {hyperref} \begin{document} \title{A simple test} \author{ \IEEEauthorblockN{Michael Shell} \IEEEauthorblockA{...
2
votes
0answers
10k views

Misplaced alignment tab character & error while using bibliography [closed]

When I build my tex file, I get this error: ! Misplaced alignment tab character &. l.6 \newblock Chapman & Hall/CRC, six edition, 2003. I can't figure out why you would want to use a tab mark ...
2
votes
1answer
452 views

Ghostscript error with a surface in pst-solides-3d

I'm discovering the extremely cool pst-solides-3d package. The code \documentclass{article} \usepackage{pstricks} \usepackage{pst-solides3d} \begin{document} \begin{pspicture}(0,0)(3,5) ...
2
votes
1answer
1k views

biblatex error: invalid format of field 'date' - what's wrong?

I switched my .bib files to UTF-8 encoding and want to use biber for creating my bibliography (up to now I used bibtex). Currently, I do not get a bibliography for my thesis in the pdf, so I'm trying ...
2
votes
1answer
644 views

Adjust line numbers in error messages

Question Is there any way I can alter the line-numbers reported by TeX and friends in error messages? This is almost an identical question to Add offset to line number (in error message) when using ...
2
votes
1answer
264 views

SF298 package giving undefined control sequence error

I am trying to use the SF298 package for latex and it gives an undefined control sequence error. The error is as follows: ! Undefined control sequence. \ExecuteOptions ...eserved@a \CurrentOption \@...
2
votes
3answers
7k views

'fontspec' package problem with XeLaTeX in MiKTeX 2.9

Recently, I updated to MiKTeX 2.9, and after this the xelatex compiler fails when compiling documents with the fontspec package included. In other words, the following code won't compile: \...
2
votes
2answers
255 views

What does this error mean and why does it keep moving?

The following MWE gives me an error: %Page layout here \documentclass[letterpaper]{article} \usepackage{kantlipsum} %Font stuff here \usepackage{tgtermes} \begin{document} \kant \oldstylenums{...
2
votes
0answers
51 views

Error “Undefined control sequence” [duplicate]

I need help. I'm building a table but I always get this error. Here's my code: % Table generated by Excel2LaTeX from sheet 'Sheet1' \documentclass{article} \usepackage{booktabs} \usepackage{graphicx} ...
2
votes
1answer
420 views

adjustbox and lstnewenvironment

I'm trying to use adjustbox to make a frame around listings (I know that listings itself can do this, but its implementation produces sub-optimal results when the line heights are not equal throughout ...
2
votes
0answers
172 views

Error adding new value to LaTeX-math-list with custom function

I am using Auctex with math mode enabled. One of my favorite features is insert \mathcal with the key sequence "[backtick] c". I decided to try and customize the variable LaTeX-math-list so I can do ...
2
votes
1answer
15k views

Error when compiling (pdfLaTeX)

I wrote some lines and I wanted to view the pdf, so I compiled and built but I have this error message: This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9 64-bit) pdflatex.EXE: The memory ...
2
votes
1answer
745 views

Problem with bibliography (latin1) - how to find the exact place

I've got a problem with my bibliography. After running my tex-file I get the error messages: ! Package inputenc Error: Keyboard character used is undefined (inputenc) in inputencoding `...
2
votes
1answer
473 views

Why do I get this error with pdflatex?

First, apologies for not having an MWE, I know it makes things harder. I am unable to replicate the problem on a small example. I suspect there is some kind of bug with multirow and pdflatex. I keep ...
2
votes
2answers
396 views

The escape character before % is giving the ! Missing $ inserted. <inserted text> $ error

I am trying to include link in my references. The link contains % character in it. In order for % to behave as normal character I am escaping it with \ character. But I am getting an ! Missing $ ...
2
votes
0answers
592 views

Temp file fails verification every time I try to update MiKTeX [closed]

I have been using TeX for two years now, mostly as a replacement for Word. I'm an academic and I like the typesetting capability, especially when I need to use math, but am not an advanced user. I ...
2
votes
2answers
3k views

xelatex compilation error

I am using xelatex to compile a tex file. However, I got a strange problem, the log says: ! This is a LaTeX bug: check coding! ! ! Command name `\font_set:Nnn' already defined! Any hint to solve ...
2
votes
0answers
114 views

How to use tikz with memoir

I have used the following code after suggestion from an answer here. \documentclass{memoir} \usepackage{amssymb} \usepackage{tikz-cd} \begin{document} \begin{tikzcd}[column sep=1.2em] 0 \arrow[r] &...
2
votes
1answer
547 views

Using TexShop, upgraded to OS X El Capitan, and the fix isn't working

I am having issues compiling in TeXShop since upgrading to El Capitan. I have searched extensively for a fix, but none of the recommended settings are fixing my problem. Here is a screenshot of my ...
2
votes
1answer
4k views

MiKTeX 2.9 doesn't find the includegraphics package

I am using MiKTeX 2.9 and when I include the package{Includegraphics} to use graphics, doesn't recognize. So I need help.
2
votes
1answer
53 views

How can I minimise errors arising from TikZ pictures involving too large dimensions?

What general strategies are available for minimising the occurrence of errors concerning too large dimensions in PGF/TikZ? The following is an example but I'm less interested in a fix for this ...
2
votes
2answers
2k views

“xelatex: Command not found.” on network installation

I installed a TeX Live 2011 distribution on a network drive, actually an Apple Time Capsule. Even though normal TeXing with LaTeX (via pdfTeX) in TeXShop works fine, when I try to use the %!TEX TS-...