John Levon wrote:
> 
>>While compiling a document written on 1.1.6fix4 I found what appears to 
>>be a bug. I've narrowed down the cause and it's related to ERT insets. 
>>The following lines are the ones that are causing problems:
> 
> Can you provide a small 1.1.6fix4 document that causes the errors ?
> 

OK, I'm attatching small documents that include all the problems I have 
encountered when trying to compile my project.

1) ERT inset bug - When you open the document in LyX 1.2.0 you'll see 
nested ERT boxes and it won't compile. If you move the latex code 
outside of the nested boxes the document compiles without any errors. 
I've also included the same document after being fixed and saved with 
version 1.2.0.

2) Figure bug - The document was writen using version 1.1.6fix4. It 
consisted of two side by side figures, each scaled to 45% of the 
_TEXTWIDTH_. If opened and compiled using 1.2.0 the figures are sized to 
45% of the _PAGEWIDTH_ so they don't fit side by side. I've also 
included the resulting TeX export from versions 1.1.6 and 1.2.0. Notice 
how one scales to 0.45\textwidth and the other to 0.45\pagewidth.

Hope that helps you narrow things down. Thanks for taking the time to 
look into this.

Regards,
Roberto

Attachment: ERT_bug.tar.gz
Description: GNU Zip compressed data

Attachment: figure_bug.tar.gz
Description: GNU Zip compressed data

Reply via email to