Skip to main content

Create directory with TeX-file and only dependencies.

Project description

ci Documentation Status pre-commit pre-commit Conda Version

Documentation: https://texplain.readthedocs.io

Usage

Clean-up TeX files.

pre-commit

For example:

repos:
- repo: https://github.com/tdegeus/texplain
  rev: v0.5.6
  hooks:
  - id: texcleanup
    args: [--format-labels, --remove-commentlines, --use-cleveref]

From the command-line

  • texcleanup: Run several common fixes, such as ensuring nicely formatted labels.

  • 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.

From Python

All of these tools wrap around a Python module that you can use just as well!

Disclaimer

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) | tom@geus.me | www.geus.me | github.com/tdegeus/texplain

Getting texplain

Using conda

conda install -c conda-forge texplain

Using PyPi

python -m pip install texplain

From source

# Download texplain
git checkout https://github.com/tdegeus/texplain.git
cd texplain

# Install
python -m pip install .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

texplain-0.6.1.tar.gz (79.7 kB view hashes)

Uploaded Source

Built Distribution

texplain-0.6.1-py3-none-any.whl (14.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page