Use case: Working with PDF text books, it can be helpful to be able to extract problems and images to use in notes and when working problemsets on the reMarkable tablet.
These instructions are MacOS centric, but should be reproducable on most platforms as the tools are fairly platform agnostic.
- homebrew - package manager for installing components
- DrawJ2d - Convert PDF to remarkable notebook (rmn) format
- Java JRE 1.8 - required by DrawJ2d
- pdf2rmnotebook - combine multiple rmn pages into notebook
- Method for syncing RMN files to tablet
- PDFsam Basic - Extract pages by page number from PDF
The DrawJ2d executable/script needs to be available in $PATH
- Download and install Java JRE 1.8
- Download DrawJ2d
- Create
~/bindirctory (or any other path):mkdir -p ~/bin - Add the
~/binto PATH- Edit
~/.bashrcor~/.zshrcand add:$HOME/binto the existing$PATH
- Edit
- Test:
$ drawj2d -V- The output should be similar to that shown below
$ drawj2d -V
Welcome to Drawj2d
Copyright (c) A. Vontobel, 2014-2023
Version 1.32
- Install
popplerdependency forpdfinfo:brew install poppler - Clone pdf2rmnotebook
git clone git@github.com:JCN-9000/pdf2rmnotebook.git
- Copy pdf2rmnotebook executable and libaries to
~/bincp pdf2rmnotebook.sh ~/bin; cp -R var ~/bin/
- Download rmapi Mac OS version
- Decompress and move rmapi into
~/bin - run
rmapiand follow the prompts to generate an access key
- Pay for & download RCU
- Download PDFsam Basic
- Move into Applications folder
Use PDFsam to extract pages. Extract the pages you wish to be able to cut and paste from in a reMarkable notebook. Save the pages to a folder.
Use pdf2rmnotebook to convert the PDF files to RMN zip files:
pdf2rmnotebook.sh -o output_name input.pdf
Use pdf2rmnotebook to convert the PDF files to RMN zip files:
[Forked version that supports RMN natively]((https://github.com/txoof/pdf2rmnotebook/tree/readme)
pdf2rmnotebook.sh -r -o output_name input.pdf
rmapi: rmapi put /path/to/file
RCU: connect, drag, drop
Using
rmapimeans that anybody who uses this workflow will have to have a reMarkable cloud account. I don't trust the reMarkable cloud service, so I can't/won't use it.Instead, I use
drawj2dto export to an.rmnfile, and use RCU to upload it to the tablet.