On Mon, Aug 26, 2002 at 11:40:28AM +0300, Alaa The Great wrote:
> 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.

  This is just a question of terminology, akin to the latex version
paragraph and subparagraph are the 4th and 5th section level, this is
sect4 and sect5 of docbook.

  The usual paragraph is called Standard, as it is the standard
paragraph. :-=

> 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.

  toc is just a legacy tag as it concern to docbook since most of the
transformation tools ignore it. I am not too concern about this...

> keep the good work and sorry for bothering you,
> Alaa

  All ht efeedback is welcome.

> -- 
> 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"]

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)

Reply via email to