Skip to main content

A small script to collect your LaTeX files for submission to the arXiv. Install with pip install arxiv-collector or conda install -c conda-forge arxiv-collector; use with arxiv-collector [paper.tex] from your project’s main directory.

Main features:

  • By default, strips potentially-embarrassing comments from your uploaded .tex files.

  • Includes the necessary parts of any system package you tell it to upload. By default, this includes biblatex (if you use it) to avoid errors like

> Package biblatex Warning: File ‘<file>.bbl’ is wrong format version

  • Only uploads things you actually use: if you have an image you’re not including anymore or whatever, doesn’t upload it.

Requirements:

  • A working installation of [latexmk](http://personal.psu.edu/jcc8/software/latexmk/), on your PATH. (This is used to make the .bbl file and to track which files are used.) - If you have working TeX and Perl installations, you can either install latexmk the “normal” way (e.g. tmlgr, apt-get, …), or just grab the standalone script with arxiv-collector –get-latexmk path/to/output/latexmk. - If latexmk isn’t on your PATH for whatever reason, add –latexmk ./path/to/latexmk to your arxiv-collector call. - NOTE: latexmk version 4.63b (the latest on CTAN as of this writing) has broken dependency tracking, which means arxiv-collector won’t work with it. You can get a working version, e.g. 4.64a, with arxiv-collector –get-latexmk path/to/output/file, and either put it in e.g. ~/bin or pass –latexmk to your arxiv-collector invocations.

The script has only really been tested on my own projects; let me know if you run into any problems.

Known limitations:

  • If you include figures or other files with absolute paths (includegraphics{/home/me/wow.png} instead of includegraphics{../wow.png}), the script will think it’s a system file and not include it by default. You can hack it with –include-packages to include any directory name in the path.

Release files for arxiv-collector 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arxiv-collector 0.3.3
File Size Uploaded
arxiv-collector-0.3.3.tar.gz 7.7 kB Details

Release files / arxiv-collector-0.3.3.tar.gz

Download URL arxiv-collector-0.3.3.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
667a7444a7ff1d7b39cd4e6eda99e26a38fe3f0249a45cf7fcf9e596f0cfa233
BLAKE2b-256 checksum
How to use checksums
724658262d54b9f130894c892c010275c5ffc170fe2ad7c8844f23003e2a23b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release history Release notifications | RSS feed

0.4.1

1 release file

0.4.0

1 release file

0.3.5

1 release file

0.3.4

1 release file

This release

0.3.3 This release

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page