macOS
brew install arxiv_latex_cleanerlocal Homebrew formula metadata
brew
Clean LaTeX code to submit to arXiv. Version 1.0.11 via Homebrew; verified from local package data.
install
brew install arxiv_latex_cleanerlocal Homebrew formula metadata
nix profile install nixpkgs#arxiv-latex-cleanernixpkgs package indexes · pkgs/by-name/ar/arxiv-latex-cleaner/package.nix · source: api.github.com
overview
Clean LaTeX code to submit to arXiv
history
arxiv_latex_cleaner is a Python CLI from google-research for preparing LaTeX paper source trees for arXiv submission. It removes auxiliary files, comments, unused files and images, and can resize or compress assets to fit arXiv constraints.
The public GitHub repository was created in January 2019. The README frames the tool around a concrete academic publishing task: take a folder of LaTeX sources and produce a sibling `_arXiv` folder ready to zip and upload.
The release history shows v0.1.x releases beginning by 2020 and v1.0.x releases from 2023 onward, with v1.0.11 published in March 2026. The README notes that the project is not an officially supported Google product.
The documented primary installation path is `pip install arxiv-latex-cleaner`, with Homebrew as an option on macOS. The provided package-manager facts also list Nix, and the GitHub repository metadata reported several thousand stars and hundreds of forks at research time.
Its adoption story is bound to academic workflow pain: arXiv uploads expose comments, reject oversized bundles, and require the right source subset. The tool turns that cleanup into a repeatable command-line step.
Users run `arxiv_latex_cleaner /path/to/latex`, optionally with flags such as `--resize_images`, `--compress_pdf`, `--convert_png_to_jpg`, or `--config cleaner_config.yaml`. The README includes a YAML configuration example and documents regex-based replacement rules.
Important features include privacy-oriented comment and command removal, size-oriented pruning/resizing/compression, and replacing TikZ source with externalized graphics when configured.
This package is a neat example of a niche research-workflow CLI becoming a package-manager target. It is Python-first and pip-installable, but Homebrew and Nix packaging make it available to users who manage publishing tools outside Python virtual environments.
The package also exposes a common scientific-computing packaging tension: it wraps LaTeX, image, PDF, YAML, regex, and optional system tools into one small CLI whose inputs are messy project directories rather than clean APIs.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
arxiv_latex_cleaner | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/google-research/arxiv-latex-cleaner
install metadata
| Package key | brew:arxiv_latex_cleaner |
|---|---|
| Version | 1.0.11 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/arxiv_latex_cleaner |
| Homepage | https://github.com/google-research/arxiv-latex-cleaner |
| Repository | https://github.com/google-research/arxiv-latex-cleaner |
| Upstream docs | https://github.com/google-research/arxiv-latex-cleaner#readme |
| License | Apache-2.0 |
| Source archive | https://files.pythonhosted.org/packages/73/ad/a58581c70d89cd1b26dffb87ff4722e3607dad8884a507da25401fb921c0/arxiv_latex_cleaner-1.0.11.tar.gz |
| Dependencies | libyaml, pillow, python@3.14 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | arxiv_latex_cleaner |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
arxiv-latex-cleaner
nix profile install nixpkgs#arxiv-latex-cleanersource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.