|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T
Length: 1756 (0x6dc) Types: TextFile Names: »TPIC-CHANGES«
└─⟦060c9c824⟧ Bits:30007080 DKUUG TeX 2/12/89 └─⟦this⟧ »./tex82/TeXgraphics/transfig/pic2fig/TPIC-CHANGES«
Originally, the only modules which were changed to convert pic to tpic were pltroff.c (now called pltex.c), print.c, and main.c. The changes in main.c were very minor, just cleaning up a few things. Those in pltroff.c involved removing the existing output printf's and adding appropriate calls to routines in a new module, impd.c (impress drawing routines). The change in print.c was to make it use a new pltex routine to draw dashed and dotted lines. There's also a bug fix in arcgen.c, line 95 (changing a "<=" to "<"), and in pic2.c, the error message format was changed so that emacs could parse it. Subsequently, we fixed arcgen to compute the extremes of arcs correctly, and we made chopping on ellipses work correctly (before it treated an ellipse as a circle, and consequently chopped lines to them in the wrong place). Then troffgen was changed to texgen, since that what it was. Two new attributes were added to the grammar, SHADED and WHITE, so additions were made in pic.h. Print.c had to change to do the text attributes after doing the object itself, so that text within an object would not be overwritten by the object's shading (on an Imagen). Then in porting pic and tpic to the SUNs, I modified picy.y so it didn't play fast and lose with unions and elements of unions, as described on Unix- Wizards. To make the sources portable to TOPS-20 (using Lepreau's C compiler), I changed references to y.tab.h to be to picy.h, and changed the Makefile appropriately. Because of a bug in that compiler, I changed getvar() and related routines to return a pointer to a YYSTYPE instead of a YYSTYPE. Added .baseline command to set the baseline in points. Otherwise, the files are identical to the pic sources distributed by Kernighan.