![]() |
Grap |
For some reason, when James J. Clark implemented groff, a free version of troff and associated tools, he didn't implement grap. I finally wanted to use it badly enough that I wrote it. The current version is 1.20, released 21 Jun 2001.
Version 1.20 adds some new features. Embedded troff and pic commands are now interleaved more rationally with the generated pic commands. Grap is considerably more tolerant of using variable names that are the same as keywords or coordinate names. Details are in the CHANGES file.
I recommend upgrading to 1.20.
Version 1.20 is the latest release. If you have problems with grap, let me know.
I've compiled grap on FreeBSD, Linux, and Solaris, with appropriate versions of yacc, lex, C++, and the standard template library. Note that versions of g++ before 2.95 or so are no longer supported. Grap version 1.10, still works on it, but not all features are available.
Bruce Lilly, brave soul that he is, has made it run using UWIN under Windows NT with g++ 2.95.1. Yeah, it surprised me, too. Bruce is quite the grap hero, having found several bugs and contributed the error reporting code. Not to be outdone, Kees Zeelenberg has compiled it under Windows 98. He has a full Windows version of groff. Nelson Beebe at the University of Utah has compiled grap on many platforms from Apple's Darwin to HP/UX and counting.
The source is available, as well as some cool example output in gnuzipped postscript, pdf, or html. (A few new examples have been added to show off 1.20 features.)