On Wednesday 08 November 2006 12:15 am, Jeremy C. Reed wrote: > I asked about this in May but didn't get any reply.
I am sorry Jeremy, I am the responsible for this area and I have been really busy. > 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? You can use any other toolchain as long as it takes a docbook (either sgml or xml) file and converts it to the final format. sgmltools is not active anymore and db2xxx are a set of tools that wrap calls to other tools (jadetex and company). > Where is using docbook with LyX documented? I see some LinuxDoc > documented, but I don't think that is correct for my needs. You are right, I should document better this path. :-( > 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. Yes. > I found DocBook tools at http://sources.redhat.com/docbook-tools/ but I am > unsure which is the one to use. Perhaps here: ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES db2xxx is in docbook-utils there. > 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 "—">]> > <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. > -=-=-= It is in my list to gather this information in the wiki. My time has been very limited recently though. :-( Every help is welcome. -- José Abílio
