The Settings Area
Location:
- Begins right after the Headers Area
- Begins on the 4th line of the file if Headers were specified
- Begins on the 2nd line of the file if No Headers were specified
- Ends when the Body Area starts
- Ends by a non Setting, Blank or Comment line
The Settings Area is optional, and an average English writter user
should life fine with txt2tags without even know it exists. The
primary use of this area is to define settings that affects the
program behaviour.
So, how to set something? What's the syntax?
Setting lines are special comment lines, marked by a leading
identifier ("!") that makes them different from plain comments. The
syntax is just as simple as variable setting, composed by a keyword
and a value, separated from each other by the canonical separator
colon (":"). Example:
%! keyword : value
The exclamation mark should be placed together with the comment char
("%!"), no spaces between them. The spaces around keyword and the
separator are optional, and both keyword and value are case
insensitive (case doesn't matter).
What can i set? Which are the valid keywords?
For now, the only setting that could be done is Encoding.
It's needed by non-english writters, who uses accented letters
and other locale specific details, so the target document
Character Set must be customized (if allowed).
A real life example is:
%! Encoding: iso-8859-1
To specify the latin charset.
The valid values for the Encoding setting are the same charset names
valid for HTML documents, like iso-8859-1 and koi8-r. If
you're not sure which encoding you should use,
this complete (and long!) list should help.
The LateX target use alias names for encoding. This is not a problem
for the user, because txt2tags translate the names internally. Some
examples: