Zitat von "Cliff Yapp" <cliffy...@gmail.com>:

On 11/19/2010 03:31 AM, Hendrik Sattler wrote:
Zitat von luxInteg <lux-in...@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

Those look quite interesting.  Looking at the toplevel project, it
appears to be GPL - is there any chance you could license those specific
files under the same license as CMake?  Perhaps they could be polished
into Docbook modules that we could propose for inclusion in CMake
proper, if that is of interest to the Kitware guys.

I am the only author of those modules and you can put them under the same license as cmake if you wish to do so.

Following things can be improved:
The list of generated files is currently determined at cmake time, thus you must re-run cmake when that list possibly changes (which is not on every edit). Additionally, that list generation only works with reference and refentry tags, so even fails with the docbook that cmake generates. However, generating the list of file is independent from all of the other functionality.

HS

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to