Configuration Directory
When you quit FlowframTk, the settings will be saved in FlowframTk's configuration directory. This directory is determined (and created if necessary) as follows:
- If the environment variable JDRSETTINGS exists
and is a directory, that directory is used.
- If FlowframTk detects the existence of the old Jpgfdraw's
configuration directory, that will be used. If the file
jpgfdraw.conf exists in that directory but the file
flowframtk.conf doesn't exist, FlowframTk will load the
settings from jpgfdraw.conf and then save the new settings to
flowframtk.conf. If you like, after you have quit
FlowframTk, you can remove the now unneeded file
jpgfdraw.conf and rename the directory .flowframtk or
flowframtk-settings, as appropriate.
- If the directory <home>/.flowframtk exists
and is a directory, that directory is used (where
<home> indicates the user's home directory as given
by the Java user.home property).
- If the directory <home>/flowframtk-settings exists
and is a directory, that directory is used.
- If the operating system (as identified by the Java os.name
property) is a version of Windows and the
directory <home>/flowframtk-settings can
be created, that directory is used.
- For other operating systems, if the directory
<home>/.flowframtk can be created, that
directory is used.
- If the directory settings/<user> or
settings can be created in FlowframTk's
installation directory, that directory will be used
(where <user> is the current user's user name). This is
sub-optimal and not recommended as it may be removed when
upgrading to a new version.
- If none of the above, an error will occur and you will need to set the environment variable JDRSETTINGS to a sensible location with read and write permissions.
The configuration directory may also contain:
- the list of recent files
(written by FlowframTk when it quits normally);
- the accelerator settings accelerators.prop
(written by FlowframTk when it quits normally);
- the maths-mode and text-mode
character mapping files,
mathmappings.prop and textmappings.prop
(written by FlowframTk when it quits normally);
- the preamble file preamble.tex
(created by you, if you want it, in any text editor) used by some of
the export functions
(see Default Preamble);
- the languages.conf file that stores the
language settings used for the resources and manual;
- the startup.conf file that stores the names of the
fonts used by the startup splash screen;
- the latexfontmap.prop3.4 file (created by you, if you want it, in any text editor)
that contains any font mappings (see
Font Family).
In addition, the configuration directory is used to save the log file, flowframtk.log, in the event that Shift-F11 is used (or Debug->Write Log if the command line option -debug is used). The emergency save all function Ctrl-F11 (or Debug->Dump All if the command line option -debug is used) will create a subdirectory (using the current date and time to construct the name) and will save all open images to that directory with filenames of the form image<n>.jdr.
Footnotes
- ...latexfontmap.prop3.4
- or simply latexfontmap without an extension for compatibility with Jpgfdraw