I asked about this in May but didn't get any reply.

I am looking for a step-by-step guide for using docbook-xml with LyX.

My configure.py has:

\Format docbook-xml xml   "Docbook (XML)"         "" "" "%%"
and
\converter docbook    docbook-xml "cp $$i $$o"  "xml"

I am running lyx 1.4.3 on NetBSD.

The lyx configuration says:

checking for SGML-tools 2.x (DocBook) or db2x scripts...
+checking for "sgmltools"...   no
+checking for "db2dvi"...   no
...
+checking for docbook  class docbook-book...  no
+checking for docbook  class docbook-chapter...  no
+checking for docbook  class docbook-section...  no
+checking for docbook  class docbook...  no


What is the correct URL for downloading db2dvi and/or sgmltools?

Where is using docbook with LyX documented? I see some LinuxDoc 
documented, but I don't think that is correct for my needs.

I found two bogus URLs in the LyX docs: http://www.sgmltools.org and 
http://pobox.com/~cg/sgmltools. I also read that SGMLtools is obsolete and 
the successor, SGMLtools-Lite, is also now obsolete.

I found DocBook tools at http://sources.redhat.com/docbook-tools/ but I am 
unsure which is the one to use.

What is needed for LyX?

Original message below:

-=-=-=-
Date: Sat, 6 May 2006 08:41:38 -0700 (PDT)
Subject: working with docbook

I have a document that begins with:

<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN"
               "http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd";
               [<!ENTITY mdash "&#8212;">]>
<book>
...

It is processed with openjade using a style sheet called:
.../share/sgml/docbook/dsssl/modular/print/docbook.dsl

I spent a lot of time manually converting the entire document to lyx, but 
this means when I make changes I have to do it in two places -- if I want 
to submit back changes. Maybe I should have just used lyx on the original 
XML document and save back in XML.

Can someone please point me to the documentation for reading and saving 
document in XML format using lyx?

I did find:

Document processing with LyX and SGML
http://www.karakas-online.de/mySGML/

Some articles about db4lyx and db2lyx.

http://wiki.lyx.org/LyX/DocBook is empty

5-Minute Review: Using LyX for Creating DocBook
 does not seems to show how to set it up, unless I overlooked it

I also tried grepping through my installed /usr/pkg/share/lyx/doc/ files, 
but didn't find information.
-=-=-=

Reply via email to