Skip to content

RAvdek/note_friendly_pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note friendly PDF

"...I have discovered a truly marvelous proof of this, which this margin is too narrow to contain."

I want to modify PDFs with enough blank space to write lots of notes, either on a printout or using some drawing software. Margins are usually too tiny to write out a complete thought! This tool can

  • take a PDF file on your computer,
  • insert a blank page in every other page, then
  • write out the expanded document as a new PDF file in landscape view.

Here is an example of an incredibly interesting math paper I downloaded from the arXiv. Here's what the file looks like in Chrome's file viewer: Before

The content of the paper appears dubious, so I'll want plenty of space to jot down my suspicions. The margins don't provide me enough space. I run the following command to make an edited file with lots of blank space...

python main.py ~/Downloads/2005.11428.pdf

which will create a new file, ~/Downloads/2005.11428_notes.pdf which looks like this: After

Basic usage

After downloading the code, install the requirements within a virtual env:

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Now you are ready to use the tool. A help menu will guide you:

python main.py --help

The only options available allow you to select pages of interest (which might come from a big document). If you want to only use pages 10-11 and 40-45, use the command:

python main.py ~/Downloads/2005.11428.pdf -s 10 11 -s 40 45

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages