Re: Compilation fails with eqnarray after reinstalling Miktex

Ulrike Fischer <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>
Am Sun, 8 Jun 2014 14:08:33 +0200 schrieb Marco Taboga:

> I have a script that extracts math formulae from a tex file, produces a
> small standalone file for each formula and compiles it with pdflatex. The
> standalone pdf files are then used to produce png images of the formulae.
> The script has always worked smoothly with Miktex 2.8 under windows Vista.
> Now that I have updated to version 2.9 and Windows 7, it does not work any
> longer. Every time it encounters an eqnarray environment, it gives the
> following error:
> 
>  ! Missing \endgroup inserted.
> <inserted text>
>                 \endgroup
> l.6 \begin{eqnarray}
> 
> For example, I get this error when I run pdflatex on the following simple
> file:
> 
> \documentclass[12pt]{standalone}
> 
> \begin{document}
> 
> \begin{eqnarray}
> 
> 1&=&1\\
> 1&=&1
> 
> \end{eqnarray}
> 
> \end{document}
> 
> Why am I getting this error? Has support for eqnarray been discontinued in
> new versions of Miktex?

The standalone.cls changed a default (years ago, I already get your
error in texlive 2012). You need to use the option preview or
varwidth if you want to use such environments in standalone:

http://tex.stackexchange.com/a/50171/2388

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://www.hpccsystems.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.