Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cburkert/textractor
Extracting build-essential files from a LaTeX project and zip them
https://github.com/cburkert/textractor
latex zip
Last synced: 24 days ago
JSON representation
Extracting build-essential files from a LaTeX project and zip them
- Host: GitHub
- URL: https://github.com/cburkert/textractor
- Owner: cburkert
- License: mit
- Created: 2019-08-02T14:10:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-04-04T20:51:40.000Z (over 2 years ago)
- Last Synced: 2024-09-29T09:21:17.724Z (about 1 month ago)
- Topics: latex, zip
- Language: Python
- Size: 12.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Latest version on PyPI](https://img.shields.io/pypi/v/latextractor.svg)](https://pypi.org/project/latextractor/)
# La TeXtractor – Get your LaTeX zipped up!
Do you find yourself sometimes in need of a neat and clean zip archive with the
essential artefacts of your LaTeX project? Maybe to submit it along with the
camera-ready PDF of your paper?**The times when you manually cleaned out your project directory are over!**
We present: **La TeXtractor** a tool that takes care of everything for you (no
warranty!!)## Installation
La TeXtractor is available on PyPI:
```
python3 -m pip install latextractor
```## Usage
Simply run `textract -m paper.tex camera-ready.zip` and you are done.
Really, that's almost it. Check out `textract --help` for the more advanced
power-user features like- include additional files (like a copyright form)
- get a directory with all files in the zip for extra reassurance## How it works
To be honest: It's not hard. LaTeX's `-recorder` option does the heavy lifting
by listing all files that are accessed during a build run.
La TeXtractor just takes all (non-global) build assets from that list and zips
them up.
To make sure that everything that is needed for a build is included, La
TeXtractor test the build on a copy of the zip,
and prints a reassuring success message if all goes right.