[texhax] Graphics from R into Latex

Steve Schwartz s.schwartz at imperial.ac.uk
Fri Jun 4 17:48:10 CEST 2010


Henrik,

On Fri, 2010-06-04 at 15:26 +0100, Henrik Aldberg wrote:
> The first file is the original PDF file and the second file is the
> latex output (also containing the Latex code).

Both your pdf and your latex output look fine to me, including heading
and labels, etc. in the latex output. I strongly suspect the problem is
that your pdf figure uses Helvetic and Helvetica-Bold fonts which are
NOT embedded in the file, so whether you can see them, or whether they
might be substituted by other fonts, is dependent on the rest of your
system and the application you use to view the latex output with.

I attach a version of your figure that uses embedded Nimbus fonts
instead of Helvetica. (I generated this by printing your pdf to a file.)

Try this on your system. If it works, you might then explore if/how you
can force your R to embed fonts in its output. Or use acrobat or
something else to embed the fonts.

HTH
Steve

-- 
+-------------------------------------------------------------------+
Professor Steven J Schwartz        Phone: +44-(0)20-7594-7660
Head, Space & Atmospheric Physics  Fax:   +44-(0)20-7594-7772
The Blackett Laboratory            E-mail: s.schwartz at imperial.ac.uk
Imperial College London            Office: Huxley 6M67A 
London SW7 2AZ, U.K.               Web: www.sp.ph.ic.ac.uk/~sjs
+-------------------------------------------------------------------+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: output.pdf
Type: application/pdf
Size: 34921 bytes
Desc: not available
URL: <http://tug.org/pipermail/texhax/attachments/20100604/7dd50efc/attachment-0001.pdf>


More information about the texhax mailing list