MathGroup Archive 2005

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

Search the Archive

Re: Running ps2pdf from within Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg60542] Re: Running ps2pdf from within Mathematica
  • From: Peter Pein <petsie at dordos.net>
  • Date: Tue, 20 Sep 2005 05:18:56 -0400 (EDT)
  • References: <dgm0u7$o2i$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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