[alt.sources.wanted] pic format, manpage

dan@kfw.COM (Dan Mick) (06/25/91)

I'd like to write a replacement for pic; as such, I'd like to have some
specifications for the language, if anyone has them; figuring out details
from context can be tedious and is certainly incomplete.

Can anyone send a manpage, or an excerpted manpage, for pic?  Any notes?
Any information at all?  References on books that describe pic?

(I know I could buy source for DWB from AT&T, but then my motivation for
coming up with a pic replacement would be a lot smaller...)

jjc@jclark.UUCP (James Clark) (06/25/91)

In article <1991Jun24.221415.25685@kfw.COM> dan@kfw.COM (Dan Mick) writes:

   I'd like to write a replacement for pic; as such, I'd like to have some
   specifications for the language, if anyone has them; figuring out details
   from context can be tedious and is certainly incomplete.

groff includes an implementation of pic (in C++).  It works with
ditroff and TeX as well as with GNU troff.  You can get it by
anonymous ftp from prep.ai.mit.edu or your local GNU archive.

The best reference on pic is:

B.W. Kernighan, ``Pic -- A Graphics Language for Typesetting'' in Unix
Research System Papers, Tenth Edition Volume II.

James Clark
jjc@jclark.uucp

fischer@iesd.auc.dk (Lars P. Fischer) (06/25/91)

>>>>> On 24 Jun 91 22:14:15 GMT, dan@kfw.COM (Dan Mick) said:

Dan> I'd like to write a replacement for pic; [...]
Dan> Can anyone send a manpage, or an excerpted manpage, for pic?  Any notes?
Dan> Any information at all?  References on books that describe pic?

Before you start, please note that there is already a free
implementation of pic as part of the GNU TROFF (groff) package. The
GNU version of pic (gpic) comes complete with support for tpic
specials, troff or TeX output, and more.

The GROFF package features a complete troff, tbl, pic, eqn, refer,
etc. It also have several backends for various output formats,
including PostScript (compliant to version 3.0 of the document
structuring conventions), DVI, ASCII, and X11 preview.

The GROFF package is very solid and well performing. Recommended.

/Lars
--
Lars Fischer,  fischer@iesd.auc.dk   | It takes an uncommon mind to think of
CS Dept., Univ. of Aalborg, DENMARK. | these things.  -- Calvin