GC2PIC(1)

NAME
gc2pic - gc for troff

SYNOPSIS
gc2pic [+s []] [ file]

DESCRIPTION
Gc2pic converts gc figures within its input files to pic format. This allows gc-style figures to be used within documents formatted with troff.

gc2pic uses pic's drawing facilities and the constant-width (e.g., or CO()) font so as to approximate gc's output as closely as possible. This includes curves (from ((,) )(,) and @();) they're built from splines, as they are in gc (see warning below). The normal horizontal, vertical, and diagonal lines and arrows are supported. Also, numerous hyperascii characters are translated into troff special characters. These are:
    HA?  HA@  HAA  HAB  HAF  HAM  HAO  HAP  HAR  HAU  HAV  HAW  HAb  HAe  HAf
gc2pic is also useful for generating the skeleton of a pic figure. Instead of directly writing input for pic, write gc input, run it through gc2pic, and edit the resulting output, adding what couldn't be expressed in gc2pic's input. It is anticipated that this will become more useful as gc2pic continues to evolve. gc2pic translates the and surrounding each figure into and .PE(,) respectively. Definitions for these macros should be included in the troff input. Otherwise the figures will be left-justified.

EXAMPLES
    gc2pic file | pic | troff -TX97.ti10p -mm | dx9700 | spool

WARNINGS
Splines are not currently supported by dx9700, and so gc2pic translates curves to line segments instead. Splines can be had by using the [+s] option.

BUGS
Overprinted non-graphics characters are not yet fielded correctly.

SEE ALSO
dx9700(1), gc(1), pic(1), troff(1)