Package: lyx
Version: 1.1.4-7
Severity: normal

This mail contains recipe to reproduce certain bugs in Lyx, 
both in 1.1.4fix3 and 1.1.5pre3. Text in "" is lyx messages, <>
user input.

First, get all 3 files from: ftp://crds.chemie.unibas.ch/pub/lyxbug/
The only important part is (d0.tex):
\begin{document}
\maketitle
 \include{d2}
\clearpage
 \include{d3}
\end{document}

Start lyx, Import d0.tex


"reLyX, the LaTeX to LyX translator. Revision date 2000/03/29"

"Reading LaTeX command syntax 
(d0.tex: Splitting Preamble
Creating LyX preamble
Reading layout file 
Cleaning... Translating... Writing... )
(d2.tex: Cleaning... Translating... Writing... )
(d3.tex: Cleaning... Translating... Writing... )
Deleting temp files
Finished successfully!"

BUG1:
"Document is already open ~/dok/patrick/d1.lyx
Do you want to reload the document?"

<Yes>

"Changes in document ~/dok/patrick/d0.lyx Save document?"
USER STUPIDITY1:
<Yes>

BUG2:
Result: No document open.

Click in menu File: d0.lyx

"Do you want to reload?"
<Yes>

The opened document looks empty.

ALTERNATIVE (NEXT TRY, delete d?.lyx, restart LYX):

Import d0.tex

"reLyX, the LaTeX to LyX translator [....]"

BUG1:
"Document is already open ~/dok/patrick/d0.lyx
Do you want to reload the document?"

<Yes>

"Changes in document ~/dok/patrick/d0.lyx Save document?"
<No>

BUG2:
Result: No document open.

Choose menu File: d0.lyx

"Document is already open ~/dok/patrick/d0.lyx
Do you want to reload the document?"
<Yes>

This time it looks OK, contains two Include: d2 and Include: d3 boxes.

Doubleclick on Include: d2 box.

Include window opens with "use input" marked (BUG3 - should be probably "Use include").
BUG4:
"File name: d2" (should be d2.lyx)

click on <Load>  

"Cannot open specified file ~/dok/patrick/d2. Create new document with this name?" <No>
BUG4: the name shown in the Include window should have .lyx extension. It looks like 
reLyX bug.
Generated Lyx code is:
\begin_inset Include \include{d2}
it should be:
\begin_inset Include \include{d2.lyx}

I enter d2.lyx in "Include" window "File name:" and press <Load>
I see d2 contents (chapter 1 etc...)

I choose menu File: d0.lyx to return to prev. document.
"Document is already open ~/dok/patrick/d0.lyx
Do you want to reload the document?"  
<Yes>

BUG5:
lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. If possible, please read 'Known bugs'
under the Help menu and then send us a full bug report. Thanks!
lyx: Attempting to save document /home/motyl/dok/patrick/d0.lyx as...
  1) /home/motyl/dok/patrick/d0.lyx.emergency
  Save seems successful. Phew.
Bye.
Aborted

Please mail me if you have some questions.

-- System Information
Debian Release: 2.2
Kernel Version: Linux crds.chemie.unibas.ch 2.2.16pre3 #3 SMP Sun May 21 19:42:12 CEST 
2000 i586 unknown

Versions of the packages lyx depends on:
ii  libc6          2.1.3-10       GNU C Library: Shared libraries and Timezone
ii  libforms0.89   0.89-6         The XForms graphical interface widget librar
ii  libstdc++2.10  2.95.2-12      The GNU stdc++ library
ii  xlib6g         3.3.6-6        shared libraries required by X clients
ii  xpm4g          3.4k-5         the X PixMap library
        ^^^ (Provides virtual package libxpm4)

Reply via email to