XMLtoPDFBook v1.1 released: Create simple PDF books from XML text content

vasudevram vasudevram at gmail.com
Sun Jun 23 23:53:35 CEST 2013


XMLtoPDFBook v1.1 released:

XMLtoPDFBook is a program that lets you create simple PDF books from XML text content, including support for chapter numbers and names, headers and footers, automatic pagination, and page numbers.

Please see this blog post about XMLtoPDFBook:

XMLtoPDFBook now supports chapter numbers and names:
http://jugad2.blogspot.in/2013/06/xmltopdfbook-now-supports-chapter.html

XMLtoPDFBook is not separately released as a stand-alone product; I've added it as one of the components of my larger xtopdf project. But you can use it as a separate product, once you install the prerequisites, which include 1) v1.21 of the open source version of the ReportLab toolkit for PDF creation, and 2) xtopdf itself.

The blog post linked above, has links to download xtopdf (and hence, XMLtoPDFBook). The same post (which also links to a previous post about XMLtoPDFBook), also shows how to use XMLtoPDFBook to generate simple PDF ebooks from the text content in XML files that are created in a specific format. The format is simple: the top-level element should be a <book> element, and the inner elements should be <chapter> elements. Chapter elements can have an optional attribute like this:

<chapter name="chapter_name">

Using this attribute will result in the specific chapter name being displayed in the header for the pages comprising that chapter (in the PDF output).

Here is a guide to installing and using xtopdf:

http://jugad2.blogspot.in/2012/07/guide-to-installing-and-using-xtopdf.html

Enjoy, and give feedback, if any.
- Vasudev Ram
Dancing Bison Enterprises
Python, Linux and open source training and consulting
http://dancingbison.com
http://jugad2.blogspot.com
https://twitter.com/vasudevram



More information about the Python-announce-list mailing list