FLaP — Flat LaTeX Projects
FlaP is a simple utility that flattens LaTeX projects. It takes a well-organised LaTeX project—one you so carefully crafted—and merged it into a vulgar single LaTeX file in a 'flat' directory.
-
Why? Some publishers require one such flat structure when you submit the sources of your manuscript, and I got tired to flatten the sources by hand.
-
Another one? There already a couple of tools that merge latex projects such as latexpand, flatex or flatten. As far as I know, they only merge TeX files, without moving graphics around. I learned recently about texDirflatten, which seems to be an alternative, but I haven't tried it.
Installation
FLaP requires Python 3 (3.6, 3.6, 3.8 and 3.9 are tested). The easiest way to install latest official release is to use pip using:
$ pip install flap
Alternatively, you get the latest development version using:
$ pip install git+https://github.com/fchauvel/flap.git
Should you want to look at the code, you may download the sources distribution and use
$ git clone https://github.com/fchauvel/flap.git
$ cd flap
$ python setup.py install .`
Usage Example
For the newest (development) version, use:
$ flap project/main.tex output/directory
Prior to v0.4.1 (included), we invoke FLaP using:
$ python -m flap project/main.tex output/directory
See also the online documentation.
Contact Us
If you give FLaP a try, please report any bugs, issues or feature request using the issue tracker.
Metadata
Release files for FLaP 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| FLaP-0.6.0.tar.gz | 32.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| FLaP-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 102.5 kB
Release files / FLaP-0.6.0.tar.gz
| Download URL | FLaP-0.6.0.tar.gz |
|---|---|
| Size | 32.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
050284fcf32b2167b143a1b43c7f1d76ff895715139c9f113cdbdbcd5747b3f0
|
|
BLAKE2b-256 checksum How to use checksums |
767199744921b84541d173cc4a36aa7c59f94b04e770a67d3a2bfd9584160942
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
|
Release files / FLaP-0.6.0-py3-none-any.whl
| Download URL | FLaP-0.6.0-py3-none-any.whl |
|---|---|
| Size | 70.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b67cb0e5351e26e35d8f39a78963b8bb39eadd98f3347a639284e1c7b8d16a2c
|
|
BLAKE2b-256 checksum How to use checksums |
da2f348b918126fee10dd3873c17e6f7c00178064ce08a4716f62dc4cee4a69d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
|