{ "info": { "author": "Steve Ratcliffe", "author_email": "sr@parabola.me.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Text Processing :: Filters" ], "description": "Pygments formatter for xsl-fo output\n====================================\n\nThis is a formatter for `pygments `__ that produces\noutput marked up with tags with the appropriate colour and other\npresentational attributes set according to the pygments style in use.\n\nTo be useful this must be embeded in a complete xsl-fo document. It was\ndeveloped for use with `asciidoc `__ to produce\nPDF's using `fop `__ with minimal\nconfiguration or extra dependencies.\n\nIt is possible that it could be used in more general docbook to pdf tool\nchains.\n\nInstallation\n------------\n\nInstall from pypi:\n\n.. code:: console\n\n $ pip install pygments-xslfo-formatter\n\nTo install from the from the source distibution. Use any of the normal\ninstallation methods from the top directory of the distribution to install.\n\n.. code:: console\n\n $ python setup.py install # Usual setup.py installation method\n\n $ pip install . # Using pip\n\nThis will install pygments if it is not already installed. You can check\nthat it is working by listing the formatters and checking for the\npresence of one containing *xslfo*.\n\n.. code:: console\n\n $ pygmentize -L formatters\n Formatters:\n ~~~~~~~~~~~\n [... ommitted output ...]\n * xslfo, xsl-fo:\n Format tokens as XSL-FO ```` tags.\n\nUsage\n-----\n\nAs this just adds a new formatter type to pygments, you just use' xslfo'\nwhere ever you might, for example, specify 'html' as a formatter name.\n\n.. code:: console\n\n $ pygmentize -f xslso -l python setup.py\n\nYou should see lots of tags\n\nTo use with asciidoc, which is the initial purpose of this extension\nlook at the example directory which contains a simple but complete\nexample.\n\nExample result\n--------------\n\nYou can see an example pdf file\nhere:\\ `[1] `__", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/sratcliffe/pygments-xslfo-formatter", "keywords": "syntax highlighting xsl-fo", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pygments-xslfo-formatter", "package_url": "https://pypi.org/project/pygments-xslfo-formatter/", "platform": "any", "project_url": "https://pypi.org/project/pygments-xslfo-formatter/", "project_urls": { "Homepage": "https://bitbucket.org/sratcliffe/pygments-xslfo-formatter" }, "release_url": "https://pypi.org/project/pygments-xslfo-formatter/1.1.2/", "requires_dist": null, "requires_python": "", "summary": "A pygments formatter that outputs tags", "version": "1.1.2" }, "last_serial": 1971512, "releases": { "1.1": [ { "comment_text": "", "digests": { "md5": "d6096863b6734ed5c0d058ffec59f012", "sha256": "4a7a22f1d0fc344de4b0def044fd30b5f945bda4cb47e94e08926ceeecc60d88" }, "downloads": -1, "filename": "pygments_xslfo_formatter-1.1-py2-none-any.whl", "has_sig": true, "md5_digest": "d6096863b6734ed5c0d058ffec59f012", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4235, "upload_time": "2014-06-20T20:09:04", "url": "https://files.pythonhosted.org/packages/aa/9b/5e8e94918ea1edf1f4d9984295afd936525662781e35be5ffa556fafe9d2/pygments_xslfo_formatter-1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "95fec9d8f2526763b8a0b7b8bd6814fd", "sha256": "db12b185153cf88a217a24bc8f4de5c2ff04ec550589161a23e070961d868174" }, "downloads": -1, "filename": "pygments-xslfo-formatter-1.1.tar.gz", "has_sig": true, "md5_digest": "95fec9d8f2526763b8a0b7b8bd6814fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3392, "upload_time": "2014-06-20T20:09:06", "url": "https://files.pythonhosted.org/packages/02/f3/2856b0997c392ade07e3574f47795de152183bc03d214525af3673763a64/pygments-xslfo-formatter-1.1.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "a372d9669c24aa5d02956d3933bb526a", "sha256": "b9c284bdd403e068b3c168eb2b4e97054cc54143423edc7ad4d8c4d5b8b56248" }, "downloads": -1, "filename": "pygments_xslfo_formatter-1.1.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "a372d9669c24aa5d02956d3933bb526a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6030, "upload_time": "2015-07-07T22:22:03", "url": "https://files.pythonhosted.org/packages/9d/d6/8ecb464ebf688e326bbf392cef056eb90c72733b7b5958a2621bbc003fa4/pygments_xslfo_formatter-1.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e8359ade5bb6c64fae273f839f94113b", "sha256": "d2ea14f28e7d7a65ac34a74cdcfa873a2804b61032fca98e7da8503cadf39b87" }, "downloads": -1, "filename": "pygments-xslfo-formatter-1.1.1.tar.gz", "has_sig": true, "md5_digest": "e8359ade5bb6c64fae273f839f94113b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4009, "upload_time": "2015-07-07T22:22:11", "url": "https://files.pythonhosted.org/packages/b6/d7/70c449b110cb6a0d9ff64d9877ddc9c3cf5f57192df4ce9137f5dc3e0d32/pygments-xslfo-formatter-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "abfff20e1510f14e2c0bd28dee4b087e", "sha256": "f2f4b94b104c160d02a463db200cba29e25bc3bea6c56bdd343f529acd2bd4f5" }, "downloads": -1, "filename": "pygments-xslfo-formatter-1.1.2.tar.gz", "has_sig": true, "md5_digest": "abfff20e1510f14e2c0bd28dee4b087e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4044, "upload_time": "2016-02-23T11:46:05", "url": "https://files.pythonhosted.org/packages/7a/69/489822b71c1d829eca34995a5dcd9f938a7552cd21b2c62468807f929cfd/pygments-xslfo-formatter-1.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "abfff20e1510f14e2c0bd28dee4b087e", "sha256": "f2f4b94b104c160d02a463db200cba29e25bc3bea6c56bdd343f529acd2bd4f5" }, "downloads": -1, "filename": "pygments-xslfo-formatter-1.1.2.tar.gz", "has_sig": true, "md5_digest": "abfff20e1510f14e2c0bd28dee4b087e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4044, "upload_time": "2016-02-23T11:46:05", "url": "https://files.pythonhosted.org/packages/7a/69/489822b71c1d829eca34995a5dcd9f938a7552cd21b2c62468807f929cfd/pygments-xslfo-formatter-1.1.2.tar.gz" } ] }