{ "info": { "author": "Alex Gajewski & Wanqi Zhu", "author_email": "agajews@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# HLTeX\nHLTeX is a new typesetting language built on top of LaTeX designed for conciseness and ease of use,\nwhile also adding support for additional features like inline Matplotlib figure generation\nand SymPy integration.\n\n### Installation\n1. Install the compiler with `pip3 install hltex`.\n1. Install [Docker](https://www.docker.com/).\n1. Run `docker pull czentye/matplotlib-minimal`.\n\n### Example\n```TeX\n\\documentclass{article}\n\\title{My First Document}\n\\author{Your Truly}\n===\n\\section{HLTeX is Awesome}\nHere are some words that are in this section.\nMath is fun, so here's an equation:\n\\eq:\n f(x) = x^2 + 3\nWe might want to give our equation a label, like this:\n\\eq[cubic]:\n f(x) = x^3 - 4x^2 + 2\nWe can reference our equation with Equation \\ref{eq:cubic}.\nThis is automatically joined with the non-breaking space \\verb{~}.\n```\n\n### Syntax\nHLTeX supports two kinds of macros: *commands* and *environments*.\n\nCommands are just as they are in plain LaTeX, and they look like this:\n```\nThis text \\emph{is emphasized} using the `emph' command.\n```\nThey are preceeded by a backslash, the *escape character*, followed by either any number of letters in the alphabet\n(capital or lowercase), or by a single non-alphabetical character, like this:\n```\nOnce upon a time, in a distant galaxy called \\\"O\\\"o\\c c, there lived a computer named R.~J. Drofnats.\n```\nThe `\\\"` *control symbol* puts an umlaut over the following character, while the `\\c` control symbol\nputs a \"cedilla\" under the next character.\n\nEnvironments are slightly different in HLTeX than in LaTeX.\nWhereas in LaTeX they are enclosed by begin/end commands, in HLTeX environments use indentation-based blocks, like this:\nThe main syntactic difference between HLTeX and LaTeX is that HLTeX uses indentation-based environments, like this:\n```\n\\eq:\n f(x) = x^2 + 3\n```\nNotice that there isn't a trailing `\\end{eq}`!\nThis makes typing out your documents a breeze.\n\nCommands can take both *required* and *optional* arguments.\nRequired arguments are enclosed in curly braces `{}`, while optional arguments are enclosed in square brackets `[]`.\nFor compatibility reasons, only curly braces are required to match;\nthis means `\\command{[}` is valid HLTeX, because it is valid LaTeX.\n\nAs in LaTeX, files are broken into two parts: a *preamble*, and a *document*.\nWhereas LaTeX encloses the document in an enormous pair of begin/end commands, in the interest of conciseness,\nHLTeX separates these two parts by `===` (or optionally more equals signs, but at least three).\nIn the preamble, only commands and their arguments are allowed--in particular, this means\nenvironments can only be created in the document (i.e. after the `===`).\n\n### Usage\nTo compile a file into LaTeX, you can use our CLI utility, like this:\n```\nhltex myfile.hltex\n```\nBy default, this will put the resulting LaTeX code into a file called `myfile.tex`, at which point you can run\n```\npdflatex myfile.tex\n```\nto generate a PDF.\nOptionally, you can specify your own output file, like this:\n```\nhltex myfile.hltex --out myotherfile.tex\n```\n\n\n### Inline-python support\nWe use (Epicbox)[https://github.com/StepicOrg/epicbox] and (Docker)[https://hub.docker.com/]. After installing Docker, run\n\n```\npip install epicbox\ndocker pull python:3.6.5-alpine\n```\n\nNow you can run python code in HLTeX and have save its output directly to your generated LaTeX file!\n\n[example coming]\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/agajews/hltex", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "hltex", "package_url": "https://pypi.org/project/hltex/", "platform": "", "project_url": "https://pypi.org/project/hltex/", "project_urls": { "Homepage": "https://github.com/agajews/hltex" }, "release_url": "https://pypi.org/project/hltex/0.0.5/", "requires_dist": [ "hlbox" ], "requires_python": "", "summary": "A compiler for HLTeX, a higher-level language on top of LaTeX", "version": "0.0.5" }, "last_serial": 4717059, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "927cc46d1b4629a1017159e5c2cc348d", "sha256": "3f4a5beff7f6ca49382a1b661c13eb8768cd8f38a7aff031d1241b2bd1a0b231" }, "downloads": -1, "filename": "hltex-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "927cc46d1b4629a1017159e5c2cc348d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12817, "upload_time": "2019-01-10T06:10:14", "url": "https://files.pythonhosted.org/packages/be/43/27f5f1e312a946c15ef15bd1c4abcfa041b044796a49e107e2da26314b08/hltex-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f6798be34b8c9b4a3f025ad6067d52b7", "sha256": "de91e15197dae2dd98ffb3431b4ad29d07a10ae3617c1c23d1d4f59686444c6c" }, "downloads": -1, "filename": "hltex-0.0.1.tar.gz", "has_sig": false, "md5_digest": "f6798be34b8c9b4a3f025ad6067d52b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9637, "upload_time": "2019-01-10T06:10:17", "url": "https://files.pythonhosted.org/packages/0b/41/47dbd3a760ce528ff539a62404d90dc6686c9b99dfb30a6adc9416e208a9/hltex-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "b08159fd97f69a1b96b03ed389ad3f55", "sha256": "b95dfa832e91cce07a07e528bfee8bbba5cdf18b6f1187bd0d38df180c1fc6ad" }, "downloads": -1, "filename": "hltex-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "b08159fd97f69a1b96b03ed389ad3f55", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12852, "upload_time": "2019-01-10T07:01:07", "url": "https://files.pythonhosted.org/packages/e0/4a/b373ea08d6ddf8d49134752ed93da782f4e07b4cd198e176ad4fa3270ac4/hltex-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "95ae80ae9f60b0d4af6d35b0335400a2", "sha256": "04414f652363f20112d291c086d6e88daa85520d953b17649dcb3abb4486f8d1" }, "downloads": -1, "filename": "hltex-0.0.2.tar.gz", "has_sig": false, "md5_digest": "95ae80ae9f60b0d4af6d35b0335400a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9747, "upload_time": "2019-01-10T07:01:09", "url": "https://files.pythonhosted.org/packages/1e/99/8f467d7abe641d42378ba0af838800c2a94492f87cfe221ef2e95c255776/hltex-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "ce0793f1b3d7a2c6c944bf10ae930315", "sha256": "dbbdcec6975088e414aa612ccc79638c07e6801a0da69fa1ce1f7bd03e21195c" }, "downloads": -1, "filename": "hltex-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "ce0793f1b3d7a2c6c944bf10ae930315", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13218, "upload_time": "2019-01-10T20:13:13", "url": "https://files.pythonhosted.org/packages/6c/07/11c557d08103bab815cec5d4e3d61a0a9d06eb98c5b16c25dc8feda9be50/hltex-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4d155ddacb8131a73ce2940e332d6317", "sha256": "b84ef03eb50b962aad2c2b11e5e40d683fc9fb65ec60d3d72c1ae64d71cdfa54" }, "downloads": -1, "filename": "hltex-0.0.3.tar.gz", "has_sig": false, "md5_digest": "4d155ddacb8131a73ce2940e332d6317", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9774, "upload_time": "2019-01-10T20:13:15", "url": "https://files.pythonhosted.org/packages/1f/cb/eb73e11d59343eab4793d5c8bddea6a73132104e8b957d56615961fa756f/hltex-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "7181ed09e0f965cd33c74d5e7c8ce6b2", "sha256": "fcddb5ac015bf2c85f079a17c6fc6b38039a8e89747ba27b6440106f299cbf1b" }, "downloads": -1, "filename": "hltex-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "7181ed09e0f965cd33c74d5e7c8ce6b2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13764, "upload_time": "2019-01-11T06:11:44", "url": "https://files.pythonhosted.org/packages/ff/0a/cc875c3ca124857a7a87692b578092ea17dde94c2d409317ae12173136e8/hltex-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ea179f799f3c785e30c95d2df2cccbfe", "sha256": "10ae9109c1be14dcebdef2b35a5b215ad30aa222f2473690e116647260d334d9" }, "downloads": -1, "filename": "hltex-0.0.4.tar.gz", "has_sig": false, "md5_digest": "ea179f799f3c785e30c95d2df2cccbfe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10387, "upload_time": "2019-01-11T06:11:45", "url": "https://files.pythonhosted.org/packages/5b/cc/8f59ce2a4b4df466a6ebfbee588729dc019927e3c49d8bcd3c149ad271e4/hltex-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "80bac117b052e048bb52df2a2e85c343", "sha256": "40dca0ac2244f49b187e4b8f9326ee67a2f684bdb52e6dfd7cb9ecdee455e19e" }, "downloads": -1, "filename": "hltex-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "80bac117b052e048bb52df2a2e85c343", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14453, "upload_time": "2019-01-20T02:14:20", "url": "https://files.pythonhosted.org/packages/06/bf/19c3825d1766f85762011e5923b18f02e58c07df6c69adc25d1a38d3e97a/hltex-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "227a9f27c0089e69ff95d8df5d347b6b", "sha256": "ddd2efbc04e81c5a0fe256c01c06dc4a5a4b57fe659387085ebbd4cc019753f3" }, "downloads": -1, "filename": "hltex-0.0.5.tar.gz", "has_sig": false, "md5_digest": "227a9f27c0089e69ff95d8df5d347b6b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8938, "upload_time": "2019-01-20T02:14:21", "url": "https://files.pythonhosted.org/packages/3a/ca/a4378056bcc01a9fe09d36a23fee83da6b3f163749e1a27afb9f9c4081b9/hltex-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "80bac117b052e048bb52df2a2e85c343", "sha256": "40dca0ac2244f49b187e4b8f9326ee67a2f684bdb52e6dfd7cb9ecdee455e19e" }, "downloads": -1, "filename": "hltex-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "80bac117b052e048bb52df2a2e85c343", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14453, "upload_time": "2019-01-20T02:14:20", "url": "https://files.pythonhosted.org/packages/06/bf/19c3825d1766f85762011e5923b18f02e58c07df6c69adc25d1a38d3e97a/hltex-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "227a9f27c0089e69ff95d8df5d347b6b", "sha256": "ddd2efbc04e81c5a0fe256c01c06dc4a5a4b57fe659387085ebbd4cc019753f3" }, "downloads": -1, "filename": "hltex-0.0.5.tar.gz", "has_sig": false, "md5_digest": "227a9f27c0089e69ff95d8df5d347b6b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8938, "upload_time": "2019-01-20T02:14:21", "url": "https://files.pythonhosted.org/packages/3a/ca/a4378056bcc01a9fe09d36a23fee83da6b3f163749e1a27afb9f9c4081b9/hltex-0.0.5.tar.gz" } ] }