{
"info": {
"author": "Joel Rivera",
"author_email": "rivera@joel.mx",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Topic :: Office/Business",
"Topic :: Software Development :: Libraries",
"Topic :: Text Processing :: Filters"
],
"description": "Python Preprocessor of the Formatting Objects Processor [pypfop]\r\n================================================================\r\n\r\nDocument preprocessor for `Apache FOP`_.\r\n\r\nHow does it works?\r\n------------------\r\nIt does what the huge title is implying, preprocess a *higher* level template\r\nto generate *dynamically* an specific `XSL-FO`_ document, which then gets \r\nfed to `Apache FOP`_ and generate the expected output. So that means that\r\nthis packages *requires Java* ``>_<'``, but fear not!, it is almost transparent \r\nto the python application.\r\n\r\nIn general the internal workflow is::\r\n\r\n template -> mako -> apply css -> xsl-fo -> fop -> *Document*\r\n\r\n\r\nInstallation\r\n------------\r\n\r\n1. Install pypfop::\r\n\r\n pip install pypfop\r\n\r\n2. Install `Apache FOP`_:\r\n\r\n #. Download the binary package of fop1.1 either the zip_ or tar_ package.\r\n #. Decompress in wherever place you like and set environment variable ``FOP_CMD``\r\n to the ``bin/fop`` of the decompressed folder. [1]_\r\n\r\n\r\nUsage\r\n-----\r\n\r\nThe Markup\r\n^^^^^^^^^^\r\n\r\nThe markup used to generate the documents is almost the same as the xsl-fo, the only\r\ndifference is that is not necessary to set the xml namespace to all the elements,\r\nfor example::\r\n\r\n