OK, this patch is a new version of the PassThru patch that uses ParbreakIsNewline.

With this patch, the changes that are needed in lyx2lyx qre only:

In the following layouts
  * Chunk from module sweave
  * Scrap from module noweb
  * Scrap from classes literate-article, literate-book, literate-report
do the following changes
  * every newline inset should be changed to a paragraph break
  * every paragraph break between two paragraphs of the same layout
    should be changed to _two_ paragraph breaks.

Moreover, every InsetLayout that has a PassThru 1 (or true), should also have
a ParbreakIsNewline 1.

There is still a problem with location of compilation errors, but I cannot
pinpoint it right now.

JMarc

PS: I get an error whenever reconfigure is run. What could be the reason?

PPS: sorry for the broken attachment

Attachment: parbreakisnewline2.diff
Description: Binary data


Reply via email to