Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: utzoo!decvax!decwrl!ucbvax!laser-lovers From: liam%cs.qmc.ac.uk@CS.UCL.AC.UK (William Roberts) Newsgroups: mod.computers.laser-printers Subject: PostScript and DITROFF output Message-ID: <8602120521.AA03637@ucbvax.berkeley.edu> Date: Tue, 11-Feb-86 12:36:52 EST Article-I.D.: ucbvax.8602120521.AA03637 Posted: Tue Feb 11 12:36:52 1986 Date-Received: Wed, 12-Feb-86 21:51:31 EST Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: liam%cs.qmc.ac.uk@cs.ucl.ac.uk Organization: The ARPA Internet Lines: 47 Approved: laser-lovers@washington.arpa I have just received a copy of TranScript release 2.0, which has a DITROFF-output to PostScript conversion program called psdit. Adobe have decided that it would be a good thing to add a way of inserting something into the INPUT of this filter which causes user-supplied PostScript to appear in the output: this is a good idea and one I have implemented myself (yes, we have a source licence). However, Adobe have added this feature in an extremely violent and destructive way, i.e. one which is NOT transparent to other DITROFF postprocessors. The scheme is as follows: (Am I about to violate a non-disclosure agreement? - I doubt it...) extend the DITROFF language by adding the construct %\n your postscript here this all goes direct into the output .\n THIS IS A VERY BAD IDEA! All other DITROFF output constructs are single line things and this goes entirely against the grain. My own scheme was to add the following comment conventions: #include filename #%postscript command which copy into the output the contents of and respectively. Because the # means comment, any unmodified postprocessor will ignore these instructions. Another viable scheme is to add extra device control functions or extra drawing functions to do a similar thing - most drivers simply ignore functions that they don't support. IF WE ALL BOYCOTT THIS SCHEME, MAYBE ADOBE WILL CHANGE IT INTO SOMETHING MORE SENSIBLE..... ------- William Roberts ARPA: liam@cs.qmc.AC.UK Dept of Computer Science or liam%qmc.cs@cs.ucl.ARPA Queen Mary College UUCP: liam@qmc-cs.UUCP LONDON, UK