MathGroup Archive 1992

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

Search the Archive

mma 2.1 PostScript codes

  • To: mathgroup at yoda.physics.unc.edu
  • Subject: mma 2.1 PostScript codes
  • From: Simon Chandler <simonc at hpcpbla.bri.hp.com>
  • Date: Thu, 10 Sep 92 14:59:45 +0100

10/9/92

Dear MathGroupers,

In the past I have used a remote Mathematica Kernel (v2.0) with a
Macintosh (running mma v2.0 as well) as the front-end.  Everything
worked fine.  BUT...

I have just started using Mathematica v2.1 on a very remote machine
(i.e., different continent) with my Macintosh Mathematica (still v2.0)
running as the front-end.

Graphics are not rendered and I just get a box informing me that a
postscript error occured before the first drawing command.  By
deselecting the formatted attribue and looking at the PostScript code
I saw that PostScript generated by the new version uses single letter
commands to represent some frequently used PostScript commands.
That's a good idea because it should make my notebooks smaller.
However, the older front-end doesn't understand the single letter
codes so the graphics aren't drawn.

Here are some of the codes

	L	lineto
	m	moveto
	r	setlinewidth
	s	stroke
	g	setgray
	p or P	grestore

Of course I could copy the unformatted PostScript into a word
processing utility and do global changes to turn the letters into full
commands (or use the built-in `replace' command on the Mac) but that's
a chore.

The reason I am posting this is 

   * To disseminate this information.

   * To ask if anyone knows the full set of single letter codes or has
     further information on this subject.

   * To ask if there is any way of getting older front-ends to understand
     version 2.1 output.

   * To ask whether WR have introduced any other incompatabilities
     between version 2.1 and older versions.

I hope someone can help,

Simon Chandler
Hewlett-Packard Ltd (CPB)
Filton Road
Stoke Gifford
Bristol
BS12 6QZ

Tel: 0272 228109
Fax: 0272 236091
email: simonc at hpcpbla.bri.hp.com






  • Prev by Date: XYpic for arrows in TeX
  • Next by Date: improved version of histogram.m
  • Previous by thread: XYpic for arrows in TeX
  • Next by thread: improved version of histogram.m