This also occurs with TIFF files or presumably any other file format.
Evince seems to be processing files based on file extension rather than
magic. I was just very confused by processing files with "gm convert
+adjoin $i.pdf $i.tiff" (from within a for loop) and being unable to
open the resulting single-page tiffs.

After a few seconds I said "oh no, you've got to be kidding me - I hope it's 
not doing a Windows thing" and ran:
export a=0; for i in `ls *.tiff.* | sort -n -t'.' -k 3`; do export a=$((a+1)); 
mv $i ${i/.tiff.*/.$a.tiff}; done
to rename the files from (ex.) foo.tiff.1 to foo.1.tiff

I'm on Natty-beta with evince-2.32.0-0ubuntu12

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/444907

Title:
  PDF files with wrong extension fail to load

-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to