Re: class docbook W32

2000-10-16 Thread Idar Tollefsen

  The initial search to detect docbook is for sgmltools or db2html scripts,
I am really aware that you can use it without those wrappers. They call the
tools you have.

  This could be changed, there are several possible ways to do it.
  I would like to hear suggestion. How about to search for (open)jade?

In order to convert the document, yes, do search for openjade as well.
But for anyone to write this type of document, simply make sure that the
right layout files are in place and whatever other LyX specific files are
needed. It's the users problem if he/she wants to write a DocBook
document without the extra tools to actually do anything sensible with them.


 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.

  Yes.

He, he... This was actually a statement of facts, not a question.

  For 1.1.6 there is also docbook-book. It needs some work but the basis are
 there.

Great! I'll whatch out for the Win32 port of it and get it right away for
my Linux box.

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?

  What version do you have (lyx)?
  It is possible to configure the way docbook is converted to any of those
 formats.

I think this might be a problem with MiKTeX. There are versions of JadeTeX
out there made for MiKTeX 1.2?, and when installed it wrecks havoc with
some of the setup.

I installed this version if JadeTeX and started experiencing problems with
the dvi files. I then reinstalled then latest beta of MiKTeX. Both have 
worked just fine after that, and I once again have correct dvi files.

  The support is not complete, is work in progress. We are missing mainly
the inline elements, that will be supported as soon as the Logical
Characther Styles are implemented.

I'm only too happy to hear that there is some sort of progress on the matter.



- IT





Re: class docbook W32

2000-10-16 Thread Idar Tollefsen

  The initial search to detect docbook is for sgmltools or db2html scripts,
I am really aware that you can use it without those wrappers. They call the
tools you have.

  This could be changed, there are several possible ways to do it.
  I would like to hear suggestion. How about to search for (open)jade?

In order to convert the document, yes, do search for openjade as well.
But for anyone to write this type of document, simply make sure that the
right layout files are in place and whatever other LyX specific files are
needed. It's the users problem if he/she wants to write a DocBook
document without the extra tools to actually do anything sensible with them.


 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.

  Yes.

He, he... This was actually a statement of facts, not a question.

  For 1.1.6 there is also docbook-book. It needs some work but the basis are
 there.

Great! I'll whatch out for the Win32 port of it and get it right away for
my Linux box.

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?

  What version do you have (lyx)?
  It is possible to configure the way docbook is converted to any of those
 formats.

I think this might be a problem with MiKTeX. There are versions of JadeTeX
out there made for MiKTeX 1.2?, and when installed it wrecks havoc with
some of the setup.

I installed this version if JadeTeX and started experiencing problems with
the dvi files. I then reinstalled then latest beta of MiKTeX. Both have 
worked just fine after that, and I once again have correct dvi files.

  The support is not complete, is work in progress. We are missing mainly
the inline elements, that will be supported as soon as the Logical
Characther Styles are implemented.

I'm only too happy to hear that there is some sort of progress on the matter.



- IT





Re: class docbook W32

2000-10-16 Thread Idar Tollefsen

>  The initial search to detect docbook is for sgmltools or db2html scripts,
>I am really aware that you can use it without those wrappers. They call the
>tools you have.

>  This could be changed, there are several possible ways to do it.
>  I would like to hear suggestion. How about to search for (open)jade?

In order to convert the document, yes, do search for openjade as well.
But for anyone to write this type of document, simply make sure that the
right layout files are in place and whatever other LyX specific files are
needed. It's the users problem if he/she wants to write a DocBook
document without the extra tools to actually do anything sensible with them.


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

>  Yes.

He, he... This was actually a statement of facts, not a question.

>  For 1.1.6 there is also docbook-book. It needs some work but the basis are
> there.

Great! I'll whatch out for the Win32 port of it and get it right away for
my Linux box.

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

>  What version do you have (lyx)?
>  It is possible to configure the way docbook is converted to any of those
> formats.

I think this might be a problem with MiKTeX. There are versions of JadeTeX
out there made for MiKTeX 1.2?, and when installed it wrecks havoc with
some of the setup.

I installed this version if JadeTeX and started experiencing problems with
the dvi files. I then reinstalled then latest beta of MiKTeX. Both have 
worked just fine after that, and I once again have correct dvi files.

>  The support is not complete, is work in progress. We are missing mainly
>the inline elements, that will be supported as soon as the Logical
>Characther Styles are implemented.

I'm only too happy to hear that there is some sort of progress on the matter.



- IT





Re: class docbook W32

2000-10-13 Thread Idar Tollefsen

I noticed your recent posts about using Docbook with the Win32 port of LyX.
I'd like to use Docbook with Win32 LyX too, but have been unable to find a file or 
package to install the document class - at the moment it's not even in my list of 
available styles
I noticed that Marek Woloszyk mentions "sgml2lyx".  I thought that was the file used 
with LinuxDoc, but in any case I have been unable to find anything suitable on the 
net.
I have the Docbook DTDs etc but would be very grateful if somebody can help with info 
about the package I need to get LyX to show me a Docbook document class.

