A tool to flatten LaTeX files with include directives
Project description
Flatex
This is inspired by the C program "flatex" for flattening a LaTex project that uses include statements. It is not a fully backwards compatible bug for bug re-implementation.
Basic usage
The basic way to use this program is to navigate to the directory with your highest level .tex file and simply call
python3 -m flatex <top_level.tex>
Then this program will output a fully expanded version
Caveats
This will not handle nested include statements
Testing
To run unit tests run the following command from the root of the project
python3 -m unittest tests.test_flatex
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flatex-1.1.0.tar.gz.
File metadata
- Download URL: flatex-1.1.0.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c0d2bd377d6e2c66db224f926dd5061a41c02f7d2eadd1158b3649422b723f2
|
|
| MD5 |
47008e218989cd0ca986ff55d6e94e0a
|
|
| BLAKE2b-256 |
70b7cd0d167d8f7d68bb327ef6318e12d55b53f8cf34b577184b167d39f0a927
|
File details
Details for the file flatex-1.1.0-py3-none-any.whl.
File metadata
- Download URL: flatex-1.1.0-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69beda5e91b066e5bfd65e79143c83d8d08dac27a698bcd0e87b45db408a4930
|
|
| MD5 |
43f109a628de1d20e940b73e04570b66
|
|
| BLAKE2b-256 |
11a286003bba902542b019281ef81147dc185824f194628bd6236ee05200d544
|