Re: [ROOT] pdf output and pdflatex

From: Christian Holm Christensen (cholm@nbi.dk)
Date: Tue Dec 07 2004 - 20:09:02 MET


Hi Olivier and Maxim,

On Tue, 2004-12-07 at 14:38 +0100, Olivier Couet wrote:
> 
> Hi Maxim,
> 
>  The c1.pdf files you sent me are polluted with <CTRL>M characters at the 
> end of each lines. Just like some files coming from Windows are sometimes. 
> So I cannot use it (pdf is very sensitive on the number of characters in a 
> file). 

Isn't the `P' in `PDF' for Portable :-) 

> If I generate c1.pdf with the macro you sent me all works just 
> fine. My pdflatex is:
> > Christian Holm Christensen wrote:
> > > The problems is the line 
> > > 
> > >         5 0 obj
> > >         <<
> > >         /ProcSet [/PDF /Text]
> > >         /Font 6 0 R              <=== Problematic line 
> > >         >>
> > >         endobj
> > >         
> > > In the generated PDF file.  If one interchanges the `6 0 obj' and `5 0
> > > obj' PDFLaTeX succeeds, but when you view it in Acroread, it gives the
> > > warning: 
> > > 
> > > 	Illegal operation 'BT' inside a text object. 
> > > 
> > > With XPdf it says 
> > > 
> > > 	Error: Leftover args in content stream
> > > 
> > > With GPDF it says nothing. 
> > 
> > I'm sorry, but I am not familiar with PDF internals. Do you mean ROOT 
> > produces corrupted PDF files or pdflatex doesn't support some PDF features?

I don't know.  My guess is that it's ROOT which is at fault, just
because PDFLaTeX has been around for much longer that TPDF - but I have
no concrete arguments.  I guess one would have to look in the specs of
the PDF, the TPDF code and in the PDFLaTeX documentation. 

Yours,

-- 
 ___  |  Christian Holm Christensen 
  |_| |  -------------------------------------------------------------
    | |  Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
     _|           DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
    _|            Denmark                    Office: (+45) 353  25 404
 ____|   Email:   cholm@nbi.dk               Web:    www.nbi.dk/~cholm
 | |



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET