Skip to main content

arxiv2kindle

A simple script to recompile arxiv papers to kindle-like format.

How does it work?

This script downloads the LaTeX source from arxiv and re-compiles it trying to fit a smaller size. We also apply some simple transforms such as:

  • downsize images;
  • add automatic line breaks in formulas;
  • allow formulas be placed on the next line;
  • try to convert two-sided documents to one-sided format.

All these transformations are automatic, so the success is not guaranteed. This approach will also not work for papers without the source. Nevertheless, in most cases the result is readable (tested on an old 6.5in x 4.5in Kindle).

Usage

With your paper of choice run:

arxiv2kindle --width 4 --height 6 --margin 0.2 1802.08395 - > out.pdf

or

arxiv2kindle --width 6 --height 4 --margin 0.2 --landscape "Towards end-to-end spoken language understanding" ./

Installation

arxiv2kindle requires pip version 10.0 or greater.

To install the package, run

pip install arxiv2kindle

Acknowledgements

This script is based on this amazing notebook.

Metadata

Release files for arxiv2kindle 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arxiv2kindle 0.1.3
File Size Uploaded Provenance
arxiv2kindle-0.1.3.tar.gz 5.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for arxiv2kindle 0.1.3
File Interpreter ABI Platform
arxiv2kindle-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 12.6 kB

Release files / arxiv2kindle-0.1.3.tar.gz

Download URL arxiv2kindle-0.1.3.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
092adea22260c40adae317681a690e3ff63c2f4e456d43dd5cc4e895e4855f46
BLAKE2b-256 checksum
How to use checksums
d0b55c0ce54a1de1b5024c3083abcebdcc85b8ab00f812bcf71c261aa5163946
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.9 CPython/3.8.3 Linux/5.4.0-37-generic

Release files / arxiv2kindle-0.1.3-py3-none-any.whl

Download URL arxiv2kindle-0.1.3-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3773048a4a600d91a27f185e5857119464568f3b91158e1722d2fb4cf2f73b34
BLAKE2b-256 checksum
How to use checksums
cdfb87536425713b9ea05cee4ea85b5bb233705eb4cc80fc66ef76b3deb09def
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.9 CPython/3.8.3 Linux/5.4.0-37-generic

Security for arxiv2kindle 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page