MathGroup Archive 1999

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

Search the Archive

EPS Display problem with OpenStep

  • To: mathgroup at smc.vnet.net
  • Subject: [mg15719] EPS Display problem with OpenStep
  • From: "DIAMOND Mark R" <markdXYZ at XYZpsy.uwa.edu.au>
  • Date: Fri, 5 Feb 1999 03:42:17 -0500 (EST)
  • Organization: The University of Western Australia
  • Sender: owner-wri-mathgroup at wolfram.com

I have been having considerable difficulty creating graphics from
Mathematica which I can then incorporate successfully into LaTeX files.
The latest in a series of problems is described in the notebook below.

More generally, if anyone knows of a good source of information
regarding Mathematica graphics and LaTeX, I would be grateful to hear
about it. I have the LaTex and Mathematica books, as well as the two
LaTeX "companion" books, but I am still having considerable trouble.


------------------------------------------------------------------------
Mark R Diamond
Department of Psychology
The University of Western Australia
Nedlands  WA  6907
AUSTRALIA
Telephone: +61 8 93803281
Facsimile: +61 8 93801006
Email: edit this junk-mail avoiding address ...
markdXYZ at XYZpsy.uwa.edu.au
------------------------------------------------------------------------
Disclaimer: The views expressed herein are solely attributable to the
author and do not necessarily reflect the views of the Department of
Psychology or The University of Western Australia.
------------------------------------------------------------------------


(***********************************************************************

                    Mathematica-Compatible Notebook

This notebook can be used on any computer system with Mathematica 3.0,
MathReader 3.0, or any compatible application. The data for the
notebook  starts with the line of stars above.

To get the notebook into a Mathematica-compatible application, do one of
the following:

* Save the data starting with the line of stars above into a file
  with a name ending in .nb, then open the file inside the application;

* Copy the data starting with the line of stars above to the
  clipboard, then use the Paste menu command inside the application.

Data for notebooks contains only printable 7-bit ASCII and can be sent
directly in email or through ftp in text mode.  Newlines can be CR, LF
or CRLF (Unix, Macintosh or MS-DOS style).

NOTE: If you modify the data for this notebook not in a Mathematica-
compatible application, you must delete the line below containing the 
word CacheID, otherwise Mathematica-compatible applications may try to 
use invalid cache data.

For more information on notebooks and Mathematica-compatible 
applications, contact Wolfram Research:
  web: http://www.wolfram.com
  email: info at wolfram.com
  phone: +1-217-398-0700 (U.S.)

Notebook reader applications are available free of charge from  Wolfram
Research.
***********************************************************************)

(*CacheID: 232*)


(*NotebookFileLineBreakTest
NotebookFileLineBreakTest*)
(*NotebookOptionsPosition[      4144,        129]*)
(*NotebookOutlinePosition[      4783,        152]*) (* 
CellTagsIndexPosition[      4739,        148]*) (*WindowFrame->Normal*)


