From 74c0240b7022e199124acd8941d9fa3a1bea228f Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Tue, 25 Feb 2020 11:41:04 +0000 Subject: Minor readme updates --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index c2b3447..fcb1743 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,8 @@ Optionally, you can: - Download a paper but not upload to the reMarkable using the ``-n`` switch. - Insert a blank page after each page using the ``-b`` switch (useful for note taking!) -- Center the pdf on the reMarkable (default is left-aligned) +- Center (``-c``) or right-align (``-r``) the pdf on the reMarkable (default + is left-aligned), or disable cropping altogether (``-k``). - Provide an explicit filename using the ``--filename`` parameter - Specify the location on the reMarkable to place the file (default ``/``) @@ -118,12 +119,18 @@ $ p2r -v https://arxiv.org/abs/1811.11242 The script requires the following external programs to be available: -- [pdftk](https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/) +- [pdftk](https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/), or + ``pdftk-java``, whichever your package manager provides. - [GhostScript](https://www.ghostscript.com/) -- [rMAPI](https://github.com/juruen/rmapi) - [pdftoppm](https://linux.die.net/man/1/pdftoppm) Optional, but recommended for speed. Usually part of a [Poppler](https://poppler.freedesktop.org/) installation. +- [rMAPI](https://github.com/juruen/rmapi) + +On Arch, use ``pacman -S pdftk ghostscript poppler``, on Ubuntu try ``apt-get +install pdftk ghostscript poppler-utils``, and on Mac: ``brew install +pdftk-java poppler``. For [rMAPI](https://github.com/juruen/rmapi), use ``go +get -u github.com/juruen/rmapi``. If these scripts are not available on the ``PATH`` variable, you can supply them with the relevant options to the script. Then, you can install -- cgit v1.2.3