Mark PDF files as author copies using an automatically generated overlay
The following ruby gems need to be installed:
- bibtex-ruby
- pdfinfo
Furthermore, you need:
- a working LaTeX installation
- latexmk
- pdfinfo
Usage: annotate.rb [options]
Available options:
-b, --bibtex FILE Obtain publication data from FILE
-c, --copyright NAME Copyright is held by NAME instead of publisher
-i, --input FILE Read original PDF from FILE
-k, --key KEY Use bibtex entry KEY
-o, --output FILE Write annotated PDF to FILE
Generic options:
-h, --help Show this message and exit
The following arguments are mandatory:
--bibtex FILEPath to BibTeX file that contains an entry for the document to process--input FILEPath to input PDF file--key KEYBibTeX key for the document to process--output FILEPath to output PDF file
The copyright holder is normally determined by the publisher field of the BibTeX entry. It can be overwritten using
--copyright NAME.