FLaP-0.6.0
توضیحات
Flat LaTeX Projects
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | FLaP-0.6.0 |
| نام | FLaP |
| نسخه کتابخانه | 0.6.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Franck Chauvel |
| ایمیل نویسنده | franck.chauvel@gmail.com |
| آدرس صفحه اصلی | https://github.com/fchauvel/flap |
| آدرس اینترنتی | https://pypi.org/project/FLaP/ |
| مجوز | GPLv3 |
# FLaP — Flat LaTeX Projects
[](https://pypi.python.org/pypi/FLaP)
[](http://www.gnu.org/licenses/gpl-3.0)
[](https://github.com/fchauvel/flap/actions)
[](https://codecov.io/gh/fchauvel/flap)
[](https://www.codacy.com/app/fchauvel/flap/dashboard)
[](http://pypi-ranking.info/module/FLaP)
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](http://www.ctan.org/pkg/latexpand),
[flatex](http://www.ctan.org/pkg/flatex) or
[flatten](http://www.ctan.org/pkg/flatten). As far as I know, they
only merge TeX files, without moving graphics around. I learned
recently about
[texDirflatten](http://www.ctan.org/pkg/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:
```shell-session
$ pip install flap
```
Alternatively, you get the latest development version using:
```shell-session
$ 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
```shell-session
$ git clone https://github.com/fchauvel/flap.git
$ cd flap
$ python setup.py install .`
```
## Usage Example
For the newest (development) version, use:
```shell-session
$ flap project/main.tex output/directory
```
Prior to v0.4.1 (included), we invoke FLaP using:
```shell-session
$ python -m flap project/main.tex output/directory
```
See also the [online documentation](http://fchauvel.github.io/flap).
## Contact Us
If you give FLaP a try, please report any bugs, issues or feature request using the [issue tracker](https://github.com/fchauvel/flap/issues).
نیازمندی
| مقدار | نام |
|---|---|
| ==5.4.1 | PyYAML |
| ==7.1.2 | click |
| ==1.1.10 | enum34 |
| ==6.2.2 | pytest |
| ==5.5 | coverage |
| ==4.0.3 | mock |
| ==0.36.2 | wheel |
| ==3.3.0 | twine |
نحوه نصب
نصب پکیج whl FLaP-0.6.0:
pip install FLaP-0.6.0.whl
نصب پکیج tar.gz FLaP-0.6.0:
pip install FLaP-0.6.0.tar.gz