Robust arXiv LaTeX cleaner with DPI-based image rescaling.
Project description
arxivit 🧹
Robust arXiv LaTeX cleaner with DPI-based image rescaling.
Installation (🚧 soon)
pip install arxivit
Usage
# Create an uploadable archive: /path/to/paper.arxiv.tar
arxivit /path/to/paper/main.tex
For more options, run:
arxivit --help
Q&A
Why Not arxiv-latex-cleaner?
arxiv-latex-cleaner statically analyzes LaTeX source code, which has some limitations:
- It does not reliably track dependencies in all scenarios—e.g., when images are included via complex macros that obscure their filenames in the source code.
- It only supports fixed-size image rescaling, without considering how large an image appears in the final compiled PDF.
How Does arxivit Work?
arxivit takes a different approach:
- It uses
latexmkto compile the LaTeX source code. - It analyzes the compilation log to determine which
.texfiles and images are included, as well as their sizes in the final PDF. - It rescales images to the desired DPI based on their actual dimensions in the final document, ensuring uniform sharpness while minimizing file size.
- It uses
latexpandto strip comments from.texfiles.
Related Projects
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
arxivit-0.1.0.tar.gz
(8.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arxivit-0.1.0.tar.gz.
File metadata
- Download URL: arxivit-0.1.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99e0a168ca1db4cd926046d71ebf1817cf1997fc8071e87a02325986ad155ad1
|
|
| MD5 |
905ddc56d8fe65e7f3673669452c556b
|
|
| BLAKE2b-256 |
f43bd76cd25a9062075da961fee745ef3bed847e4b6b1749c4e685514e7715ba
|
File details
Details for the file arxivit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: arxivit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97d6d434f07c17dedf43a067735666d2047641f4265bdc0a363d36c4e0a8f285
|
|
| MD5 |
1ead997adeb734cbee60a3ffb8d6e7e3
|
|
| BLAKE2b-256 |
bc91f8cc0da3b5011d6c5a51c680a7f7a5e882610d9af55779877fb88d5d047d
|