Skip to content

Instantly share code, notes, and snippets.

@alecjacobson
alecjacobson / procrusteanarxiv.sh
Last active March 16, 2022 21:16
This script will attempt to create a copy of the input tex directory whose total size is less than the 10000 KBs (i.e., 10MBs) limit of ArXiv.
#!/bin/bash
if [ -z "$1" ];then
echo "USAGE:
procrusteanarxiv path/to/input/dir/containing/tex/files/
This script tested with dependencies:
gs Ghostscript version 9.27 (9.21 is buggy)