🍺 BREW Explorer

← all formulae

arxiv_latex_cleaner

brew install arxiv_latex_cleaner v1.0.11 Apache-2.0

Clean LaTeX code to submit to arXiv

62
30-day installs · #4249
349
90-day · #3320
964
365-day · #3905
6.9k
★ GitHub stars · updated 4mo ago

Runtime dependencies

GitHub topics

arxiv latex

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "libyaml",
    "pillow",
    "python@3.14"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Clean LaTeX code to submit to arXiv",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:35:32+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "arxiv_latex_cleaner",
  "github_default_branch": "main",
  "github_last_commit_at": "2026-03-27T21:04:20Z",
  "github_readme_excerpt": "# `arxiv_latex_cleaner`\n\nThis tool allows you to easily clean the LaTeX code of your paper to submit to\narXiv. From a folder containing all your code, e.g. `/path/to/latex/`, it\ncreates a new folder `/path/to/latex_arXiv/`, that is ready to ZIP and upload to\narXiv.\n\n## Example call:\n\n```bash\narxiv_latex_cleaner /path/to/latex --resize_images --im_size 500 --images_allowlist=\u0027{\"images/im.png\":2000}\u0027\n```\n\nOr simply from a config file\n\n```bash\narxiv_latex_cleaner /path/to/latex --config cleaner_config.yaml\n```\n\n## Installation:\n\n```bash\npip install arxiv-latex-cleaner\n```\n\n| :exclamation: arxiv_latex_cleaner is only compatible with Python \u003e=3.9 :exclamation: |\n| ---------------------------------------------------------------------------------- |\n\nIf using MacOS, you can install using [Homebrew](https://brew.sh/):\n\n```bash\nbrew install arxiv_latex_cleaner\n```\n\nAlternatively, you can download the source code:\n\n```bash\ngit clone https://github.com/google-research/arxiv-latex-cleaner\ncd arxiv-latex-cleaner/\npython -m arxiv_latex_cleaner --help\n```\n\nAnd install as a command-line program directly from the source code:\n\n```bash\npython setup.py install\n```\n\n## Main features:\n\n#### Privacy-oriented\n\n*   Removes all auxiliary files (`.aux`, `.log`, `.out`, etc.).\n*   Removes all comments from your code (yes, those are visible on arXiv and you\n    do not want them to be). These also include `\\begin{comment}\\end{comment}`,\n    `\\iffalse\\fi`, and `\\if0\\fi` environments.\n*   Optionally removes user-defined commands entered with `commands_to_delete`\n    (such as `\\todo{}` that you redefine as the empty string at the end).\n*   Optionally allows you to define custom regex replacement rules through a\n    `cleaner_config.yaml` file.\n\n#### Size-oriented\n\nThere is a 50MB limit on arXiv submissions, so to make it fit:\n\n*   Removes all unused `.tex` files (those that are not in the root and not\n    included in any other `.tex` file).\n*   Removes all unused images that take up space (those th",
  "github_repo": "google-research/arxiv-latex-cleaner",
  "github_stars": 6910,
  "github_topics": [
    "arxiv",
    "latex"
  ],
  "homepage": "https://github.com/google-research/arxiv-latex-cleaner",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 62,
  "installs_365d": 964,
  "installs_90d": 349,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "arxiv_latex_cleaner",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 4249,
  "rank_365d": 3905,
  "rank_90d": 3320,
  "raw_hash": "1476646f36e2bee1",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/a/arxiv_latex_cleaner.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "1.0.11",
  "versioned_formulae": [],
  "why_use_this": null
}