GNOME Bugzilla – Bug 466535
generate documentation as pdf
Last modified: 2009-11-26 09:37:23 UTC
add rules to gtkdoc.make to produce pdf files.
Some pointers: http://sagehill.net/docbookxsl/ToolsSetup.html xmlto --skip-validation pdf tester-docs.sgml fails :/ xsltproc --output tester-docs.fo --nonet --xinclude --stringparam gtkdoc.bookname tester --stringparam gtkdoc.version "1.9" /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl ./tester-docs.sgml xmlto pdf tester-docs.fo also fails :/ both create an intermediate tex document that has errors.
Running dblatex on the SGML file works for me, as per http://tecnocode.co.uk/2008/02/25/building-pdfs-of-documentation/. A custom LaTeX style file would probably have to be created, though.
svn trunk has gtkdoc-mkpdf, the makefile changes and configure options to selected the wanted formats. pdf generation is still way far from perfect due to limmitations in the used tools.
I'll close this as fixed. Making pdfs using dblatext is kind of okay for most docs and new versions of dblatex.