Summary: | Entities not usable with DocBook XML 4.2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paul Eggleton <bluelightning> |
Component: | [OLD] Development | Assignee: | Text-Markup Team (OBSOLETE) <text-markup+disabled> |
Status: | RESOLVED INVALID | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Simple example DocBook xml file
Output from docbook2html helloworld.xml |
Description
Paul Eggleton
2003-12-15 22:12:25 UTC
Created attachment 22272 [details]
Simple example DocBook xml file
Created attachment 22273 [details]
Output from docbook2html helloworld.xml
Are you wanting to use the SGML or the XML DTD's ? Jade's looking up the SGML entities, not the XML ones. From the manpage: "For the moment, jw does not handle XML, but only SGML." Can you try with xsltproc, see if it handles the conversion okay ? I want to use XML for my documents, and after some testing xsltproc does seem to work. Initially I couldn't figure out how to get it to process a document, but then I stumbled upon the "xmlto" package which uses xsltproc and works very well, although it insists on downloading the dtd and then eventually fails (not sure why, the URI is correct) every time. Also, the xmlto package seems to be masked in portage for some reason (?) xmlto had some teething problems which is why it's had a longer-than-average period in ~arch, but it'll be moving to stable (on x86 at least) pretty soon. If you're having errors about downloading DTD's etc, it's most likely funny /etc/xml/catalog and /etc/xml/docbook files. I'm just about to commit new versions of docbook-xsl-stylesheets and docbook-xml-dtd's so if you can upgrade and try again, see if the problem persists. If not, please report back that all is well :) Apologies, I'm going to hold off on the commit for tomorrow, there's one outstanding issue. Thanks. If you want to fix your catalogs do rm /etc/xml/{catalog,docbook} emerge libxml2 emerge docbook-xsl-stylesheets =docbook-xml-dtd-4.1.2-r4 =docbook-xml-4.2 This bug was initially about using the wrong tool for the job, and then about broken local catalogs. Please try the fix I've mentioned here, and I do apologise for the state of the catalogs, I'm working on the fix now (but I always say that don't I?) .. I am. Actually after fixing my document's header (downgrading it to docbook 4.1.2 and specifying the DTD with no path) it now processes fine with xmlto. I haven't needed to delete and reinstall the catalogs. Thanks for your help and hard work :) Hey, that's what we're here for. No problem, good to hear it worked. |