Yes it was a quoting issue. Tired and sick (in that order).

FWIW here is a script that if you use gnome nautilus will create a pdf of a multi page tiff into the same dir. ie place script in ~/.gnome2/nautilus-scripts :

#!/bin/sh
BASENAME=`basename "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS"`
DIR=`dirname "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS"`
cp "$DIR/$BASENAME" "/tmp/$BASENAME"
cd /tmp
rm prefix*.tif
tiffsplit "$BASENAME" prefix
tiff2ps prefix*.tif > "$1.ps"
ps2pdf "$1.ps" "$1.pdf"
rm "$1.ps"
mv "$1.pdf" "${DIR}/."
xpdf "${DIR}/${1}.pdf"

Takes about 12 secs for a 2.2Mb tiff to display in pdf.

Thanks to those who replied.

Stu

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to