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

learn more… | top users | synonyms (1)

2
votes
0answers
77 views

I can't save a tex file [duplicate]

I'm really new to Texmaker but I already know the basics. The problem is that I can't even save my file, so I can't compile it. It says The file could not be saved. Please check if you have write ...
5
votes
1answer
2k views

Using 'caption' package with 'thesis' class - undefined control sequence [closed]

I am trying to compile my PhD thesis. It worked a while ago (a few months or so) but something has somehow changes since then because I get an undefined control sequence error relating to the ...
14
votes
1answer
12k views

Impossible to save LaTeX file in Texmaker on Windows

Yesterday, I downloaded the latest version of MiKTeX and Texmaker and started using XeLaTeX. Today, I am no longer able to compile or save any .tex file. When I try to do so, a message pops up: “The ...
6
votes
1answer
595 views

Strange error when combining Beamer, Animate, Tikz and Listings

I'm working on some slides where I show how code is actually executed in Java. Therefore I'm working with the animate package to generate animations. Without going into details, I've written a macro ...
0
votes
1answer
142 views

Texmaker on Mac doesn't like my \section{}s [closed]

I have just made a clean install on a Mac I'm using at the moment. Everything seems good except when I compile, I have the error Missing number, treated as zero. s The error tells me that this ...
1
vote
0answers
90 views

Problem using align* using [ ] and ( ) [closed]

i'm having trouble with align* when i'm using any type of parenthesis. Here is the code: \begin{align*} V_o^\prime &= A(V_2^+ -V_2^-) \\ &= ...
3
votes
1answer
792 views

How to put label and voltage on same object in CircuiTikZ?

If I type the following code there is no problem: \begin{circuitikz}[american] \draw (0,0) to[R, l^=$R_4$, v=$V_1^+$, -*] (0,2) --(0,4); \end{circuitikz} But the polarity is not the one I need. And ...
1
vote
1answer
2k views

Inputenc error with spanish

I'm currently writing my final thesis in TeXstudio and for a better organization I'm writing each chapter in a different text file. I'm also writing in Spanish and as far as I know, the inputenc ...
0
votes
0answers
33 views

! Improper \halign inside $$'s [duplicate]

I know this is not a minimal example, but I have to have this much code, in order to create my error. I had this error already several times and I cannot get rid of it?! I don't know where the problem ...
-3
votes
1answer
424 views

! TeX capacity exceeded, sorry [input stack size=30000]

Below is part of my code. \documentclass[11pt,table,a5paper]{article} \usepackage{array,ragged2e} \usepackage{graphicx} \usepackage[framemethod=TikZ]{mdframed} \usepackage{lipsum} ...
7
votes
2answers
671 views

cases environment inside an array

LyX is giving a lot of error messages for my Latex code which runs in other places. \[ \begin{array}{rl} p_{Y \mid H_1}(y \mid H_1) & = f_X(g^{-1}(y))\left| \dfrac{dg^{-1}(y)}{dy} \right| \\ \\ ...
0
votes
1answer
128 views

Spacing Characters appearing in bibtex output

BibTeX has been giving me a weird output. I have the following entry in my .bib file: @book{nathanson, Author = {Melvyn B. Nathanson}, Title = {Additive Number Theory: the Classical Bases}, ...
2
votes
1answer
71 views

System: XeLaTeX, Circumstance: Automation, PROBLEM: error message “missing \item”

I am currently generating PDF's with variable contents from a template I made. Data is fetched from a database and used to create reports. This has been working greatly until recently I needed to ...
1
vote
1answer
615 views

harvard-thesis template and error using bm package

I have a following problem. I use harvard-thesis package to write my thesis and I have a problem, when I want to use a package bm. Here is a minimal example. Using this code: %!TEX TS-program = ...
6
votes
1answer
1k views

“Extra \fi” errors in equation environment with savetrees

I get the Extra \fi error for the \end{equation} line in the following code. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{savetrees} \usepackage{amsmath} \begin{document} ...
2
votes
1answer
3k 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
0answers
709 views

pgfplotstable error: missing \endcsname inserted [closed]

I'm getting strange errors with pgfplotstable: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{pgfplots} \pgfplotsset{compat=1.7} ...
2
votes
1answer
807 views

LyX: cannot convert file. Error occured while running

I have been using LyX for about a year now and I have not encountered this problem. This happened two days ago and up to now I have still not been able to address this issue. I want to visualize my ...
2
votes
1answer
231 views

Macro sequence generalization (with bashful)

I'm trying to take a script-based approach to my standing question Automatic calculation of error in pgfplots, and I have something of a workable solution. Using Python, I transform a given dataset ...
5
votes
2answers
1k views

extra } when use titlesec package

In the .tex file, I want to use the package titlesec. But there is a error: ! Argument of \subparagraph has an extra }. Is there some simple method to fix this? The code is: ...
2
votes
1answer
143 views

