>In my LyX Latex configuration file (LaTeXConfig.lyx) I have this entry (for
>docbook) under Additional Classes.
>4.6 docbook
>Found: no
>CTAN: N/A
>WWW: Url:http://www.sgmltools.org
>Notes: The class docbook is not a LaTeX document class.
>It is designed to produce Docbook SGML documents, which, in turn, can be
>exported as HTML, RTF, text, or dvi (through jadetex). You need the
>sgmltools v2.0 package installed to use this.
I have a Windows NT envrioment set up with OpenJade, JadeTex,
DocBook, stylesheets and whatever else is in here.
so I can performe the desired conversion as long as LyX exports a
sgml file for me.
>I guess that's why it doesn't show up as an available class in the menu
>Layout \ Document \ Class.
>It wasn't clear whether in your case, docbook DOES show as an available
>class or not?
It does show up. As "DocBook Article". When exported to sgml, this has
a doctype of DocBook 3.1. And I have a feeling that LyX does not provide
all the elements of DocBook in the mentioned layout,
>If I try to start a new document from that docbook.layout file and go "view
>dvi" it gives me a LaTeX error even before I've changed or set anything.
>That's why I think that the docbook.layout file is just "for instance" and
>isn't capable of compiling anything. In any case, in my installation, with
>the "docbook" template file, I can not import or export anything more
>relevant than ASCII, so surely the engine room is empty no?
I require conversion to html, pdf and rtf. And I have that. Not from
withing LyX, but that is probably just a matter of configuring LyX
properly. I do it by hand or load the sgml file into Emacs.
By doing it this way, I also get a valid DVI file, no errors, trough
JadeTex. Based on this, I think the docbook.layout file is
working as intented by its authors.
What I do need, and don't have is complete support for
DocBook 4.1 (sgml, not xml) in LyX. Not 3.1. And I need someone
to tell me that the support for this is complete, not a subset.
I don't know how to acomplish this. I am guessing that an edit of
the LyX layout file (docbook.layout) is required, but beyound that
I don't have a clue. And quite frankely, I don't care to find out either
because I don't have the time for it. I'm currently, as I stated previously,
using Emacs with psgml and I will continue to do this unitll somebody
gets around to fix the DocBook document class for LyX.
- IT