Documentation: `https://texplain.readthedocs.io <texplain.readthedocs.io>`_
texcleanup: Apply any of the following options to a TeX-file:
Remove all comments or comment-lines.
Modify all occurrences of a command, for example to change
Rename a label.
Ensure common prefixes for all labels.
Ensure usage of
texindent: Wrapper around latexindent.pl with augmented rules to make especially
texplain: Create a directory with a TeX-file and only its dependencies (those figure-files and references that are actually included). This is particularly useful to create a clean version to submit to a journal.
repos: - repo: https://github.com/tdegeus/texplain rev: v0.7.0 hooks: - id: texcleanup args: [--format-labels, --use-cleveref]
repos: - repo: https://github.com/tdegeus/texplain rev: v0.7.0 hooks: - id: texindent args: 
All of these tools wrap around a Python module that you can use just as well!
This library is free to use under the MIT license. Any additions are very much appreciated, in terms of suggested functionality, code, documentation, testimonials, word-of-mouth advertisement, etc. Bug reports or feature requests can be filed on GitHub. As always, the code comes with no guarantee. None of the developers can be held responsible for possible mistakes.
Download: .zip file | .tar.gz file.
(c - MIT) T.W.J. de Geus (Tom) | email@example.com | www.geus.me | github.com/tdegeus/texplain
conda install -c conda-forge texplain
python -m pip install texplain
# Download texplain git checkout https://github.com/tdegeus/texplain.git cd texplain # Install python -m pip install .