2008/6/6 Florian Kulzer <[EMAIL PROTECTED]>: > You can select which page is opened, but you cannot edit more than one > page at once.
That's going to be a problem 20 documents (10 pages each) a week before the final exam! > Here is an extremely quick-and-dirty, I-guarantee-for-nothing (!) bash > script to remove embedded fonts. It takes only one argument, the name of > the original PDF file, and it generates "...-NOFONTS.pdf". I only tested > this on one PDF file that I happened to have lying around, so I have no > idea how robust this is: > > #! /bin/bash > TEMPPSFILE="${1%.pdf}-TEMP.ps" > FONTS="$(echo $(pdffonts "$1" | awk 'NR>2{print "/"$1}'))" > echo ".setpdfwrite <</NeverEmbed [$FONTS]>> setdistillerparams" > > "$TEMPPSFILE" > pdftops "$1" - >> "$TEMPPSFILE" > gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -o "${1%.pdf}-NOFONTS.pdf" > -f "$TEMPPSFILE" > rm "$TEMPPSFILE" > Thank you, Florian! The script failed to remove the font from this particular pdf, however. I must say that I am impressed and I see that you've combined quite a few tools there. If you feel like a challenge, and don't mind Dotan taking advantage of that, then I could send to you one of the pdf files to perfect your script on. I am certain that there are many more people who would benefit from such a script, such as these folks and others: http://bugs.kde.org/show_bug.cgi?id=137062 http://bugs.kde.org/show_bug.cgi?id=156016 Thanks. Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?