Re: [ROOT] pdf output and pdflatex

From: Maxim Nikulin (
Date: Tue Dec 07 2004 - 14:16:15 MET

Hi Olivier and Christian,

Olivier Couet wrote:
> You ROOT version is too old. It generates pdf files without cropbox in it. 
> With 4.01/05 it is fine. I have attached the c1.pdf file I generated with 
> the lates ROOT. With that file pdflatex works fine for me. So if this file 
> (the one attached) doesn't work for you it means you also have a problem 
> with pdflatex.

I've attached c1.pdf generated by 4.01/05 (yesterday morning cvs):

$ cvs status postscript/src/TPDF.cxx postscript/inc/TPDF.h
File: TPDF.cxx          Status: Up-to-date

    Working revision:    1.14
    Repository revision: 1.14    /user/cvs/root/postscript/src/TPDF.cxx,v
    Sticky Tag:          (none)
    Sticky Date:         (none)
    Sticky Options:      (none)

File: TPDF.h            Status: Up-to-date

    Working revision:    1.4
    Repository revision: 1.4     /user/cvs/root/postscript/inc/TPDF.h,v
    Sticky Tag:          (none)
    Sticky Date:         (none)
    Sticky Options:      (none)

pdflatex doesn't understand this c1.pdf file. Pdflatex doesn't work with 
your c1.pdf too. I tried

pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2)
pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5)

Could you specify your pdflatex version?

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?

Best regards,
Maxim Nikulin

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