Next: malaga, Previous: Projects, Up: The Programs
If you prefer some options that you want to use with every Malaga
project, you may create a personal profile. On Unix systems, it is
located in your home directory and is called .malagarc. In
Windows NT based systems, it is located in your user profile directory
and is called malaga.ini. In Windows DOS based systems, it is
located in the root directory of your system drive and is also called
malaga.ini. You can enter malaga
and mallex
options in the same manner as you do in the project file:
malaga: set display-cmd "malshow" malaga: set use-display yes mallex: set display-cmd "malshow" mallex: set use-display yes
The settings in your personal profile override the settings in the project file.
You can set some attributes of the graphical user interface
malshow
, like the position, the size, and the font size of each
window that is opened by malshow
. The following attributes are
available:
*_geometry:
allomorphs
,
path
, result
, tree
, variables
, or
expressions
. The attribute must be followed by an expression
like `628x480+640+512'. The first two numbers (`628x480')
define the width and the height of the window in pixels, the last two
numbers (`+640+512') define the position of its upper left
corner.
font:
font_size:
show_indexes:
yes
or no
, which
determines whether state indexes are shown in the Tree and Path
windows.
hanging_style:
yes
or no
, which
determines whether horizontally adjacent complex values are aligned at
their top lines (hanging style) or at their bottom lines
(non-hanging style).
inline_path:
yes
or no
, which
determines whether the components of a state or a link in a path will
be arranged horizontally or vertically. For small feature-structures,
e.g. in formal grammars, horizontal arrangement is better readable,
while full-blown natural language grammar paths look better in
vertical arrangement.
show_tree:
full
, no_dead_ends
and
result_paths
.
Here is an example which sets every option available:
allomorphs_geometry: 628x480+640+0 path_geometry: 628x480+640+0 result_geometry: 628x480+640+0 tree_geometry: 628x480+640+512 variables_geometry: 628x480+640+512 expressions_geometry: 628x480+640+0 font: helvetica font_size: 12 show_indexes: yes hanging_style: yes inline_path: yes show_tree: no_dead_ends