2021.2

Table Of Contents
l The Print context outputs documents to either a physical printer or a PDF file; see "Print
context" on page483.
l The Email context outputs HTML email, composed of HTML code with embedded CSS.
See "Email context" on page525.
l The Web context outputs an HTML web page. See "Web Context" on page548.
When a new template is made, the Context appropriate to that new template is automatically
created, including one section. After a template has been created, the other two contexts can be
added to it; see "Adding a context" below.
Tip
When you add an Email context to an existing template you get a 'basic action email'.
This is one of the 4 types of email that you can choose from when you start a template
with an Email Template Wizard; see "Creating an Email template with a Wizard" on
page521.
Outputting and combining contexts
All contexts can be present in any template and they can all be used to output documents; see
"Generating Email output" on page1499, "Generating Print output" on page1470 and
"Generating Web output" on page1509.
They can even be combined in output.
If present in the same template, a Print context and a Web context can be attached to an Email
context.
You could select Print sections based on a value in the data with a Conditional Print Sections
script; see "Conditional Print sections" on page820.
Outputting other combinations of contexts, and selecting other sections based on a value in the
data, can be done via a Control Script; see "Control Scripts" on page913.
Adding a context
To add a context, right-click the Contexts folder on the Resources pane and click New print
context, New email context or New web context. Or use Context > Add in the main menu.
Page 469