[Pomp-commits] r639 - pkg/inst/doc
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Apr 1 21:15:37 CEST 2012
Author: kingaa
Date: 2012-04-01 21:15:37 +0200 (Sun, 01 Apr 2012)
New Revision: 639
Modified:
pkg/inst/doc/Makefile
pkg/inst/doc/advanced_topics_in_pomp.pdf
pkg/inst/doc/intro_to_pomp.pdf
Log:
- put compression into inst/doc/Makefile
Modified: pkg/inst/doc/Makefile
===================================================================
--- pkg/inst/doc/Makefile 2012-04-01 18:08:55 UTC (rev 638)
+++ pkg/inst/doc/Makefile 2012-04-01 19:15:37 UTC (rev 639)
@@ -1,3 +1,4 @@
+RSCRIPT = Rscript --vanilla
LATEX = latex
BIBTEX = bibtex
PDFLATEX = pdflatex
@@ -5,8 +6,18 @@
DVIPS = dvips -Ppdf
EPSTOPDF = epstopdf
-default: vignettes clean
+default: vignettes compress clean
+compress: export R_QPDF=qpdf
+compress: export R_GSCMD=gs
+compress: export GS_QUALITY=ebook
+
+compress: advanced_topics_in_pomp.pdf intro_to_pomp.pdf manual.pdf
+ for i in $^; do \
+ echo "compressing" $$i; \
+ $(RSCRIPT) -e "tools::compactPDF(\"$$i\")"; \
+ done
+
vignettes: advanced_topics_in_pomp.pdf intro_to_pomp.pdf
%.pdf: %.tex
Modified: pkg/inst/doc/advanced_topics_in_pomp.pdf
===================================================================
(Binary files differ)
Modified: pkg/inst/doc/intro_to_pomp.pdf
===================================================================
(Binary files differ)
More information about the pomp-commits
mailing list