Notebook[{
Cell[TextData[{
  "Can anyone explain what is going on here. I am trying to discover how
to \
create sensible EPS files from the kernel running ",
  StyleBox["Mathematica",
    FontSlant->"Italic"],
  " 3.0.1 on Mach OpenStep."
}], "Text"],

Cell[BoxData[
    \(\(g = Plot[Sin[x], {x, \(-4\), 4}, DisplayFunction \[Rule]
Identity];

    \)\)], "Input"],

Cell["Now things start to go wrong!", "Text"],

Cell[CellGroupData[{

Cell[BoxData[
    \(Display["\<trial3.eps\>", g, "\<EPS\>"]\)], "Input"],

Cell[BoxData[
    \(Display::"pserr" \( : \ \) 
      "\!\(\"PostScript langu\" \\[Ellipsis] \"ommand: forall
]%\"\)"\)], 
  "Message"],

Cell[BoxData[
    TagBox[\(\[SkeletonIndicator]  Graphics  \[SkeletonIndicator]\),
      False,
      Editable->False]], "Output"]
}, Open  ]],

Cell["\<\
If we try the command again, it looks as though something has now \ goes
wrong with the  attempt to write the file, even before a problem with \
the Postscript code arises.\
\>", "Text"],

Cell[CellGroupData[{

Cell[BoxData[
    \(Display["\<trial3.eps\>", g, "\<EPS\>"]\)], "Input"],

Cell[BoxData[
    \(LinkObject::"linkd" \( : \ \) 
      "\!\(\\[LeftSkeleton] 1 \\[RightSkeleton]\) is closed; the
connection \
is dead."\)], "Message"],

Cell[BoxData[
    \(LinkObject::"linkx" \( : \ \) 
      "Argument \!\(\\[LeftSkeleton] 1 \\[RightSkeleton]\) in \
\!\(LinkWrite[\(\(\\[LeftSkeleton] 1 \\[RightSkeleton]\), \
\"/Users/markd/trial3.eps\"\)]\) is not an open LinkObject."\)],
"Message"],

Cell[BoxData[
    \(LinkObject::"linkx" \( : \ \) 
      "Argument \!\(\\[LeftSkeleton] 1 \\[RightSkeleton]\) in \
\!\(LinkWrite[\(\(\\[LeftSkeleton] 1 \\[RightSkeleton]\), \
\(TextPacket[\"reply\"]\)\)]\) is not an open LinkObject."\)],
"Message"],

Cell[BoxData[
    \(LinkObject::"linkx" \( : \ \) 
      "Argument \!\(\\[LeftSkeleton] 1 \\[RightSkeleton]\) in \
\!\(LinkWrite[\(\(\\[LeftSkeleton] 1 \\[RightSkeleton]\), 1\)]\) is not
an \
open LinkObject."\)], "Message"],

Cell[BoxData[
    \(General::"stop" \( : \ \) 
      "Further output of \!\(LinkObject :: \"linkx\"\) will be
suppressed \ during this calculation."\)], "Message"],

Cell[BoxData[
    TagBox[\(\[SkeletonIndicator]  Graphics  \[SkeletonIndicator]\),
      False,
      Editable->False]], "Output"]
}, Open  ]],

Cell["\<\
So far as I know, the problem does not arise running under Windows \ ...
except of course for all the usual Windows unpleasantness\ \>", "Text"]
},
FrontEndVersion->"NeXT 3.0",
ScreenRectangle->{{0, 1085}, {0, 864}}, WindowSize->{520, 600},
WindowMargins->{{Automatic, 150}, {Automatic, 79}} ]


(***********************************************************************
Cached data follows.  If you edit this Notebook file directly, not
using Mathematica, you must remove the line containing CacheID at the
top of  the file.  The cache data will then be recreated when you save
this file  from within Mathematica.
***********************************************************************)

(*CellTagsOutline
CellTagsIndex->{}
*)

(*CellTagsIndex
CellTagsIndex->{}
*)

(*NotebookFileOutline
Notebook[{
Cell[1709, 49, 239, 6, 77, "Text"],
Cell[1951, 57, 110, 2, 50, "Input"], Cell[2064, 61, 45, 0, 35, "Text"],

Cell[CellGroupData[{
Cell[2134, 65, 72, 1, 30, "Input"],
Cell[2209, 68, 135, 3, 44, "Message"], Cell[2347, 73, 130, 3, 29,
"Output"] }, Open  ]],
Cell[2492, 79, 196, 4, 77, "Text"],

Cell[CellGroupData[{
Cell[2713, 87, 72, 1, 30, "Input"],
Cell[2788, 90, 153, 3, 44, "Message"], Cell[2944, 95, 250, 4, 82,
"Message"], Cell[3197, 101, 248, 4, 63, "Message"], Cell[3448, 107,
224, 4, 63, "Message"], Cell[3675, 113, 163, 3, 63, "Message"],
Cell[3841, 118, 130, 3, 29, "Output"] }, Open  ]],
Cell[3986, 124, 154, 3, 77, "Text"]
}
]
*)



(***********************************************************************
End of Mathematica Notebook file.
***********************************************************************)




  • Prev by Date: Re: Transc. Eqn - Symb. Iterative Sol'n.?
  • Next by Date: I am looking for code to READ DXF files in Mathematica
  • Previous by thread: Re: Transc. Eqn - Symb. Iterative Sol'n.?
  • Next by thread: I am looking for code to READ DXF files in Mathematica