I just released version 0.6 of this Rst-to-PDF-via-reportlab tool.
This is a major features release, and a major improvement over 0.5.
You can get it via PyPI (package rst2pdf) or from Google Code:
Here are some of the features it provides:
* User-defined page layout. Multiple frames per page, multiple
layouts per document.
* Cascading stylesheet mechanism, define only what you want changed
* Supports TTF font embedding using a custom stylesheet
* Any number of paragraph styles using the class directive
* Any number of character styles using text roles
* Custom page sizes and margins using a custom stylesheet.
* Syntax highlighter for many languages, using Pygments
* Supports hyphenation (using wordaxe)
* Full user's manual
Here's the changelog for the last two versions:
New in 0.6
* Stylesheet-defined page layout (For example, multicolumn) and layout
* Cascading Stylesheets (change exactly what you need changed)
* PDF table of contents
* Current section names and numbers in headers/footers
* Support for compressed PDF files
* Link color is configurable
* Fixed bugs in color handling
* Multilingual hyphenation
* Auto-guessing image size, support for sizes in %
* Gutter margins
* Big refactoring
* More tolerant of minor problems
* Limited _raw_ directive (you can insert pagebreaks and vertical space)
* Implemented a "traditional" docutils writer
* Offer a reasonable API for use as a library
* Fixed copyright/licensing
* code-block now supports including files (whole or in part) so you can
highlight external code.
New in 0.5
* Support for :widths: in tables
* Support for captions in tables
* Support for multi-row headers in tables
* Improved definition lists
* Fixed bug in image directive
* Whitespace conforming to PEP8
* Fixed bug in text size on code-block
* Package is more setuptools compliant
* Fix for option groups in option lists
* Citations support
* Title reference role fix
Hope you enjoy it and/or find it useful.
("\''/").__..-''"`-. . Roberto Alsina
`9_ 9 ) `-. ( ).`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. " -.-' http://lateral.netmanagers.com.ar
_..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia
(l)-'' ((i).' ((!.' according to alexa.com (27/5/2007)
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it. --Brian W. Kernighan