On Sun, Oct 03, 1999 at 06:08:35PM +0200, Friedemann Baitinger wrote:
> just upgraded to the new version and wanted to immediately try the new
> DocBook style in order to export to .sgml. Unfortunately I can't find
> any way to convert the resulting .sgml output to .html. I have tried
> 'sgml-tools-1.0.9' as well as 'sgmltools-2.0.2' to no success. What are
> you LyX experts using in order to make the DocBook stuff convertable
> from .sgml to .html?
> 
> PS: The errors I get from sgmltools-2.0.2 are:

  The sgmltools v2.0.3 (as soon as it gets out) is the prefered version
to use with lyx 1.0.4
 
> baiti@blackbox>sgmltools -b html newfile.sgml
> 
> /usr/local/bin/jade:<OSFD>0:1:57:W: cannot generate system identifier
> for public text "-//OASIS//DTD DocBook V3.1//EN"
> /usr/local/bin/jade:<OSFD>0:1:57:E: reference to entity "ARTICLE" for
> which no system identifier could be generated
> /usr/local/bin/jade:<OSFD>0:1:0: entity was defined here
> /usr/local/bin/jade:<OSFD>0:1:57:E: DTD did not contain element
> declaration for document type name
> /usr/local/bin/jade:<OSFD>0:6:9:E: element "ARTICLE" undefined
> /usr/local/bin/jade:<OSFD>0:7:12:E: element "ARTHEADER" undefined
> /usr/local/bin/jade:<OSFD>0:8:9:E: element "TITLE" undefined
> /usr/local/bin/jade:<OSFD>0:11:9:E: element "AUTHOR" undefined
> /usr/local/bin/jade:<OSFD>0:16:8:E: element "SECT1" undefined
> /usr/local/bin/jade:<OSFD>0:17:9:E: element "TITLE" undefined
> /usr/local/bin/jade:<OSFD>0:20:7:E: element "PARA" undefined
> 
> the .sgml input was generated by LyX-1.0.4 and looked like:

  Please, change this first line to:
<!doctype article public "-//Davenport//DTD DocBook V3.0//EN">

> <!DOCTYPE Article PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
> 
> <!-- DocBook file was created by LyX 1.0 (C) 1995-1999
> by <baiti> Sun Oct  3 16:16:39 1999
>  -->
>  <article>
>   <artheader>
>    <title>
>   Test DocBook
>   </title>
>   <author>
>   Friedemann Baitinger
>   </author>
>   </artheader>
>   <sect1>
>    <title>
>   Introduction
>   </title>
>   <para>
>   Just some dummy text.
>   </para>
>   </sect1>
>  </article>
> 

  As you see the difference is the docbook dtd supported, 3.0 vs 3.1

  Please note also that the author field should be:

  <author><firstname>Friedemann</firstname><surname>Baitinger</surname></author>

  See on the docbook template and the docbook example file  how to do it with lyx.

> -- 
> Friedemann Baitinger       [EMAIL PROTECTED]      http://baiti.net/fb
> 
> Go straight to the docs.  Do not pass GO.  Do not collect $200!

-- 
Jos�

Reply via email to