RE: a DSSSL typesetter

Subject: RE: a DSSSL typesetter
From: "Frank A. Christoph" <christo@xxxxxxxxxxxxxxxxxx>
Date: Sun, 10 May 1998 17:37:36 +0900
>   Actually, I'm not so convinced that TeX and PostScript are that far
>apart.  It's true that TeX knows far more (as PostScript, by it's
>essential nature, knows basically nothing) about typesetting, but
>that's simply because it was programmed with that knowledge.  The
>question is really whether PostScript has the guts to elegantly and
>efficiently handle the processing tasks needed to implement the
>typesetting process.  I've looked a bit at TeX's general strategy for
>typesetting (the "box and glue" idea), and I can't see implementing
>something like that in PostScript as being that difficult.  Of course,
>there's got to be more to it than that, but...


By the usual Turing completeness argument, it's not hard to see that
anything you can do in TeX, you can do in PostScript.  The real issue is,
_where_ you do it: on the computer, or at the printer?  As anyone who was
had experience producing PostScript code before knows, the trick is to do as
much computation as possible on the host machine, and then send the
smallest, least computationally-intensive result possible to the PS file or
printer.  (Rather like partial evaluation in a functional language---the PS
file is the residual program.)  The reason is not only that PS interpreters
are slow and low on memory, but also the fact that you can obtain greater
guarantees about the resulting document if you do as much computation as
possible as early as possible.  For example, TeX tells you when you have
dangling references (to labels), it tells you when it can't find an external
input file, it tells you when there is an error in the macros, it tells you
when a line is overfull, etc.  So you can take corrective action before you
actually send the thing to a printer.

--FC



 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Re: a DSSSL typesetter, (continued)
        • Gregg Reynolds - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id IAA27439Sun, 10 May 1998 08:19:21 -0400 (EDT)
        • Gregg Reynolds - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id PAA08528Sun, 10 May 1998 15:57:18 -0400 (EDT)
    • Frank A. Christoph - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id EAA24961Sun, 10 May 1998 04:12:20 -0400 (EDT)
      • Gregg Reynolds - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id HAA26749Sun, 10 May 1998 07:24:38 -0400 (EDT)
    • Frank A. Christoph - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id EAA25341Sun, 10 May 1998 04:33:47 -0400 (EDT) <=
      • Brandon Ibach - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id UAA12366Mon, 11 May 1998 20:59:36 -0400 (EDT)
    • Frank A. Christoph - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id UAA10752Sun, 10 May 1998 20:30:39 -0400 (EDT)