Re: [ROOT] pdf output and pdflatex

From: Christian Holm Christensen (cholm@nbi.dk)
Date: Mon Dec 06 2004 - 16:12:31 MET


hi Maxim,

On Mon, 2004-12-06 at 19:44 +0600, Maxim Nikulin wrote:
> Hi,
> 
> I tried to include pdf files produced by ROOT into a LaTeX document and 
> got pdflatex failed:
> 
> ...
> Error: pdflatex (file ./c1.pdf): pdf inclusion: invalid font in 
> reference type
> <dictionary>
>   ==> Fatal error occurred, the output PDF file is not finished!

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. 


> Information on versions, etc.:
> ROOT version: this morning CVS
> OS: Linux, Fedora Core 2
> CPU: Intel Pentium 4

Mine is 

	ROOT:	CVS head as of end of last week 
	OS:	Debian GNU/Linux unstable (sid) 
	CPU:	Intel Centrino 

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