import in \newcommand in my package produces an error

I have written and installed my own package gym.sty. In that package I defined \newcommand{\loadgym}{\import{sagegym}} since I need to execute some commands after \begin{document} for the package ...
1
vote
0answers
3k views

“File ended while scanning use of \align*” [closed]

This is really odd. I have ended all environments. Triple checked them. When I add this last bit of equations using the align* environment, all kinds of errors appear. Predominantly, in this case ...
3
votes
1answer
128 views

LaTeX report wrong error line when enclosing thing within a macro

I like to write my LaTeX C++ style 1 \mydisplay 2 { 3 \BoomUndefinedMacro \\ 4 x + 1 = 2 5 } But then LaTeX, LaTeX say that the error is in line 5, instead of line 3. This is not useful, ...
2
votes
1answer
359 views

Texmaker Illegal unit of measure

I've got problems with my Texmaker on Windows 7... I changed some text in the document and configured the colors for my listings. Suddenly Latex throws an error by the optional parameter of the ...
2
votes
1answer
3k views

“Undefined control sequence” error with fontspec

As a result of the most recent TeXLive update, an XeTeX document I'm working on no longer compiles. I've narrowed down the problem to the "Color" declaration of a font I define. Here is a minimal ...
0
votes
1answer
123 views

Error message because of eqnarray, footnotes, tables or caption?

I know this is not a minimal example, but I have to have this much code, in order to create my error. I had this error already several times and I cannot get rid of it?! I don't know where the problem ...
3
votes
1answer
212 views

Error when compiling a 'minted' listings inside a 'memoir' subfloat

I'm trying to compile the following minimal example: \documentclass{memoir} % Enable subfloats within figures \newsubfloat{figure} \usepackage{minted} \begin{document} \begin{figure} \subbottom{% ...
6
votes
1answer
778 views

Problem when using \nocite together with the standalone package

Given: \documentclass{minimal} \usepackage{standalone} \begin{document} \input{inclusion} \nocite{*} \bibliographystyle{plain} \bibliography{test} \end{document} With: \documentclass{minimal} ...
8
votes
1answer
218 views

Why doesn't \mathord work to turn an Acc atom into Ord?

Writing ${\dot X^a}^b$ produces a very cryptic "double superscript" error: this has been explained here on this forum: the reason is that {\dot X}^a generates an Acc atom and that, for a reason that ...
2
votes
0answers
617 views

File error in non stop mode [closed]

I am trying to make a feynman diagram using feynmf. My code is \documentclass[a4paper,11pt]{article} \usepackage{xcolor} \usepackage{amsthm} \theoremstyle{definition} \newtheorem{exe}{Exercise} ...
2
votes
1answer
4k views

Quickest way of applying thesis to tex template

I am trying to apply my thesis to a TeX template. I have pdflatex installed on a Linux box (in my university), but cannot get it to work. When I point to my TeX file as below, it gives an error: ...
4
votes
1answer
9k views

! Package inputenc Error: Unicode char \u8:äöü not set up for use with Latex — is my latex broken [duplicate]

When trying to compile the following document with xelatex: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[german]{babel} \begin{document} äöüÄÖÜ ...
2
votes
0answers
902 views

Too many math alphabets used in version normal error when using chemmacros package [closed]

When I load package chemmacros, suddenly the following error occurs: Too many math alphabets used in version normal. I've already made sure that I've updated my MikTeX distribution. Edit: my code ...
3
votes
1answer
108 views

Problem with using multline and align

