expand-latex-macros


Nameexpand-latex-macros JSON
Version 1.0.5 PyPI version JSON
download
home_pageNone
SummaryRemoves all user-defined macros in a .tex file and substitutes their definitions back in.
upload_time2025-01-03 19:04:18
maintainerNone
docs_urlNone
authorJames McGreivy
requires_pythonNone
licenseNone
keywords latex latex macros \def \newcommand
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Provides the function expand_latex_macros(latex_source). Removes all user-defined macros in latex_source -- which should be a latex.tex file read into python using open(latex_source_path).read() -- and substitutes back in their definitions. Helpful for pre-processing LaTeX source to train NLP models.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "expand-latex-macros",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "latex, LaTeX, macros, \\def, \\newcommand",
    "author": "James McGreivy",
    "author_email": "mcgreivy@mit.edu",
    "download_url": "https://files.pythonhosted.org/packages/42/eb/7504f78d023338f93aa9f53a5358a9e96d4361e705711ac37fc632189d86/expand_latex_macros-1.0.5.tar.gz",
    "platform": null,
    "description": "Provides the function expand_latex_macros(latex_source). Removes all user-defined macros in latex_source -- which should be a latex.tex file read into python using open(latex_source_path).read() -- and substitutes back in their definitions. Helpful for pre-processing LaTeX source to train NLP models.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Removes all user-defined macros in a .tex file and substitutes their definitions back in.",
    "version": "1.0.5",
    "project_urls": null,
    "split_keywords": [
        "latex",
        " latex",
        " macros",
        " \\def",
        " \\newcommand"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8f63efd849e8adf67b99063ef01747839b20adf6b40669adb35b6766d522eafd",
                "md5": "0f7adeff60904252890e376d069c500d",
                "sha256": "300e4f47321a6f72040efe55002e464affafbc9ce525bda90b3e43392c8c5b7e"
            },
            "downloads": -1,
            "filename": "expand_latex_macros-1.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0f7adeff60904252890e376d069c500d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3559,
            "upload_time": "2025-01-03T19:04:16",
            "upload_time_iso_8601": "2025-01-03T19:04:16.843300Z",
            "url": "https://files.pythonhosted.org/packages/8f/63/efd849e8adf67b99063ef01747839b20adf6b40669adb35b6766d522eafd/expand_latex_macros-1.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "42eb7504f78d023338f93aa9f53a5358a9e96d4361e705711ac37fc632189d86",
                "md5": "be90b921a5bcb382607d3dc8a8b03cab",
                "sha256": "ae99df6427acb383d7f36a3f84c5c7cc93532489ea57ff54ac11caf9a76d5a24"
            },
            "downloads": -1,
            "filename": "expand_latex_macros-1.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "be90b921a5bcb382607d3dc8a8b03cab",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3423,
            "upload_time": "2025-01-03T19:04:18",
            "upload_time_iso_8601": "2025-01-03T19:04:18.565817Z",
            "url": "https://files.pythonhosted.org/packages/42/eb/7504f78d023338f93aa9f53a5358a9e96d4361e705711ac37fc632189d86/expand_latex_macros-1.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-03 19:04:18",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "expand-latex-macros"
}
        
Elapsed time: 0.42253s