{ "info": { "author": "Kirill Simonov (Prometheus Research, LLC)", "author_email": "xi@resolvent.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Documentation", "Topic :: Text Processing" ], "description": "******************************************************************\n ``sphinxcontrib-texfigure`` -- TeX Figure extension for Sphinx\n******************************************************************\n\nOverview\n========\n\n``sphinxcontrib-texfigure`` is a Sphinx_ extension for generating\nfigures and diagrams from TeX files.\n\nFor an example of a diagram this extension could produce, please see\nhttp://htsql.org/doc/overview.html#htsql-in-a-nutshell. For more\nexamples, see ``demo`` directory in the source distribution.\n\nThis extension is similar in scope to `sphinxcontrib-tikz`_ extension,\nbut with different approach to input and options.\n\nThis software is written by Kirill Simonov (`Prometheus Research, LLC`_)\nand released under BSD license.\n\n\nPrerequisites\n=============\n\nThe following executables are used for rasterizing TeX documents:\n\n* ``pdflatex``\n* ``pdftoppm``\n* ``pnmcrop``\n* ``pnmtopng``\n\nOn a Debian_ or a `Debian-derived`_ system, they could be installed\nwith::\n\n # apt-get install texlive\n # apt-get install poppler-utils\n # apt-get install netpbm\n\nIf you want to generate diagrams with TikZ_, install::\n\n # apt-get install texlive-pictures\n\n\nUsage\n=====\n\nTo enable this extension, add the following line to ``conf.py``::\n\n extensions.append('sphinxcontrib.texfigure')\n\nUse ``texfigure`` directive to convert a TeX/LaTeX document to an image.\nFor example::\n\n .. texfigure:: hello-world.tex\n\nThis directive will render *Hello, World!* in a box assuming that\n``hello-world.tex`` contains the following LaTeX document::\n\n \\documentclass{article}\n \\usepackage{tikz}\n \\pagestyle{empty}\n\n \\begin{document}\n \\begin{tikzpicture}\n \\node[draw] {Hello, World!};\n \\end{tikzpicture}\n \\end{document}\n\nUse option ``align`` to specify horizontal alignment, ``alt`` to specify\ntext content of the image::\n\n .. texfigure:: hello-world.tex\n :align: center\n :alt: Hello, World!\n\n\nReference\n=========\n\nDirectives\n----------\n\n``texfigure``\n Renders a figure from a TeX document.\n\n The parameter of the directive must be the path to a TeX/LaTeX file.\n This directive has no body.\n\n Options:\n\n ``align``\n Horizontal alignment (``left``, ``center``, or ``right``)\n ``alt``\n Alternative text content of the image.\n\nConfiguration parameters\n------------------------\n\n``texfigure_pdftex`` (default: ``pdflatex``)\n Path to ``pdftex`` or ``pdflatex`` executable.\n\n``texfigure_pdftoppm`` (default: ``pdftoppm``)\n Path to ``pdftoppm`` executable.\n\n``texfigure_pnmcrop`` (default: ``pnmcrop``)\n Path to ``pnmcrop`` executable.\n\n``texfigure_pnmtopng`` (default: ``pnmtopng``)\n Path to ``pnmtopng`` executable.\n\n``texfigure_texinputs`` (default: ``[]``)\n List of directories where TeX searches for input files.\n\n``texfigure_resolution`` (default: ``110``)\n Image resolution, in DPI.\n\nCSS classes\n-----------\n\n``texfigure``\n Applies to the generated image.\n\n\n.. _Sphinx: http://sphinx-doc.org/\n.. _sphinxcontrib-tikz: https://pypi.python.org/pypi/sphinxcontrib-tikz\n.. _Prometheus Research, LLC: http://prometheusresearch.com/\n.. _Debian: http://debian.org/\n.. _Debian-derived: http://ubuntu.com/\n.. _TikZ: http://www.texample.net/tikz/\n\n.. vim: set spell spelllang=en textwidth=72:", "description_content_type": null, "docs_url": null, "download_url": "http://pypi.python.org/pypi/sphinxcontrib-texfigure", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/prometheus/sphinxcontrib-texfigure", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "sphinxcontrib-texfigure", "package_url": "https://pypi.org/project/sphinxcontrib-texfigure/", "platform": "any", "project_url": "https://pypi.org/project/sphinxcontrib-texfigure/", "project_urls": { "Download": "http://pypi.python.org/pypi/sphinxcontrib-texfigure", "Homepage": "http://bitbucket.org/prometheus/sphinxcontrib-texfigure" }, "release_url": "https://pypi.org/project/sphinxcontrib-texfigure/0.1.3/", "requires_dist": null, "requires_python": null, "summary": "TeX Figure extension for Sphinx", "version": "0.1.3" }, "last_serial": 1429279, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "e658f39e5b4a5ab7e6466bdc42803950", "sha256": "7d13954f2eaee6f760caf671a6110b94ad702314dacb49537a6f9ab47b1f87e1" }, "downloads": -1, "filename": "sphinxcontrib-texfigure-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e658f39e5b4a5ab7e6466bdc42803950", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6865, "upload_time": "2013-03-01T00:46:35", "url": "https://files.pythonhosted.org/packages/9e/c1/3b759941533928d10c0eeb8e88f5e9afcc90ef8804d3e2381d4260445a40/sphinxcontrib-texfigure-0.1.1.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "78e2b6ec6fad9003d95c5c3b519ec622", "sha256": "67f8f1b6ce4bbe2d8cbdbb3dd82b52afa68d5789333c4079d5f7a7c7e239b427" }, "downloads": -1, "filename": "sphinxcontrib_texfigure-0.1.3-py2-none-any.whl", "has_sig": false, "md5_digest": "78e2b6ec6fad9003d95c5c3b519ec622", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7399, "upload_time": "2015-02-19T00:12:40", "url": "https://files.pythonhosted.org/packages/48/40/dc6ca60dae7e2c8b4e7d712a7a59ed56988388923327b2d461a1de8798d1/sphinxcontrib_texfigure-0.1.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8799bfe8644108eb15fedbde330f64e", "sha256": "02511585d01052e4fa2ebc2bda9d242eae08aa9ac0142b2d4ab411d11fcc711e" }, "downloads": -1, "filename": "sphinxcontrib-texfigure-0.1.3.tar.gz", "has_sig": false, "md5_digest": "b8799bfe8644108eb15fedbde330f64e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6822, "upload_time": "2015-02-19T00:12:37", "url": "https://files.pythonhosted.org/packages/bb/7d/6f9128033fa361d69c6f89a0c8d34dbfe5fa822a53ef3dc1a198aa3cff93/sphinxcontrib-texfigure-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "78e2b6ec6fad9003d95c5c3b519ec622", "sha256": "67f8f1b6ce4bbe2d8cbdbb3dd82b52afa68d5789333c4079d5f7a7c7e239b427" }, "downloads": -1, "filename": "sphinxcontrib_texfigure-0.1.3-py2-none-any.whl", "has_sig": false, "md5_digest": "78e2b6ec6fad9003d95c5c3b519ec622", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7399, "upload_time": "2015-02-19T00:12:40", "url": "https://files.pythonhosted.org/packages/48/40/dc6ca60dae7e2c8b4e7d712a7a59ed56988388923327b2d461a1de8798d1/sphinxcontrib_texfigure-0.1.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8799bfe8644108eb15fedbde330f64e", "sha256": "02511585d01052e4fa2ebc2bda9d242eae08aa9ac0142b2d4ab411d11fcc711e" }, "downloads": -1, "filename": "sphinxcontrib-texfigure-0.1.3.tar.gz", "has_sig": false, "md5_digest": "b8799bfe8644108eb15fedbde330f64e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6822, "upload_time": "2015-02-19T00:12:37", "url": "https://files.pythonhosted.org/packages/bb/7d/6f9128033fa361d69c6f89a0c8d34dbfe5fa822a53ef3dc1a198aa3cff93/sphinxcontrib-texfigure-0.1.3.tar.gz" } ] }