Crates.io | pdf-annotations-converter |
lib.rs | pdf-annotations-converter |
version | 0.2.0 |
source | src |
created_at | 2020-09-10 04:58:19.762948 |
updated_at | 2020-09-11 05:17:19.671089 |
description | Converts annotations found in PDF files to different formats. |
homepage | |
repository | https://github.com/thlorenz/pdf-annotations-converter |
max_upload_size | |
id | 286917 |
size | 30,023 |
Converts annotations found in PDF files to different formats.
USAGE:
cat annotations.txt | pdf-annotations-converter [OPTIONS] > notes.md
FLAGS:
-h, --help Prints help information
-n, --numbers Flag specifying if page numbers should be included
-V, --version Prints version information
OPTIONS:
-a, --add-offset <add offset> Added to annotated page numbers to obtain physical page
-s, --sub-offset <sub offset> Subtracted from annotated physical page to obtain page number
Physical pages don't usually match page numbers. Therefore you can optionally provide an offset to
derive one from the other.
First determine the page offset which is the physical page on which page number `1` appears.
Then provide this offset via `--add-offset` if the annotations include the actual page number or via
`--sub-offset` if the annotations include the physical page.
cargo install pdf-annotations-converter
At this point annotations generated with GoodReader are supported. These annotations are obtained by using the export via email feature.
No email account needs to be connected to do this as you can just pretend to send them via email and copy them to the clipboard to them transfer them via a different mechanism, i.e. via Notes.
At this point rendering to markdown is supported.
MIT