DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T p

⟦219705910⟧ TextFile

    Length: 2995 (0xbb3)
    Types: TextFile
    Names: »pic2fig.1«

Derivation

└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦c319c2751⟧ »unix3.0/TeX3.0.tar.Z« 
        └─⟦036c765ac⟧ 
            └─⟦this⟧ »TeX3.0/Man-pages/other-manuals/pic2fig.1« 
└─⟦060c9c824⟧ Bits:30007080 DKUUG TeX 2/12/89
    └─⟦this⟧ »./tex82/TeXgraphics/transfig/pic2fig/pic2fig.1« 
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦63303ae94⟧ »unix3.14/TeX3.14.tar.Z« 
        └─⟦c58930e5c⟧ 
            └─⟦this⟧ »TeX3.14/Man-pages/other-manuals/pic2fig.1« 

TextFile

.TH PIC2FIG LOCAL 
.SH NAME
pic2fig \- Fig preprocessor for drawing simple pictures
.SH SYNOPSIS
.B pic2fig
.I file
.SH DESCRIPTION
.I Pic2fig
is a
.IR Fig(l)
preprocessor for drawing simple figures in Fig code.
The basic objects are
.IR box ,
.IR line ,
.IR arrow ,
.IR circle ,
.IR ellipse ,
.IR arc
and text.
.PP
When
.I pic2fig
is executed, it produces an output file in the current directory.  The
name is constructed from the input file's name.
If the input filename ends with .pic, then that extension will be
replaced by .fig.  Otherwise, .fig is appended to the input filename.
If 
.I file
does not exist, then
.I pic2fig
tries appending .pic to the name.
.PP
The input language for
.I pic2fig
is identical to that for
.I pic,
which is used with
.I dtroff(l),
except for extensions listed below.
Things enclosed within .PS and .PE will be translated by
.I pic2fig
to
.I Fig
intermediate code which can be further translated into a number of 
graphics description languages.
Text not within .PS and .PE will be passed unaltered to the output file.
The default line thickness of drawings is 8 milli-inches.  You
may adjust this using the command:

.ti +.5i
\&.ps \fIn\fR

for \fIn\fR milli-inches.
This command
must be given in the first column.  Changing the drawing thickness applies
to solid, dashed, and dotted lines, as well as circles, arcs, and ellipses.
.PP
Normally, the distance between text is 12 points.  If you're using larger
text to label objects, this should be set to an appropriate larger value.
This can be done using the

.ti +.5i
\&.baseline \fIn\fR

command, where \fIn\fR
is any real value, whose units are in typesetter points.
.PP
The shading texture may be controlled with the command:

.ti +.5i
\&.tx \fIN\fR \fIw1\fR \fIw2\fR \fI...\fR \fIwN\fR

where the \fIwN\fR are 32\-bit integers expressed in hexadecimal.
This command must be given in the first column.
.PP
Other input lines which begin with a
period character are passed through to the output unaltered except for
stripping the initial period character.  It is recommended that you not
use this feature unless you really know what you're doing.
.PP
Extensions and differences: Text in
.I pic2fig
can be any arbitrary TeX text.  It is set in restricted horizontal mode.
.PP
Boxes, circles, and ellipses may have two attributes not available in
.I pic:
they may be ``shaded'' or ``white''.  Because of restrictions in the
current Imagen postprocessor, objects may not be given other attributes
(eg, ``dashed'' or ``invis'') if they are ``shaded'' or ``white'' for
that output device.
Shaded figures are grayed in their interior.  White objects
force their interior to be whitened if it was shaded by another object.
Objects are ``stacked'' on each other in the order in which they are defined
in the
.I pic2fig
input file.  The shading attributes are subject to restrictions of the
capabilities of the output device used.
.SH "SEE ALSO"
B. W. Kernighan,
.I "PIC \(em A Graphics Language for Typesetting"