I have a DocBook Article layout availabel in my LyX. This is the latest LyX release 
for Win32,
maybe you should consider upgrading if you are not running the latest one?

However, this is DocBook 3.1, not the latest (4.1). And what does the "Article" bit of 
it mean?
Is this not a full fledge DocBook layout, but a subset? I can't seem to find the 
answers to these
things. Neither can I find a layout for DocBook 4.1. The only chance seems to be to 
edit the
existing layout file for the DocBook 3.1 Article, however I don't feel competent 
enough to do
this, neither do I have the time.

For the time beeing, I'm useing Emacs with psgml. It works, but is of course a lot 
more work
because I manually have to insert the tags and worrie about the layout of the text 
itself so
that it will be possible to find it again at a later point.

I hope to see the DocBook 4.1 layout somewhere out there soon.


- IT








Re: class docbook W32

2000-10-13 Thread Idar Tollefsen

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





Re: class docbook W32

2000-10-13 Thread Jose Abilio Oliveira Matos

On Fri, Oct 13, 2000 at 04:39:06PM +0200, Idar Tollefsen wrote:
 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.

  The initial search to detect docbook is for sgmltools or db2html scripts,
I am really aware that you can use it without those wrappers. They call the
tools you have.

  This could be changed, there are several possible ways to do it.
  I would like to hear suggestion. How about to search for (open)jade?

 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.

  Yes.

 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,

  For 1.1.6 there is also docbook-book. It needs some work but the basis are
there.

 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?

  What version do you have (lyx)?
  It is possible to configure the way docbook is converted to any of those
formats.

 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.

  The support is not complete, is work in progress. We are missing mainly
the inline elements, that will be supported as soon as the Logical
Characther Styles are implemented.

  I have thought about the limitations regarding the availability of the
different versions of docbook available, 3.0, 3.1, 3.1.x, 4.0, 4.1.x...
  And these versions have different flavours, sgml/xml.
  It is possible to have all those cases to be configured via lyxrc in
~/.lyx that would help alot.

  Example:
  \dtd docbook "PUBLIC" "-//OASIS//DTD DocBook V3.1//EN"
  \dtd docbook-xml "PUBLIC" "-//Norman Walsh//DTD DocBk XML V3.1.7//EN" "docbookx.dtd"
  \dtd website "SYSTEM" "/usr/lib/sgml/dtd/website.dtd"
  
  The first parameter after the dtd would be present in the layout files.
  
  Also using the new converter from 1.1.6 we could specify different
transformations for different formats, something like:

  \convert docbook dvi "method1"
  \convert docbook-xml ps "method2"
  \convert website html "method3"

 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. 

  Presently the version of the docbook dtd used is hardcoded in src/buffer.C
  Any help to improve the docbook support is welcome.
  
 
 - IT

-- 
José



Re: class docbook W32

2000-10-13 Thread Idar Tollefsen

I noticed your recent posts about using Docbook with the Win32 port of LyX.
I'd like to use Docbook with Win32 LyX too, but have been unable to find a file or 
package to install the document class - at the moment it's not even in my list of 
available styles
I noticed that Marek Woloszyk mentions "sgml2lyx".  I thought that was the file used 
with LinuxDoc, but in any case I have been unable to find anything suitable on the 
net.
I have the Docbook DTDs etc but would be very grateful if somebody can help with info 
about the package I need to get LyX to show me a Docbook document class.

I have a DocBook Article layout availabel in my LyX. This is the latest LyX release 
for Win32,
maybe you should consider upgrading if you are not running the latest one?

However, this is DocBook 3.1, not the latest (4.1). And what does the "Article" bit of 
it mean?
Is this not a full fledge DocBook layout, but a subset? I can't seem to find the 
answers to these
things. Neither can I find a layout for DocBook 4.1. The only chance seems to be to 
edit the
existing layout file for the DocBook 3.1 Article, however I don't feel competent 
enough to do
this, neither do I have the time.

For the time beeing, I'm useing Emacs with psgml. It works, but is of course a lot 
more work
because I manually have to insert the tags and worrie about the layout of the text 
itself so
that it will be possible to find it again at a later point.

I hope to see the DocBook 4.1 layout somewhere out there soon.


- IT








Re: class docbook W32

2000-10-13 Thread Idar Tollefsen

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





Re: class docbook W32

2000-10-13 Thread Jose Abilio Oliveira Matos

On Fri, Oct 13, 2000 at 04:39:06PM +0200, Idar Tollefsen wrote:
 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.

  The initial search to detect docbook is for sgmltools or db2html scripts,
