Main Menus
The following menus are at the top of the
xfig window.
-
File: File menu
-
Edit: Edit menu
-
View: View menu
-
Help: Help menu
-
New
-
Delete all objects from the canvas and erase the current file name to make
a new figure. The accelerator Meta-N will also perform this function.
This operation may be undone by Undo.
-
Open...
-
Popup panel to open a Fig file.
See File Panels for details.
-
Merge...
-
Popup panel to merge one or more Fig files with the current figure.
See File Panels for details.
-
Save
-
Save current figure in current filename.
-
Save As...
-
Popup panel to save current figure in new filename.
See File Panels for details.
-
Export...
-
Popup panel to export current figure to various formats such as
PostScript, GIF, etc.
See Exporting for details.
-
Print...
-
Popup panel to print current figure to PostScript printer.
See Printing for details.
-
Exit
-
Exit from xfig. The accelerator Meta-Q will also perform
this function.
If the figure has been modified and not saved, a
popup panel will appear to ask the user if he wants to save the figure
first and then quit, quit without saving, or cancel the quit altogether.
If xfig is terminated with signals such as HUP or INT
(for example, by the kill command or an internal error of xfig),
xfig will try to save the figure in the SAVE.fig file.
-
Recent file list (1 2 3 4)
-
Below the Exit menu entry is a list of recently loaded
Fig files. The number of files in this list may be set in
the .xfigrc file in the user's login directory, or from the
Global Settings panel.
The maximum number of file names saved is 9.
-
Undo
-
Undo the last operation such as object creation, deletion or modification.
The accelerator Meta-U will also perform this function.
Multi-level undo is not supported. If Undo is clicked twice, it
will revert the state before the first undo.
-
Paste Objects
-
Paste the Fig object previously copied into the xfig
cut buffer (see also COPY
and DELETE)
into the current figure. The accelerator Meta-T will also perform
this function.
The object will appear on the canvas under or near the mouse where
it may then be moved and placed by pressing mouse button 1 (`place object').
If you want to place it where it originally came from press
mouse button 2 (`place at orig posn').
This function can be used to copy part of another figure into the figure
being edited. The cut buffer can be shared between xfigs if a user
runs two or more xfig programs at the same time, and it is possible
to copy objects between those xfig programs. If you want to copy an
entire figure from another file, you can merge the file
using File panel.
Normally, the ``.xfig'' file in user's home directory is used
as the cut buffer.
-
Paste Text
-
Paste text from the X11 cut buffer onto the canvas where a text object
has been started. Note that you must already have started a text object
by clicking the Text mode and clicking on
the canvas where you want the text pasted.
The accelerators F18 and F20 will also perform this function.
-
Search/Replace...
-
Popup panel to search and/or replace strings in Fig text objects.
The accelerator Meta-I will also perform this function.
See Search and Replace Text for details.
-
Spell Check...
-
Popup panel to check Fig text objects for spelling errors.
The accelerator Meta-K will also perform this function.
See Spell Check for details.
-
Global settings...
-
Popup panel showing global settings such as the HTML browser, spelling
checker, mouse tracking in rulers, etc.
The accelerator Meta-G will also perform this function.
See Global Settings for details.
-
Set units...
-
Popup the unit panel
to change drawing/scaling units. Right-clicking
on the unit box in the upper-right corner of xfig
will also perform this operation.
-
Redraw
-
Redraw the canvas. The accelerators Meta-R and Ctrl-L
will also perform this function.
-
Portrait/Landscape
-
Change the orientation of the xfig canvas between portrait and landscape.
The orientation will also be used as the default orientation when
Exporting
or Printing a figure.
The default orientation may be specified by command
line options. The orientation is automatically changed when loading
a fig file to correspond to the setting in the file.
-
Zoom in
-
Zoom in on the canvas by a factor of two.
Shift-Z will also perform this function.
See also Zooming.
-
Zoom out
-
Zoom in on the canvas by a factor of two.
A lowercase z will also perform this function.
See also Zooming.
-
Zoom to Fit canvas
-
Zoom the figure so that it just fits in the canvas.
Ctrl-Z will also perform this function.
See also Zooming.
-
Pan to origin
-
Pan the canvas to the origin (0,0).
See also Panning the Canvas.
For the following, an asterisk (
*) in the menu indicates
that the setting is turned on.
-
Show page borders
-
Turn on or off the drawing of the page borders on the canvas.
If on, xfig draws a lightblue line (default) on the canvas where the page boundaries
are and the name of the page size, for the currently selected page size
The accelerator Meta-B will also perform this function.
(see Exporting or
Printing for page sizes supported).
-
Show depth manager
-
Show or hide the depth manager panel
to the right of the side ruler.
See Layers (Depths) for details.
-
Show info balloons
-
Turn on or off displaying of
information balloons.
These balloons popup after a small delay when the mouse is moved over
a button or other areas of xfig with information about that item.
The accelerator Meta-Y will also perform this function.
The popup delay may be set in the Global Settings panel.
-
Show line lengths
-
Turn on or off the display of line lengths as lines/circles/etc. are drawn.
If on, xfig shows the lengths of lines as they are being drawn in red,
near the lines themselves.
The accelerator Meta-L will also perform this function.
-
Show vertex numbers
-
Turn on or off labelling of vertices of Fig objects.
If on, xfig will label each vertex of objects on the canvas with their
drawing order. This is only useful for diagnostic purposes.
-
Xfig Reference (HTML)...
-
This starts up your web browser (resource Fig.browser,
default netscape) to view these pages.
-
How-To Guide (PDF)...
-
This starts up your PDF viewer (resource Fig.pdfviewer,
default acroread) to view the xfig tutorial, written by
Peter Hiscocks.
-
Man pages (PDF)...
-
This starts up your PDF viewer (resource Fig.pdfviewer,
default acroread) to view the xfig man pages.
-
About Xfig...
-
This pops up a window with the version and copyright information about xfig.
The file panels provide the facility to Load, SaveAs, or Merge Fig files.
Use
Exporting
if you want to output figure with a format other than a
Fig file, and use
IMPORTING PICTURE OBJECTS
if you want to insert image files into the figure.
-
-
Choosing Open... from the File menu
will pop up up the Open Figure panel.
The accelerator Meta-O will also perform this function.
-
-
Choosing Merge... from the File menu
will pop up up the Merge Figure panel.
The accelerator Meta-M will also perform this function.
-
-
Choosing Save As... from the File menu
will pop up up the SaveAs panel.
The accelerator Meta-A will also perform this
function.
The panels look almost the same except for the bottom row
of buttons, which reflect the operations like "Open", "Merge", and "Save":
-
File Status
-
This shows whether the current figure has been modified or not.
-
# of Objects
-
This shows the number of Fig objects in the drawing. A compound object with
several objects inside is considered one object.
-
Figure Offset
-
Specify amounts of offset the figure should be shifted when loaded or merged.
The figure will be shifted to right or down by the amounts specified here.
It is also possible to shift figure to left or up by specifying negative
values here. Unit of the amounts may be Inches, Centimeters,
or Fig Units (1/1200 inch in version 3.x).
-
Current File
-
The name of the current file is displayed here.
This is updated if a different filename is entered in the Filename field,
and that file is either loaded or saved.
-
Filename
-
Specify the name of file to be loaded or saved. If this field is empty,
the file indicated at Current File will be accessed.
The file name in the Filename field may be changed by clicking
a file name in Fig Files list, or by typing the file name
on the keyboard . If return is typed after the file name is entered,
the file will be opened for the Open panel,
or saved for the SaveAs panel, or merged for the Merge panel.
-
Fig Files
-
The files in the current directory matching the pattern specified by Filename
Mask are displayed here, and users may select a file name from the list.
Clicking a file name in this list with mouse button 1 will copy the
file name to Filename field. Double-clicking a file name in this list
with mouse button 1 will open the file for the Open panel, or
or save the file for the SaveAs panel, or merge the file
for the Merge panel.
-
Filename Mask
-
Only the files which match this pattern will be listed in the Fig Files
list. The pattern is similar to the one which is used in the UNIX shell,
so it is possible to use meta-characters like ``*'' or ``?''.
In addition, multiple patterns separated by a space are allowed.
Typing return in this field will cause a rescan of the current
directory as if the Rescan button was clicked. The initial value
of this string is ``*.fig *.fig.gz *.fig.[Zz]''
, which will show all Fig files
including compressed files and backups,
but it may be changed by the Fig*file_panel*mask*string
resource if necessary.
-
Current Dir
-
This shows the current directory, and files in the directory will be displayed
in the Fig files list.
The directory name in the Current Dir field may be changed
by clicking a directory name in Directories list, or
by typing the directory name on the keyboard. If return is typed
after the directory name is entered, the directory will scanned as if the
Rescan button was clicked and the contents of Fig Files
list will be updated.
-
Directories
-
List of directories in the current directory is displayed here, and clicking
any item in this list with mouse button 1 will cause a move to the directory.
Normally, hidden directories are not displayed here, but that may
be toggled with the Show Hidden button.
``..'' indicates the parent directory. Moving to the parent
directory may also be performed by clicking mouse button 3 on the File
Alternatives list or the Directories list.
-
Home
-
Clicking this button will move to the home directory of the user.
-
Show Hidden
-
This button controls whether hidden directories (directories whose
name starts with ``.'') are displayed or not. Clicking this button
will toggle the state. By default, hidden directories are not displayed.
-
Rescan
-
Clicking this button will scan the files in the current directory and update
the Fig Files list with those files whose names match the
Filename Mask. The accelerator Meta-R will also perform
this function.
-
Cancel
-
Clicking this button will close the File panel. The accelerator Meta-C
or the Escape key will also perform this function.
Only one of the following three buttons will appear, depending on the
operation (Open, Merge, or Save):
-
Open
-
Clicking this button will open the file specified by the Filename field.
Before opening the file, the figure on the canvas is cleared. If the
figure on the canvas has been modified and not saved, a popup panel will
appear and the user will be asked to save the current figure, discard it
and open the new file or cancel the open of the new file altogether.
The figure will be shifted by the amounts specified by Figure Offset.
xfig can also read files compressed by compress
or gzip
(files which have suffix .Z, .z, or .gz). Before
opening a compressed file, the file will be uncompressed by
gunzip.
In general, the uncompressed file will be stored on the directory
where the compressed file was,
but it will stored in the temporary directory (usualy /tmp)
if the compressed file is read-only or it is on a read-only filesystem.
A newer version of xfig can always open Fig files created
by older version of xfig, but the reverse is not true. When opening
files of older format, xfig will notify the user in a popup message
panel and will convert the file to the current version. There is no way
to save a Fig file in an older version format.
In addition to the Open button,
a button labeled New xfig...
allows the user to start another copy of xfig running on any file selected.
This is a completely separate Unix process, but the two programs may communicate
through the cut/paste feature.
-
Merge
-
Clicking this button will read the figure from the file specified by the
Filename field and merge it with the figure on the canvas.
As in Open, the figure will be shifted at the amounts specified
by Figure Offset.
-
Save
-
Clicking this button will save the figure to the file specified in the
Filename field if any, or the file name in Current File
otherwise.
When trying to save to an existing file other than Current File,
a popup panel will appear and the user will be asked if he wants to save
over that file.
Also, Current File is updated to reflect
the new file name.
Before saving the file, the original file (if any) will be automatically
renamed to the same name but with the suffix ``.bak'' to leave it as a
backup file.
[
Contents |
Introduction |
Credits ]