You are not logged in.
has anyone packaged anything that will convert a docbook XML to a PDF? if not, would anyone be interested if I were to package the docbook-tools and place them in AUR?
Offline
I would like them in the AUR!
Offline
iBertus : put it in there dude! if you can't it in there assume it ain't there
Offline
OK - I've got three packages, xmltex, passivetex and xmlto that i'll put on AUR in the next few days, once testing is complete and I iron out some of the bugs.
These pkgs will allow you to convert docbook XML to html, postscript and pdf, along with several other formats. However, packaging these is/was a pain in the ass so I don't promise perfection, yet.
Offline
OK - I've got three packages, xmltex, passivetex and xmlto that i'll put on AUR in the next few days, once testing is complete and I iron out some of the bugs.
These pkgs will allow you to convert docbook XML to html, postscript and pdf, along with several other formats. However, packaging these is/was a pain in the ass so I don't promise perfection, yet.
I'm looking forward to your packages.
By the way, I've gotten XHTML output working properly in Arch. Because it involved quite a bit of RTFM, I'm providing info in this post, once the wiki is migrated to mediawiki I'll make a page "docbook on Arch". iBertus, if you would like to add some info, that would be great!
Here's what I have so far:
So to set up docbook running on arch:
pacman -S docbook-xml docbook-xsl libxslt libxml2
Assuming our docbook document is in File.xml.
To validate the XML file use:
xmllint --valid --noout File.xml
This will generate no output if the file is proper XML.
Then, to convert into a XHTML file (single file) use:
xsltproc /usr/share/xml/docbook/xhtml/docbook.xsl File.xml > Output.html
To convert into a a segmented XHTML file (each section in its own file) use:
xsltproc /usr/share/xml/docbook/xhtml/chunk.xsl File.xml
Offline
And of course you can add these to ~/.bashrc:
alias doc2html1="xsltproc /usr/share/xml/docbook/xhtml/docbook.xsl"
alias doc2multihtml="xsltproc /usr/share/xml/docbook/xhtml/chunk.xsl"
alias docvalidate="xmllint --valid --noout"
Offline
thanks for the info! i'll try and get these packages on AUR once I get 'em working right. i've had several things happen in the past few days that have caused major delays.
Offline
this should to in the wiki
The impossible missions are the only ones which succeed.
Offline
The wiki is currently under the process to being migrated from phpWkiki to MediaWiki. So it might be better to wait until it's finalized.
Offline
Yeah, that's exactly what I said
Once the wiki is migrated, I'll be sure to put this info into wiki. If anybody has any info to add, fire away !
Offline
Ooops... I missed that point.
Offline
OK, Ive added it to the wiki at:
http://www.archlinux.org/archwiki/index.php/Docbook
Offline
Thanks max! I've sorta gotten stalled with the PDF conversion stuff. I'll pick back up as soon as possible. Been busy the last few days getting my sig. other ready to start her PhD program this fall
Offline
Cool! Best of luck to her
Offline