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:-
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) 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. 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 (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. 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. 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. Cheers, Adam. -- ------------------------------------------------------------------------ | Adam Fowler | | Third year undergraduate | TomcatBook Project | | Computer Science | Author and Administrator | | University of Wales, Aberystwyth | http://tomcatbook.sourceforge.net| | Web: http://users.aber.ac.uk/aff9 | [EMAIL PROTECTED] | ------------------------------------------------------------------------