comp.lang.ada
 help / color / mirror / Atom feed
From: Michal Young <young@cs.purdue.edu>
Subject: Re: Is there an Ada postscript package anywhere ?
Date: 26 Feb 1995 03:12:45 GMT
Date: 1995-02-26T03:12:45+00:00	[thread overview]
Message-ID: <3iorjd$at@ector.cs.purdue.edu> (raw)
In-Reply-To: 3io0nl$7as@gnat.cs.nyu.edu

Just amplification of the previous message --- the suggested form 
>    (postscript program)
>    (marked up text)
is in fact what nearly all postscript generating programs do.
(There are a few exceptions, but not many.)  So basically you 
do the following:
  * Design your own set of markup commands.  If your markup is not
    complex, this is nearly trivial.
  * Write a PostScript procedure for each markup command.  The
    difficulty of this part depends on the complexity of the markup,
    and on familiarity with the PostScript language. Steal this code
    or get someone else to write it if you can, but if you must it's
    not really hard.  You need the PostScript Tutorial and Cookbook 
    from Adobe Press, and the PostScript Reference Manual from same. 
    There are probably copies on a bookshelf near you. The third
    manual in the series, PostScript Program Design (I've probably 
    got that slightly wrong, since I'm relying on memory) is useful
    if you do anything large or intended for widespread distribution.
    For simple layout tasks, chances are you can lift much of the 
    code you need directly from the Cookbook section of the first
    manual.  
  * Write a tiny bit of code in Ada or whatever to emit the marked up
    text.  This is certainly trivial, unless one of the other two 
    steps was badly botched or you are doing something really fancy.




      reply	other threads:[~1995-02-26  3:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-02-24  0:24 Is there an Ada postscript package anywhere ? CSCI1E80
1995-02-24 23:46 ` Bob Kitzberger
1995-02-25 19:34 ` Robert Dewar
1995-02-26  3:12   ` Michal Young [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox