[pdftex] PDF empty with Acrobat / xpdf

Philippe CHAUVAT pchauvat at laposte.net
Tue Jun 28 09:48:15 CEST 2011


Hello James

Thanks a lot for your help. Finding this is really helpful. Actually,
modifications made are mainly to include background pages, like
[...]
\if at entete
\def\tetedelettre{\atxy(0mm,0mm){\includegraphics{head}}}
\def\suitedelettrepaire{\atxy(0mm,0mm){\includegraphics{page-noprint}}}
\def\suitedelettreimpaire{\atxy(0mm,0mm){\includegraphics{page-noprint-verso}}}
\else
\def\tetedelettre{}%
\def\suitedelettrepaire{}%
\def\suitedelettreimpaire{}%
\fi%
[...]
and then
[...]
\def\letteropening#1{%
  \if at entete
  \tetedelettre{}%
  \fi
[...]
So, except if I destroyed or modified something else, this should have
no side effect like those.

Philippe
Original Tex class is joined.

Le 27/06/2011 23:18, James Quirk a écrit :
> Martin,
> 
> On Mon, 27 Jun 2011, Martin Schröder wrote:
> 
>> 2011/6/27 James Quirk <jjq at galcit.caltech.edu>:
>>> For your test PDF, Linux Adobe Reader 7.0.8 pops up an alert box
>>> "Wrong operand type" which suggests that your PDF is malformed.
>>> Hence the blank page. Higher versions of Linux AR all fail silently.
>>
>> Adobe Pro X/Win shows it without problems and reports no errors preflighting it.
> Attached is Philippe's test file with object 7 uncompressed. You'll 
> notice I've deactivated the line:
> 
>    0 0 0 0 0 0 cm
> 
> it is the one which gives the "Wrong operand type" message at my end. And 
> without it the file renders fine with Linux AR, at least for all the 
> versions I have. So the file is malformed in the sense that multiplying 
> the current transformation matrix by a null matrix is a bad idea; Philippe 
> is this one of your mods? All I can think is that Adobe Pro X/Win 
> ingnores the concatenation, ditto for xpdf. When I get the chance I'll
> delve into xpdf's source to see what it does. 
> 
> James
> 
> 
> 
> 
>>
>> Best
>>    Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testlettre.cls
Type: text/x-tex
Size: 48833 bytes
Desc: not available
URL: <http://tug.org/pipermail/pdftex/attachments/20110628/40ab2d3f/attachment-0001.bin>


More information about the pdftex mailing list