MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Running ps2pdf from within Mathematica


Trevor Baca schrieb:
> Under OS X 10.4 running the following at the commandline ...
> 
>    /sw/bin/ps2pdf foo.ps
> 
> .... summons the ps2pdf utility and converts foo.ps to foo.pdf, which is
> good. However, evaluating ...
> 
>    Run["/sw/bin/ps2pdf foo.ps"]
> 
> .... from within Mathematica gives the return code 32512 and doesn't
> summon psp2df.
> 
> Any ideas what I'm doing wrong?
> 
> Trevor.
> 

Hi Trevor,

just a guess:

MatheMatica runs command in $UserBaseDirectory. Is this, where your PDF
is located?

-- 
Peter Pein, Berlin
GnuPG Key ID: 0xA34C5A82
http://people.freenet.de/Peter_Berlin/


  • Prev by Date: Re: writing a function with unknown number of paramters
  • Next by Date: Re: Running ps2pdf from within Mathematica
  • Previous by thread: Re: Running ps2pdf from within Mathematica
  • Next by thread: Re: Running ps2pdf from within Mathematica