next up previous
Next: End-of-line problems. Up: Convenient Labelling of Graphics, Previous: Format of the .bb


Making .bb files with Zephyr


Subsections With a Macintosh system, the easiest way to create .bb files for Encapsulated POSTSCRIPT \ensuremath{^{\mbox{\tiny\textregistered}}} graphics, and other formats, is to use David Rand's Zephyr [5] text and list editing program. After launching the application, a graphics file is opened by selecting the special PICT Displayer extension from the pull-down menu, as shown here: Choosing Display LL Coordinates prepares Zephyr for recording coordinate values for ``marked points'', where the origin is at the lower-left of the image. This opens a file-dialog window, allowing the required file to be found and opened. Indeed any file that contains a graphics preview image, in the Macintosh PICT format, can be selected from the file-dialog. It is this preview image which will be shown and used for marking points.

Figure 10: Opening a graphics file with the PICT Displayer in Zephyr.
\begin{figure}
%%
\hbox{\vbox{\hrule\hbox{\rotatebox{-90}{\includegraphics[scale=.5]{ZephyrA}}}%%
\hrule height.1pt depth 0pt}}
\end{figure}

The Display UL Coordinates alternative can be chosen instead, to have the origin at the upper-left corner and with the 2nd coordinate increasing downwards. If this is done, images in the TEX document using such coordinates should be preceded by the \MacintoshOrigin command.

To mark a point within the image, simply click with the mouse at the desired point. A small window will pop-up, as in the screen-shot below, allowing a text-label to be typed and confirmation of the selection.

Figure 11: Marking points for the .bb file with Zephyr's PICT Displayer.
\begin{figure}
\begin{center}
\includegraphics[scale=.5]{ZephyrB}\end{center}\end{figure}

After the first point has been chosen a Log-window appears, containing the bounding-box and other information, as well as data for the 1st marked point. A line of data is added for each subsequent point. Within the image the point is marked by a numbered cross. Guide-rules help position the cursor accurately; gradations may be inches, centimeters, or pixels. The Log-window can be seen in the above picture. Since it contains just plain text, the Log can be edited at any time.

When finished with an image, click its close-box (in the upper-left corner); this also adds the closing comment to the Log. Finally the Log-window should be closed and Save As choosing whatever name is desired--usually ending .bb, though this is not compulsory.


\MacintoshOrigin allow for coordinates with origin at upper-left
\EndLineAdjust adjust for awkward line-end characters



next up previous
Next: End-of-line problems. Up: Convenient Labelling of Graphics, Previous: Format of the .bb
Ross Moore 1999-08-12