macOS
brew install arxiv_latex_cleanerlocal Homebrew formula metadata
安装
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 · 来源: api.github.com
概览
Clean LaTeX code to submit to arXiv
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
arxiv_latex_cleaner | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/google-research/arxiv-latex-cleaner
安装元数据
| 软件包键 | brew:arxiv_latex_cleaner |
|---|---|
| 版本 | 1.0.11 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/arxiv_latex_cleaner |
| 主页 | https://github.com/google-research/arxiv-latex-cleaner |
| 仓库 | https://github.com/google-research/arxiv-latex-cleaner |
| 上游文档 | https://github.com/google-research/arxiv-latex-cleaner#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://files.pythonhosted.org/packages/73/ad/a58581c70d89cd1b26dffb87ff4722e3607dad8884a507da25401fb921c0/arxiv_latex_cleaner-1.0.11.tar.gz |
| 依赖 | libyaml, pillow, python@3.14 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
arxiv-latex-cleaner
nix profile install nixpkgs#arxiv-latex-cleaner来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.