I am really aware that you can use it without those wrappers. They call the
tools you have.

  This could be changed, there are several possible ways to do it.
  I would like to hear suggestion. How about to search for (open)jade?

 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.

  Yes.

 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,

  For 1.1.6 there is also docbook-book. It needs some work but the basis are
there.

 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?

  What version do you have (lyx)?
  It is possible to configure the way docbook is converted to any of those
formats.

 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.

  The support is not complete, is work in progress. We are missing mainly
the inline elements, that will be supported as soon as the Logical
Characther Styles are implemented.

  I have thought about the limitations regarding the availability of the
different versions of docbook available, 3.0, 3.1, 3.1.x, 4.0, 4.1.x...
  And these versions have different flavours, sgml/xml.
  It is possible to have all those cases to be configured via lyxrc in
~/.lyx that would help alot.

  Example:
  \dtd docbook "PUBLIC" "-//OASIS//DTD DocBook V3.1//EN"
  \dtd docbook-xml "PUBLIC" "-//Norman Walsh//DTD DocBk XML V3.1.7//EN" "docbookx.dtd"
  \dtd website "SYSTEM" "/usr/lib/sgml/dtd/website.dtd"
  
  The first parameter after the dtd would be present in the layout files.
  
  Also using the new converter from 1.1.6 we could specify different
transformations for different formats, something like:

  \convert docbook dvi "method1"
  \convert docbook-xml ps "method2"
  \convert website html "method3"

 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. 

  Presently the version of the docbook dtd used is hardcoded in src/buffer.C
  Any help to improve the docbook support is welcome.
  
 
 - IT

-- 
José



Re: class docbook W32

2000-10-13 Thread Idar Tollefsen

>I noticed your recent posts about using Docbook with the Win32 port of LyX.
>I'd like to use Docbook with Win32 LyX too, but have been unable to find a file or 
>package to install the document class - at the moment it's not even in my list of 
>available styles
>I noticed that Marek Woloszyk mentions "sgml2lyx".  I thought that was the file used 
>with LinuxDoc, but in any case I have been unable to find anything suitable on the 
>net.
>I have the Docbook DTDs etc but would be very grateful if somebody can help with info 
>about the package I need to get LyX to show me a Docbook document class.

I have a DocBook Article layout availabel in my LyX. This is the latest LyX release 
for Win32,
maybe you should consider upgrading if you are not running the latest one?

However, this is DocBook 3.1, not the latest (4.1). And what does the "Article" bit of 
it mean?
Is this not a full fledge DocBook layout, but a subset? I can't seem to find the 
answers to these
things. Neither can I find a layout for DocBook 4.1. The only chance seems to be to 
edit the
existing layout file for the DocBook 3.1 Article, however I don't feel competent 
enough to do
this, neither do I have the time.

For the time beeing, I'm useing Emacs with psgml. It works, but is of course a lot 
more work
because I manually have to insert the tags and worrie about the layout of the text 
itself so
that it will be possible to find it again at a later point.

I hope to see the DocBook 4.1 layout somewhere out there soon.


- IT








Re: class docbook W32

2000-10-13 Thread Idar Tollefsen

>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





Re: class docbook W32

2000-10-13 Thread Jose Abilio Oliveira Matos

On Fri, Oct 13, 2000 at 04:39:06PM +0200, Idar Tollefsen wrote:
> >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.

  The initial search to detect docbook is for sgmltools or db2html scripts,
I am really aware that you can use it without those wrappers. They call the
tools you have.

  This could be changed, there are several possible ways to do it.
  I would like to hear suggestion. How about to search for (open)jade?

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

  Yes.

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

  For 1.1.6 there is also docbook-book. It needs some work but the basis are
there.

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

  What version do you have (lyx)?
  It is possible to configure the way docbook is converted to any of those
formats.

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

  The support is not complete, is work in progress. We are missing mainly
the inline elements, that will be supported as soon as the Logical
Characther Styles are implemented.

  I have thought about the limitations regarding the availability of the
different versions of docbook available, 3.0, 3.1, 3.1.x, 4.0, 4.1.x...
  And these versions have different flavours, sgml/xml.
  It is possible to have all those cases to be configured via lyxrc in
~/.lyx that would help alot.

  Example:
  \dtd docbook "PUBLIC" "-//OASIS//DTD DocBook V3.1//EN"
  \dtd docbook-xml "PUBLIC" "-//Norman Walsh//DTD DocBk XML V3.1.7//EN" "docbookx.dtd"
  \dtd website "SYSTEM" "/usr/lib/sgml/dtd/website.dtd"
  
  The first parameter after the dtd would be present in the layout files.
  
  Also using the new converter from 1.1.6 we could specify different
transformations for different formats, something like:

  \convert docbook dvi "method1"
  \convert docbook-xml ps "method2"
  \convert website html "method3"

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

  Presently the version of the docbook dtd used is hardcoded in src/buffer.C
  Any help to improve the docbook support is welcome.
  
> 
> - IT

-- 
José