{"id":15787153,"url":"https://github.com/fchauvel/flap","last_synced_at":"2025-04-30T15:50:15.713Z","repository":{"id":36314653,"uuid":"40619292","full_name":"fchauvel/flap","owner":"fchauvel","description":"Flattening LaTeX projects","archived":false,"fork":false,"pushed_at":"2021-03-30T15:02:09.000Z","size":556,"stargazers_count":19,"open_issues_count":20,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-30T15:50:05.595Z","etag":null,"topics":["flatten","latex","post-processing"],"latest_commit_sha":null,"homepage":"https://fchauvel.github.io/flap","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fchauvel.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-12T19:12:29.000Z","updated_at":"2025-02-23T16:46:46.000Z","dependencies_parsed_at":"2022-07-09T14:31:05.233Z","dependency_job_id":null,"html_url":"https://github.com/fchauvel/flap","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fchauvel%2Fflap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fchauvel%2Fflap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fchauvel%2Fflap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fchauvel%2Fflap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fchauvel","download_url":"https://codeload.github.com/fchauvel/flap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251734543,"owners_count":21635155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flatten","latex","post-processing"],"created_at":"2024-10-04T21:05:48.103Z","updated_at":"2025-04-30T15:50:15.684Z","avatar_url":"https://github.com/fchauvel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FLaP \u0026mdash; Flat LaTeX Projects\n\n[![last release on PyPI](https://img.shields.io/pypi/v/FLaP.svg)](https://pypi.python.org/pypi/FLaP)\n[![License](https://img.shields.io/pypi/l/FLaP.svg)](http://www.gnu.org/licenses/gpl-3.0)\n[![Build status](https://img.shields.io/github/workflow/status/fchauvel/flap/run-test)](https://github.com/fchauvel/flap/actions)\n[![Code coverage](https://img.shields.io/codecov/c/github/fchauvel/flap/master.svg)](https://codecov.io/gh/fchauvel/flap)\n[![Code quality](https://img.shields.io/codacy/grade/df4826670c71444ca487434d612e96d7.svg)](https://www.codacy.com/app/fchauvel/flap/dashboard)\n[![Downloads](https://img.shields.io/pypi/dm/FLaP.svg)](https://pypistats.org/packages/flap)\n\nFlaP is a simple utility that flattens LaTeX projects. It takes a\nwell-organised LaTeX project\u0026mdash;one you so carefully crafted\u0026mdash;and\nmerged it into a vulgar single LaTeX file in a 'flat' directory.\n\n  - *Why?* Some publishers require one such flat structure when you\n    submit the sources of your manuscript, and I got tired to flatten\n    the sources by hand.\n\n  - *Another one?* There already a couple of tools that merge latex\n    projects such as [latexpand](http://www.ctan.org/pkg/latexpand),\n    [flatex](http://www.ctan.org/pkg/flatex) or\n    [flatten](http://www.ctan.org/pkg/flatten). As far as I know, they\n    only merge TeX files, without moving graphics around. I learned\n    recently about\n    [texDirflatten](http://www.ctan.org/pkg/texdirflatten), which\n    seems to be an alternative, but I haven't tried it.\n\n## Installation \n\nFLaP *requires* Python 3 (3.6, 3.6, 3.8 and 3.9 are tested). The easiest way to install latest\nofficial release is to use pip using: \n```shell-session\n$ pip install flap\n```\n\nAlternatively, you get the latest development version using:\n```shell-session\n$ pip install git+https://github.com/fchauvel/flap.git\n```\n\nShould you want to look at the code, you may download the sources\ndistribution and use \n```shell-session\n$ git clone https://github.com/fchauvel/flap.git \n$ cd flap\n$ python setup.py install .`\n```\n\n## Usage Example\nFor the newest (development) version, use:\n \n```shell-session\n$ flap project/main.tex output/directory\n```\n\nPrior to v0.4.1 (included), we invoke FLaP using:\n```shell-session\n$ python -m flap project/main.tex output/directory\n```\n\nSee also the [online documentation](http://fchauvel.github.io/flap).\n\n## Contact Us\n\nIf you give FLaP a try, please report any bugs, issues or feature request using the [issue tracker](https://github.com/fchauvel/flap/issues).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffchauvel%2Fflap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffchauvel%2Fflap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffchauvel%2Fflap/lists"}