[next] [prev] [prev-tail] [tail] [up]

4.4 The graphics menu 

This menu appears after choosing Graphics in the run Utilities selection menu of the main 4TeX menu (see Figure 4.7). See Section 7.4 for more information on graphics in TeX.  
PICT
Figure 4.7Graphics menu

[F] choose picture File
selects a picture file containing a picture that has to be incorporated in your TeX document. 4TeX recognizes files with the following extensions as picture files:

Depending on the type of the file that is selected, an appropriate viewer and conversion program is automatically chosen by 4TeX.

Note: If you have a (Enhanced) Windows Metafile (.wmf, .emf) you can use a program like PaintShop Pro or the Irfan viewer to convert the Windows Metafile to one of the graphic formats as described above.

[V] View picture
views the selected picture using the current options (see below). Under MS-Dos press [Esc] to exit the viewer.

[C] Convert picture file
converts the selected picture file to a format which can be imported into your TeX document, using the current options. Depending on the format of the selected picture file 4TeX selects a conversion program. How to include the picture in your document is explained on the screen (see also Section 7.4).

[P] change picture files Path
clears the field picture files path and another subdirectory can be chosen. If you enter a directory name with wildcards (or an empty one) 4TeX will display a list of all directories that satisfy the wildcard specification. By using the cursor keys you can select the directory you want. Using this approach you do not have to type the whole directory name (correctly) but only a few letters are often enough. Press [Esc] to restore the directory name to the old setting.

[O] change Options
changes the options for the viewer and conversion program. Defaults can be set in texuser.<os>. On pressing this key a screen appears showing all options for the appropriate viewer and conversion program (see figures 4.8-4.10). The user can set all parameters described in the documentation of the viewer and conversion program. To do so, type the relevant parameter values as described in the manuals and press [Enter] . To restore the old parameter values press [Esc] .  


PICT
Figure 4.8Options for bitmap graphics in the graphics menu

 
PICT
Figure 4.9Options for PostScript graphics in the graphics menu

 
PICT
Figure 4.10Options for HPGL graphics in the graphics menu

[T] change printer Type
presents a selection menu showing all printer types that are installed on your system. Select by using the cursor keys and press [Enter]. For a list of currently available printer types see Section 6.6. Set the printer type to match the printer that will be used to generate the high-quality pictures (e.g., PostScript pictures).

[Y] change viewer tYpe
presents a selection menu showing all viewer types that are installed on your system. Select by using the cursor keys and press [Enter]. For a list of currently available viewer types see Section 6.6. Set the viewer type to match the viewer that will be used to generate the low-quality pictures (e.g., PCX bitmap pictures).

Note that the graphics utility allows you to generate low resolution pictures that can be used for viewing and high resolution pictures that can be used for printing. For instance if you have a 600dpi HP LaserJet IV PostScript printer you probably want to print at 600dpi but want to view at 300dpi (because 300dpi fonts need less memory and load more quickly). This can be done by selecting the correct printer and viewer type. The selection of the viewer/printer type will also change the printer/viewer type for the output menu!

[R] Return to main menu
returns to the main 4TeX menu. Equivalent keys are [Q] and [Esc].

If the current picture file is a PostScript file then there is the extra option:
[B] (re)calculate BoundingBox
A BoundingBox specifies the size and origin of an .eps or .ps picture. Some programs do not calculate the BoundingBox correctly or even do not calculate it at all. Use this option to make sure that the BoundingBox is correct. See Sections 7.4.4 and 7.4.5 for more information on PostScript pictures and BoundingBoxes.

If the current picture file is a Bitmap file then there is the extra option:
[G] run Graphics program xxx
where xxx is Graphic Workshop (in case you are running MS-Dos) or Paintshop Pro (in case you are running Windows 95/NT). Both (shareware) programs are fine tools for working with bitmapped graphic files. They will handle most of the popular bitmap formats. Graphic Workshop supports the following operations on graphic files: View, Convert between any two formats, Print, Dither color pictures to black and white, Reverse, Rotate, Flip, Scale, Reduce the number of colors, Sharpen, Soften, Adjust the brightness, contrast and color balance of the bitmaps. Paintshop Pro is even more powerful.

[next] [prev] [prev-tail] [front] [up]