Your message dated Wed, 29 Sep 2010 15:46:53 +0200
with message-id <[email protected]>
and subject line Re: [Pkg-lyx-devel] Bug#588448: Bug#588448: lyx: ERT code 
produces error
has caused the Debian Bug report #588448,
regarding lyx: ERT code produces error
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
588448: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588448
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lyx
Version: 1.5.5-1
Severity: normal

When inserting the following ERT code:

\newcommand*\mygraybox[1]{%
\colorbox{lightgrey}{#1}}
\begin{empheq}[box=%
\mygraybox]{align*}
a &= b \\
E &= mc^2 + \int_a^a x\, dx
\end{empheq} 

in my document I get from lyX the following error:
LaTeX error: Something's wrong--perhaps a missing \item

The only difference with a working document is the ERT code above and some 
additions in my preamble:
\usepackage{empheq}
\usepackage{svgcolor}

This ERT code is reported to work in LaTeX and is often cited as an example.

-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: lang=en...@euro, lc_ctype=en...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages lyx depends on:
ii  libaiksaurus-1.2-0c2a  1.2.1+dev-0.12-6  an English-language thesaurus (dev
ii  libaspell15            0.60.6-1          GNU Aspell spell-checker runtime l
ii  libboost-filesystem1.3 1.34.1-14         filesystem operations (portable pa
ii  libboost-regex1.34.1   1.34.1-14         regular expression library for C++
ii  libboost-signals1.34.1 1.34.1-14         managed signals and slots library 
ii  libc6                  2.7-18lenny4      GNU C Library: Shared libraries
ii  libgcc1                1:4.3.2-1.1       GCC support library
ii  libqtcore4             4.4.3-1+lenny1    Qt 4 core module
ii  libqtgui4              4.4.3-1+lenny1    Qt 4 GUI module
ii  libstdc++6             4.3.2-1.1         The GNU Standard C++ Library v3
ii  libx11-6               2:1.1.5-2         X11 client-side library
ii  lyx-common             1.5.5-1           Architecture-independent files for
ii  mime-support           3.44-1            MIME files 'mime.types' & 'mailcap
ii  xdg-utils              1.0.2-6.1         desktop integration utilities from
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages lyx recommends:
ii  dvipng          1.11-1+lenny1            convert DVI files to PNG graphics
ii  ghostscript [po 8.62.dfsg.1-3.2lenny1    The GPL Ghostscript PostScript/PDF
ii  gv [postscript- 1:3.6.5-2                PostScript and PDF viewer for X
ii  imagemagick     7:6.3.7.9.dfsg2-1~lenny3 image manipulation programs
ii  kghostview [pos 4:3.5.9-3+lenny3         PostScript viewer for KDE
ii  kpdf [pdf-viewe 4:3.5.9-3+lenny3         PDF viewer for KDE
ii  latex-xft-fonts 0.1-8                    Xft-compatible versions of some La
ii  preview-latex-s 11.83-7.3                extraction of elements from LaTeX 
ii  psutils         1.17-26                  A collection of PostScript documen
ii  texlive-fonts-r 2007.dfsg.2-1~lenny2     TeX Live: Recommended fonts
ii  texlive-latex-r 2007.dfsg.2-1~lenny2     TeX Live: LaTeX recommended packag
ii  xpdf-reader [pd 3.02-1.4+lenny2          Portable Document Format (PDF) sui
ii  xpdf-utils [pdf 3.02-1.4+lenny2          Portable Document Format (PDF) sui

Versions of packages lyx suggests:
ii  chktex         1.6.3-2                   Finds typographic errors in LaTeX
ii  cups-bsd [lpr] 1.3.8-1+lenny8            Common UNIX Printing System(tm) - 
ii  cups-client [c 1.3.8-1+lenny8            Common UNIX Printing System(tm) - 
ii  cupsys-client  1.3.8-1+lenny8            Common UNIX Printing System (trans
ii  dvipost        1.1-3                     Post processor for dvi files suppo
ii  gnuhtml2latex  0.3-4                     A Perl script that converts html f
ii  groff          1.18.1.1-21               GNU troff text-formatting system
ii  hevea          1.10-5                    translates from LaTeX to HTML, inf
ii  iceweasel [www 3.0.6-3                   lightweight web browser based on M
ii  konqueror [www 4:3.5.9.dfsg.1-6+lenny1   KDE's advanced file manager, web b
ii  latex2html     2002-2-1-20050114-6       LaTeX to HTML translator
pn  latex2rtf      <none>                    (no description available)
ii  libtiff-tools  3.8.2-11.2                TIFF manipulation and conversion t
ii  linuxdoc-tools 0.9.56                    convert LinuxDoc SGML source into 
ii  lynx-cur [www- 2.8.7dev9-2.1             Text-mode WWW Browser with NLS sup
ii  menu           2.1.41                    generates programs menu for all me
pn  noweb          <none>                    (no description available)
ii  rcs            5.7-23                    The GNU Revision Control System
ii  sgmltools-lite 3.0.3.0.cvs.20010909-15.1 convert DocBook SGML source into H
ii  texlive-latex- 2007.dfsg.17-1~lenny02    TeX Live: LaTeX supplementary pack
pn  writer2latex   <none>                    (no description available)
ii  wv             1.2.4-2                   Programs for accessing Microsoft W

-- debconf information excluded



--- End Message ---
--- Begin Message ---
On Wed, Sep 29, 2010 at 02:47:49PM +0200, Mauro Darida wrote:

Hi,

> Sorry to answer so late, but I have sent a message telling to close the bug 
> some time ago (strange, I see there is no sign of this message). Anyway, 
> please CLOSE THE BUG, I have found how to fix it:
> in the document preamble you must enable the "use AMS package automatically" 
> by checking the appropriate box.
> Please note the code does not work if you just load the AMS package.

Ok, good to know. Closing now.

Thanks,
Sven
-- 
And I don't know much, but I do know this:
With a golden heart comes a rebel fist.
     [ Streetlight Manifesto - Here's To Life ]


--- End Message ---

Reply via email to