# acrosort-tex
`acrosort-tex` is a Python Command Line App to sort your acronyms in your `.tex` by their shortform.
## Installation
You can install acrosort-tex using pip (note the underscore):
```bash
pip install acrosort_tex
```
## Usage
To use `acrosort-tex`, you first need to create a `.tex` file with a list of acronyms (see in `examples` for an example file).
It doesn't matter if there are other TeX commands before or after the `acronym` block.
To sort the acronyms, run the following command:
```bash
acrosort <input_file.tex> <output_file.tex>
```
For example:
```bash
acrosort examples/List_Of_Abbreviations.tex sorted_acronyms.tex
```
This will create a new `.tex` file called `sorted_acronyms.tex` with the sorted acronyms, while everything else isn't touched.
It will also find the longest key to set the width of the shortform column in the acronym block.
## License
`acrosort_tex` is licensed under the MIT License. See the LICENSE file for more information.
Raw data
{
"_id": null,
"home_page": "https://github.com/baniasbaabe/acrosort-tex/tree/main",
"name": "acrosort-tex",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "latex,acronyms,sorting",
"author": "baniasbaabe",
"author_email": "banias@hotmail.de",
"download_url": "https://files.pythonhosted.org/packages/37/18/7e06621bb8103616cddcc7698139696ff1ff4756869e345d23c872d6dace/acrosort_tex-0.1.2.tar.gz",
"platform": null,
"description": "# acrosort-tex\n\n`acrosort-tex` is a Python Command Line App to sort your acronyms in your `.tex` by their shortform.\n\n## Installation\n\nYou can install acrosort-tex using pip (note the underscore):\n\n```bash\npip install acrosort_tex\n```\n\n## Usage\n\nTo use `acrosort-tex`, you first need to create a `.tex` file with a list of acronyms (see in `examples` for an example file).\n\nIt doesn't matter if there are other TeX commands before or after the `acronym` block.\n\nTo sort the acronyms, run the following command:\n\n```bash\nacrosort <input_file.tex> <output_file.tex>\n```\n\nFor example:\n\n```bash\nacrosort examples/List_Of_Abbreviations.tex sorted_acronyms.tex\n```\n\nThis will create a new `.tex` file called `sorted_acronyms.tex` with the sorted acronyms, while everything else isn't touched.\n\nIt will also find the longest key to set the width of the shortform column in the acronym block.\n\n## License\n\n`acrosort_tex` is licensed under the MIT License. See the LICENSE file for more information.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "",
"version": "0.1.2",
"project_urls": {
"Homepage": "https://github.com/baniasbaabe/acrosort-tex/tree/main",
"Repository": "https://github.com/baniasbaabe/acrosort-tex/tree/main"
},
"split_keywords": [
"latex",
"acronyms",
"sorting"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "964887ad536530350d1b7dc64b019b15e5a694d32c16f1e02bb040b73ff3cc11",
"md5": "e462c32fbdb7461cba9a2b9dda8ccf77",
"sha256": "10c5c7189cd63b8fa9a43bcdf578305643617c1fb1fe8612a707545df6b12b33"
},
"downloads": -1,
"filename": "acrosort_tex-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e462c32fbdb7461cba9a2b9dda8ccf77",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 5144,
"upload_time": "2023-05-08T14:43:23",
"upload_time_iso_8601": "2023-05-08T14:43:23.989416Z",
"url": "https://files.pythonhosted.org/packages/96/48/87ad536530350d1b7dc64b019b15e5a694d32c16f1e02bb040b73ff3cc11/acrosort_tex-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "37187e06621bb8103616cddcc7698139696ff1ff4756869e345d23c872d6dace",
"md5": "852080153904922b3380ae56ac59e81c",
"sha256": "a7a366603d75883e3119e037a99a0a2b46d0170a6fa3553f78eab7c6e5300739"
},
"downloads": -1,
"filename": "acrosort_tex-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "852080153904922b3380ae56ac59e81c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 4069,
"upload_time": "2023-05-08T14:43:26",
"upload_time_iso_8601": "2023-05-08T14:43:26.195690Z",
"url": "https://files.pythonhosted.org/packages/37/18/7e06621bb8103616cddcc7698139696ff1ff4756869e345d23c872d6dace/acrosort_tex-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-08 14:43:26",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "baniasbaabe",
"github_project": "acrosort-tex",
"github_not_found": true,
"lcname": "acrosort-tex"
}