&{ and Postscript errors

Three bugs:

1. Amaya tries to interpret "&" followed by a non-letter as an
entity. Nothing bad happens, but a warning is printed on the console.
According to SGML, an "&" is only part of an entity if followed by a
letter.

2. The Postscript output is not correct EPS, at least some Postscript
tools have problems with it. I tried to use "psnup" to print two pages
on a single side, but it moved the %%Trailer part of the file before
the first page, which caused the "EndThot" function to be executed,
which caused all dictionaries to be closed, which in turn caused all
definitions of fonts, etc. to be lost. Simply removing the "EndThot"
fixed that problem.

3. Another Postscript problem is that the first page in the Postscript
file starts with the comment "%%%%Page", instead of "%%Page", which
caused "psnup" to skip that page.


Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/pub/WWW/People/Bos/                      INRIA/W3C
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 4 93 65 77 71               06902 Sophia Antipolis Cedex, France

Received on Friday, 21 February 1997 18:02:18 UTC