获取 GTK-Doc
1.3.1. 要求
Perl v5- 主脚本是Perl格式。
DocBook DTD v3.0 - 这是DocBook SGML DTD的链接. http://www.ora.com/davenport
Jade v1.1 -这是一个DSSSL处理器,用来把SGML转换为各种格式。http://www.jclark.com/jade
Modular DocBook Stylesheets This is the DSSSL code to convert DocBook to HTML (and a few other formats). It's used together with jade. I've customized the DSSSL code slightly, in gtk-doc.dsl, to colour the program code listings/declarations, and to support global cross-reference indices in the generated HTML. http://nwalsh.com/docbook/dsssl
docbook-to-man - if you want to create man pages from the DocBook. I've customized the 'translation spec' slightly, to capitalise section headings and add the 'GTK Library' title at the top of the pages and the revision date at the bottom. There is a link to this on http://www.ora.com/davenport NOTE: This does not work yet.
1.3.2. 安装
DocBook Modular Stylesheets没有标准的安装位置。
GTK-Doc 的配置脚本会自动地查找这三个目录:
/usr/lib/sgml/stylesheets/nwalsh-modular (在 RedHat 中使用)
/usr/lib/dsssl/stylesheets/docbook (在 Debian 中使用)
/usr/share/sgml/docbkdsl (在 SuSE 中使用)
如果把样式表安装在其它地方,您必须用这个选项来配置GTK-Doc: --with-dsssl-dir=<PATH_TO_TOPLEVEL_STYLESHEETS_DIR> 。