Flat LaTeX Projects
Project description
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.
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
File details
Details for the file FLaP-0.6.0.tar.gz
.
File metadata
- Download URL: FLaP-0.6.0.tar.gz
- Upload date:
- Size: 32.3 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 050284fcf32b2167b143a1b43c7f1d76ff895715139c9f113cdbdbcd5747b3f0 |
|
MD5 | 0aea21dc4ff1f8f2c6d234dd05fb7d6b |
|
BLAKE2b-256 | 767199744921b84541d173cc4a36aa7c59f94b04e770a67d3a2bfd9584160942 |
File details
Details for the file FLaP-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: FLaP-0.6.0-py3-none-any.whl
- Upload date:
- Size: 70.2 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b67cb0e5351e26e35d8f39a78963b8bb39eadd98f3347a639284e1c7b8d16a2c |
|
MD5 | 1185a94179ba2d43b0daa2e9a191da8a |
|
BLAKE2b-256 | da2f348b918126fee10dd3873c17e6f7c00178064ce08a4716f62dc4cee4a69d |