Difficulties with Front End and with mysterious messages
- To: mathgroup at smc.vnet.net
- Subject: [mg13813] Difficulties with Front End and with mysterious messages
- From: mareb at primrose.csv.warwick.ac.uk (David Epstein)
- Date: Fri, 28 Aug 1998 04:18:32 -0400
- Organization: University of Warwick, UK
- Sender: owner-wri-mathgroup at wolfram.com
I am having difficulties with the Front End. I am running X under Solaris. Are there instructions provided for operating the FrontEnd, other than the Mathematica Book, which seems to miss out some important points. How do I save a file? While in a notebook, I selected the File Menu. Then I selected Save As... But I was unable to modify the filename given. So I had to save it as Untitled-1.nb and then go into the Unix shell to rename it to something sensible. I tried to write a file from the notebook, with the command Display["cpos.eps",%,"eps"] and I got the answer LinkObject:: linkd : <<1>> is closed; the connection is dead. I was unable cut and paste from the Mathematica window to the Unix shell. Is there any way to do this? When I tried reloading the program, I was unable to modify it from inside Mathematica. After executing, the prompt shows a black circle with a horizontal line, which looks like a no-entry sign. Here is the notebook: (*********************************************************************** 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[ 3687, 85]*) (*NotebookOutlinePosition[ 4323, 108]*) (* CellTagsIndexPosition[ 4279, 104]*) (*WindowFrame->Normal*) Notebook[{ Cell[BoxData[ \(\(\nClearAll["\<`*\>"]; \n (*\ make\ a\ postscript\ file\ in\ the\ current\ directory\ and\ send\ a\ copy\ to\ humber*) \n run[filename_, picture_]\ := \ \((\n\ \ \ \ \ \ \ \ Display[filename, picture, "\<eps\>"]; \n \ \ \ \ \ \ \ (*\ Run["\<rcp \>"\ <>\ filename\ <>\ "\< dbae at humber:texts/burn\>"]; *) \n)\); \n\n\n txta = \ DisplayForm[StyleBox["\<a\>", FontSlant -> "\<Italic\>"]]; \n\ txtb = \ StyleBox["\<b\>", FontSlant -> "\<Italic\>"] // DisplayForm; \n\ txtca = \ StyleBox["\<ca\>", FontSlant -> "\<Italic\>"] // DisplayForm; \n \ txtcb = \ StyleBox["\<cb\>", FontSlant -> "\<Italic\>"] // DisplayForm; \n\ plt[a_, b_, c_, extra_: 1]\ := \((\n\t\tpointsize\ = \ .015*b; \n\t\ \ p = Plot[c*x, {x, \(-b\) - extra, b + extra}, \n \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ DisplayFunction -> Identity]; \n\ \ \ \ grprims\ = {\n \ \ \ \ \ \ \ \ {PointSize[pointsize], Point\ /@\ {{a, c*a}, {b, c*b}}}, \n \t\t\t{PointSize[pointsize* .7], \n\t\t\t\t\t Point\ /@\ {{a, 0}, {b, 0}, {0, c*a}, {0, c*b}}}, \n \t\t\t{Text[txta, {a, 0}, {0, 2}], \n\t\t\t\t Text[txtb, {b, 0}, {0, 2}], \n\t\t\t\t Text[txtca, {0, c*a}, {1.2, 0}], \n\t\t\t\t Text[txtcb, \ {0, c*b}, \ {1.2, 0}]}\n\t\ \ }; \n\t\t gropts\ = {\n\ \ \ \ \ \ \ \ \ \ DisplayFunction -> $DisplayFunction, \n\ \ \ \ \ \ \ \ \ \ PlotRange -> {\((b + extra)\)*{\(-1\), 1}, Abs[c]*\((b + extra)\)*{\(-1\), 1}}, \n\ \ \ \ \ \ \ \ \ \ AspectRatio -> Automatic, \n\t\t\t\tTicks -> None, \n \ \ \ \ \ \ \ \ \ \ AxesOrigin -> {0, 0}\n\ \ \ \ \ }; \n\t\t Show[{p, Graphics[grprims]}, gropts]\n)\); \n Display["\<cpos.eps\>", plt[1, 2, .4], "\<eps\>"]\)\)], "Input"] }, FrontEndVersion->"X 3.0", ScreenRectangle->{{0, 1152}, {0, 900}}, WindowSize->{957, 599}, WindowMargins->{{Automatic, 62}, {106, Automatic}} ] (*********************************************************************** 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, 1974, 34, 1139, "Input"] } ] *) (*********************************************************************** End of Mathematica Notebook file. ***********************************************************************)