Displaying 1 result from an estimated 1 matches for "basenew".
Did you mean:
asnew
2013 May 11
1
clean wheezy, R intrigue, squeeze-cran3 requires liblzma2?
...hostscript to fix that. It takes all pdf in a directory
## and embeds fonts.
##
## Todo: Make command line argument smarter, so that if user
## gives whatever.pdf, it will handle that, or
## if user gives a directory name, it will go in there and do it.
for i in *.pdf; do
base=`basename $i .pdf`;
basenew="${base}newtemp.pdf"
/usr/bin/gs -o $basenew -dNOPAUSE -dPDFSETTINGS=/prepress
-sDEVICE=pdfwrite $i
mv -f $basenew $i
done;
--
Paul E. Johnson
Professor, Political Science Assoc. Director
1541 Lilac Lane, Room 504 Center for Research Methods
University of Kansas...