[OS X TeX] trim pdf figures

Nigel King King at dircon.co.uk
Wed Jul 7 17:26:18 CEST 2004


Hi Ross,
(sorry about mislaid late posting)
After much fiddling through many Mathematica versions 2-5 I find that 
the onlyreally satisfactory output from Mathematica 5 for including in 
ConTeXt is
Export["fname,eps",graph,"EPS"]
and then converting that to pdf with epstopdf. In this case I get no
error messages, the fonts seem to be correct, and the page is cropped
to the size specified.

(I wish there was a way to command the epstopdf bit from within 
Mathematica to automate the process further.)

Nigel

On 22 Jun 2004, at 09:37, Bruno Voisin wrote:

> Hi Ross,
>
>> By the way, with Mathematica you can export to the natural size of 
>> the graphic,
>> using the Display[...] or Export[...] functions.
>> Check all the options (e.g. image format) that these built-in 
>> functions support.
>
> The last time I tried both EPS and PDF files produced in this way did 
> not have any proper size: either the bounding box was a whole page, or 
> the bounding box was "correct" but graphics were scaled (they did not 
> have the default size I had specified in the front-end styles).
>
> Hence I went back to my usual technique which is to use Edit/Save 
> Selection As/EPS… from the front-end.
>
> I'll have another look at the options for Display and Export.
>
> Cheers,
>
> Bruno
>
> -----------------------------------------------------
> Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
> Please see <http://www.esm.psu.edu/mac-tex/> for list
> guidelines, information, and LaTeX/TeX resources.
>
>

-----------------------------------------------------
Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the macostex-archives mailing list