wiki:TracDocBookPlugin

Version 6 (modified by trumbitta, 6 years ago) (diff)

--

Trac DocBook Plugin

Description

Adds support for DocBook syntax to the Trac Wiki.

Based on docbook.py processor by Simon Ward.

You will find some unused stuff (imports and defs); that's because:

  • I started from TracMathPlugin
  • I'm not a Python programmer
  • the current version works for me
  • I've not time nor the required skills for mantaining this plugin :-/

Bugs/Feature Requests

Existing bugs and feature requests for TracDocBookPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out TracDocBookPlugin from here using Subversion, or browse the source with Trac.

Installing

Requires:

  • python-libxslt
  • python-libxml
  • docbook-xsl
root@hostname:~# easy_install http://trac-hacks.org/svn/tracdocbookplugin/0.11/

Configuring

Enable as usual in trac.ini

[components]
tracdocbook.tracdocbook.tracdocbookplugin = enabled

Specify the docbook stylesheet in trac.ini

[tracdocbook]
stylesheet = /usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl

The previous stylesheet path will work out-of-the-box with Ubuntu 8.10 and docbook-xsl package

Example

{{{
#!docbook
... some docbook syntax ...
}}}

Recent Changes

[6032] by trumbitta on 2009-06-11 12:10:26
#fixes 5354
[6031] by trumbitta on 2009-06-11 12:07:16
[6030] by trumbitta on 2009-06-11 12:06:33

Author/Contributors

Author: trumbitta
Contributors: