Summary package documentation

paperutils

paperutils: PDF manipulation utilities (wrapping pdftk and ghostscript)

dr_paperutils()

Check current set up of external tools used by paperutils

PDF manipulation

extract_pdf() extractpdf()

Extract pages from a PDF to new PDF(s)

numpages()

Return number of pages in PDF

pdf2png()

Convert pdf file to a png using ImageMagick convert tool

pdftk()

Return absolute path to pdftk binary

pdftotext()

Invoke pdftotext tool to extract text from a PDF document

pdftotextbin()

Return absolute path to pdftotext binary

gscompress()

Compress a PDF using ghostscript

extract_bookmarks() insert_bookmarks()

Insert and Extract bookmarks from a PDF

make_bookmark_text()

Make a correctly formatted block of text defining a bookmark in pdftk format

Powerpoint manipulation

is.pptx()

Test if file is in pptx format

unzip_pptx()

Unzip a PowerPoint pptx to a temporary directory

zip_pptx_dir()

Zip up a temporary directory into a PowerPoint pptx file

convert_pptx_pdfs()

Convert all the PDFs in PowerPoint presentation into higher res PNGs

pngres()

Return (horizontal) resolution in dots per inch of a png file

Adobe Illustrator and Scribus functions

linked_from_ai()

List all linked files from given illustrator file (ai or pdf)

ailinkedfiles()

pure R implementation of ailinkedfiles.pl

linked_from_sla()

List all linked files from given Scribus file (sla)

fix_sla_links()

Convert linked files in Scribus file from absolute to relative paths

Bibliography functions

add_scholar_cites_to_bib()

Update citation counts in bib file for references with google scholar ids

bibdesk_clean()

Clean up a bibtex file produced by BibDesk

read_bibdesk_bib()

Read a BibDesk bib file after cleaning it to remove problem fields

read_bibdesk_static_groups()

Read in the citekeys for each static group in a BibDesk file

bibtool()

Run bibtool command line utility

biber_cache() remove_biber_cache()

Return full path to the biber (biblatex) cache or delete it to fix problems

LyX/LaTeX functions

linked_from_lyx()

Return all the files linked from a LyX file

lyx_citekeys()

List the bibtex citekeys for a LyX document

lyxexport()

Export a LyX file to another format (by default xhtml)

lyxhtml2html()

Convert a LyXHTML file to an html file that can be opened by Word

current_lyx_tempfile()

Full path to most recent temporary PDF previewed by LyX

find_figs()

Find location of figures or tables using latex auxfile

find_supplemental()

Find location of supplemental information (SI) using latex auxfile