This release is a pre-release and may not be stable for production use.
Latex Project Managment Tool
A toolset to traverse and manipulate a Latex project with multiple .tex files. Here are the currently supported functionalities. You are welcome to contribute more features :)
Project flatten
Flatten a Latex project to a single .tex file. This is useful if you want to use latexdiff or other Latex tools that require a single .tex file.
This is mainly inspired by this post: http://dropbearcode.blogspot.com/2011/09/multiple-file-latex-diff.html
Usage with latexdiff
- Make sure you have Perl 5.8+ in your environment.
- Download
latexdifffrom https://www.ctan.org/tex-archive/support/latexdiff unzip latexdiffpython3 -m latex_proj_tool flat old_project/main.tex --output old.texpython3 -m latex_proj_tool flat new_project/main.tex --output new.texlatexdiff old.tex new.tex > temp.texsed 's/^M//' tmp.tex > diff.tex- Compile
diff.texto get the PDF.
List Unused Files
List all unused files to help you clean the project.
Usage
List all unused files in this project:
python3 -m latex_proj_tool find_unused my_project/main.tex
List all unused files in this project, excluding some files:
python3 -m latex_proj_tool find_unused my_project/main.tex --exclude-extensions cls,sty,bst
List all unused files in this project, excluding some directories:
python3 -m latex_proj_tool find_unused my_project/main.tex --exclude-dirs backup
Metadata
Release files for latex-proj-tool 0.1.dev4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| latex_proj_tool-0.1.dev4.tar.gz | 5.6 kB | Without provenance | Details for latex_proj_tool-0.1.dev4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| latex_proj_tool-0.1.dev4-py3-none-any.whl | Python 3 | none | any | Details for latex_proj_tool-0.1.dev4-py3-none-any.whl |
Total release size: 16.8 kB
Release files / latex_proj_tool-0.1.dev4.tar.gz
| Download URL | latex_proj_tool-0.1.dev4.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d31ef601ba04a2fd096a5571e25a8e6b8fedc0ac3a5c91ba094b4d0e0921af8c
|
|
BLAKE2b-256 checksum How to use checksums |
7b8fab299ccba21b80a72f45106459b56fc3d3193f1ad3896deb49f91564a19d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.9
|
Release files / latex_proj_tool-0.1.dev4-py3-none-any.whl
| Download URL | latex_proj_tool-0.1.dev4-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ae0719a1a7d03b414987871e39a1a7b090ed832726a02497bec0fe9b4e2759a
|
|
BLAKE2b-256 checksum How to use checksums |
2f8825bce0d3bb1aed891e5f79916ee9646ab6e86117cab3d5b223c151061fe8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.9
|
Security for latex-proj-tool 0.1.dev4
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.