{"id":17737754,"url":"https://github.com/tdegeus/texplain","last_synced_at":"2025-05-01T02:33:42.547Z","repository":{"id":17588988,"uuid":"82297897","full_name":"tdegeus/texplain","owner":"tdegeus","description":"Copy TeX-file and included figures to a separate (flattened) folder","archived":false,"fork":false,"pushed_at":"2024-03-13T08:33:59.000Z","size":280,"stargazers_count":2,"open_issues_count":22,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-21T00:30:29.771Z","etag":null,"topics":["formatter","latex","pre-commit","python"],"latest_commit_sha":null,"homepage":"https://texplain.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tdegeus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-17T13:02:11.000Z","updated_at":"2023-08-12T11:43:28.000Z","dependencies_parsed_at":"2023-02-17T17:00:49.914Z","dependency_job_id":"8766d51d-cc95-41ba-a1da-b8471ec4dbd2","html_url":"https://github.com/tdegeus/texplain","commit_stats":{"total_commits":113,"total_committers":2,"mean_commits":56.5,"dds":0.09734513274336287,"last_synced_commit":"4122d3245db77badb6ef66762d72b9b53f53287f"},"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdegeus%2Ftexplain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdegeus%2Ftexplain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdegeus%2Ftexplain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdegeus%2Ftexplain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tdegeus","download_url":"https://codeload.github.com/tdegeus/texplain/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251812615,"owners_count":21647938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["formatter","latex","pre-commit","python"],"created_at":"2024-10-26T01:42:37.611Z","updated_at":"2025-05-01T02:33:42.492Z","avatar_url":"https://github.com/tdegeus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![ci](https://github.com/tdegeus/texplain/workflows/CI/badge.svg)](https://github.com/tdegeus/texplain/actions)\n[![Documentation Status](https://readthedocs.org/projects/texplain/badge/?version=latest)](https://texplain.readthedocs.io/en/latest/?badge=latest)\n[![pre-commit](https://github.com/tdegeus/texplain/workflows/pre-commit/badge.svg)](https://github.com/tdegeus/texplain/actions)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white)](https://github.com/pre-commit/pre-commit)\n[![Conda Version](https://img.shields.io/conda/vn/conda-forge/texplain.svg)](https://anaconda.org/conda-forge/texplain)\n\n**Documentation: [https://texplain.readthedocs.io](texplain.readthedocs.io)**\n\n# Usage\n\n## command-line\n\n*   [texindent](https://texplain.readthedocs.io/en/latest/tools.html#texindent):\n    Automatic indentation and formatting of a TeX-file.\n\n*   [texcleanup](https://texplain.readthedocs.io/en/latest/tools.html#texcleanup):\n    Apply any of the following options to a TeX-file:\n\n    -   Remove all comments or comment-lines.\n    -   Modify all occurrences of a command, for example to change `\\TG{deleted}{inserted}` to `inserted`.\n    -   Rename a label.\n    -   Ensure common prefixes for all labels.\n    -   Ensure usage of `\\cref` instead of `\\ref`.\n\n*   [texplain](https://texplain.readthedocs.io/en/latest/tools.html#texplain):\n    Create a directory with a TeX-file and only its dependencies\n    (those figure-files and references that are actually included).\n    This is particularly useful to create a clean version to submit to a journal.\n\n## pre-commit\n\n*   [texcleanup](https://texplain.readthedocs.io/en/latest/tools.html#texcleanup):\n\n    ```yaml\n    repos:\n    - repo: https://github.com/tdegeus/texplain\n      rev: v0.8.0\n      hooks:\n      - id: texcleanup\n        args: [--format-labels, --use-cleveref]\n    ```\n\n*   [texindent](https://texplain.readthedocs.io/en/latest/tools.html#texindent):\n\n    ```yaml\n    repos:\n    - repo: https://github.com/tdegeus/texplain\n      rev: v0.8.0\n      hooks:\n      - id: texindent\n        args: []\n    ```\n\n## Python\n\nAll of these tools wrap around a\n[Python module](https://texplain.readthedocs.io/en/latest/module.html)\nthat you can use just as well!\n\n# Disclaimer\n\nThis library is free to use under the\n[MIT license](https://github.com/tdegeus/texplain/blob/master/LICENSE).\nAny additions are very much appreciated, in terms of suggested functionality, code, documentation,\ntestimonials, word-of-mouth advertisement, etc.\nBug reports or feature requests can be filed on [GitHub](https://github.com/tdegeus/texplain).\nAs always, the code comes with no guarantee.\nNone of the developers can be held responsible for possible mistakes.\n\nDownload:\n[.zip file](https://github.com/tdegeus/texplain/zipball/master) |\n[.tar.gz file](https://github.com/tdegeus/texplain/tarball/master).\n\n(c - [MIT](https://github.com/tdegeus/texplain/blob/master/LICENSE)) T.W.J. de Geus (Tom) |\ntom@geus.me |\nwww.geus.me |\n[github.com/tdegeus/texplain](https://github.com/tdegeus/texplain)\n\n# Getting texplain\n\n## Using conda\n\n```bash\nconda install -c conda-forge texplain\n```\n\n## Using PyPi\n\n```bash\npython -m pip install texplain\n```\n\n## From source\n\n```bash\n# Download texplain\ngit checkout https://github.com/tdegeus/texplain.git\ncd texplain\n\n# Install\npython -m pip install .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftdegeus%2Ftexplain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftdegeus%2Ftexplain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftdegeus%2Ftexplain/lists"}