[Genabel-commits] r1499 - tutorials/GenABEL_general

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Dec 20 11:11:54 CET 2013


Author: maksim
Date: 2013-12-20 11:11:54 +0100 (Fri, 20 Dec 2013)
New Revision: 1499

Modified:
   tutorials/GenABEL_general/Makefile
Log:
Added a command for more compression

Modified: tutorials/GenABEL_general/Makefile
===================================================================
--- tutorials/GenABEL_general/Makefile	2013-12-20 08:22:09 UTC (rev 1498)
+++ tutorials/GenABEL_general/Makefile	2013-12-20 10:11:54 UTC (rev 1499)
@@ -22,8 +22,11 @@
 	makeindex $<
 	pdflatex $<
 	pdflatex $<
-	gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=$(MAIN).pdf_compressed $(MAIN).pdf
-	mv $(MAIN).pdf_compressed $(MAIN).pdf
+	gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=$(MAIN).pdf_compressed1 $(MAIN).pdf
+	pdftk $(MAIN).pdf_compressed1 output $(MAIN).pdf_compressed2 compress
+	mv $(MAIN).pdf_compressed2 $(MAIN).pdf
+	rm -rf $(MAIN).pdf_compressed1
+  
 
 html: all
 	mk4ht htlatex GenABEL-tutorial.tex myxhtml



More information about the Genabel-commits mailing list