ArtworkDoc.tioga
Michael Plass, March 17, 1993 4:52 pm PST
Rick Beach, July 25, 1987 4:33:05 pm PDT
Bier, March 11, 1988 4:15:58 pm PST
ARTWORK
CEDAR 10.1 —
Artwork
Michael Plass
© Copyright 1987, 1993 Xerox Corporation. All rights reserved.
Abstract: Package for including and/or displaying artwork in Tioga documents.
Created by: Michael Plass
Maintained by: Michael Plass <Michael Plass:PARC:Xerox>
Keywords: artwork, formatting, graphics, illustration, Interpress, pictures, printing, rules, Tioga documents
XEROX  Xerox Corporation
   Palo Alto Research Center
   3333 Coyote Hill Road
   Palo Alto, California 94304

1. Commands
Artwork on | off
This command turns the artwork feature on or off, repainting the screen if needed. Note: this state will also affect hardcopy output, so be careful about turning it off.
ArtworkInterpress
A synonym for Artwork, for compatibility.
ArtworkCenteredDisplay
Install the CenteredDisplay artwork implementation and create two Tioga keyboard operations, CTRL-3 to open a centered display for editing and CTRL-4 to close a centered display for display.
2. Artwork classes implemented in this package
Artwork = Rule
This class is for displaying typographic rules in Tioga documents. (A typographic rule is black rectangular box, usually a horizontal or vertical line.) The content of a node with Artwork property value of Rule is interpreted to determine the rule length and thickness. (This interpretation is identical to that of the obsolete TSetter ArtworkClass = Rule). The default length of the rule is the width of the column from the current indent. Some thicknesses are predefined: - (minus sign) gives a 0.4 point rule (a thin line), (em dash) also gives a 0.4 point rule, = (equals sign) gives a 1.0 point rule (a thicker line), ~ (tilde) gives a rule 80% of the font height, # (number sign) gives a rule 80% of the font height. Two keyword parameters may also be given, thickness: <value> <unit>, or length: <value> <unit>, where <value> is a real number and <unit> may be one of in for inches, pt for points, cm for centimeters, mm for millimeters, and bp for big points. The rule below has a 2 pt thickness and length 2 inches:
thickness: 2 pt length: 2 in
Artwork = Interpress
This artwork class is for including figures encoded as Interpress documents. Several packages will construct artwork nodes for you, for example, Gargoyle and Preview.
Artwork = CenteredDisplay
This artwork class provides a crude vertical centering capability for formatting Tioga documents. The following node has Format "display" and Artwork = CenteredDisplay. (Note that the node is formatted with print style so that the correct dimensions will be used when it is printed.)
Artwork=CenteredDisplay
A CenteredDisplay artwork node has several additional property values that supply the centered material. Two Tioga operations, OpenCenteredDisplay and CloseCenteredDisplay, are provided to create and examine the centered material as ordinary Tioga nodes. The ArtworkCenteredDisplay command defines two Tioga keyboard operations: CTRL-3 for OpenCenteredDisplay, and CTRL-4 for CloseCenteredDisplay. After issuing the ArtworkCenteredDisplay command, select the CenteredDisplay node above, hold the CTRL key down while tapping the 3 key. The nodes that made up the display node will appear. Unfortunately there is a repaint bug that does not remove the display node from the screen; scrolling the offending display node off the screen cures the repainting artifact. To remake the display node, select in the "Artwork=CenteredDisplay" node, hold the CTRL-key down while tapping the 4 key. The entire branch will be replaced by a centered display node.
3. Client interfaces
ImagerArtwork
For creating Interpress Artwork. Other packages (e.g., Preview, Gargoyle, PressScreen) use this to stuff artwork into a Tioga document.