[CMake] cmake, latex docbook
Hendrik Sattler
post at hendrik-sattler.de
Fri Nov 19 03:31:55 EST 2010
Zitat von luxInteg <lux-integ at btconnect.com>:
> I am learning cmake
> I downloaded CMakeUseLatex from
> http://www.cmake.org/Wiki/CMakeUserUseLATEX
>
> and I scanned through the pdf file but I did not see any references to TEX
> binaries such docbook2html, dblatex etc. So lets say I have a couple a
> docbook_xml files xyxy.docbook abab.docbook
You can use this module:
http://gitorious.org/openobex/mainline/blobs/master/CMakeModules/FindDocbook.cmake
http://gitorious.org/openobex/mainline/blobs/master/CMakeModules/UseDocbook.cmake
which need (Find|Use)Xslt.cmake.
It needs some improvements but works pretty well for manpage and HTML
generation. PDF generation can be added with fop.
You need a XSLT1.1 program (xsltproc, saxon6.5.x or xalan2.x).
HS
More information about the CMake
mailing list