dvips
.
You typically specify your X resources in a file .Xdefaults or
.Xresources in you home directory. But note that you have to
run xrdb
and to restart Ipe to see your modifications take
effect.
These are the most important X resources known to Ipe--there are many more that are interpreted by the Motif user interface, and which you can find in Ipe's application defaults file.
*mipeMode
*ghostscriptName
execl
call.
*dvipsCommand
*latexCommand
*tmpDirectory
dvips
, to edit properties, and to call Ipe user
macros.
*helpCommand
Mosaic
on the file
Ipe.html. But if you don't have a HTML reader or
don't like reading the HTML documentation, you could also
call a DVI or Postscript previewer to view the DVI or
Postscript version of the Ipe manual.
*iumDirectories
*printCommand
*mipePreviewCommand
and *ipePreviewCommand
*mipePreamble
and *ipePreamble
*psPreamble
*color1
, *color2
, ..., *color14
Colors 0 and 15 are always black and white, and the remaining 14 colors can be specified in any way that your X system supports.
*strokeColor
and *fillColor
*mipeFontsizes
and *ipeFontsizes
*ipeFont
and *mipeFont
*ipeFontsize
and *mipeFontsize
*romanFontGL
, *italicFontGL
, *boldFontGL
,
and *mathFontGL
*editRomanFontGL
, *editItalicFontGL
,
*editBoldFontGL
, and *editMathFontGL
*romanFontX
,
*italicFontX
, *boldFontX
,
*mathFontX
, *editRomanFontX
, *editItalicFontX
,
*editBoldFontX
, and *editMathFontX
These fonts are
used by the pure X version of Ipe. The argument must be a X font
declaration with enough wildcards to match a whole range of sizes.
Ipe will select the font size closest to the LaTeX font size (but
scaled with fontScale
or editFontScale
).
*fontScale
and *editFontScale
*selectionColor
,
*creationColor
,
*editColor
, *moveColor
, *panColor
,
*dragColor
, *axisColor
, *gridColor
,
*canvasBackground
Using these keywords, you can specify the
colors that Ipe will use to represent concepts like "moving",
the current selection and so on.
*linestyleList
*lineWidthList
*lineStyle
and *lineWidth
*arrowType
*circleVariant
, *arcVariant
, and *markVariant
*deltaAlphaList
*deltaAlpha
*gridSizeList
*gridSize
*snapSelf
True
or False
)
of the snap self button in the Snap field.
*ipeArrowSize
and *mipeArrowSize
*ipeMarkSize
and *mipeMarkSize
*enableUndo
,
*enableLatexBox
, *enableFifi
,
*enableInterior
, *enableZoomPan
, *enableStroke
,
and *enable3Spline
The default settings of the buttons in the
configuration panel. True
for
on, False
for off.
*selectDistance
and *snapDistance
*gridVisible
*showShortcuts
True
, Ipe will show you the
keyboard shortcuts for the menu entries in the menu.
*makeBackups
True
and you are saving
a drawing in a file which already exists, Ipe will rename the
existing file file.ipe into file.ipe~ before
saving.
*undoLimit
*splinePrecision
*ipeSystemMacros
and *ipeUserMacros
*ipeSystemMacros
is
set in the application defaults file by the system administrator to
contain a set of system-wide Ipe user macros, while
*ipeUserMacros
is left empty for the user to add her own
macros. Otherwise, there is no difference between the two resources.
The contents of these resources is a long string (you can specify an arbitrarily long string in your .Xdefaults file by escaping the end of line with a backslash). The string is partitioned into Ium descriptions using semicolons. Every Ium description consists of a set of words separated by white space. The first word is the name of a file, and must have extension either .ipe or .ium. The second word is the "name" of the Ipe user macro--this is the string that will be displayed above the canvas when the operation is executed. Underscores in the name will be converted into spaces.
If the file name has the extension .ipe, Ipe will assume that
this is an Ipe file containing a figure. When the operation is
executed, the object in the file is inserted (as a single group).
You can use this to include your favorite objects with a single key
stroke. The file will be looked up in the directories given in the
*iumDirectories
resource.
If the file name has extension .ium, Ipe assumes the this is
an executable. Again, ipe will search for this executable in the
directories specified with the *iumDirectories
resource.
The remaining words are flags as follows:
-menu
num
-sep
-menu
) puts a separator--a horizontal
line--into the menu.
-arg
string
"0"
is passed.
-key
keys
-norawbits
-nodata
-nofile
-input
prompt
-file
prompt
-input
or -file
can be used.
-persist
key
-input
or -file
persistent with key
key. This means that a default value is obtained from the
.iumrc file, and the value there is
replaced with the user's input. An Ipe user macro can set this
default using iumrc_put
.