I am LaTeX begginer and when I run this equation, I am getting the error: ! Argument \align* has an extra {. Here is the equation. \begin{multline} \begin{align*} C_s & = \displaystyle ...
0
votes
0answers
39 views

error of Cannot determine size of graphic [duplicate]

I compile my LaTeX code as LaTeX ,it give an error Error: LaTeX Error: Cannot determine size of graphic in scope.jpg (no BoundingBox). If I compile as PdfLateX not errors...i need my output as a ...
3
votes
1answer
7k views

Problem with \maketitle: “there's no line here to end”

I'm using MiKTeX 2.9 and i'm new to TeX. Simplified, I have this code: \newcommand{\aone}{Anna} \newcommand{\atwo}{Bob} \newcommand{\topic}{Tpoic} \subject{University \\ Paper} \title{ \\topic\\ ...
3
votes
1answer
3k views

Hyperref option clash error because unknown package requires/loads it too

I am currently hunting for errors in my template and these two I cannot solve after reading the log and researching: ! LaTeX Error: Option clash for package hyperref. See the LaTeX manual or LaTeX ...
6
votes
1answer
192 views

Problem regarding Errors after Theoremdefinition using thmtools

I am currently hunting for errors in my template and these two I cannot solve after reading the log and researching: First: ! Argument of \strip@prefix has an extra }. <inserted text> ...
2
votes
1answer
147 views

No %.aux file in a particular directory

I have the following line in my report.tex \include{intro/introduction} \include{prlm/preliminary} \include{svy/survey} and the corresponding directory structure. The directory structure is ...
1
vote
1answer
99 views

Consecutive longtables giving “…alignment error…”

in the appendices of my thesis I have two long tables for which I use the longtable package. Separately they work fine, no errors, but when I have after each other I get errors such as: Extra ...
1
vote
1answer
6k views

MikTex can't find \begin(document} [duplicate]

I'm running into an error recently and am unsure why I get it. Running this script: \documentclass{article} \begin{document} hello \end{document} I get this error message (question being how do ...
1
vote
0answers
37 views

A package (installed according to TeX Live Utility) doesn't run [duplicate]

This is an example : I've found here (What package allows Elvish in TeX?) that there existed a package called tengwarscript. I want to use it and when I used TeX Live Utility in order to download it, ...
2
votes
1answer
984 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 ...
3
votes
1answer
208 views

“Dimension too large” error with XY-pic

What's wrong with the following? \documentclass{amsart} \usepackage[all]{xy} \begin{document} \xymatrix{ \text{Long string of text that causes an error during the compilation of this ...
1
vote
2answers
975 views

How to right align content of pbox?

Lets have simple \pbox example like this: \documentclass[twoside]{book} \usepackage{pbox, calc} \begin{document} \noindent\fbox{\pbox{\textwidth}{Some text\\Text}} \end{document} Here is printed ...
14
votes
1answer
1k views

Which version of LaTeX permits more than 16 alphabets?

Sometimes I receive a message: ! LaTeX Error: Too many math alphabets used in version normal. I know that there is a limit of 16 alphabets at most allowed to one article. However this message ...
2
votes
2answers
167 views

Can anyone solve my error and make the long multiline equation multiline please?

In case it matters, I'm using win edit as editor. \documentclass[12pt,a4paper]{article} \usepackage{amsmath}\usepackage{amssymb} \textwidth=16.5cm \oddsidemargin=-0.10cm \evensidemargin=-0.10cm ...
7
votes
3answers
942 views

\uline within a pgfmath expression produces an error

Why does using \uline within a pgfmath expression result in an error? \documentclass{article} \usepackage[normalem]{ulem} \usepackage{tikz} \begin{document} \pgfmathparse{width("\uline{blabla}")} ...
0
votes
0answers
67 views

Could not compile pdf after updated [duplicate]

I have updated my MiKTeX to 2.9. But unfortunately it cannot compile pdf file by either PdfLaTeX and XeLaTeX. When use XeLaTeX it lag at the begining, and for PdfLaTeX it returns errors: Command ...
1
vote
1answer
820 views

Error during installation of TeXLive 2012 in Fedora [duplicate]

I am facing problems while trying to install TeXLive 2012 on fedora. I did the following- Unzipped the package. Navigated to the location of install-tl. Typed in ./install-tl I got the following ...