texstrip
texstrip is a small tool that strips (removes) comments from TeX sources. I made this tool to relieve myself from manually deleting comments when submitting TeX sources to [arXiv](https://arxiv.org/help/faq/whytex).
It removes both inline comments (i.e., things between % and the next \n) and comment environments (i.e., things within \begin{comment} and \end{comment}), copies the supplementary files to a new folder for a clean submission.
LaTeX is a complex beast and this tool, despite its humble goal, might fail on corner cases. I fixed many of them during my own use but YMMV. If you do encounter glitches, please submit a PR and let’s make it better together!
Getting texstrip
You’ll need latexpand.
texstrip can be installed from pip by
pip install texstrip
Usage
(More text to be added here. For now, refer to the help message.)
texstrip --help
TODO: add an example
Metadata
Release files for texstrip 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| texstrip-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for texstrip-0.1.1-py3-none-any.whl |
Release files / texstrip-0.1.1-py3-none-any.whl
| Download URL | texstrip-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d77e07bb779a1c97bf3863dda91fee97757d91b23461eb3e097967fa630dde16
|
|
BLAKE2b-256 checksum How to use checksums |
c354ebd45ebc4ab5b7bb5eaaa686c95596557933c3fdbcc3eb39c8120fd0bad4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.1
|
Security for texstrip 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.