On Monday 26 June 2006 17:22, John Coppens wrote:
> Hi all.
>
> I was trying to make a manpage with LyX 1.4.1, so I started a new doc
> with the docbook manpage layout. I did a few sections, and exported to
> SGML. The generated SGML had an extra '>' at the beginning:
>
> -----------
>
>
> <manpage><!-- LyX 1.4.1 created this file. For more info see
> http://www.lyx.org <sect1>NAME
> -----------
>
> which caused sgml2txt to cough... But there were many other problems:

  You found a bug. :-(

  To avoid this notice that manpage_linuxdoc example as
title="LyX" sectnum="1"

as Document->Settings->Options

  this will fix at least this problem.

> Apparently the </item> tag isn't generated... I wonder if I'm doing
> things completely wrong here? I found a HowTo on using LyX for DocBook
> things, but it was quite old (announcing LyX 1.2
> http://bgu.chez-alice.fr/doc/db4lyx/)

  Notice that this uses linuxdoc not docbook. I intend to obsolete this layout 
with another based on docbook, and have lyx2lyx do the convertion so it will 
still generated valid document even after linuxdoc is removed.

> I also found references that XML is now preferred to SGML for DocBook,
> but found no way to export that.

  I intend to add this layout this Summer.

> Thanks in advance
> John

-- 
José Abílio

Reply via email to