pkg.soopen package index

brew / rank 4012

Install arxiv_latex_cleaner with Homebrew, Nix

Clean LaTeX code to submit to arXiv. Version 1.0.11 via Homebrew; verified 2026-09-11. Also installable with nix: nix profile install nixpkgs#arxiv-latex-cleaner.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install arxiv_latex_cleaner

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#arxiv-latex-cleaner

nixpkgs package indexes · pkgs/by-name/ar/arxiv-latex-cleaner/package.nix · source: api.github.com

overview

Package summary

Clean LaTeX code to submit to arXiv

Commands and aliases

  • arxiv_latex_cleaner

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2019: Public GitHub repository created.
  • 2020: v0.1.x GitHub releases published.
  • 2023: v1.0.1 release published.
  • 2026: v1.0.11 release published.

Related projects

  • The README references arXiv submission workflows, PGF/TikZ externalization, Ghostscript for PDF compression, Inkscape-generated SVG/PDF assets, and Python packaging.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 3 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
cleaner_config.yaml

executables

Installed executables

CommandKindExposureNote
arxiv_latex_cleanercliglobal executable

freshness

Version and 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.

page generated2026-09-19
manager version1.0.11
manager updated2026-09-11
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/google-research/arxiv-latex-cleaner

install metadata

Package metadata

Package keybrew:arxiv_latex_cleaner
Version1.0.11
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/arxiv_latex_cleaner
Homepagehttps://github.com/google-research/arxiv-latex-cleaner
Repositoryhttps://github.com/google-research/arxiv-latex-cleaner
LicenseApache-2.0
Source archivehttps://files.pythonhosted.org/packages/73/ad/a58581c70d89cd1b26dffb87ff4722e3607dad8884a507da25401fb921c0/arxiv_latex_cleaner-1.0.11.tar.gz
Last updated2026-09-11T09:31:17Z
Pulseupdated
Dependencieslibyaml, pillow, python@3.14
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namearxiv_latex_cleaner
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

arxiv-latex-cleaner

nix profile install nixpkgs#arxiv-latex-cleaner
  • normalized package name match
  • Matched by: Arxiv Latex Cleaner
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ar/arxiv-latex-cleaner/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation