Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

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: [mg60541] Re: Running ps2pdf from within Mathematica
  • From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
  • Date: Tue, 20 Sep 2005 05:18:55 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <dgm0u7$o2i$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

ps2pdf is a shell script and you have to say

Run["bash ["/sw/bin/ps2pdf foo.ps"]

Regards
  Jens

"Trevor Baca" <trevorbaca at gmail.com> schrieb im 
Newsbeitrag news:dgm0u7$o2i$1 at smc.vnet.net...
| 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.
| 



  • Prev by Date: Re: Running ps2pdf from within Mathematica
  • Next by Date: Re: RegularExpression::maxrec: Recursion limit exceeded - positive match might be missed
  • Previous by thread: Re: Running ps2pdf from within Mathematica
  • Next by thread: Differences between recursions and limit