rst2pdf is a free and open source Python utility that provides an alternative way of producing PDF directly using the ReportLab library.
rst2pdf is a cross-platform utility capable of running on any operating system that comes with Python support (e.g. Mac OS X, Windows, Linux).
Detailed instructions on how to install and use the rst2pdf utility on your Mac are available HERE.
Here are some key features of "rst2pdf":
· 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.
· Any number of paragraph styles using the class directive.
· Any number of character styles using text roles.
· Custom page sizes and margins.
· Syntax highlighter for many languages, using Pygments.
· Supports embedding almost any kind of raster or vector images.
· Supports hyphenation (using wordaxe).
· Full user's manual (PDF version)
What's New in This Release: [ read full changelog ]
· Fixed Issue 447: Double-sided always starts on the right (By Rob Ludwick)
· Removed --first-page-even as it was not used anywhere.
· Added --first-page-on-right
· Fixed Issue 464: support alignment via :class: in image directives.
· Fixed Issue 482: Line blocks with indented parts get extraneous spacing
· Fixed Issue 470: Support for :target: in figures.
· New style "image" to be applied to image directives.
· Fixed Issue 485: Better styling support for figures/images (spaceBefore/After)
· Support rst2pdf [inf [outf]] syntax to be more compatible with rst2*
· Implemented Issue 389: New --strip-element-with-class option
· Fixed Issue 474: CellStyle1 is not there in reportlab 2.6
· Removed default padding from DelayedTable, which looked bad on headers/footers.
· Improvements to the math directive (font color and size)
· Better support for styling literals.
· Fixed Issue 454 (Splitting failure)
· Regressed Issue 374 (some literal blocks get oversplit)
· Switched from svglib to svg2rlg
· Removed uniconvertor support