Description Usage Arguments Details Value Author(s) Examples
When pdfout is missing it defaults to <input>_gso.pdf
1 2 | gscompress(pdfin, pdfout, firstpage, lastpage, pdflevel = "1.5",
gsopts = "", Force = TRUE)
|
pdfin, pdfout |
Input and Output PDFs |
firstpage, lastpage |
Page range (defaults to firstpage = 1, lastpage = last in PDF) |
pdflevel |
Minimum compatible PDF version of output file |
gsopts |
Further options for ghostscript |
Force |
When FALSE, only update file for newer input |
This seems to work well for pdflatex output
character vector with path to pdfout
jefferis
1 2 3 4 | ## Not run:
gscompress('statistics.pdf',gsopts='-dSubsetFonts=true -dEmbedAllFonts=true')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.