Skip to content

A little Python script to collect LaTeX sources for upload to the arXiv.

License

Notifications You must be signed in to change notification settings

ast0815/arxiv-collector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 '.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, on your PATH.

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.

About

A little Python script to collect LaTeX sources for upload to the arXiv.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%