Skip to main content

Clean up your LaTeX files

Project description

blacktex

Clean up your LaTeX files.

PyPi Version PyPI pyversions GitHub stars PyPi downloads

blacktex is a command-line tool that helps with article editing in LaTeX. It removes all comments from a given file and corrects some common anti-patterns.

Installation

Install blacktex from PyPI with

pip install blacktex

How to get a license

TeX World licenses for personal and academic use can be purchased here. You'll receive a confirmation email with a license key. Install the key with

slim install <your-license-file>

on your machine and you're good to go.

For commercial use, please contact support@mondaytech.com.

Using blacktex

With

blacktex in.tex > out.tex

the input file

Because   of $$a+b=c$$ ({\it Pythogoras}),
% @johnny remember to insert name
and $y=2^ng$ with $n=1,...,10$, we have ${\Gamma \over 2}=8.$

is converted to

Because of
\[
a+b = c
\]
(\textit{Pythogoras}),
and \(y = 2^n g\) with \(n = 1,\dots,10\), we have \(\frac{\Gamma}{2} = 8\).

You can use

blacktex -i in0.tex in1.tex ...

to modify files in-place. See blacktex -h for all options.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

blacktex-0.10.0-cp313-none-any.whl (23.2 kB view details)

Uploaded CPython 3.13

blacktex-0.10.0-cp312-none-any.whl (23.0 kB view details)

Uploaded CPython 3.12

blacktex-0.10.0-cp311-none-any.whl (24.9 kB view details)

Uploaded CPython 3.11

blacktex-0.10.0-cp310-none-any.whl (15.3 kB view details)

Uploaded CPython 3.10

File details

Details for the file blacktex-0.10.0-cp313-none-any.whl.

File metadata

  • Download URL: blacktex-0.10.0-cp313-none-any.whl
  • Upload date:
  • Size: 23.2 kB
  • Tags: CPython 3.13
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for blacktex-0.10.0-cp313-none-any.whl
Algorithm Hash digest
SHA256 26be546e9b5f9dc7399718b4a03654aa91f9cfe9aa605e28177c246608bf400e
MD5 15060ef79ca8a14c47e155620826b087
BLAKE2b-256 039d6baed5499524c1ba1d81d7113e4139c2dd0b609875ebf503c6aaece489a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for blacktex-0.10.0-cp313-none-any.whl:

Publisher: release.yml on texworld/blacktex-dev

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blacktex-0.10.0-cp312-none-any.whl.

File metadata

  • Download URL: blacktex-0.10.0-cp312-none-any.whl
  • Upload date:
  • Size: 23.0 kB
  • Tags: CPython 3.12
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for blacktex-0.10.0-cp312-none-any.whl
Algorithm Hash digest
SHA256 7974a06c13f458b394aa033d91e2827a8c4e28de0c5900d70d4730700b794986
MD5 a15937f6862e781631715f879d2209ee
BLAKE2b-256 c0ee200eec2a8e13459dd0d9f887da38eb516db0321d24c2c2a5e145ffe0d1b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for blacktex-0.10.0-cp312-none-any.whl:

Publisher: release.yml on texworld/blacktex-dev

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blacktex-0.10.0-cp311-none-any.whl.

File metadata

  • Download URL: blacktex-0.10.0-cp311-none-any.whl
  • Upload date:
  • Size: 24.9 kB
  • Tags: CPython 3.11
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for blacktex-0.10.0-cp311-none-any.whl
Algorithm Hash digest
SHA256 a998f168ae7b8ab68eabc5f16604a4c75997a66d26d87d2889cb7573d60ad90e
MD5 336cb450ec07e7c124e4803b8bc167f7
BLAKE2b-256 67ed38575ace3548371a0c6aa02973bc6470251fc2e0a8f1b12ac32e701a1671

See more details on using hashes here.

Provenance

The following attestation bundles were made for blacktex-0.10.0-cp311-none-any.whl:

Publisher: release.yml on texworld/blacktex-dev

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blacktex-0.10.0-cp310-none-any.whl.

File metadata

  • Download URL: blacktex-0.10.0-cp310-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: CPython 3.10
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for blacktex-0.10.0-cp310-none-any.whl
Algorithm Hash digest
SHA256 4148b419fe63905bb74e27c6ae884d44b0b80ec3c8d7a1eba5b19aff5fe9e5b3
MD5 d95ec6d9687de719b10cbfe653363f84
BLAKE2b-256 0aff68b742f618b269fa5b633b6e72deda7e5a40fd0ef4abdbc76f992876ffd1

See more details on using hashes here.

Provenance

The following attestation bundles were made for blacktex-0.10.0-cp310-none-any.whl:

Publisher: release.yml on texworld/blacktex-dev

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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