I've tried converting several minimal docbook xml documents using docbook2pdf, and it doesn't work. Using stylesheet: /usr/share/sgml/docbook/utils-0.6.12/docbook-utils.dsl#print Working on: /home/oliver/tmp/TaskList/foo.xml jade:/home/oliver/tmp/TaskList/foo.xml:4:64:E: URL not supported by this version Here's the contents of "foo.xml": <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN" "http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd"> <article> <title>Article Title</title> <para>Here's a paragraph</para> </article> I tried using "4.2" and "4.1" version of the DocBook XML DTD, but I got similar errors for all of them. A "foo.tex" file is created, but no pdf. Reproducible: Always Steps to Reproduce: 1. 2. 3. Expected Results: Was hoping for a pdf file ;-).
Created attachment 16454 [details] Output from docbook2pdf I get the same error as above plus a lot of other error when running 'docbook2pdf foo.xml' - attached a copy of the output.
[from /usr/share/doc/docbook-sgml-utils-0.6.12-r1/html/jw.html] "For the moment, jw does not handle XML, but only SGML." (the docbook2* are wrappers around jw), not sure how old the documentation is though, but looks like it's unsupported, you'll see it only lists the sgml catalogs in the list.
okay, i've been playing around a lot trying to get this to work, but it seems to be refusing. it needs to do a 2 stage conversion to get to pdf, docbook -> tex -> pdf, and it completes the tex conversion, just wont go to pdf. all the other tools seem to work, which is annoying.
okay, docbook2pdf works fine for me on both XML/SGML DocBook files. the trick is to ensure you have _no errors_ at all. for example the line jade:/home/brix/tmp/foo.xml:4:64:E: URL not supported by this version in the attachment in comment #1 will cause openjade to return 1, and docbook2pdf (which is really just a simple bash wrapper) needs it to return 0 before it will proceed on to pdflatex. here's the correct DocBook for the example in comment #0. <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"> <article> <articleinfo> <title>Article Title</title> </articleinfo> <para>Here's a paragraph</para> </article> if you can provide a concrete log where your DocBook file has _no_ errors, yet docbook2pdf still doesnt work, then we'll reopen. until then this is invalid.