Skip to main content

Pack a latex project into an arxiv compatible archive.

Project description

arxify - Arxiv Packaging Tool

arxify is a command line tool that packs latex projects into an arxiv compatible archives. It removes comments from you *.tex files and removes any files that are not needed during the compile process. The latter is achieved by compiling the project once and observing which files are being accessed by the compiler using inotify. Due to the reliance on inotify, this tool is currently available only for Linux.

Installation

First, install inotify

sudo apt install inotify-tools 

Afterwards, install arxify via

pip install arxify

Usage

Call with your latex main file and a target filename for the resulting zip archive:

arxify /path/to/root/main.tex /path/to/output.zip

By default arxify will assume that the root directory of your project is the parent directory of your main *.tex file. Should that not be the case, specify the root directory with the -r option:

arxify /path/to/root/subdir/main.tex /path/to/output.zip -r /path/to/root/

By default arxify will attempt to compile your project using pdflatex and bibtex. Currently supported are also lualatex and biber, which can be selected via

arxify /path/to/root/main.tex /path/to/output.zip -c lualatex -b biber

If you wish to include files into the archive that are not used by the compiler, specify them with the -i option:

arxify /path/to/root/main.tex /path/to/output.zip -i /path/to/root/a_file.txt /path/to/root/another_file.txt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arxify-1.0.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

arxify-1.0.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file arxify-1.0.0.tar.gz.

File metadata

  • Download URL: arxify-1.0.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for arxify-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a0d49623b1167559d81c3c61cefb862ed85d992ab3ef3a1d36d8257a5bbd5bb7
MD5 7d6a357ae3e4aa09c5011f988816c21a
BLAKE2b-256 fc7777f635fce28fc3b1e4a09e5a506b0037d4391a7ec3f214d89f711962c5d0

See more details on using hashes here.

File details

Details for the file arxify-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: arxify-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for arxify-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50da2c23340c063cad2620ac08c35b03f99d645b2259fa3584fe30146414c0d2
MD5 11551947f135c45f23b8a8190ab00d97
BLAKE2b-256 9f708bd9982c5275c8201d54c0330c741607042e73e2154eed64720b9d97ff49

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page