Using export template keywords, Editing output – Mariner Software StoryMill for Mac User Manual

Page 45

Advertising
background image

Using export template keywords

Keywords in export templates may initially look very strange, but
theyʼre actually quite easy to use! There are two types of
keywords:

$keywords$ (dollar sign keywords): Keywords that start and

end with a dollar sign tell the template which view youʼre working
with

%keywords% (percentage sign keywords): Keywords that start

and end with a percentage sign tell the template what to stick into
the exported document for each item in the selected view.

If you apply text formatting (such as font, size, bold,
alignment, etc.) to a keyword, that same formatting will be
applied to the text that it stands for (see the example to the
right).

There are certain keywords (such as %name% and
%status%) that apply to all items and can be used with any
view. Others (such as %scenesInChapter%) can only be
used with a specific type of view. See the

Keywords

reference

for a complete list of keywords.

You can place as many different views in a single export
template as you like. The exporter will process all items in
a view, and then proceed to the next view in the exporter
and process all of its items (and so forth until it hits the end
of the template).

Tip:
Remember that keywords are case-specific!
Where there are two words not separated
by an underline character, the second word
will always be capitalized. For example,
%creationdate% will not work, but
%creationDate% will.

45 of 66

Editing

Output

Advertising