59
Chapter 5: Configuration
23
‘MEASURE’ numeric value with following unit of measure
‘OTHER’
ignores anything to the first character after ‘=’ and from there to next space.
e.g., \setbox\bak=\hbox
‘COMMAND’ ignores anything to next ‘\’ and from there to the occurence of anything but a
letter e.g., \newbox\bak
‘SINGLE’
ignores single command e.g., \noindent
‘PARAMETER’
ignores a command with one parameter e.g., \foo{bar}
‘PACKAGE’ does not produce a Warning message if PACKAGE is encountered, e.g.,
‘\kleenex,PACKAGE.’ ignores ‘\usepackage{kleenex}’
‘ENVCMD’
intended to process contents of unknown environment as if it were plain LAT
E
X
,e.g. ‘\environ,ENVCMD.’
Therefore ‘\begin{environ} text \end{environ}’ would be converted to
‘text’. Doesn’t work in LAT
E
X2RTF version 2.1.0 up to and including 2.3.4.
‘ENVIRONMENT’
ignores contents of that environment, e.g., with ‘\ifhtml,ENVIRONMENT.”,
‘\begin{ifhtml} text \end{ifhtml}’ ignores ‘text’.
The types are in upper case exactly as above. Do not use spaces. Lines starting with a
‘#’ character are ignored. After the ‘.’ everything is ignored to end of line. Example:
\pagelength,MEASURE.
5.6 Font Configuration
The file fonts.cfg contains the font name mapping. For example, this file determines what
font is used to represent \rm characters in the RTF file.
Aline consists of a font name in LAT
E
Xfollowed by comma and a font name in RTF.
The end is marked by a ‘.’. No spaces are allowed. The LAT
E
Xfont will be converted to
the RTF font when it is found in the LAT
E
Xfile. If multiple translations for the same LAT
E
X
font are specified, only the first is used. All fonts in a LAT
E
Xfile that are not in this file will
be mapped to the default font. All RTF fonts listed in this file will be in every RTF file
header whether used or not. Lines starting with a ‘#’ character are ignored. After the ‘.’
everything is ignored to end of line.
To add a RTF font not used as substitute for a LAT
E
Xfont — for example a Symbol font
used in direct.cfg — use a dummy LAT
E
Xname like in the following
Dummy3,MathematicalSymbols.
Make sure you use the correct font name. Take care of spaces in font names. The default
fonts are named Roman \rm, Slanted \sl, Sans Serif \sf, Typewriter \tt, or Calligraphic
\cal.