On Friday 01 March 2002 00:45, Adam Fowler wrote:
> Hello all,
>
> I'm an administrator on the Tomcat-Book project (see sig) and am looking
> for an easy way to write DocBook XML documents. Also, certain parts of
> the DocBook to FO (And thus PDF) XSL stylesheets seem to be broken. I
> was wondering if you could answer a couple of questions:-

  Welcome. :-) I'm not the author of db2lyx (Ben G. is), but I hope to be 
able to answer some of your questions.

> I just tried following the guidelines for adding DocBook XML support via
> db2lyx and it failed miserably. I finally got the thing to configure,
> then after restarting and re-configuring lyx and re-starting again, the
> import/export options were still not available! Any ideas? I think this
> may be related to the persisting LyX bug whereby after LyX creates my
> $HOME/.lyx directory, upon re-starting the thing hangs on the welcome
> screen. I did report this as a bug but it was subsequently closed
> without resolution (I think the reason was that no-one else could
> re-produce the problem!). This happened on 1.1.6 and I am now using
> 1.2.0CVS (Not the latest copy though, I admit)

  One of the possible causes for that problem is the xforms library compiled 
for a different glibc, other than the one you have.

> Is there a general guideline of how to add import/export functions? LyX
> is a great app but it would be nice if this function worked, and with
> the minimum of fuss. I believe it would really make the usage of LyX
> take off, considering how popular DocBook XML seems to be becoming. I
> may have a bash at it in the next few weeks to get it working. (Its only
> perl/python anyway ;) Easy! *cough*) A simple interactive install script
> should do the job.

  That can be done configuring the different input and output formats, can't 
it?

> Also, does anyone know if db2lyx supports XML entities? I would have a
> trawl through the source but its midnight and I need my beauty sleep

  I would expect it to be supported.

> (yes, I'm lazy). On the project we have a main file with the DTD in that
> declares some entities and then imports them. They basically refer to a
> chapter each which exist in sub-directories of the main tomcatbook.xml
> file's directory. With multiple developers, this is pretty fundamental.

  Oh, you mean those. Yes, it does.

> I suppose it is possible to write an import/export filter that takes a
> chapter XML document, adds the required top level elements, notes where
> they are, then imports the file. Then on exporting, removes the top
> level elements again. Its all a bit complex, mind.

  db2lyx could use some of the existing layout files, such as docbook-chapter.

> I'm on Mandrake 8.1 if that helps. I would list the relevant library
> versions, but I'm not sure how helpful they would be finding the rather
> annoying LyX freeze bug.
>
> Any other options would be gratefully received.

  Please what it works, and what is broken, so that we can fix them.

> Cheers,
>
> Adam.

-- 
José Abílio

Reply via email to