On Sun, Oct 24, 2004 at 02:02:40AM +0000, [EMAIL PROTECTED] wrote: > > Modified files: > lyx-devel/src/: ChangeLog buffer.C output_docbook.C > output_docbook.h paragraph.C sgml.C > lyx-devel/src/insets/: ChangeLog insettext.C > > Log message: > Reorganized docbook export code and fixed several bugs in the process.
Hi, this is the long waited code rewrite for docbook export. The code is a lot easier now and that allowed me to fix some old bugs. I'm sure that are still some rough corners to polish, but this code shows better behaviours than the previous. Compare, for example, the export document containing code before and after: ---------------- Before ------------------------ <screen> <![CDATA[for i in range(10): ]]><![CDATA[ print i ]]><![CDATA[ i * 5 ]]> </screen> ---------------- After ------------------------ <screen> <![CDATA[for i in range(10): print i i * 5 ]]> </screen> I hope that Martin and Andreas find the code easier to understand now. -- José Abílio