The Tag Style Dialog allows you to change the representation details of Tag Mode.
Figure 1. Preferences: Tag Style
specifies the default block indentation of blocks presented in Tag Mode.
specifies the font metrics used for tag names.
specify background colors for the interlacing parent and child blocks.
The
section specifies how tags that belong to different namespaces will be colored. The namespaces are distinguished with their URIs (not prefixes).indicates whether the non-breakable spaces (nbsp) should be shown visually as a small circles, not just spaces.
Figure 2. Preferences: General
specifies the font for menus, dialogs, etc.
(windows) specifies the default document location for new documents.
specifies the spelling dictionary that will be used when invoking spell checker.
specifies the context hints behaviour:
specifies if context hints are shown.
specifies if the context hints go away after timeout.
specifies the timeout after which the context hints go away.
allows you to force saving of XML document with specific line-breaks, disregarding of the OS the Serna is used on. By default serna saves documents without line-feeds on UNIX and Mac OS X, and with line-feeds on Windows.
will reset all settings you specified in both Preferences and the GUI customization to the default settings.
will not affect GUI customization made through templates.
Figure 3. Preferences: Search Paths
New Document Dialog, and Open Document Dialog with variable $SERNA_XML.
specify paths that are used in document templates,The
is for advanced operations only. Serna looks for its configuration files within this path ( $SERNA_XML).specify additional path, where user may dispose plugins for Serna. This is useful when the plugins are placed somewhere on a shared file system or separate disk that survives reinstalling.
Figure 4. Preferences: Applications
The applications table allows you to specify external applications for viewing published files (see Publishing in Serna ).
Figure 5. Preferences: File Types
To add new file extensions to the Open Dialog and Open with Template Dialog use the tab. Just add space-separated wild-card values (e.g. *.xhtml *.html) and a description (e.g. XHTML files).
Serna fully supports OASIS XML Catalogs (Committee Specification 06 Aug 2001).
To add new catalogs, put the path to the catalog file into the list of catalogs (e.g. with the
button). Note that the list should be semicolon-separated in Windows, and colon-separated for Linux and Mac OS X.To change the default match mode, check
or in .Serna understands the $XML_CATALOG_FILES variable, that is expected to contain the list of system XML Catalogs (semicolon-separated for Windows, and colon-separated for Linux and Mac OS X). Note that catalogs that come first override those following.
One may disable XML Catalogs usage (chose DTD Search Path.
). In this case Serna will search for DTDs in theIf the specified SYSID is not an absolute path, then Serna tries to find it relative to the paths that are listed in Preferences->XML Catalogs->DTD Search Path. Alternate paths are semicolon-separated in Windows, and colon-separated in Linux and Mac OS X.
The default value for the DTD search path is: sernaInstallationPath /xml/dtds.
It is also possible to specify the XML Catalog file only for the specific document template. See Document Template Properties, xml-catalogs property.
Figure 7. Preferences: Folding
When opening a document, Serna estimates the length of the document. It counts elements in the document, and divides the result by an average number of elements per page. (This number is usually specific to the current document template).
Note, that this estimation is not exact, and only prevents you from lengthy formatting if the document is suspected to be very large.
You can set the number of pages after which Serna should consider the document as large.
If Serna considers the document as large, it may collapse some elements, open the document normally, or ask the user.
It is possible to set the maximum undo/redo stack depth to limit memory consumption. Allowed values are between 10 and 9999. The default value is 30.