Re: psfix in 3.02?
- To: mathgroup at smc.vnet.net
- Subject: [mg17171] Re: psfix in 3.02?
- From: paulh (P.J. Hinton)
- Date: Sun, 18 Apr 1999 23:53:16 -0400
- Organization: Wolfram Research, Inc.
- References: <7f9ils$56e@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
In article <7f9ils$56e at smc.vnet.net>, hans.steffani at e-technik.tu-chemnitz.de (Hans Steffani) writes:
> In my old mathematica (2.something I assume) I used
>
> psfix[graphik_Graphics, name_String, opts___] :=
> Module[{befehl,
> breite=AspectRatio(*/.opts*)/.AspectRatio->1},
> befehl =
> "!psfix -width " <> ToString[breite] <>
> " -height " <> ToString[1/GoldenRatio*breite//N] <>
> " -epsf > " <> name <> ".eps";
> Display[befehl, graphik ];
> ];
> psfix[__] := Print["Falscher Aufruf"];
>
> to produce PS-Pictures automaticaly from the notebook. Now my systems
> seems not to have a psfix-executable so this hack does not work
> anymore. What should I do???
Evaluate the following expression in a kernel.
ToFileName[{$TopDirectory, "SystemFiles", "Graphics", "SystemResources"}]
That should return the path to psfix in the Mathematica 3.0 installation.
Copy it to a directory that is on your shell's PATH variable list, and
the problem should just go away.
--
P.J. Hinton
Mathematica Programming Group paulh at wolfram.com
Wolfram Research, Inc. http://www.wolfram.com/~paulh/
Disclaimer: Opinions expressed herein are those of the author alone.