{ "info": { "author": "Mustafa S", "author_email": "mabualsaud@outlook.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "|logo|\n======\n|pypi| |travis| |coveralls| |quality| |maintain| |website| |license|\n\ndjango-latexify let\u2019s you easily render text and math equations from your template to look like LaTeX. The app lets you render math equations written in LaTeX on your HTML, or even just regular plain text.\n\nIt uses Katex (a fast, easy-to-use JavaScript library for TeX math rendering on the web) for rending math equations and a modification of WiTex (LaTeX like CSS) for rending plain text.\n\n\ninstallation\n------------\n\n python setup.py install\n\nQuick start\n-----------\n\n1. Add \"latexify\" to your INSTALLED_APPS setting like this:\n\n .. code-block:: python\n\n INSTALLED_APPS = (\n ...\n 'latexify',\n ...\n )\n\n2. In your template, load latexify by including::\n\n {% load latexify %}\n\n3. In the HTML header of your template, include::\n\n {% include 'latexify/stylesheets.html' %}\n\n\n4. In the bottom of your HTML body, include the following to load the JS associated with latexify::\n\n {% include \"latexify/scripts.html\" %}\n\n5. Latexify your text by including the template tag, for example\n\n .. code-block:: html\n\n {% latexify context_arg %}\n {% latexify context_arg parse_math=True %}\n {% latexify 'c = \\pm\\sqrt{a^2 + b^2}' math_inline=True %}\n {% latexify 'c = \\pm\\sqrt{a^2 + b^2}' math_block=True %}\n\n\nWhich will give you the following:\n\n|example|\n\nContributing\n-----------\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\nLicense\n-----------\n\nAll parts of django-latexify are free to use and abuse under the `open-source MIT license `_.\n\n.. |logo| image:: https://raw.githubusercontent.com/AmmsA/django-latexify/master/imgs/logo.png\n :width: 100px\n :alt: django-latexify\n :target: https://github.com/ammsa/django-latexify\n.. |example| image:: https://raw.githubusercontent.com/AmmsA/django-latexify/master/imgs/example.png\n :scale: 50 %\n.. |travis| image:: https://travis-ci.org/AmmsA/django-latexify.svg?branch=master\n :alt: Build Status - master branch\n :target: https://travis-ci.org/AmmsA/django-latexify\n.. |coveralls| image:: https://img.shields.io/coveralls/AmmsA/django-latexify/master.svg\n :target: https://coveralls.io/github/AmmsA/django-latexify\n.. |pypi| image:: https://img.shields.io/pypi/v/django-latexify.svg\n :target: https://pypi.python.org/pypi/django-latexify\n :alt: Latest PyPI version\n.. |license| image:: https://img.shields.io/pypi/l/django-latexify.svg?maxAge=2592000\n :target: https://github.com/ammsa/django-latexify/blob/master/LICENSE\n :alt: Software license\n.. |website| image:: https://img.shields.io/website-up-down-green-red/http/shields.io.svg?maxAge=2592000\n :target: https://ammsa.github.io/django-latexify\n.. |quality| image:: https://img.shields.io/codacy/grade/d8e71ce5a26248d892e96e35fdf1f7cf.svg?maxAge=2592000\n :target: https://www.codacy.com/app/ammsa7/django-latexify?utm_source=github.com&utm_medium=referral&utm_content=AmmsA/django-latexify&utm_campaign=Badge_Grade\n.. |maintain| image:: https://img.shields.io/maintenance/yes/2017.svg\n :target: https://github.com/ammsa/django-latexify", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/AmmsA/django-latexify", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "django-latexify", "package_url": "https://pypi.org/project/django-latexify/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-latexify/", "project_urls": { "Homepage": "https://github.com/AmmsA/django-latexify" }, "release_url": "https://pypi.org/project/django-latexify/0.2.1/", "requires_dist": null, "requires_python": "", "summary": "Easy LaTeX rendering for Django.", "version": "0.2.1" }, "last_serial": 2905702, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "5790d4ff494adf0607a6ac42eb271145", "sha256": "f1b9d54db24b76694399d4aff7212b6dfc37d94b85cdccab32527d07d36d4929" }, "downloads": -1, "filename": "django_latexify-0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "5790d4ff494adf0607a6ac42eb271145", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 14947, "upload_time": "2016-06-21T03:07:00", "url": "https://files.pythonhosted.org/packages/d8/bb/3f2a21ecfd1f9ffacd4c834558cea96668f1c83d47d695f8e2f620b9eaf2/django_latexify-0.1-py2-none-any.whl" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "4c470b7c93cdb844d3a0cc8f178598ba", "sha256": "10bbfa110497666eefc1301a2a2da38e8f699512ea58aa7dc81859e5c3df4811" }, "downloads": -1, "filename": "django_latexify-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4c470b7c93cdb844d3a0cc8f178598ba", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15944, "upload_time": "2017-05-29T04:13:49", "url": "https://files.pythonhosted.org/packages/d2/57/7173e11cb5d9441bf79f966e3217bdbf1281fa3909ef0da265f20d5050bd/django_latexify-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4095a9894a6631913b4db73d3d22acb5", "sha256": "f7191e76e829b4bbcbfd7f1a5630e30242d312f53d707a768d9ea2b090b16674" }, "downloads": -1, "filename": "django-latexify-0.2.tar.gz", "has_sig": false, "md5_digest": "4095a9894a6631913b4db73d3d22acb5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11409, "upload_time": "2017-05-29T04:13:51", "url": "https://files.pythonhosted.org/packages/da/e2/423df13e0557cfb114f3b392d395bff30ca3739df805a01133c6d03a07a3/django-latexify-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "02c755fa8c4ec79bdcda0f5974f5b8d8", "sha256": "b234c0b5ce565081a92ae69d9ef549897b997f96c1fbede53244ad9015f388c0" }, "downloads": -1, "filename": "django_latexify-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "02c755fa8c4ec79bdcda0f5974f5b8d8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 16024, "upload_time": "2017-05-29T04:34:32", "url": "https://files.pythonhosted.org/packages/d3/77/2dddd146ca7a192886cdb0ccdd52bd76acce98736f85ab8aa51f4f75f290/django_latexify-0.2.1-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "02c755fa8c4ec79bdcda0f5974f5b8d8", "sha256": "b234c0b5ce565081a92ae69d9ef549897b997f96c1fbede53244ad9015f388c0" }, "downloads": -1, "filename": "django_latexify-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "02c755fa8c4ec79bdcda0f5974f5b8d8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 16024, "upload_time": "2017-05-29T04:34:32", "url": "https://files.pythonhosted.org/packages/d3/77/2dddd146ca7a192886cdb0ccdd52bd76acce98736f85ab8aa51f4f75f290/django_latexify-0.2.1-py2.py3-none-any.whl" } ] }