arxiv-latex-cleaner

(★ 7,017)

arXiv LaTeX Cleaner: Easily clean the LaTeX code of your paper to submit to arXiv

File Explorer

  • .gitignore
  • __init__.py
  • cleaner_config.yaml
  • CONTRIBUTING.md
  • LICENSE
  • MANIFEST.in
  • README.md
  • requirements.txt
  • setup.py

# Installation Guide

python
Prerequisites

Setup Steps

pip install arxiv-latex-cleaner

Install the arxiv-latex-cleaner package using pip.

arxiv_latex_cleaner /path/to/latex

Clean the LaTeX source folder to create an arXiv-ready submission folder.

Key Commands

pip install arxiv-latex-cleaner

Install the package from PyPI.

arxiv_latex_cleaner /path/to/latex --resize_images --im_size 500

Clean LaTeX source folder with optional configurations.

arxiv_latex_cleaner /path/to/latex --config cleaner_config.yaml

Clean LaTeX folder using a configuration file.

This tool requires Python >= 3.9.

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

line

View Details ▼

Manage lines.
Accessed in configuration mode.

line vty 0 15

Configure lines from 0 to 15:

line

Read input:

🔍

brew install

View Details ▼

Install a Homebrew formula or cask.

brew install {{formula|cask}}

Install a formula/cask:

brew install {{[-s|--build-from-source]}} {{formula}}

Build and install a formula from source (dependencies will still be installed from bottles):

brew install {{[-n|--dry-run]}} {{formula|cask}}

Download the manifest, print what would be installed but don't actually install anything:

🔍

done

View Details ▼

This shell keyword is used with `for`, `while`, `select`, and `until` to mark the end of a loop.

tldr for

View documentation for the `for` keyword:

tldr while

View documentation for the `while` keyword:

tldr select

View documentation for the `select` keyword:

🔍

git clone

View Details ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

pip install

View Details ▼

Install Python packages.

pip install {{package1 package2 ...}}

Install one or more packages:

pip install {{package1 package2 ...}} {{[-U|--upgrade]}}

Upgrade all specified packages to the latest version, installing any that are not already present:

pip install {{package}}=={{version}}

Install a specific version of a package:

🔍

python

View Details ▼

Python language interpreter.

python

Start a REPL (interactive shell):

python {{path/to/file.py}}

Execute a specific Python file:

python -i {{path/to/file.py}}

Execute a specific Python file and start a REPL:

// repository documentation