Skip to main content

If you need:

  • to turn your “non-crazy” LaTeX document into a document tree,

  • to rewrite that document tree using a visitor pattern, and

  • to near-exactly recreate your document (or a transformed version) from this document tree,

then this package may be for you.

The package does need to know the number of arguments supplied to each macro and environment encountered. There is a list of these in the code, but it is not currently complete. Contributions to this for popular and common macros are welcome. For custom macros and environments, an interface exists for this data to be supplied.

The package is Python 3-only.

https://github.com/inducer/pylatexparse

Copyright 2019 Andreas Kloeckner

Released under the MIT License

Release files for pylatexparse 2019.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pylatexparse 2019.2
File Size Uploaded
pylatexparse-2019.2.tar.gz 6.6 kB Details

Release files / pylatexparse-2019.2.tar.gz

Download URL pylatexparse-2019.2.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1d1613dbc64e1dd9519bc3e59bb9294b36076cffe50762c9e8066306b7525c30
BLAKE2b-256 checksum
How to use checksums
ac61fc7602032211785ca1e7a1e96c9ac460e2a7f141533995c4e2117d682d04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.4

Release history Release notifications | RSS feed

This release

2019.2 This release

1 release file

2019.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page