Linking With Content Size Breaking: { ANCHOR} Comment Put in the Output File: { IGNORE}

Script Templates 7-23 The { IF} statement referring to slides.next also succeeds and the anchor tag will be filled in with the URL for the output file containing the third slide. Since no file containing slides.3 exists, { LINK} opens a new file. Third Output File For the third slide the template is rerun. slides.current now refers to slides.3 and slides.previous refers to slides.2. slides.next refers to slides.4, which does not exist. The { INSERT} statement will insert the third slide. The { IF} statement referring to slides.previous succeeds. Since the file containing slides.2 already exists, no additional file is created. The anchor tag will be filled in with the URL for the second output file. The { IF} statement referring to slides.next fails. At this point processing is essentially complete.

7.4.7 Linking With Content Size Breaking: { ANCHOR}

This macro generates a relative URL to a piece of the document produced by Dynamic Converter when doing document breaking based on content size. Syntax { ANCHOR AREF=type [STEP=stepval] FORMAT=anchorfmt [ALTLINK=element] [ALTTEXT=text]} Attribute Description AREF Indicates the relation of the target of the link to the current file. Allowable values for this attribute are: ■ nsertStart : links to first page of the inserted element ■ InsertEnd : links to last page of the inserted element ■ Next : links to next page in the inserted element ■ Prev : links to previous page in the inserted element ■ FirstFile : links to first page created for the entire document ■ LastFile : links to last page created for the entire document STEP This attribute is used to insert a link to fast forwardrewind through the output pages. This attribute may only be used if AREF is next or prev. It is specified as a non-zero positive integer. For example, to insert a link to skip ahead five pages in a document, the following statement could be used: { unit aref=next step=5 format=pa href=\url\Nextap} If not specified, the default value of the STEP attribute is one 1, which corresponds to the nextprevious page. This attribute has no meaning when aref equals insertstart, insertend, firstfile, or lastfile. FORMAT This is an sprintf style format string specifying the text to output as the link. Dynamic Converter replaces the url format specifier with the target URL into the format string. For example: { anchor aref=next format=a href=\url\Nextabr\r\n} 7-24 Administrators Guide for Dynamic Converter

7.4.8 Comment Put in the Output File: { IGNORE}

This macro causes {} statements in an area of the template file to be ignored by the template parser. Any text between the { IGNORE} and { IGNORE} tags will be written to the output file as-is. This macro allows {} statements in an area of the template to be commented out for debugging purposes, or to actually write out the text of another {} macro. However, the browser will parse any HTML tags inside the ignored block and the text will be formatted accordingly. This macro can ignore all {} macros except for an { IGNORE} macro. No escape sequence has been implemented for this purpose. As a result, { IGNORE} statements cannot be nested. If they are nested, a run time template parser error will occur. Syntax { IGNORE} any HTML or other {} macros { IGNORE}

7.4.9 Comment Not Put in the Output File: { COMMENT}