{ "info": { "author": "Bearstech", "author_email": "jcharpentier@bearstech.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django-signature\n================\n\nApplication to parse & make PDFs with Django\n\nhttp://bitbucket.org/bearstech/django-latex/\n\nBeta : not really for production use\n\nFeatures :\n----------\n\n- LaTeX :\n\n + Parse LaTeX Document\n + Render LaTeX Document Objects\n + Generate Base PDF Files\n + Combine simple LaTeX Documents\n\n- Good test coverage\n\nTodo :\n------\n\n - ... much more\n\nExamples :\n----------\n\nUsage examples::\n\n from latex import LatexDocument\n ltxdoc = LatexDocument(latexstr)\n print ltxdoc.packages\n print ltxdoc.preamble\n\n ltxdoc2 = LatexDocument(latexstr2)\n ltxdoc3 = ltxdoc + ltxdoc2\n ltxdoc3.as_latex()\n\n # If some files have to be inclued\n ltxdoc3.add_file(\"/home/cyberj/lolcat_1182.png\", \"lolcat.png\")\n\n f = open(\"/home/cyberj/motivational_4242.png\", \"rb\")\n ltxdoc3.add_file(f, \"motivational.png\")\n\n pdf = ltxdoc3.as_pdf()\n\nIf ``pdflatex`` fails, it raises ``LatexDocument.LatexPdfGenerationError`` and clean\ntempdir. To preserve temporary directory give ``debug=True`` to ``as_pdf`` method.\n\nTests :\n-------\n\n- cd tests\n\n- python bootstrap\n\n- ./bin/buildout.py -v\n\n- ./bin/test-1.2 or ./bin/test-1.1\n\nRequirements :\n--------------\n\n- Django >= 1.1\n- pdflatex (and LaTeX distro)\n\nDebian packages\n----------------\n\n- dblatex Produces DVI, PostScript, PDF documents from DocBook sources\n- latex-xcolor Easy driver-independent TeX class for color\n- preview-latex-style extraction of elements from LaTeX documents as graphics\n- texlive-latex-base TeX Live: Basic LaTeX packages\n- texlive-latex-base-doc TeX Live: Documentation files for texlive-latex-base\n- texlive-latex-extra TeX Live: LaTeX supplementary packages\n- texlive-latex-extra-doc TeX Live: Documentation files for texlive-latex-extra\n- texlive-latex-recommended TeX Live: LaTeX recommended packages\n- texlive-latex-recommended-doc TeX Live: Documentation files for texlive-latex-recommended", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/bearstech/django-latex", "keywords": "django models pdf latex pdflatex", "license": "GPL v3", "maintainer": null, "maintainer_email": null, "name": "django-latex", "package_url": "https://pypi.org/project/django-latex/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-latex/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://bitbucket.org/bearstech/django-latex" }, "release_url": "https://pypi.org/project/django-latex/0.1/", "requires_dist": null, "requires_python": null, "summary": "Django application to generate latex/pdf files.", "version": "0.1" }, "last_serial": 789955, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "c12038a7f3501729f287c295ae145cf4", "sha256": "c79cc3ca9b71d90572cf34d1bc33e34f10e2a9d49a7588e35dc32c051cd167bc" }, "downloads": -1, "filename": "django-latex-0.1.tar.gz", "has_sig": false, "md5_digest": "c12038a7f3501729f287c295ae145cf4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27413, "upload_time": "2011-05-05T22:48:15", "url": "https://files.pythonhosted.org/packages/20/86/7479f4bcc0bd80ac8509beb5cb773cd2eaa7b48021a83041c812d841f780/django-latex-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c12038a7f3501729f287c295ae145cf4", "sha256": "c79cc3ca9b71d90572cf34d1bc33e34f10e2a9d49a7588e35dc32c051cd167bc" }, "downloads": -1, "filename": "django-latex-0.1.tar.gz", "has_sig": false, "md5_digest": "c12038a7f3501729f287c295ae145cf4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27413, "upload_time": "2011-05-05T22:48:15", "url": "https://files.pythonhosted.org/packages/20/86/7479f4bcc0bd80ac8509beb5cb773cd2eaa7b48021a83041c812d841f780/django-latex-0.1.tar.gz" } ] }