On Mon, Oct 5, 2009 at 1:26 PM, Taco Hoekwater <taco@elvenkind.com> wrote:
Taco Hoekwater wrote:
and with just a broken xref table with object compression off
(\nopdfcompression or \pdfobjcompresslevel=0):

 xpdf ex.pdf
 Error: PDF file is damaged - attempting to reconstruct xref table...

Somehow this is related to the example.pdf, because using cow.pdf works
just fine.

Also, after

 pdf2ps && ps2pdf example.pdf

it works correctly also.


# context --version
MTXrun | current version: 2009.09.13 14:24

# luatex --credits
This is LuaTeX, Version beta-0.43.0-2009081914

 
\pdfobjcompresslevel0
\pdfcompresslevel0
\starttext \externalfigure[example] \stoptext

It seems that there is a spurios \n just at the beginning
#hexdump -c test.pdf


0000000  \n   %   P   D   F   -   1   .   5  \n   % 320 324 305 330  \n
0000010   1   3       0       o   b   j       <   <  \n   /   L   e   n

 
Best wishes,
Taco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________



--
luigi