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

MathGroup Archive 1994

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

Search the Archive

Re: Math on Sun..Help!

  • To: mathgroup at christensen.cybernetics.net
  • Subject: Re: Math on Sun..Help!
  • From: prange at ridgefield.sdr.slb.com (Michael Prange)
  • Date: Fri, 21 Oct 1994 09:15:06 -0400 (EDT)

This may not be the most elegant way, but it should work.  First, make
all the cells to be executed into Initialization cells.  To do this, 
look under the Style menu for the Attributes item.  Then cd to the
directory of the notebook and type

math -batchoutput -run "<<Notes.ma" <<! >& math.out &
Quit
!

This will simply execute all your initialization cells and then Quit.
Any output is send to math.out.  To output a PS file, I just the
command PSFile, which is defined by

System`PSFile::usage =
        "PSFile[file,-graphics-] sends the postscript version of graphics to a file."
Begin["System`Private`"]
PSFile[file_String,x_] := ( Display[ToString[StringForm["!psfix > ``", file]], x]; x )
End[]


  > The question is : How can I run a notebook in the background? and is it
  > possible to put the plot in an output postscript file so that when I login
  > later the plot would be easily accessible?





  • Prev by Date: real number -> scientific C like string
  • Next by Date: Re: function definition
  • Previous by thread: Re: Math on Sun..Help!
  • Next by thread: Re: Math on Sun..Help!