[Pkg-lyx-devel] Bug#637043: lyx: Program listing within Box with simple frame causes LaTeX error

Hamish hamish_b at yahoo.com
Mon Aug 8 01:50:05 UTC 2011


Package: lyx
Version: 1.6.7-1
Severity: normal

Hi,

I get a LaTeX error if I try to put a program listing within a simple box 
frame. If I select an oval or other shaped frame it works fine.

to reproduce:
New Document
Insert -> Box
Insert -> Program Listing
then type something (eg "10 PRINT")

right click on 'Box (Minipage)', select 'Simple Frame'

View -> Postscript

and the error dialog pops up with a number of errors. The first
one is "Argument of \lst at next has an extra }.

"""
\end{minipage}}
                    
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.
"""


?

thanks,
Hamish



-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/6 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages lyx depends on:
ii  libaiksaurus-1.2-0c2 1.2.1+dev-0.12-6    an English-language thesaurus (dev
ii  libboost-regex1.42.0 1.42.0-4            regular expression library for C++
ii  libboost-signals1.42 1.42.0-4            managed signals and slots library 
ii  libc6                2.11.2-10           Embedded GNU C Library: Shared lib
ii  libenchant1c2a       1.6.0-1             a wrapper library for various spel
ii  libgcc1              1:4.4.5-8           GCC support library
ii  libqtcore4           4:4.6.3-4+squeeze1  Qt 4 core module
ii  libqtgui4            4:4.6.3-4+squeeze1  Qt 4 GUI module
ii  libstdc++6           4.4.5-8             The GNU Standard C++ Library v3
ii  lyx-common           1.6.7-1             Architecture-independent files for
ii  mime-support         3.48-1              MIME files 'mime.types' & 'mailcap
ii  xdg-utils            1.0.2+cvs20100307-2 desktop integration utilities from
ii  zlib1g               1:1.2.3.4.dfsg-3    compression library - runtime

Versions of packages lyx recommends:
ii  dvipng                      1.13-1       convert DVI files to PNG graphics
ii  evince [pdf-viewer]         2.30.3-2     Document (PostScript, PDF) viewer
ii  ghostscript                 8.71~dfsg2-9 The GPL Ghostscript PostScript/PDF
ii  gv [pdf-viewer]             1:3.7.1-1    PostScript and PDF viewer for X
ii  imagemagick                 8:6.6.0.4-3  image manipulation programs
ii  inkscape                    0.47.0-2+b1  vector-based drawing program
ii  okular [pdf-viewer]         4:4.4.5-2    universal document viewer
ii  poppler-utils               0.12.4-1.2   PDF utilitites (based on libpopple
ii  preview-latex-style         11.85-1      extraction of elements from LaTeX 
ii  psutils                     1.17-27      A collection of PostScript documen
ii  texlive-fonts-recommended   2009-11      TeX Live: Recommended fonts
ii  texlive-latex-extra         2009-10      TeX Live: LaTeX supplementary pack
ii  texlive-latex-recommended   2009-11      TeX Live: LaTeX recommended packag
ii  texlive-science             2009-10      TeX Live: Typesetting for natural 
ii  ttf-lyx                     1.6.7-1      TrueType versions of some TeX font

Versions of packages lyx suggests:
pn  chktex                    <none>         (no description available)
pn  dvipost                   <none>         (no description available)
pn  gnuhtml2latex             <none>         (no description available)
ii  groff                     1.20.1-10      GNU troff text-formatting system
ii  latex2html                2008-debian1-5 LaTeX to HTML translator
pn  latex2rtf                 <none>         (no description available)
pn  libtiff-tools             <none>         (no description available)
pn  linuxdoc-tools            <none>         (no description available)
ii  menu                      2.1.44         generates programs menu for all me
pn  noweb                     <none>         (no description available)
pn  rcs                       <none>         (no description available)
pn  sgmltools-lite            <none>         (no description available)
pn  writer2latex              <none>         (no description available)
pn  wv                        <none>         (no description available)

-- no debconf information





More information about the Pkg-lyx-devel mailing list