From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f34c33ece8499e66 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-02-25 22:26:18 PST Path: nntp.gmd.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!xlink.net!howland.reston.ans.net!gatech!udel!news.mathworks.com!news.kei.com!eff!news.umbc.edu!haven.umd.edu!purdue!usenet From: Michal Young Newsgroups: comp.lang.ada Subject: Re: Is there an Ada postscript package anywhere ? Date: 26 Feb 1995 03:12:45 GMT Organization: Department of Computer Sciences, Purdue University Message-ID: <3iorjd$at@ector.cs.purdue.edu> References: <23FEB199519244570@uhcl2.cl.uh.edu> <3io0nl$7as@gnat.cs.nyu.edu> NNTP-Posting-Host: trurl.cs.purdue.edu Date: 1995-02-26T03:12:45+00:00 List-Id: 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.