Creating new markers
Format description file
New markers can be created by adapting
the "format description" file.
This file is located in the $OBJING_PATH/tpf directory.
·
html.fmt
for HTML
·
winword.fmt
for RTF
·
ascii.fmt
for ASCII
·
groff.fmt
for Postscript
All markers
must have the following syntax:
·
MARKER_NAME:
comment:position:translation
·
MARKER_NAME:
name of the marker
·
comment:
description of the marker
·
position:
BEGIN_LINE or END LINE
· translation: value of the marker for the target
Example
In the following example, we are going to create a marker used to generate text in italics and in bold.
Definition of markers in the <OBJING_PATH>\tpf\html.fmt file:
\IB:begin line in bold and italics:BEGIN_LINE:<I><B>
IB\:end line in bold and italics:END_LINE:</I></B>
In an Objecteering note, it is now possible to use this marker.
"\IB text in italics and in bold IB\"
will generate the following text:
"text in italics and in
bold"