On 14-Dec-2001 Jose Abilio Oliveira Matos wrote:
> On a less serious note the code for docbook generation in insettext, > line 1407, is almost the same as the code for global docbook generation > in buffer.C, line 3038, with the only exception that I don't expect > command type paragraphs inside insets. ( For docbook-lyx command means > belonging to the hierarquical document structure: chapter, sections, > parts, ...). > > Or maybe that's me. What do you think of this? I think that the docbook export should be done as the LaTeX one and that is in the paragraph & buffer. Have a look how I made the LaTeX code work. IMO a similar aproch should be done for all InsetText export code in ANY format. So we don't have code duplication. You can always see if a paragraph is inside an inset by looking at it's inset_owner (if you need that). Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ The perfect lover is one who turns into a pizza at 4:00 A.M. -- Charles Pierce