Hi all, I'm not sure if this is the correct place to send this, so please forgive me it is my first time to try and submit a bug report.
this may be old news, I know when exporting docbook documents LyX 1.2.1 and 1.2.0 before it uses <sect4><title> .... </title></sect4> instead of <para> </para> fixing the sgml output is not simply a matter of replacing strings since LyX messes up the tags more when lists or other elements are embedded inside the paragraph. I solved this problem by editing the layout/db_stdsections.inc file and changing the paragraph and subparagraph style definitions to # Paragraph style definition Style Paragraph LatexType Paragraph LatexName para End # Subparagraph style definition Style Subparagraph LatexType Paragraph LatexName para End this of course means that paragraph and subparagraph will be the same in the sgml output, I found no equivalent to subparagraph in the docbook reference but maybe I didn't look hard enough. another error LyX produces is putting the <toc></toc> tags for table of contents inside <bookinfo>,<articleinfo>,etc. tag, and within a paragraph. the <bookinfo> <articleinfo> and all the other *info tags are not parents to <toc> it would be better to put it outside as a child of the <book> or <article>, etc. tag I've failed to find the intery for the table of contents in the layout files. keep the good work and sorry for bothering you, Alaa -- Perilous to all of us are the devices of an art deeper than we ourselves possess. -- Gandalf the Grey [J.R.R. Tolkien, "Lord of the Rings"]