xhtml2pdf converts HTML/XHTML/XHML to PDF using the ReportLab Toolkit, the HTML5lib, and pyPdf. It supports HTML 5 and CSS 2.1 (and some of CSS 3). The main benefit of this tool that a user with Web skills like HTML and CSS is able to generate PDF templates very quickly without learning new technologies.
| Tags | education Documentation Office/Business printing Software Development Libraries Python Modules Text Processing Markup HTML/XHTML Utilities |
|---|---|
| Licenses | GPLv2 GPL |
| Operating Systems | OS Independent |
| Implementation | Python |
Recent releases


Changes: Background colors for inline elements like SPAN. Inline images and left and right aligned images. The option "--system" for a command line tool to dump system version info. The CSS attribute -pdf-line-spacing for fix space between lines. Creation and handling of data URIs with base64 encoding (others to come). A new general file loader that is also able to load remote data and data URIs. PDF Joiner to concatenate many PDF and pisa documents. Page backgrounds can now be images or PDF files.


Changes: The license has been changed to the GPLv2. There are minor changes.


Changes: Extended documentation, some new features, and bugfixes. This release works properly with Google AppEngine.


Changes: Improved stability and support for WSGI.


Changes: This release adds complete Table of Content support, also via CSS definitions.