[reportlab-users] [ANN] rst2pdf version 0.7 released

Roberto Alsina ralsina at netmanagers.com.ar
Fri Sep 5 17:40:20 EDT 2008


I just released version 0.7 of this Rst-to-PDF-via-reportlab tool.

**IMPORTANT** rst2pdf needs a new name. There are three tools with the same
name, so suggestions to ralsina at netmanagers.com.ar are appreciated.

This is a major features release, and a major improvement over 0.6.

You can get it via PyPI (package rst2pdf) or from Google Code:
http://rst2pdf.googlecode.com

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 and Type1 font embedding using a custom stylesheet
* "Floating" sidebars (or almost any element)
* Any number of paragraph styles using the class directive
* Any number of character styles using text roles
* Styled table headers and cells
* Custom page sizes and margins.
* Syntax highlighter for many languages, using Pygments
* Supports hyphenation (using wordaxe)
* Full user's manual

You can see a sample of some features here: http://tinyurl.com/5e4h3j

Here's the changelog for the last two versions:

New in 0.7
----------

* Automatic Type1 and True Type font embedding. Just use the font or family
name, and (with a little luck), it will be embedded for you.
* width attribute in styles, to create narrow paragraphs/tables
* Styles for table headers and table cells.
* "Zebra tables".
* Improvements in the handling of overflowing literal blocks (code, for
instance)
* Different modes to handle too-large literal blocks:
overflow/ truncate/ shrink.
* Real sidebars and "floating" elements.
* Fixed link style (no ugly black underlining!)

New in 0.6
----------

* Stylesheet-defined page layout (For example, multicolumn) and layout
switching
* 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.

Hope you enjoy it and/or find it useful.

Best regards,

--
("\''/").__..-''"`-. . 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


More information about the reportlab-users mailing list