![[Word Processing Conversion - InterScript]](aci.gif)
656 Kreag Road - Pittsford, NY 14534-3730 - USA
PHONE: (US)-585-385-3810
FAX: (US)-585-385-6822
WEB: www.acii.com
InterScript - Document Description Language
Table of Contents
1 - What is InterScript?
InterScript is a language to efficiently describe the textual, layout and formatting content of word processing documents. The InterScript file format is designed to be as simple as possible, while at the same time support even advanced and complex document formatting functions.
An InterScript reader/writer converts InterScript files to popular word processor and other industry-standard document file formats (such as MS Word, HTML, RTF, etc), as well as the other way around. This is very useful for software developers and programmers who develop applications that need to read or write formatted documents in these different file formats. By incorporating InterScript read/write technology into their own product, they now need to read or write only one file format - InterScript .
1.1 - Standard vs. Customized InterScript
Basically, InterScript files represent formatting and control functions by means of mark-up tags . Standard InterScript refers to an implementation of InterScript which uses the standard tags as described in this document, and which does not translate tags or characters in a non-standard fashion.
However, InterScript gives you the flexibility of defining your own tags in place of the standard ones, including changing the tag markers. It also allows customized translation at the character level, for example to accommodate a specific character set or code page. Implementations of InterScript that take advantage of such customization features are called Customized InterScript . Thus, you can actually tailor the InterScript language to closely resemble a customized mark-up file format that may be peculiar to a particular application.
2 - Basic Components of InterScript
This chapter discusses the basics of InterScript structure, and its two basic components: text and commands.
2.1 - Text Representation
Text is represented in Standard InterScript by printable ASCII characters in the range 32 through 127. Other characters in the file have no significance. Therefore, for example, carriage returns (ASCII code 13) and line feeds (ASCII code 10) may be inserted in Standard InterScript files to improve readability, but they have no semantic significance. Similarly, the tab character (ASCII code 9), formfeed character (ASCII code 12), bell (ASCII code 7), backspace (ASCII code 8), etc., have no semantic significance in Standard InterScript . If such characters are encountered, they are ignored.
It is important to note that unlike standard ASCII files, a line ending in a Standard InterScript file is not an implied space or a word break. If a space is desired following the word just before a line ending, it must be explicitly included in the file.
In Customized InterScript , any character in the range 1-255 may be assigned special significance. This feature enables the use of non-ASCII codes to represent special functions. It may also be used to assign special significance to printable ASCII characters. For example, the standard ASCII character "<" may be used to represent a hard return. Similarly, characters in the upper 128 set may be assigned to represent frequently used symbols, or to directly supporting an extended character set such as a Dos Code Page or the ANSI set.
2.2 - Command Sequences
In Standard InterScript , all document characteristics other than straight ASCII text are represented by tags, also known as command sequences. In Standard InterScript , a command sequence begins with the opening curly parenthesis ({), and terminates with the closing one (}). Any number of command sequences may be entered between the opening and closing parentheses. In Customized InterScript this convention may be changed, and document formatting functions may be implemented by command sequences, by single bytes, or combinations of these.
A command sequence consists of a command word, followed by parameters (also called values or arguments) if necessary. Commands and parameters must be separated from each other by at least one space. Similarly, multiple command sequences must be separated from each other by at least one space. In general, missing numeric arguments are assumed to be 0, except for exceptions noted herein.
Here is an example of InterScript text containing command sequences:
In this example, {bold+}this portion is boldfaced{bold-}.
It is also possible to {bold+ ital+}boldface and
italicize{ital- bold-} at the same time.
This Standard InterScript segment, when printed after conversion, may appear something like this:
In this example, this portion is boldfaced. It
is also possible to boldface and italicize at
the same time.
Command words may be entered in upper, lower or mixed case. The case is insignificant as far as InterScript is concerned. The only exception to this is 2-letter commands representing accented letters as described later.
3 - Command Arguments
As described in the previous section, many InterScript commands take one or more arguments. These arguments may be of many different types. This chapter discusses the different types of these arguments in general, and how they are specified.
3.1 - Numeric arguments
Some commands require a numeric argument. This argument is simply entered as a number (base 10). For example:
{nunln 2} --- specifies double-underline.
3.2 - Single characters
Some commands require a single character as an argument. This argument is simply entered as the character. For example:
{ovschr /} --- specifies the slash character for overstrike.
3.3 - Character strings
Some commands require a character string argument (e.g., a font name is a character string). If the string is a single simple word (i.e., it does not contain any spaces or curly parentheses), it may be entered as is. Otherwise, it must be entered as a string delimited by single- or double-quotes. In the latter case, if the delimiter character also occurs inside the string, it should be entered twice within in the string.
The leading quote character may be used to enter line or page control characters as follows:
- `r -- Carriage Return (ASCII code 13).
- `n -- New line (line feed - ASCII code 10).
- `t -- Tab (ASCII code 9).
- `f -- Form feed (ASCII code 12).
If the leading quote is not followed by one of the characters r, n, t, or f, the quote itself is ignored but the following character is output as is. Therefore, to enter the leading quote itself, it must be entered twice.
If a backslash is the first character of a string, the following character is taken literally.
Here are some examples of commands taking string arguments:
{fontnm Arial} --- The font name string is a simple word.
{fontnm "Times New Roman"} --- The font name contains spaces, so is enclosed in quotation marks.
{fontnm "Typographic ""Classic"" Bold"} --- The font name is Typographic "Classic" Bold.
{asc_lend `n`r} --- ASCII line ending is line-feed followed by carriage-return.
3.4 - Measurement values
Some commands take measurement values as one or more arguments. For example, the left margin command requires a value to specify the left margin, as in {lmar 1.5"}. Values may be specified with or without a decimal point, and may additionally be immediately followed by any of the following modifiers entered in upper or lower case. These modifiers denote the unit of measurement, and are called unit descriptors:
- " or i -- Specifies value in inches.
- c -- Specifies value in centimeters.
- m -- Specifies value in millimeters.
- p -- Specifies value in printer points (1/72 inch).
- t -- Specifies value in "twips" (twentieth of a point, i.e. 1/1440 inch).
- u -- Specifies value in character units, i.e., character width for horizontal measurements and character height for vertical measurements.
The first five modes of measurement are absolute, while the last one is relative to the character size in effect at that point in the document. If no unit descriptor is given, a default is used. In Standard InterScript the default measure is in inches, but this may be changed as described later.
Whether specified using absolute or character-relative measure, these parameters are internally converted to absolute measurements using the current value for character width (horizontal measure) or line height (vertical measure). For example, {lmar 10u} specifies a left margin of 10 characters. Assuming that the character width at the point the command is specified is 0.1" (10 characters per inch), that translates to a left margin of one inch. Later in the document, if the character width is changed (say, to 15 characters per inch), the left margin will stay at one inch because it is internally stored as an absolute value. Character width and Line height values must be specified using absolute measurement, since these values cannot be specified relative to themselves.
Here are some examples of Standard InterScript commands that take measurement values as arguments:
{lmar 12u} --- Set left margin to 12 character positions.
{rmar 1.25"} --- Set right margin at 1.25 inches.
{colgut 144t} --- Set column gutter to 144 twips (1/10 inch).
{rind 2c} --- Set right indent to 2 centimeters.
{lht 12p} --- Set line height to 12 printer points.
3.5 - Line Spacing values
Line spacing (which is the ratio of inter-line spacing to line height) for various components of a document may be specified using a decimal point, or as a fraction by using the divide (/) operator. For example:
{lsp 3/2} --- Line spacing one and a half.
{lsp 1.5} --- Also one and a half line spacing.
3.6 - Horizontal alignment
Horizontal alignment is specified by one of the following arguments:
- l -- Left-align.
- c -- Center.
- r -- Right-align.
3.7 - Basic Horizontal Placement arguments
Basic horizontal placement with respect to the currently effective margins is specified by one of the following arguments:
- l -- Left-align.
- c -- Center.
- r -- Right-align.
- s -- Stretch to align at both margins.
3.8 - Basic Vertical Placement arguments
Basic vertical placement with respect to the currently effective margins is specified by one of the following arguments:
- t -- Top-align.
- m -- Middle-align.
- b -- Bottom-align.
- s -- Stretch to align at top and bottom margins.
3.9 - Complete Horizontal Placement arguments
Complete horizontal placement takes into account all the details about placing an object (such as an image) with respect to any of the page's horizontal milestones.
The horizontal milestones of a page (denoted here by href) are:
- cur -- Current (cursor) position.
- pg_l -- Left edge of page.
- mar_l -- Left margin.
- col_l -- Left edge of current column (if in column mode).
- tbl_l -- Left edge of table (if within a table).
- cell_l -- Left edge of current cell (if within a table).
- para_l -- Left edge of current paragraph.
- para_r -- Right edge of current paragraph.
- cell_r -- Right edge of current cell (if within a table).
- tbl_r -- Right edge of table (if within a table).
- col_r -- Right edge of current column (if in column mode).
- mar_r -- Right margin.
- pg_r -- Right edge of page.
A complete horizontal placement specification can take any of the following forms:
- l:href:ofs -- Place the object in such a way that its left edge is aligned with the horizontal milestone denoted by href. ofs, if specified, denotes the offset of the left edge of the object from this horizontal milestone, and is entered as a horizontal measure. If ofs is not specified, it is assumed to be 0.
- c:href:ofs -- Place the object in such a way that its horizontal center is aligned with the horizontal milestone denoted by href. ofs, if specified, denotes the offset of the horizontal center of the object from this horizontal milestone, and is entered as a horizontal measure. If ofs is not specified, it is assumed to be 0.
- r:href:ofs -- Place the object in such a way that its right edge is aligned with the horizontal milestone denoted by href. ofs, if specified, denotes the offset of the right edge of the object from this horizontal milestone, and is entered as a horizontal measure. If ofs is not specified, it is assumed to be 0.
- lb:href1:href2:ofs -- Place the object in such a way that its left edge is aligned between (at the mid-point of) the horizontal milestones denoted by href1 and href2. ofs, if specified, denotes the offset of the left edge of the object from this mid-point, and is entered as a horizontal measure. If ofs is not specified, it is assumed to be 0.
- cb:href1:href2:ofs -- Place the object in such a way that its horizontal center is aligned between (at the mid-point of) the horizontal milestones denoted by href1 and href2. ofs, if specified, denotes the offset of the horizontal center of the object from this mid-point, and is entered as a horizontal measure. If ofs is not specified, it is assumed to be 0.
- rb:href1:href2:ofs -- Place the object in such a way that its right edge is aligned between (at the mid-point of) the horizontal milestones denoted by href1 and href2. ofs, if specified, denotes the offset of the right edge of the object from this mid-point, and is entered as a horizontal measure. If ofs is not specified, it is assumed to be 0.
- sb:href1:href2:ofs1:ofs2 -- Place and stretch the object in such a way that its left edge is aligned at the horizontal milestone href1 and its right edge is aligned at the horizontal milestone href2. ofs1 and ofs2, if specified, denote the offsets of the left and right edges of the object from the respective milestones, and are entered as horizontal measures. If ofs1 and/or ofs2 is not specified, it is assumed to be 0.
3.10 - Complete Vertical Placement arguments
Complete vertical placement takes into account all the details about placing an object (such as an image) with respect to any of the page's vertical milestones.
The vertical milestones of a page (denoted here by vref) are:
- bsl -- Current (text baseline) position.
- pg_t -- Top edge of page.
- hdr_t -- Header top.
- hdr_b -- Header bottom.
- body_t -- Body text top.
- tbl_t -- Table top (if inside a table).
- cell_t -- Cell top (if inside a table).
- para_t -- Top of current paragraph.
- line_t -- Top of current text line.
- line_b -- Bottom of current text line.
- para_b -- Bottom of current paragraph.
- cell_b -- Bottom of cell (if inside a table).
- tbl_b -- Bottom of table (if inside a table).
- body_b -- Body text bottom.
- ftr_t -- Footer top.
- ftr_b -- Footer bottom.
- pg_b -- Bottom edge of page.
A complete vertical placement specification can take any of the following forms:
- t:vref:ofs -- Place the object in such a way that its top edge is aligned with the vertical milestone denoted by vref. ofs, if specified, denotes the offset of the top edge of the object from this vertical milestone, and is entered as a vertical measure. If ofs is not specified, it is assumed to be 0.
- m:vref:ofs -- Place the object in such a way that its vertical middle is aligned with the vertical milestone denoted by vref. ofs, if specified, denotes the offset of the vertical middle of the object from this vertical milestone, and is entered as a vertical measure. If ofs is not specified, it is assumed to be 0.
- b:vref:ofs -- Place the object in such a way that its bottom edge is aligned with the vertical milestone denoted by vref. ofs, if specified, denotes the offset of the bottom edge of the object from this vertical milestone, and is entered as a vertical measure. If ofs is not specified, it is assumed to be 0.
- tb:vref1:vref2:ofs -- Place the object in such a way that its top edge is aligned between (at the mid-point of) the vertical milestones denoted by vref1 and vref2. ofs, if specified, denotes the offset of the top edge of the object from this mid-point, and is entered as a vertical measure. If ofs is not specified, it is assumed to be 0.
- mb:vref1:vref2:ofs -- Place the object in such a way that its vertical middle is aligned between (at the mid-point of) the vertical milestones denoted by vref1 and vref2. ofs, if specified, denotes the offset of the vertical middle of the object from this mid-point, and is entered as a vertical measure. If ofs is not specified, it is assumed to be 0.
- bb:vref1:vref2:ofs -- Place the object in such a way that its bottom edge is aligned between (at the mid-point of) the vertical milestones denoted by vref1 and vref2. ofs, if specified, denotes the offset of the bottom edge of the object from this mid-point, and is entered as a vertical measure. If ofs is not specified, it is assumed to be 0.
- sb:vref1:vref2:ofs1:ofs2 -- Place and stretch the object in such a way that its top edge is aligned at the vertical milestone vref1 and its bottom edge is aligned at the vertical milestone vref2. ofs1 and ofs2, if specified, denote the offsets of the top and bottom edges of the object from the respective milestones, and are entered as vertical measures. If ofs1 and/or ofs2 is not specified, it is assumed to be 0.
3.11 - Color specification
Color is specified by its red, green, blue and opacity components, in that order. The red, green and blue components can range from 0 (minimum) to 255 (maximum), while opacity ranges from 0 (minimum) to 200 (maximum). The values are specified one after the other, separated by the colon character, with no intervening spaces. For example:
{fontco 255:0:0:200} --- Red color with 100% opacity.
Note that an opacity of 0 means no color. Usually, the value 0:0:0:0 is used to denote no color.
An opacity value greater than 200 means no enforcement of color. In this case, the color is not altered, but stays at whatever color has been inherited by the document at that point in the file.
3.12 - Line Style Arguments
Line Style arguments describe line segments used in borders that enclose text or other items (such as paragraph or table cell borders), as well as horizontal or vertical lines more generally inserted in a document. A line style is specified by means of a group of characters forming a single word. The constituent letters are as follows:
- 0-7 -- a digit from 0 to 7, indicating number of line segments.0 means no line, while 7 means no enforcement.
- - -- line has a dashed style. It may be combined with "." for a dash-dot style.
- . -- line has a dotted style. It may be combined with "-" for a dash-dot style.
- i -- line segment thickness increase from left to right (horizontal lines), top to bottom (vertical lines) or inside to outside (borders).
- d -- line segment thickness decrease from left to right (horizontal lines), top to bottom (vertical lines) or inside to outside (borders).
- r -- raised.
- l -- lowered.
3.13 - White Space specification
White space in text is the space between words. InterScript recognizes three categories of white space, and each is denoted by a representative letter:
- s -- space character
- t -- tab character
- i -- indents
A whitespace specification is a string of one or more of these characters (no intervening spaces), or "n" if none of the three is intended. For example:
{aunln st} --- Also underline spaces and tabs.
{aovstk sti} --- Also strikeout whitespace produced by spaces, tabs and indents.
{aunln n} --- Do not underline any white space.
3.14 - Number Style arguments
Some commands indicate the style in which automatic numbers should be generated (e.g., automatic page numbers, footnote or endnote numbers, automatic paragraph numbers, outline tags, etc.). These commands take a single letter as an argument. The case (upper or lower) of the argument is significant as described below:
- 1 -- Arabic numbering (1, 2, 3, 4 ...)
- i -- Lower case Roman numbers (i, ii, iii, iv ...)
- I -- Upper case Roman numbers (I, II, III, IV ...)
- a -- Lower case alphabetic numbering (a, b, c, d ...)
- A -- Upper case alphabetic numbering (A, B, C, D ...)
For example, the Standard InterScript sequence {pgnstyle A} denotes that pages should be numbered using the upper case alphabetic numbering scheme.
4 - Command Translation
InterScript lets you replace a command by a replacement sequence. This replacement sequence is specified as a string of InterScript commands. The InterScript command to effect such a replacement is of the form cmd> where cmd represents the command being replaced. For example, the command sequence {bold+> "shad+ ital+" bold-> "ital- shad-"} indicates that {bold+} should be replaced by the command sequence {shad+ ital+}, while {bold-} should be replaced by {ital- shad-}. This replacement process is called command translation, and is usually done in conversion customization files so that specific document functions may be converted in a special way. The replacement string is called the InterScript command translation string. There are some special cases:
- If the InterScript command translation string is "*" (i.e., just an asterisk), it means no translation.
- If the InterScript command string is empty (i.e., ""), it means translate to nothing. In other words, it causes the translated command to be ignored.
- The InterScript command translation string may include text enclosed in reversed curly parentheses. For example, the command sequence
{bold+> "}({ bold-> "}){"} causes boldfaced text to be translated to normal text but enclosed in brackets.
InterScript command translation is non-recursive, so the replacement string may contain the command being replaced without causing infinite recursion. This includes a check on self-recursion as well as cross-recursion. Therefore, for example, the command string {bold+> "bold+ ital+" bold-> "ital- bold-"} is valid, and causes boldfacing to be replaced by boldface and italics.
5 - Special Characters
This chapter discusses how special characters such as mathematical symbols, typographic symbols, non-English characters, accents (such as umlaut, grave, etc.), decorative symbols, etc. are represented in InterScript .
5.1 - Non-ASCII Characters
A character that does not belong to the ASCII range 32-126 (decimal) is represented in Standard InterScript by the command #..., where ... represents one of the following:
- The InterScript name of the symbol. A leading period denotes capitalization.
- The InterScript number of the symbol in decimal format. In the range 0-255, this is the same as Dos Code Page 437.
- u:d where d is the symbol's UniCode in decimal format.
- a:d where d is the symbol's code in the ANSI character set.
- s:d where d is the symbol's code in the Windows Symbol character set.
- w:d where d is the symbol's code in the Windows Wingding character set.
- *:d where d is the symbol's code in the character set of the currently active font.
ASCII characters in the range 32-126 may also be represented this way. Therefore, curly parentheses (which otherwise have special significance in InterScript ) may be represented by their decimal codes 123 and 125 respectively. For example, the text One, [two] and {three} would be represented in Standard InterScript as One, [two] and {#123}three{#125}.
5.2 - Accented Characters
Accented characters may be represented in InterScript using the #... command described above, or using special two-character commands. In these 2-character commands, the first character represents the accent as follows:
============================
CHAR Accent Represented
----------------------------
' Acute
, Cedilla
^ Circumflex
` Grave
/ Stroke
~ Tilde
" Umlaut
============================
The second character is the letter to be accented. For example, the letter "e-circumflex" may be represented as {^e}. Note that the case (upper or lower) of the second character is significant.
5.3 - Character Translation
InterScript permits the replacement of any character by any user-defined sequence of text and/or commands. This is particularly useful to replace specific extended characters by a different character, or in fact by any custom text. The command to do this is:
- {charmap charname string} -- This command specifies that all characters specified by charname should be replaced by the InterScript sequence give in string.
6 - Page Size and Margin Commands
The commands in this chapter relate to page size, and the left, right, top and bottom margins. Note that all margin settings are measured from the nearest page edge.
- {pprwid val} -- Sets the paper width to the horizontal measure argument specified (val). The default value is 8.5", i.e., U.S. letter size.
- {pprwid> str} -- Specifies the InterScript translation string to replace
{pprwid}.
- {pprht val} -- Sets the paper height to the vertical measure argument specified (val). The default value is 11", i.e., U.S. letter size.
- {pprht> str} -- Specifies the InterScript translation string to replace
{pprht}.
- {lmar val} -- Sets the left margin to the horizontal measure argument specified (val). The default value is 1", i.e., one inch.
- {lmar> str} -- Specifies the InterScript translation string to replace
{lmar}.
- {rmar val} -- Sets the right margin to the horizontal measure argument specified (val). The default value is 1", i.e., one inch.
- {rmar> str} -- Specifies the InterScript translation string to replace
{rmar}.
- {bdytop val} -- Sets the distance from the top of the page to the first line of body text to the vertical measure argument specified (val). The default value is 1", i.e., one inch.
- {bdytop> str} -- Specifies the InterScript translation string to replace
{bdytop}.
- {bdybot val} -- Sets the distance from the last line of body text and the bottom of the page to the vertical measure argument specified (val). The default value is 1", i.e., one inch.
- {bdybot> str} -- Specifies the InterScript translation string to replace
{bdybot}.
The following commands determine if the left margin in the converted document should be based on the native setting provided by certain destination applications, or if that formatting should be overridden by that specified in the source document.
The following commands determine if the right margin in the converted document should be based on the native setting provided by certain destination applications, or if that formatting should be overridden by that specified in the source document.
7 - Character Format Commands
Character format commands are those that affect the appearance of characters in a document. This chapter discusses these commands.
7.1 - Print Enhancement
The commands described in this section cause text to be printed or displayed using enhanced functions, or control such enhancements.
The following commands control boldfacing:
The following commands control italics:
The following commands control underlining:
- {unln+} -- Turns underline on.
- {unln-} -- Turns underline off. This is the default.
- {unln+> str} -- Specifies the InterScript translation string to replace
{unln+}.
- {unln-> str} -- Specifies the InterScript translation string to replace
{unln-}.
- {nunln n} -- Sets the number of underlines to the argument specified (n). The default value is 1, i.e., single underline.
- {nunln> str} -- Specifies the InterScript translation string to replace
{nunln}.
- {aunln wsp} -- Sets the whitespace components to be underlined to those specified in wsp. The default value is s, i.e., spaces are underlined but not tabs or indents.
- {aunln> str} -- Specifies the InterScript translation string to replace
{aunln}.
- {xunln str} -- Sets the string containing characters that should not be underlined to the argument specified (str). The default value is "", i.e., empty string, meaning that all characters are underlined. str should not exceed 64 characters in length.
- {xunln> str} -- Specifies the InterScript translation string to replace
{xunln}.
The following commands control overlining (this is like underlining, except that the line(s) are printed above rather than under the emphasized text):
- {ovln+} -- Turns overline on.
- {ovln-} -- Turns overline off. This is the default.
- {ovln+> str} -- Specifies the InterScript translation string to replace
{ovln+}.
- {ovln-> str} -- Specifies the InterScript translation string to replace
{ovln-}.
- {novln n} -- Sets the number of overlines to the argument specified (n). The default value is 1, i.e., single overline.
- {novln> str} -- Specifies the InterScript translation string to replace
{novln}.
- {aovln wsp} -- Sets the whitespace components to be overlined to those specified in wsp. The default value is s, i.e., spaces are overlined but not tabs or indents.
- {aovln> str} -- Specifies the InterScript translation string to replace
{aovln}.
- {xovln str} -- Sets the string containing characters that should not be overlined to the argument specified (str). The default value is "", i.e., empty string, meaning that all characters are overlined. str should not exceed 64 characters in length.
- {xovln> str} -- Specifies the InterScript translation string to replace
{xovln}.
The following commands control highlighting. This is a form of emphasis where the emphasized text prints with a color around it, as if it has been highlighted with a highlighter marker.
- {hilite+} -- Turns highlight on.
- {hilite-} -- Turns highlight off. This is the default.
- {hilite+> str} -- Specifies the InterScript translation string to replace
{hilite+}.
- {hilite-> str} -- Specifies the InterScript translation string to replace
{hilite-}.
- {hilitec color} -- Sets the highlight color to the argument specified (color). The default value is 255:255:0:100, i.e., yellow with 50% opacity.
- {hilitec> str} -- Specifies the InterScript translation string to replace
{hilitec}.
- {ahilite wsp} -- Sets the whitespace components to be highlighted to those specified in wsp. The default value is s, i.e., spaces are highlighted but not tabs or indents.
- {ahilite> str} -- Specifies the InterScript translation string to replace
{ahilite}.
- {xhilite str} -- Sets the string containing characters that should not be highlighted to the argument specified (str). The default value is "", i.e., empty string, meaning that all characters are highlighted. str should not exceed 64 characters in length.
- {xhilite> str} -- Specifies the InterScript translation string to replace
{xhilite}.
The following commands control turning overstriking on or off, and the character used for overstriking. This function is also called strikeout.
The following commands control outline-styled characters:
The following commands control shadow-styled characters:
The following commands control upper-case translation:
The following commands control the appearance of characters in small capitals:
The following commands control the marking of text as inserted. This refers to text that has been inserted in revision mode.
The following commands control the marking of text as deleted. This refers to text that has been deleted in revision mode. It is also referred to as redlined text.
The following commands control the appearance of text in reverse video. This mode is sometimes used to make selected text stand out on the screen.
The following commands control the blinking of text when it is displayed on the screen. They generally have no effect on the printed document.
The following commands control engraved appearance of text.
The following commands control embossed appearance of text.
The following commands control hidden text.
The following Standard InterScript segment serves as an example of the use of print enhancement functions:
We can {bold+}boldface{bold-} and
{ital+}italicize{ital-} text. We can also
{bold+}{ital+}do boldface and italics{ital-}{bold-}
at the same time.
This Standard InterScript segment, when printed after conversion, may appear something like this:
We can boldface and italicize text.
We can also do boldface and italics at the
same time.
7.2 - Superscript & Subscript Commands
Many word processors treat superscript and subscript like other print enhancement functions, in that they may be toggled or turned on or off. However, InterScript provides more advanced treatment of superscripts and subscripts in that it is possible to have multiple levels of superscripts and subscripts. For example, a superscript on a superscript would be a level-2 superscript. InterScript addresses this by defining a superscript/subscript level called the supsub level. Normal baseline text has a supsub level of 0. A simple superscript has a supsub level of 1, while a simple subscript has a supsub level of 0. Higher level superscripts have supsub values of 2, 3, etc., while lower-level subscripts have supsub levels of -2, -3, etc.
- {sup} -- Toggles superscript. More precisely, if superscript is currently on (at any level), this command sets the supsub level to zero (i.e., turns superscript off); otherwise it sets the supsub level to 1 (i.e., turns on simple superscript). This has the effect of toggling the superscript condition while accommodating multiple levels of superscripts.
- {sup+} -- Increments the supsub level by 1.
- {sup-} -- Decrements the supsub level by 1.
- {sub} -- Toggles subscript. More precisely, if subscript is currently on (at any level), this command sets the supsub level to zero (i.e., turns subscript off); otherwise it sets the supsub level to -1 (i.e., turns on simple subscript). This has the effect of toggling the subscript condition while accommodating mjultiple levels of subscripts.
- {sub+} -- Decrements the supsub level by 1.
- {sub-} -- Increments the supsub level by 1.
- {supsub n} -- Sets the supsub level to the argument specified (n). The default value is 0, i.e., no super- or sub-script.
- {supsub> str} -- Specifies the InterScript translation string to replace
{supsub}.
For example, the mathematical expression a raised to (n squared) may be represented in Standard InterScript as a{sup+}n{sup+}2{sup- sup-}, or as a{sup+}n{sup+}2{sup}. The function ((a squared) + (b squared)) may be represented simply by a{sup}2{sup} + b{sup}2{sup}.
7.3 - Fonts
InterScript supports specification of font name, size and color. The various font commands are:
- {font name ptsiz color} -- Specifies a font as follows:
- name is the font name (see string argument).
- ptsiz is the font point size. Fractional point sizes may be specified using a decimal point.
- color is the color of the font (see color specification).
An asterisk (*) may be used for any of the above three fields to denote that the field stays unchanged. Further, any field may be omitted to leave it unchanged provided all fields after it are also omitted.
- {cpi value} -- Specifies character pitch, leaving the font name and color unchanged.
- {fontnm str} -- Sets the font name to the argument specified (str). The default value is TmsRmn, i.e., the Windows "Times New Roman" font. str should not exceed 64 characters in length.
- {fontnm> str} -- Specifies the InterScript translation string to replace
{fontnm}.
- {fontsz meas} -- Sets the font size to the vertical measure argument specified (meas). The default value is 12p, i.e., 12 points.
- {fontsz> str} -- Specifies the InterScript translation string to replace
{fontsz}.
- {fscale num} -- Sets the font size scaling to the argument specified (num). The default value is 100, i.e., 100%, i.e., no scaling.
- {fscale> str} -- Specifies the InterScript translation string to replace
{fscale}.
- {fontco color} -- Sets the font color to the argument specified (color). The default value is 0:0:0:200, i.e., black.
- {fontco> str} -- Specifies the InterScript translation string to replace
{fontco}.
7.4 - Hard and Soft Character Codes
This chapter describes commands that insert special codes which act like printed characters but carry special significance.
- {hardsp} -- Inserts a hard space (binding space) between words which should not be separated by word wrap.
- {hardsp> str} -- Specifies the InterScript translation string to replace
{hardsp}.
- {hardhyp} -- Inserts a hard hyphen (binding hyphen) where no break should occur due to word wrap.
- {hardhyp> str} -- Specifies the InterScript translation string to replace
{hardhyp}.
- {softhyp} -- Inserts a soft hyphen, which marks the location where a word may be hyphenated if necessary at the end of a line.
- {softhyp> str} -- Specifies the InterScript translation string to replace
{softhyp}.
- {wbreak} -- Inserts a word break code, marking the location where a word may be broken (without hyphenation) if necessary at the end of a line.
- {wbreak> str} -- Specifies the InterScript translation string to replace
{wbreak}.
8 - Paragraph Format Commands
Paragraph format commands are those that affect the appearance of paragraphs in a document. This chapter discusses these commands.
8.1 - Paragraph Alignment & Justification
Alignment refers to how the lines in a paragraph are horizontally aligned with respect to each other (i.e., aligned at the left, center or right). Justification refers to whether or not lines are stretched (or compressed) to make them all the same length so that both the left and right margins are even.
The following commands affect paragraph alignment:
- {lal}or{l} -- Left align (i.e., ragged right margin).
- {cen}or{c} -- Center (ragged left and right margins).
- {ral}or{r} -- Right align (i.e., ragged left margin).
- {algn val} -- Sets the paragraph alignment to the argument specified (val). The default value is l, i.e., left-aligned.
- {algn> str} -- Specifies the InterScript translation string to replace
{algn}.
The following commands affect justification, and are relevant if the paragraph alignment mode is left-align. Justification refers to stretching (and possibly compressing) lines so that the left and the right margins are even. Further, a paragraph may be partially justified by specifying the justification percentage. For example, if a paragraph is 50% justified, the raggedness of the right margin is about half-way between normal ragged right (no justification) and completely even (100% justification). This may be used to create the appearance of unjustified text while at the same time minimizing the unevenness of the right margin.
8.2 - Line spacing, line height and leading
Line spacing refers to the distance between the lines in a paragraph expressed in terms of ratio to the size of the characters used in the lines. Line height refers to the actual height of a line. Leading refers to additional space inserted between lines.
The following commands affect line spacing before, within and after a paragraph:
- {lsp val} -- Sets the line spacing within a paragraph to the argument specified (val). The default value is 1, i.e., single-line spacing.
- {lsp> str} -- Specifies the InterScript translation string to replace
{lsp}.
- {lsp_b val} -- Sets the additional line spacing before a paragraph to the argument specified (val). The default value is 0, i.e., no additional spacing.
- {lsp_b> str} -- Specifies the InterScript translation string to replace
{lsp_b}.
- {lsp_a val} -- Sets the additional line spacing after a paragraph to the argument specified (val). The default value is 0, i.e., no additional spacing.
- {lsp_a> str} -- Specifies the InterScript translation string to replace
{lsp_a}.
The following commands determine whether the line height is automatically adjusted based on the font size of the characters in a line, or whether it is an absolute value. The absolute line height value is used if automatic line height adjustment is off.
The following commands determine the leading:
8.3 - Indents
An Indent refers to the space inserted between the edge of a line and the margin setting. This may refer to space on the left of a line (left indent) or right (right indent). If the left indent of the first line of a paragraph is less than that of the subsequent lines, it is also referred to as a hanging indent.
The following commands affect the indentation of a paragraph:
8.4 - Paragraph Protection
This section refers to commands that protect parts of a paragraph from soft page breaks.
The following commands prevent widows in a paragraph, which are isolated lines at the start of a paragraph (usually the first one or two lines) appearing at the bottom of a page while the rest of the paragraph appears on the following page:
The following commands prevent orphans in a paragraph, which are isolated lines at the end of a paragraph (usually the last one or two lines) appearing at the start of a page while the rest of the paragraph was on the preceding page:
8.5 - Paragraph Borders
The following commands affect the style of paragraph borders. A value of 0 means no border. This portion of InterScript is currently under construction.
- {para_lbsty num} -- Sets the left border style to the argument specified (num). The default value is 0, i.e., no left border.
- {para_lbsty> str} -- Specifies the InterScript translation string to replace
{para_lbsty}.
- {para_tbsty num} -- Sets the top border style to the argument specified (num). The default value is 0, i.e., no top border.
- {para_tbsty> str} -- Specifies the InterScript translation string to replace
{para_tbsty}.
- {para_rbsty num} -- Sets the right border style to the argument specified (num). The default value is 0, i.e., no right border.
- {para_rbsty> str} -- Specifies the InterScript translation string to replace
{para_rbsty}.
- {para_bbsty num} -- Sets the bottom border style to the argument specified (num). The default value is 0, i.e., no bottom border.
- {para_bbsty> str} -- Specifies the InterScript translation string to replace
{para_bbsty}.
The following commands affect the thickness of paragraph borders. A value of 0 means a hairline border (i.e., the thinnest border supported on any output device).
The following commands affect the gutters of paragraph borders:
The following commands affect the paragraph border colors:
8.6 - Heading Level
The following commands affect the heading level of a paragraph. The highest level is number 1, next lowest is number 2, etc. Level 1 is usually the title of the entire document (e.g., title of a book). Level 2 usually refers to chapters, level 3 to sections within a chapter, level 4 to sub-sections, and so on. A level of 0 refers to normal paragraphs that are not headings.
The following commands determine if heading-level paragraphs should use the native formatting provided by the destination application, or if that formatting should be overridden by that specified in the source document.
8.7 - Miscellaneous Paragraph Formatting
The following commands affect the color used for the background of a paragraph of text.
- {parafilc color} -- Sets the paragraph background color to the argument specified (color). The default value is 0:0:0:0, i.e., no color.
- {parafilc> str} -- Specifies the InterScript translation string to replace
{parafilc}.
9 - Line Ending Commands
This chapter describes commands that insert different kinds of line endings, and result in a move to a new line.
- {epara} -- Inserts a hard return (paragraph ending).
- {epara> str} -- Specifies the InterScript translation string to replace
{epara}.
- {eline} -- Inserts a hard return which is not necessarily a paragraph break (e.g., at the end of a row of table data).
- {eline> str} -- Specifies the InterScript translation string to replace
{eline}.
- {zicr} -- Inserts a hard return without an accompanying line feed (zero-index carriage return).
- {zicr> str} -- Specifies the InterScript translation string to replace
{zicr}.
- {cepara} -- Inserts a hard return unless there is no text in the line (conditional end of para).
- {sline} -- If possible, inserts a soft line break.
- {sline> str} -- Specifies the InterScript translation string to replace
{sline}.
10 - Column Ending Commands
This chapter describes commands that insert different kinds of column endings, and result in a move to a new column.
- {newcol} -- Terminates the current column and starts a new one.
- {newcol> str} -- Specifies the InterScript translation string to replace
{newcol}.
- {cnewcol value} -- Conditional new column, i.e., move to new column if less than value vertical space remains in this column.
- {scol} -- If possible, inserts a soft column break.
- {scol> str} -- Specifies the InterScript translation string to replace
{scol}.
11 - Page Ending Commands
This chapter describes commands that insert different kinds of page endings, and result in a move to a new page.
- {newpg} -- Finishes the current page and starts a new one.
- {newpg> str} -- Specifies the InterScript translation string to replace
{newpg}.
- {oddpg} -- Finishes the current page and moves to the next odd page.
- {oddpg> str} -- Specifies the InterScript translation string to replace
{oddpg}.
- {evenpg} -- Finishes the current page and moves to the next even page.
- {evenpg> str} -- Specifies the InterScript translation string to replace
{evenpg}.
- {cnewpg value} -- Finishes the current page if less than value vertical space remains on this page.
- {spage} -- If possible, inserts a soft page break.
- {spage> str} -- Specifies the InterScript translation string to replace
{spage}.
12 - Tabs
These commands affect tab settings. InterScript recognizes different kinds of tabs, including centered, right-aligned etc. Some tabs are defined as "character-aligned", i.e., a specific text character lines up at that location. That character is called the alignment character. Decimal tabs are a special case of these, where the alignment character is a decimal point. Some tabs are defined with leaders, i.e., a special character called the leader character is used to fill the white space when positioning to those tab points.
The following commands clear or set tabs:
- {clrtab} -- Clears all tabs.
- {clrtab> str} -- Specifies the InterScript translation string to replace
{clrtab}.
- {dftwid spacing} -- Specifies the spacing (width) of default tabs. A default tab stop is one that is tabbed to only if no further tabs have been defined to the right of the current cursor position.
- {dftwid> str} -- Specifies the InterScript translation string to replace
{dftwid}.
- {tab type pos} -- Sets a tab of the specified type at the specified position. type denotes the kind of tab, and pos is the horizontal location of the tab.
- type -- consists of one or two characters, with no intervening space. The first character may be:
- l -- text left-aligns at the tab position.
- c -- text centers at the tab position.
- r -- text right-aligns at the tab position.
- d -- text character-aligns at the tab position (decimal tab is a special case of this).
- b -- bar tab.
The second character is optional. It may be:
- * -- position is referenced to current paragraph edges.
- p -- position is referenced to the left edge of the page.
- m -- position is referenced to the left margin.
- c -- position is referenced to left edge of the current column (multi-column layout).
- t -- position is referenced to the left edge of the table (tabular layout).
- l -- position is referenced to the left edge of the cell (tabular layout).
If the second character is not specified, it has the same effect as *, i.e., the defined tab is relative to the edges of the current paragraph.
- pos -- specifies the horizontal measurement to indicate the tab position.
- {tab> str} -- Specifies the InterScript translation string to replace
{tab}.
The following commands specify the alignment character (for character-aligned tabs), and the leader-fill character (for leader tabs).
The following commands turn leaders on or off. When leaders are on, the leader fill character specified in the last {ldrfchr} command is used as a filler when positioning horizontally. Also, any tab defined when leader-fill is turned on is defined to be a leader tab using the current leader character.
13 - Horizontal Positioning
These commands represent "tab functions", enabling horizontal positioning of subsequent text, as well as defining centered, right-aligned, decimal-aligned or character-aligned fields. In all these cases, the argument represents the distance from the left edge of the current paragraph to the position point. Further, if leader fill is turned on (see {ldrf+}), then the most recently defined leader character (see {ldrfchr}) is used to fill the white space when positioning subsequent text.
It is not necessary to set tabs when using these commands. InterScript processors automatically set tabs at the appropriate positions if required to ensure correct positioning.
Centered, right-aligned and character-aligned (of which decimal-aligned is a special case) fields terminate implicitly on any end-of-line kind of code or another horizontal positioning code. Or, they may be explicitly terminated by the {endfld} command described below.
- {totab n} -- Positions to a defined tab. If n is 0 (the most common case), it positions to the next tab stop. If n>0, it skips n tabs in the process of positioning. If n<0, it positions in the reverse direction (i.e., to previous tab stops).
- {totab> str} -- Specifies the InterScript translation string to replace
{totab}.
- {pos hm} -- Positions (left aligns) subsequent text at hm.
- {pos> str} -- Specifies the InterScript translation string to replace
{pos}.
- {cenfld hm} -- Begins a field centered at hm.
- {cenfld> str} -- Specifies the InterScript translation string to replace
{cenfld}.
- {ralfld hm} -- Begins a field right aligned at hm.
- {ralfld> str} -- Specifies the InterScript translation string to replace
{ralfld}.
- {calfld hm} -- Begins a field which is character-aligned at hm, i.e., the field is positioned such that the alignment character (see
{algnchr} command) contained within it is positioned at hm.
- {calfld> str} -- Specifies the InterScript translation string to replace
{calfld}.
- {endfld} -- Ends a field initiated by
cenfld, ralfld or calfld. This command is not normally required.
- {endfld> str} -- Specifies the InterScript translation string to replace
{endfld}.
- {justfld+} -- This command begins a right- and left-justified field.
- {justfld+> str} -- Specifies the InterScript translation string to replace
{justfld+}.
- {justfld- hm} -- This command ends a right- and left-justified field. hm is the horizontal measure with respect to the current left margin where the right end of the field should be justified.
- {justfld-> str} -- Specifies the InterScript translation string to replace
{justfld-}.
- {hadv hm} -- Skips (advances horizontally) the amount of space specified by hm.
- {hadv> str} -- Specifies the InterScript translation string to replace
{hadv}.
- {lind hm} -- Positions (left-aligns) subsequent text at hm, and also sets the left-indent to that point.
- {lind> str} -- Specifies the InterScript translation string to replace
{lind}.
The following commands affect positioning of subsequent text in relation to the current effective margins, which are defined as the horizontal limts of the current paragraph (excluding the left and right indents):
The following commands control whether or not reverse-positioning is allowed to take place. When reverse-positioning is enabled, the destination wordprocessor may backspace or reverse-tab in order to move to the left of the current position:
14 - Headers and Footers
This chapter describes commands that affect document headers and footers. Headers are relatively constant text that is repeated at the top of each page while the header is active. Similarly, footers are repeated at the bottom of each page while active.
Many of these commands work identically to the corresponding commands in the main document (body) text. Note that the commands described in this chapter appear outside headers or footers, but their effect applies to headers and/or footers. In general, most commands that can be applied to body text (e.g., print enhancements, font changes, paragraph formatting, etc.) can also occur inside headers and footers, and have their usual effect on formatting of the header/footer contents. Those commands have not been repeated in this chapter.
14.1 - Header/Footer Margins
The following commands affect header/footer margins, which refer to the distances from the edges of the header or footer to the nearest paper edge.
- {hdrlmar val} -- Sets the header left margin to the horizontal measure argument specified (val). The default value is 1", i.e., one inch.
- {hdrlmar> str} -- Specifies the InterScript translation string to replace
{hdrlmar}.
- {hdrrmar val} -- Sets the header right margin to the horizontal measure argument specified (val). The default value is 1", i.e., one inch.
- {hdrrmar> str} -- Specifies the InterScript translation string to replace
{hdrrmar}.
- {hdrtop val} -- Sets the distance from the top of the page and the first line of the header to the vertical measure argument specified (val). The default value is 0.5", i.e., half inch.
- {hdrtop> str} -- Specifies the InterScript translation string to replace
{hdrtop}.
- {hdrbot val} -- Sets the distance from the top of the page and the last line of the header to the vertical measure argument specified (val). The default value is 1", i.e., one inch.
- {hdrbot> str} -- Specifies the InterScript translation string to replace
{hdrbot}.
- {ftrlmar val} -- Sets the footer left margin to the horizontal measure argument specified (val). The default value is 1", i.e., one inch.
- {ftrlmar> str} -- Specifies the InterScript translation string to replace
{ftrlmar}.
- {ftrrmar val} -- Sets the footer right margin to the horizontal measure argument specified (val). The default value is 1", i.e., one inch.
- {ftrrmar> str} -- Specifies the InterScript translation string to replace
{ftrrmar}.
- {ftrtop val} -- Sets the distance from the top of the footer to the bottom edge of the page to the vertical measure argument specified (val). The default value is 1", i.e., one inch.
- {ftrtop> str} -- Specifies the InterScript translation string to replace
{ftrtop}.
- {ftrbot val} -- Sets the distance from the bottom of the footer to the bottom edge of the page to the vertical measure argument specified (val). The default value is 0.5", i.e., half inch.
- {ftrbot> str} -- Specifies the InterScript translation string to replace
{ftrbot}.
14.2 - Header/Footer Paragraph Formatting
The following commands affect paragraph alignment and justification within headers/footers.
The following commands affect line spacing and line height within headers/footers:
14.3 - Header/Footer Character Formatting
The following commands affect fonts within headers/footers:
- {hdrfont name ptsiz color} -- Specifies the header font in the same way as the command
{font} is used within the body text.
- {hdrfontnm str} -- Sets the font name to the argument specified (str). The default value is Arial, i.e., the Windows "Arial" font. str should not exceed 64 characters in length.
- {hdrfontnm> str} -- Specifies the InterScript translation string to replace
{hdrfontnm}.
- {hdrfontsz meas} -- Sets the font size to the vertical measure argument specified (meas). The default value is 10p, i.e., 10 points.
- {hdrfontsz> str} -- Specifies the InterScript translation string to replace
{hdrfontsz}.
- {hdrfontco color} -- Sets the font color to the argument specified (color). The default value is 0:0:0:200, i.e., black.
- {hdrfontco> str} -- Specifies the InterScript translation string to replace
{hdrfontco}.
- {ftrfont name ptsiz color} -- Specifies the footer font in the same way as the command
{font} is used within the body text.
- {ftrfontnm str} -- Sets the font name to the argument specified (str). The default value is Arial, i.e., the Windows "Arial" font. str should not exceed 64 characters in length.
- {ftrfontnm> str} -- Specifies the InterScript translation string to replace
{ftrfontnm}.
- {ftrfontsz meas} -- Sets the font size to the vertical measure argument specified (meas). The default value is 10p, i.e., 10 points.
- {ftrfontsz> str} -- Specifies the InterScript translation string to replace
{ftrfontsz}.
- {ftrfontco color} -- Sets the font color to the argument specified (color). The default value is 0:0:0:200, i.e., black.
- {ftrfontco> str} -- Specifies the InterScript translation string to replace
{ftrfontco}.
14.4 - Other Header/Footer Commands
The following commands define headers/footers, or turn them on or off:
- {hdr+ code} ... text & commands ... {hdr-} -- Defines the header for all pages. code is the sum of the following numbers, as appropriate:
- 1 -- for first odd page.
- 2 -- for first even page.
- 4 -- for all odd pages after the first.
- 8 -- for all even pages after the first.
- {hdr-} -- This command terminates the definition of a header, as shown in the commands above.
- {supr_hdr} -- Suppress the header for the page on which this command is encountered.
- {supr_hdr> str} -- Specifies the InterScript translation string to replace
{supr_hdr}.
- {ftr+ code} ... text & commands ... {ftr-} -- Defines the footer for all pages. code is the sum of the following numbers, as appropriate:
- 1 -- for first odd page.
- 2 -- for first even page.
- 4 -- for all odd pages after the first.
- 8 -- for all even pages after the first.
- {ftr-} -- This command terminates the definition of a footer, as shown in the commands above.
- {supr_ftr} -- Suppress the footer for the page on which this command is encountered.
- {supr_ftr> str} -- Specifies the InterScript translation string to replace
{supr_ftr}.
15 - Footnotes/Endnotes
This chapter describes commands that affect footnotes/endnotes. Many of these commands work identically to the corresponding commands in the main document (body) text.
Note that the commands described in this chapter appear outside footnotes or endnotes, but their effect applies to footnotes/endnotes. In general, most commands that can be applied to body text (e.g., print enhancements, font changes, paragraph formatting, etc.) can also occur inside footnotes and endnotes, and have their usual effect on formatting of the footnote/endnote contents. Those commands have not been repeated in this chapter.
15.1 - Footnote/Endnote Margins
The following commands affect footnote/endnote margins, which refer to the distances from the edges of the footnote or endnote to the nearest paper edge.
15.2 - Footnote/Endnote Paragraph Formatting
The following commands affect paragraph alignment and justification within footnotes and endnotes.
The following commands affect line spacing and line height within footnotes and endnotes:
- {ftnlsp val} -- Sets the line spacing within footnotes to the argument specified (val). The default value is 1, i.e., single-line spacing.
- {ftnlsp> str} -- Specifies the InterScript translation string to replace
{ftnlsp}.
- {ftn_aulht+} -- Turns automatic line height adjustment within footnotes on. This is the default.
- {ftn_aulht-} -- Turns automatic line height adjustment within footnotes off.
- {ftn_aulht+> str} -- Specifies the InterScript translation string to replace
{ftn_aulht+}.
- {ftn_aulht-> str} -- Specifies the InterScript translation string to replace
{ftn_aulht-}.
- {ftnlht val} -- Sets the line height within footnotes to the vertical measure argument specified (val). The default value is 12p, i.e., 12 points or 6 lines per inch.
- {ftnlht> str} -- Specifies the InterScript translation string to replace
{ftnlht}.
- {iftnlsp val} -- Sets the additional inter-footnote line spacing to the argument specified (val). The default value is 0.5, i.e., footnotes are spaced 1.5 lines apart.
- {iftnlsp> str} -- Specifies the InterScript translation string to replace
{iftnlsp}.
- {ennlsp val} -- Sets the line spacing within endnotes to the argument specified (val). The default value is 1, i.e., single-line spacing.
- {ennlsp> str} -- Specifies the InterScript translation string to replace
{ennlsp}.
- {enn_aulht+} -- Turns automatic line height adjustment within endnotes on. This is the default.
- {enn_aulht-} -- Turns automatic line height adjustment within endnotes off.
- {enn_aulht+> str} -- Specifies the InterScript translation string to replace
{enn_aulht+}.
- {enn_aulht-> str} -- Specifies the InterScript translation string to replace
{enn_aulht-}.
- {ennlht val} -- Sets the line height within endnotes to the vertical measure argument specified (val). The default value is 12p, i.e., 12 points or 6 lines per inch.
- {ennlht> str} -- Specifies the InterScript translation string to replace
{ennlht}.
- {iennlsp val} -- Sets the additional inter-endnote line spacing to the argument specified (val). The default value is 0.5, i.e., endnotes are spaced 1.5 lines apart.
- {iennlsp> str} -- Specifies the InterScript translation string to replace
{iennlsp}.
15.3 - Footnote/Endnote Character Formatting
The following commands affect fonts within footnotes and endnotes:
- {ftnfont name ptsiz color} -- Specifies the footnote font in the same way as the command
{font} is used within the body text.
- {ftnfontnm str} -- Sets the font name to the argument specified (str). The default value is Arial, i.e., the Windows "Arial" font. str should not exceed 64 characters in length.
- {ftnfontnm> str} -- Specifies the InterScript translation string to replace
{ftnfontnm}.
- {ftnfontsz meas} -- Sets the font size to the vertical measure argument specified (meas). The default value is 10p, i.e., 10 points.
- {ftnfontsz> str} -- Specifies the InterScript translation string to replace
{ftnfontsz}.
- {ftnfontco color} -- Sets the font color to the argument specified (color). The default value is 0:0:0:200, i.e., black.
- {ftnfontco> str} -- Specifies the InterScript translation string to replace
{ftnfontco}.
- {ennfont name ptsiz color} -- Specifies the endnote font in the same way as the command
{font} is used within the body text.
- {ennfontnm str} -- Sets the font name to the argument specified (str). The default value is Arial, i.e., the Windows "Arial" font. str should not exceed 64 characters in length.
- {ennfontnm> str} -- Specifies the InterScript translation string to replace
{ennfontnm}.
- {ennfontsz meas} -- Sets the font size to the vertical measure argument specified (meas). The default value is 10p, i.e., 10 points.
- {ennfontsz> str} -- Specifies the InterScript translation string to replace
{ennfontsz}.
- {ennfontco color} -- Sets the font color to the argument specified (color). The default value is 0:0:0:200, i.e., black.
- {ennfontco> str} -- Specifies the InterScript translation string to replace
{ennfontco}.
15.4 - Footnote/Endnote Numbering
The following commands affect footnote/endnote numbering:
- {ftnum val} -- Sets the number to be used for the next footnote to val. Footnotes are normally numbered sequentially, but this command may be used to alter this sequence.
- {ftnstyle val} -- Sets the footnote numbering style to the argument specified (val). The default value is 1, i.e., arabic numbering.
- {ftnstyle> str} -- Specifies the InterScript translation string to replace
{ftnstyle}.
- {ftninitp+} -- Turns resetting of the footnote number with each new page on. This is the default.
- {ftninitp-} -- Turns resetting of the footnote number with each new page off.
- {ftninitp+> str} -- Specifies the InterScript translation string to replace
{ftninitp+}.
- {ftninitp-> str} -- Specifies the InterScript translation string to replace
{ftninitp-}.
- {ennum val} -- Sets the number to be used for the next endnote to val. Endnotes are normally numbered sequentially, but this command may be used to alter this sequence.
- {ennstyle val} -- Sets the endnote numbering style to the argument specified (val). The default value is 1, i.e., arabic numbering.
- {ennstyle> str} -- Specifies the InterScript translation string to replace
{ennstyle}.
15.5 - Footnote/Endnote Tags
Footnote and endnote tags are the formatted numerics or symbols that identify the location of a footnote or endnote in body text, and identify the note in the group of footnotes and/or endnotes. The format of these tags is specified using InterScript commands, and the {ftn#} is used as a placeholder for the actual footnote or endnote number within the tag. The following commands specify these tag formats:
- {ftnfmt_t str} -- Sets the footnote tag format in body text to the argument specified (str). The default value is "{sup+}{ftn#}{sup-}", i.e., the footnote number superscripted. str may include text as well as InterScript commands, and should not exceed 200 characters in length.
- {ftnfmt_t> str} -- Specifies the InterScript translation string to replace
{ftnfmt_t}.
- {ftnfmt_n str} -- Sets the footnote tag format in footnotes to the argument specified (str). The default value is "{sup+}{ftn#}{sup-}: ", i.e., the footnote number superscripted, colon, space. str may include text as well as InterScript commands, and should not exceed 200 characters in length.
- {ftnfmt_n> str} -- Specifies the InterScript translation string to replace
{ftnfmt_n}.
- {ennfmt_t str} -- Sets the endnote tag format in body text to the argument specified (str). The default value is "{sup+}<{enn#}>{sup-}", i.e., the endnote number, in angle parentheses, superscripted. str may include text as well as InterScript commands, and should not exceed 200 characters in length.
- {ennfmt_t> str} -- Specifies the InterScript translation string to replace
{ennfmt_t}.
- {ennfmt_n str} -- Sets the endnote tag format in endnotes to the argument specified (str). The default value is "{sup+}<{enn#}>{sup-}: ", i.e., the endnote number in angle parentheses and superscripted, colon, space. str may include text as well as InterScript commands, and should not exceed 200 characters in length.
- {ennfmt_n> str} -- Specifies the InterScript translation string to replace
{ennfmt_n}.
The following commands identify generated footnote and endnote tags:
- {ftntag} -- Inserts generated formatted footnote tag.
- {ftntag+} ... text & commands ... {ftntag-} -- Inserts generated formatted footnote tag and also identifies the generated text.
- {ftntag-} -- Terminates generated formatted footnote tag entered by the
{ftntag+} command.
- {ftntag> str} -- Specifies the InterScript translation string to replace
{ftntag}.
- {ftntag+> str} -- Specifies the InterScript translation string to replace
{ftntag+}.
- {ftntag-> str} -- Specifies the InterScript translation string to replace
{ftntag-}.
- {ftn#} -- Inserts footnote number within tag.
- {ftn#+} ... text & commands ... {ftn#-} -- Inserts footnote number within tag and also identifies the generated text.
- {ftn#-} -- Terminates footnote number within tag entered by the
{ftn#+} command.
- {ftn#> str} -- Specifies the InterScript translation string to replace
{ftn#}.
- {ftn#+> str} -- Specifies the InterScript translation string to replace
{ftn#+}.
- {ftn#-> str} -- Specifies the InterScript translation string to replace
{ftn#-}.
- {enntag} -- Inserts generated formatted endnote tag.
- {enntag+} ... text & commands ... {enntag-} -- Inserts generated formatted endnote tag and also identifies the generated text.
- {enntag-} -- Terminates generated formatted endnote tag entered by the
{enntag+} command.
- {enntag> str} -- Specifies the InterScript translation string to replace
{enntag}.
- {enntag+> str} -- Specifies the InterScript translation string to replace
{enntag+}.
- {enntag-> str} -- Specifies the InterScript translation string to replace
{enntag-}.
- {enn#} -- Inserts endnote number within tag.
- {enn#+} ... text & commands ... {enn#-} -- Inserts endnote number within tag and also identifies the generated text.
- {enn#-} -- Terminates endnote number within tag entered by the
{enn#+} command.
- {enn#> str} -- Specifies the InterScript translation string to replace
{enn#}.
- {enn#+> str} -- Specifies the InterScript translation string to replace
{enn#+}.
- {enn#-> str} -- Specifies the InterScript translation string to replace
{enn#-}.
15.6 - Other Footnote/Endnote Commands
The following commands enter footnotes/endnotes:
- {ftn+} ... text & commands ... {ftn-} -- Identifies (demarcates) a footnote.
- {ftn-} -- Terminates a footnote entered by the
{ftn+} command.
- {ftn+> str} -- Specifies the InterScript translation string to replace
{ftn+}.
- {ftn-> str} -- Specifies the InterScript translation string to replace
{ftn-}.
- {ftntitle str} -- Sets the title for the Footnotes to the argument specified (str). The default value is {hdlev 1}Footnotes{epara}, i.e., the text "Footnotes" at heading level 1. str may include text as well as InterScript commands, and should not exceed 200 characters in length.
- {ftntitle> str} -- Specifies the InterScript translation string to replace
{ftntitle}.
- {ftn_here} -- Marks the location in the document where footnotes should be placed, without the footnote title. It causes all pending footnotes (i.e., those which have not yet been output) in the document up to this point to be output at this point. You may have more than one
{ftn_here} in a document. If there are any footnotes pending at the end of the document, they are output at that point.
- {ftn_here> str} -- Specifies the InterScript translation string to replace
{ftn_here}.
- {tftn_here} -- Marks the location in the document where footnotes should be placed, along with the footnote title. It works like
{ftn_here}, except that the title string defined by {ftntitle} is placed before the footnotes.
- {tftn_here> str} -- Specifies the InterScript translation string to replace
{tftn_here}.
- {enn+} ... text & commands ... {enn-} -- Identifies (demarcates) an endnote.
- {enn-} -- Terminates an endnote entered by the
{enn+} command.
- {enn+> str} -- Specifies the InterScript translation string to replace
{enn+}.
- {enn-> str} -- Specifies the InterScript translation string to replace
{enn-}.
- {enntitle str} -- Sets the title for the Endnotes to the argument specified (str). The default value is {hdlev 1}Endnotes{epara}, i.e., the text "Endnotes" at heading level 1. str may include text as well as InterScript commands, and should not exceed 200 characters in length.
- {enntitle> str} -- Specifies the InterScript translation string to replace
{enntitle}.
- {enn_here} -- Marks the location in the document where endnotes should be placed without the endnote title. It causes all pending endnotes (i.e., those which have not yet been output) in the document up to this point to be output at this point. You may have more than one
{enn_here} in a document. If there are any endnotes pending at the end of the document, they are output at that point.
- {enn_here> str} -- Specifies the InterScript translation string to replace
{enn_here}.
- {tenn_here} -- Marks the location in the document where endnotes should be placed, along with the endnote title. It works like
{enn_here}, except that the title string defined by {enntitle} is placed before the endnotes.
- {tenn_here> str} -- Specifies the InterScript translation string to replace
{tenn_here}.
16 - Table of Contents Commands
When converting to some file formats such as HTML, it is possible to have a table of contents generated automatically from headings used in the document or from table-of-content entries made in the document. The following commands affect the generation of such tables of content:
- {toc_min lev} -- Sets the outermost level to include in table of contents to the argument specified (lev). The default value is 1, i.e., level 1.
- {toc_min> str} -- Specifies the InterScript translation string to replace
{toc_min}.
- {toc_max lev} -- Sets the innermost level to include in table of contents to the argument specified (lev). The default value is 9, i.e., level 9.
- {toc_max> str} -- Specifies the InterScript translation string to replace
{toc_max}.
- {toctitle str} -- Sets the title for the Table of Contents to the argument specified (str). The default value is {hdlev 1}Table of Contents{epara}, i.e., the text "Table of Contents" at heading level 1. str may include text as well as InterScript commands, and should not exceed 200 characters in length.
- {toctitle> str} -- Specifies the InterScript translation string to replace
{toctitle}.
- {toc_here} -- Marks the location in the document where the table of contents should be placed without the table title.
- {toc_here> str} -- Specifies the InterScript translation string to replace
{toc_here}.
- {ttoc_here} -- Marks the location in the document where the table of contents should be placed, along with the title defined by
{toctitle}.
- {ttoc_here> str} -- Specifies the InterScript translation string to replace
{ttoc_here}.
- {toc+ lev} ... text & commands ... {toc-} -- Identifies (demarcates) table of contents entry at level lev.
- {toc-} -- Terminates table of contents entry entered by the
{toc+} command.
- {toc+> str} -- Specifies the InterScript translation string to replace
{toc+}.
- {toc-> str} -- Specifies the InterScript translation string to replace
{toc-}.
- {gn_toc+} ... text & commands ... {gn_toc-} -- Identifies (demarcates) generated table of contents.
- {gn_toc-} -- Terminates generated table of contents entered by the
{gn_toc+} command.
- {gn_toc+> str} -- Specifies the InterScript translation string to replace
{gn_toc+}.
- {gn_toc-> str} -- Specifies the InterScript translation string to replace
{gn_toc-}.
17 - Table of Authorities Commands
When converting to some file formats such as HTML, it is possible to have a table of authorities generated automatically from entries made in the document. The following commands affect the generation of such tables:
- {toatitle str} -- Sets the title for the Table of Authorities to the argument specified (str). The default value is {hdlev 1}Table of Authorities{epara}, i.e., the text "Table of Authorities" at heading level 1. str may include text as well as InterScript commands, and should not exceed 200 characters in length.
- {toatitle> str} -- Specifies the InterScript translation string to replace
{toatitle}.
- {toa_here} -- Marks the location in the document where the table of authorities should be placed without the table title.
- {toa_here> str} -- Specifies the InterScript translation string to replace
{toa_here}.
- {ttoa_here} -- Marks the location in the document where the table of authorities should be placed, along with the title defined by
{toatitle}.
- {ttoa_here> str} -- Specifies the InterScript translation string to replace
{ttoa_here}.
- {toa+ n} ... text & commands ... {toa-} -- Identifies (demarcates) table of authorities entry for authorities list number n.
- {toa-} -- Terminates table of authorities entry entered by the
{toa+} command.
- {toa+> str} -- Specifies the InterScript translation string to replace
{toa+}.
- {toa-> str} -- Specifies the InterScript translation string to replace
{toa-}.
- {gn_toa+} ... text & commands ... {gn_toa-} -- Identifies (demarcates) generated table of authorities.
- {gn_toa-} -- Terminates generated table of authorities entered by the
{gn_toa+} command.
- {gn_toa+> str} -- Specifies the InterScript translation string to replace
{gn_toa+}.
- {gn_toa-> str} -- Specifies the InterScript translation string to replace
{gn_toa-}.
18 - Index generation Commands
The following commands define index entries in a document:
- {index+ n} -- Begins an index entry for index number n.
- {index-} -- Ends and index entry.
- {subindex} -- Denotes a sub-heading separator within an index entry. This command may only be encountered within an index entry text.
The following commands affect or show other aspects of the index:
- {ixtitle str} -- Sets the title for the Index to the argument specified (str). The default value is {hdlev 1}Index{epara}, i.e., the text "Index" at heading level 1. str may include text as well as InterScript commands, and should not exceed 200 characters in length.
- {ixtitle> str} -- Specifies the InterScript translation string to replace
{ixtitle}.
- {ix_here} -- Marks the location in the document where the index should be placed, without the index title. It causes all pending index entries (i.e., those which have not yet been output) in the document up to this point to be output at this point. You may have more than one
{ix_here} in a document. If there are any index entries pending at the end of the document, they are output at that point.
- {ix_here> str} -- Specifies the InterScript translation string to replace
{ix_here}.
- {tix_here} -- Marks the location in the document where the index should be placed, along with the index title. It works like
{ix_here}, except that the index title defined by {ixtitle} is placed before the index.
- {tix_here> str} -- Specifies the InterScript translation string to replace
{tix_here}.
- {ixind hm} -- Sets the indentation per index level to the horizontal measure argument specified (hm). The default value is 0.25", i.e., one-fourth inch per level.
- {ixind> str} -- Specifies the InterScript translation string to replace
{ixind}.
- {ixsep str} -- Sets the index entry separator to the argument specified (str). The default value is " ... ", i.e., three dots. str may include text as well as InterScript commands, and should not exceed 200 characters in length.
- {ixsep> str} -- Specifies the InterScript translation string to replace
{ixsep}.
- {gn_ix+} ... text & commands ... {gn_ix-} -- Identifies (demarcates) generated index.
- {gn_ix-} -- Terminates generated index entered by the
{gn_ix+} command.
- {gn_ix+> str} -- Specifies the InterScript translation string to replace
{gn_ix+}.
- {gn_ix-> str} -- Specifies the InterScript translation string to replace
{gn_ix-}.
19 - Comments
Comments are non-printing portions of a document used for annotation purposes. The following commands control comments:
- {comment+} ... text & commands ... {comment-} -- Identifies (demarcates) a non-printing comment (annotation).
- {comment-} -- Terminates a non-printing comment (annotation) entered by the
{comment+} command.
- {comment+> str} -- Specifies the InterScript translation string to replace
{comment+}.
- {comment-> str} -- Specifies the InterScript translation string to replace
{comment-}.
20 - Multiple Columns
Formatting text into multiple columns involves two steps:
- Specifying the column and gutter dimensions; and
- Turning the column mode on.
These steps are described in the following sections.
20.1 - Specifying column and gutter dimensions
If all columns have the same width and are equally spaced, their layout may be specified using the following commands:
On the other hand, if all columns do not have the same width or are not equally spaced (irregular columns), the following command is used to specify their layout:
- {col col1a col1b col2a col2b ... colna colnb} -- Defines column boundaries and, implicitly, the number of columns. col1a and col1b are the left and right limits of the first column, col2a and col2b of the second column, etc, and are specified using the usual horizontal measure conventions with respect to the left edge of the paper. This command implicitly sets the number of columns as well as the gutter widths.
20.2 - Turning Column Mode on or off
Once column and gutter dimensions have been specified using the {ncols}, {colgut}, {eqcol} or {col} commands, column mode may be turned on or off by using the {col+} and {col-} commands respectively.
- {col+ mode} -- Turns on the multiple-column mode. mode may be one of the following:
- u -- Unbalanced snaking (newspaper-style).
- b -- Balanced snaking (newspaper-style).
- p -- Parallel (table-style, or side-by-side).
- n -- Parallel with block protection, i.e., non-breaking (table-style, or side-by-side).
A col or eqcol command must have been encountered prior to this command to define the column limits.
- {col-} -- Ends multiple column mode.
21 - Tables
InterScript Provides a host of table generation and control commands to allow generation of complex and heavily formatted tables with all kinds of options.
21.1 - Begin and End
The following commands begin and end a table, row or cell:
- {tbl} -- Starts a table.
- {tbl-} -- Ends a table.
- {row} -- Starts a row.
- {row-} -- Ends a row.
- {cell} -- Starts a cell.
- {cell-} -- Ends a cell.
21.2 - Overall Table Formatting
The commands in this section affect the overall formatting of a table, and also serve to specify default values which may be overridden by commands that are specific to certain columns, rows or cells.
21.2.1 - General Table-level Commands
The following commands affect other miscellaneous aspects of a table as a whole:
- {ntcols val} -- Sets the number of table columns to the argument specified (val). The default value is 1, i.e., one column.
- {ntcols> str} -- Specifies the InterScript translation string to replace
{ntcols}.
- {tbl_plc val} -- Sets the horizontal placement of a table to the argument specified (val). The default value is c, i.e., centered between margins.
- {tbl_plc> str} -- Specifies the InterScript translation string to replace
{tbl_plc}.
- {tbl_pos hm} -- Sets the offset of table from left margin to the horizontal measure argument specified (hm). This setting is relevant only if the horizontal placement of the table is left-aligned. The default value is 0, i.e., no offset.
- {tbl_pos> str} -- Specifies the InterScript translation string to replace
{tbl_pos}.
- {tbl_filc color} -- Sets the cell background color to the argument specified (color). The default value is 0:0:0:0, i.e., 0-opacity black, which means no color.
- {tbl_filc> str} -- Specifies the InterScript translation string to replace
{tbl_filc}.
- {tbl_lock val} -- Specifies if the cells of a table as a whole should be locked (val=1) or unlocked (val=0). The default setting is 0, i.e., unlocked.
- {tbl_lock> str} -- Specifies the InterScript translation string to replace
{tbl_lock}.
21.2.2 - Cell Borders at table level
The following set of commands affect the cell borders in a table:
- {tbl_lbthk hm} -- Sets the cell left border thickness to the horizontal measure argument specified (hm). The default value is 1p, i.e., 1 point.
- {tbl_lbthk> str} -- Specifies the InterScript translation string to replace
{tbl_lbthk}.
- {tbl_rbthk hm} -- Sets the cell right border thickness to the horizontal measure argument specified (hm). The default value is 1p, i.e., 1 point.
- {tbl_rbthk> str} -- Specifies the InterScript translation string to replace
{tbl_rbthk}.
- {tbl_tbthk vm} -- Sets the cell top border thickness to the vertical measure argument specified (vm). The default value is 1p, i.e., 1 point.
- {tbl_tbthk> str} -- Specifies the InterScript translation string to replace
{tbl_tbthk}.
- {tbl_bbthk vm} -- Sets the cell bottom border thickness to the vertical measure argument specified (vm). The default value is 1p, i.e., 1 point.
- {tbl_bbthk> str} -- Specifies the InterScript translation string to replace
{tbl_bbthk}.
- {tbl_hlthk vm} -- Sets the thickness of horizontal lines in tables to the vertical measure argument specified (vm). The default value is 0.5p, i.e., half point.
- {tbl_hlthk> str} -- Specifies the InterScript translation string to replace
{tbl_hlthk}.
- {tbl_vlthk hm} -- Sets the thickness of vertical lines in tables to the horizontal measure argument specified (hm). The default value is 0.5p, i.e., half point.
- {tbl_vlthk> str} -- Specifies the InterScript translation string to replace
{tbl_vlthk}.
- {tbl_lbsty val} -- Sets the cell left border style to the argument specified (val). The default value is 0, i.e., default style.
- {tbl_lbsty> str} -- Specifies the InterScript translation string to replace
{tbl_lbsty}.
- {tbl_rbsty val} -- Sets the cell right border style to the argument specified (val). The default value is 0, i.e., default style.
- {tbl_rbsty> str} -- Specifies the InterScript translation string to replace
{tbl_rbsty}.
- {tbl_tbsty val} -- Sets the cell top border style to the argument specified (val). The default value is 0, i.e., default style.
- {tbl_tbsty> str} -- Specifies the InterScript translation string to replace
{tbl_tbsty}.
- {tbl_bbsty val} -- Sets the cell bottom border style to the argument specified (val). The default value is 0, i.e., default style.
- {tbl_bbsty> str} -- Specifies the InterScript translation string to replace
{tbl_bbsty}.
- {tbl_hlsty val} -- Sets the style of horizontal lines in tables to the argument specified (val). The default value is 0, i.e., default style.
- {tbl_hlsty> str} -- Specifies the InterScript translation string to replace
{tbl_hlsty}.
- {tbl_vlsty val} -- Sets the style of vertical lines in tables to the argument specified (val). The default value is 0, i.e., default style.
- {tbl_vlsty> str} -- Specifies the InterScript translation string to replace
{tbl_vlsty}.
- {tbl_lbco color} -- Sets the cell left border color to the argument specified (color). The default value is 0:0:0:200, i.e., black.
- {tbl_lbco> str} -- Specifies the InterScript translation string to replace
{tbl_lbco}.
- {tbl_rbco color} -- Sets the cell right border color to the argument specified (color). The default value is 0:0:0:200, i.e., black.
- {tbl_rbco> str} -- Specifies the InterScript translation string to replace
{tbl_rbco}.
- {tbl_tbco color} -- Sets the cell top border color to the argument specified (color). The default value is 0:0:0:200, i.e., black.
- {tbl_tbco> str} -- Specifies the InterScript translation string to replace
{tbl_tbco}.
- {tbl_bbco color} -- Sets the cell bottom border color to the argument specified (color). The default value is 0:0:0:200, i.e., black.
- {tbl_bbco> str} -- Specifies the InterScript translation string to replace
{tbl_bbco}.
- {tbl_hlco color} -- Sets the color of horizontal lines in tables to the argument specified (color). The default value is 0:0:0:200, i.e., black.
- {tbl_hlco> str} -- Specifies the InterScript translation string to replace
{tbl_hlco}.
- {tbl_vlco color} -- Sets the color of vertical lines in tables to the argument specified (color). The default value is 0:0:0:200, i.e., black.
- {tbl_vlco> str} -- Specifies the InterScript translation string to replace
{tbl_vlco}.
21.2.3 - Character Formatting at table level
The following set of commands specify the character formatting attributes of a table as a whole:
- {tbl_bold val} -- Affects the table boldface based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {tbl_bold> str} -- Specifies the InterScript translation string to replace
{tbl_bold}.
- {tbl_hilite val} -- Affects the table highlight based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {tbl_hilite> str} -- Specifies the InterScript translation string to replace
{tbl_hilite}.
- {tbl_ital val} -- Affects the table italics based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {tbl_ital> str} -- Specifies the InterScript translation string to replace
{tbl_ital}.
- {tbl_outln val} -- Affects the table outline based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {tbl_outln> str} -- Specifies the InterScript translation string to replace
{tbl_outln}.
- {tbl_ovstk val} -- Affects the table overstrike based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {tbl_ovstk> str} -- Specifies the InterScript translation string to replace
{tbl_ovstk}.
- {tbl_shad val} -- Affects the table shadow based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {tbl_shad> str} -- Specifies the InterScript translation string to replace
{tbl_shad}.
- {tbl_smlcap val} -- Affects the table small caps based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {tbl_smlcap> str} -- Specifies the InterScript translation string to replace
{tbl_smlcap}.
- {tbl_unln val} -- Affects the table underline based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {tbl_unln> str} -- Specifies the InterScript translation string to replace
{tbl_unln}.
- {tbl_upcase val} -- Affects the table upper case based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {tbl_upcase> str} -- Specifies the InterScript translation string to replace
{tbl_upcase}.
- {tbl_fontnm str} -- Sets the table font name to the argument specified (str). An empty string indicates no enforcement. The default value is "", i.e., does not enforce any value. str should not exceed 64 characters in length.
- {tbl_fontnm> str} -- Specifies the InterScript translation string to replace
{tbl_fontnm}.
- {tbl_fontsz vm} -- Sets the table font size to the vertical measure argument specified (vm). A vm value of -1 indicates no enforcement. The default value is -1, i.e., does not enforce any value.
- {tbl_fontsz> str} -- Specifies the InterScript translation string to replace
{tbl_fontsz}.
- {tbl_fontco color} -- Sets the table font color to the argument specified (color). The default value is 0:0:0:255, i.e., no enforcement.
- {tbl_fontco> str} -- Specifies the InterScript translation string to replace
{tbl_fontco}.
21.2.4 - Cell Height, Width and Gutters specified at table level
The following set of commands affect the heights, widths and gutters of table cells as a whole:
- {tbl_lgut hm} -- Sets the cell left gutter to the horizontal measure argument specified (hm). The default value is 3p, i.e., 3 points.
- {tbl_lgut> str} -- Specifies the InterScript translation string to replace
{tbl_lgut}.
- {tbl_rgut hm} -- Sets the cell right gutter to the horizontal measure argument specified (hm). The default value is 3p, i.e., 3 points.
- {tbl_rgut> str} -- Specifies the InterScript translation string to replace
{tbl_rgut}.
- {tbl_tgut vm} -- Sets the cell top gutter to the vertical measure argument specified (vm). The default value is 3p, i.e., 3 points.
- {tbl_tgut> str} -- Specifies the InterScript translation string to replace
{tbl_tgut}.
- {tbl_bgut vm} -- Sets the cell bottom gutter to the vertical measure argument specified (vm). The default value is 3p, i.e., 3 points.
- {tbl_bgut> str} -- Specifies the InterScript translation string to replace
{tbl_bgut}.
- {tbl_colwd hm} -- Sets the cell/column width to the horizontal measure argument specified (hm). A value of -1 indicates no enforcement of any value. The default value is -1, i.e., no value is enforced.
- {tbl_colwd> str} -- Specifies the InterScript translation string to replace
{tbl_colwd}.
- {tbl_rowht vm} -- Sets the cell/row height to the vertical measure argument specified (vm). A value of -1 indicates no enforcement of any value. The default value is -1, i.e., no value is enforced.
- {tbl_rowht> str} -- Specifies the InterScript translation string to replace
{tbl_rowht}.
21.2.5 - Cell Content Alignment at table level
The following set of commands affect the alignment of cell contents in a table:
- {tbl_hal val} -- Sets the horizontal alignment of text in table cells based on the numeric argument val specified. Valid values for val are:
- 0 -- left-align. This is the default setting.
- 1 -- center.
- 2 -- right-align.
- -1 -- leave unchanged (do not enforce any value).
- {tbl_hal> str} -- Specifies the InterScript translation string to replace
{tbl_hal}.
- {tbl_hjus val} -- Affects the cell text horizontal justification based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is 0, i.e., not justified.
- {tbl_hjus> str} -- Specifies the InterScript translation string to replace
{tbl_hjus}.
- {tbl_dec num} -- Specifies that cell contents are decimal-aligned, with num decimal places. A value of -1 for num means no decimal alignment. The default value is -1, i.e., not decimal-aligned.
- {tbl_dec> str} -- Specifies the InterScript translation string to replace
{tbl_dec}.
- {tbl_val val} -- Sets the vertical alignment of text in table cells based on the numeric argument val specified. Valid values for val are:
- 0 -- top-align. This is the default setting.
- 1 -- middle.
- 2 -- bottom-align.
- -1 -- leave unchanged (do not enforce any value).
- {tbl_val> str} -- Specifies the InterScript translation string to replace
{tbl_val}.
- {tbl_vjus val} -- Affects the cell text vertical justification based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is 0, i.e., not justified.
- {tbl_vjus> str} -- Specifies the InterScript translation string to replace
{tbl_vjus}.
21.3 - Table Columns Formatting
The commands in this section affect table columns, and also serve to specify default values which may be overridden by commands that are specific to certain rows or cells.
21.3.1 - Cell Borders at column level
The following set of commands affect the cell borders in a column:
- {tcol_lbthk hm} -- Sets the cell left border thickness to the horizontal measure argument specified (hm). A value of -1 means no enforcement, and this is the default setting.
- {tcol_lbthk> str} -- Specifies the InterScript translation string to replace
{tcol_lbthk}.
- {tcol_rbthk hm} -- Sets the cell right border thickness to the horizontal measure argument specified (hm). A value of -1 means no enforcement, and this is the default setting.
- {tcol_rbthk> str} -- Specifies the InterScript translation string to replace
{tcol_rbthk}.
- {tcol_tbthk vm} -- Sets the cell top border thickness to the vertical measure argument specified (vm). A value of -1 means no enforcement, and this is the default setting.
- {tcol_tbthk> str} -- Specifies the InterScript translation string to replace
{tcol_tbthk}.
- {tcol_bbthk vm} -- Sets the cell bottom border thickness to the vertical measure argument specified (vm). A value of -1 means no enforcement, and this is the default setting.
- {tcol_bbthk> str} -- Specifies the InterScript translation string to replace
{tcol_bbthk}.
- {tcol_lbsty val} -- Sets the cell left border style to the argument specified (val). The default value is 0, i.e., default style.
- {tcol_lbsty> str} -- Specifies the InterScript translation string to replace
{tcol_lbsty}.
- {tcol_rbsty val} -- Sets the cell right border style to the argument specified (val). The default value is 0, i.e., default style.
- {tcol_rbsty> str} -- Specifies the InterScript translation string to replace
{tcol_rbsty}.
- {tcol_tbsty val} -- Sets the cell top border style to the argument specified (val). The default value is 0, i.e., default style.
- {tcol_tbsty> str} -- Specifies the InterScript translation string to replace
{tcol_tbsty}.
- {tcol_bbsty val} -- Sets the cell bottom border style to the argument specified (val). The default value is 0, i.e., default style.
- {tcol_bbsty> str} -- Specifies the InterScript translation string to replace
{tcol_bbsty}.
- {tcol_lbco color} -- Sets the cell left border color to the argument specified (color). The default value is 0:0:0:0, i.e., no color.
- {tcol_lbco> str} -- Specifies the InterScript translation string to replace
{tcol_lbco}.
- {tcol_rbco color} -- Sets the cell right border color to the argument specified (color). The default value is 0:0:0:0, i.e., no color.
- {tcol_rbco> str} -- Specifies the InterScript translation string to replace
{tcol_rbco}.
- {tcol_tbco color} -- Sets the cell top border color to the argument specified (color). The default value is 0:0:0:0, i.e., no color.
- {tcol_tbco> str} -- Specifies the InterScript translation string to replace
{tcol_tbco}.
- {tcol_bbco color} -- Sets the cell bottom border color to the argument specified (color). The default value is 0:0:0:0, i.e., no color.
- {tcol_bbco> str} -- Specifies the InterScript translation string to replace
{tcol_bbco}.
21.3.2 - Character Formatting at column level
The following set of commands specify the character formatting attributes of a column as a whole:
- {tcol_bold val} -- Affects the column boldface based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {tcol_bold> str} -- Specifies the InterScript translation string to replace
{tcol_bold}.
- {tcol_hilite val} -- Affects the column highlight based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {tcol_hilite> str} -- Specifies the InterScript translation string to replace
{tcol_hilite}.
- {tcol_ital val} -- Affects the column italics based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {tcol_ital> str} -- Specifies the InterScript translation string to replace
{tcol_ital}.
- {tcol_outln val} -- Affects the column outline based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {tcol_outln> str} -- Specifies the InterScript translation string to replace
{tcol_outln}.
- {tcol_ovstk val} -- Affects the column overstrike based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {tcol_ovstk> str} -- Specifies the InterScript translation string to replace
{tcol_ovstk}.
- {tcol_shad val} -- Affects the column shadow based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {tcol_shad> str} -- Specifies the InterScript translation string to replace
{tcol_shad}.
- {tcol_smlcap val} -- Affects the column small caps based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {tcol_smlcap> str} -- Specifies the InterScript translation string to replace
{tcol_smlcap}.
- {tcol_unln val} -- Affects the column underline based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {tcol_unln> str} -- Specifies the InterScript translation string to replace
{tcol_unln}.
- {tcol_upcase val} -- Affects the column upper case based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {tcol_upcase> str} -- Specifies the InterScript translation string to replace
{tcol_upcase}.
- {tcol_fontnm str} -- Sets the column font name to the argument specified (str). An empty string indicates no enforcement. The default value is "", i.e., does not enforce any value. str should not exceed 64 characters in length.
- {tcol_fontnm> str} -- Specifies the InterScript translation string to replace
{tcol_fontnm}.
- {tcol_fontsz vm} -- Sets the column font size to the vertical measure argument specified (vm). A vm value of -1 indicates no enforcement. The default value is -1, i.e., does not enforce any value.
- {tcol_fontsz> str} -- Specifies the InterScript translation string to replace
{tcol_fontsz}.
- {tcol_fontco color} -- Sets the column font color to the argument specified (color). The default value is 0:0:0:255, i.e., no enforcement.
- {tcol_fontco> str} -- Specifies the InterScript translation string to replace
{tcol_fontco}.
21.3.3 - Cell Height, Width and Gutters specified at column level
The following set of commands affect the heights, widths and gutters of cells in a column:
21.3.4 - Cell Content Alignment at column level
The following set of commands affect the alignment of cell contents in a column:
- {tcol_hal val} -- Sets the horizontal alignment of text in column cells based on the numeric argument val specified. Valid values for val are:
- 0 -- left-align.
- 1 -- center.
- 2 -- right-align.
- -1 -- leave unchanged (do not enforce any value). This is the default setting.
- {tcol_hal> str} -- Specifies the InterScript translation string to replace
{tcol_hal}.
- {tcol_hjus val} -- Affects the cell text horizontal justification based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., not enforcement.
- {tcol_hjus> str} -- Specifies the InterScript translation string to replace
{tcol_hjus}.
- {tcol_dec num} -- Specifies that cell contents are decimal-aligned, with num decimal places. A value of -1 for num means no decimal alignment. The default value is -1, i.e., not decimal-aligned.
- {tcol_dec> str} -- Specifies the InterScript translation string to replace
{tcol_dec}.
- {tcol_val val} -- Sets the vertical alignment of text in column cells based on the numeric argument val specified. Valid values for val are:
- 0 -- top-align.
- 1 -- middle.
- 2 -- bottom-align.
- -1 -- leave unchanged (do not enforce any value). This is the default setting.
- {tcol_val> str} -- Specifies the InterScript translation string to replace
{tcol_val}.
- {tcol_vjus val} -- Affects the cell text vertical justification based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., no enforcement.
- {tcol_vjus> str} -- Specifies the InterScript translation string to replace
{tcol_vjus}.
21.3.5 - Other column-level Commands
The following commands affect other miscellaneous aspects of a table columns:
- {tcol_filc color} -- Sets the cell background color to the argument specified (color). The default value is 0:0:0:0, i.e., 0-opacity black, which means no color.
- {tcol_filc> str} -- Specifies the InterScript translation string to replace
{tcol_filc}.
- {tcol_lock val} -- Specifies if the cells in a column should be locked (val=1) or unlocked (val=0). The default setting is 0, i.e., unlocked.
- {tcol_lock> str} -- Specifies the InterScript translation string to replace
{tcol_lock}.
- {tcol_hdr val} -- Sets (val=1) or resets (val=0) the header column attribute.
- {tcol_hdr> str} -- Specifies the InterScript translation string to replace
{tcol_hdr}.
- {tcol_fmt col} -- Transfers the column formatting and specifications resulting from the commands in this section to column number col. By convention the first column is numbered 0.
- {tcol_fmt> str} -- Specifies the InterScript translation string to replace
{tcol_fmt}.
21.4 - Table Rows Formatting
The commands in this section affect table rows, and also serve to specify default values which may be overridden by commands that are specific to individual cells.
21.4.1 - Cell Borders at row level
The following set of commands affect the cell borders in a row:
- {row_lbthk hm} -- Sets the cell left border thickness to the horizontal measure argument specified (hm). A value of -1 means no enforcement, and this is the default setting.
- {row_lbthk> str} -- Specifies the InterScript translation string to replace
{row_lbthk}.
- {row_rbthk hm} -- Sets the cell right border thickness to the horizontal measure argument specified (hm). A value of -1 means no enforcement, and this is the default setting.
- {row_rbthk> str} -- Specifies the InterScript translation string to replace
{row_rbthk}.
- {row_tbthk vm} -- Sets the cell top border thickness to the vertical measure argument specified (vm). A value of -1 means no enforcement, and this is the default setting.
- {row_tbthk> str} -- Specifies the InterScript translation string to replace
{row_tbthk}.
- {row_bbthk vm} -- Sets the cell bottom border thickness to the vertical measure argument specified (vm). A value of -1 means no enforcement, and this is the default setting.
- {row_bbthk> str} -- Specifies the InterScript translation string to replace
{row_bbthk}.
- {row_lbsty val} -- Sets the cell left border style to the argument specified (val). The default value is 0, i.e., default style.
- {row_lbsty> str} -- Specifies the InterScript translation string to replace
{row_lbsty}.
- {row_rbsty val} -- Sets the cell right border style to the argument specified (val). The default value is 0, i.e., default style.
- {row_rbsty> str} -- Specifies the InterScript translation string to replace
{row_rbsty}.
- {row_tbsty val} -- Sets the cell top border style to the argument specified (val). The default value is 0, i.e., default style.
- {row_tbsty> str} -- Specifies the InterScript translation string to replace
{row_tbsty}.
- {row_bbsty val} -- Sets the cell bottom border style to the argument specified (val). The default value is 0, i.e., default style.
- {row_bbsty> str} -- Specifies the InterScript translation string to replace
{row_bbsty}.
- {row_lbco color} -- Sets the cell left border color to the argument specified (color). The default value is 0:0:0:0, i.e., no color.
- {row_lbco> str} -- Specifies the InterScript translation string to replace
{row_lbco}.
- {row_rbco color} -- Sets the cell right border color to the argument specified (color). The default value is 0:0:0:0, i.e., no color.
- {row_rbco> str} -- Specifies the InterScript translation string to replace
{row_rbco}.
- {row_tbco color} -- Sets the cell top border color to the argument specified (color). The default value is 0:0:0:0, i.e., no color.
- {row_tbco> str} -- Specifies the InterScript translation string to replace
{row_tbco}.
- {row_bbco color} -- Sets the cell bottom border color to the argument specified (color). The default value is 0:0:0:0, i.e., no color.
- {row_bbco> str} -- Specifies the InterScript translation string to replace
{row_bbco}.
21.4.2 - Character Formatting at row level
The following set of commands specify the character formatting attributes of a row as a whole:
- {row_bold val} -- Affects the row boldface based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {row_bold> str} -- Specifies the InterScript translation string to replace
{row_bold}.
- {row_hilite val} -- Affects the row highlight based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {row_hilite> str} -- Specifies the InterScript translation string to replace
{row_hilite}.
- {row_ital val} -- Affects the row italics based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {row_ital> str} -- Specifies the InterScript translation string to replace
{row_ital}.
- {row_outln val} -- Affects the row outline based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {row_outln> str} -- Specifies the InterScript translation string to replace
{row_outln}.
- {row_ovstk val} -- Affects the row overstrike based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {row_ovstk> str} -- Specifies the InterScript translation string to replace
{row_ovstk}.
- {row_shad val} -- Affects the row shadow based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {row_shad> str} -- Specifies the InterScript translation string to replace
{row_shad}.
- {row_smlcap val} -- Affects the row small caps based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {row_smlcap> str} -- Specifies the InterScript translation string to replace
{row_smlcap}.
- {row_unln val} -- Affects the row underline based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {row_unln> str} -- Specifies the InterScript translation string to replace
{row_unln}.
- {row_upcase val} -- Affects the row upper case based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {row_upcase> str} -- Specifies the InterScript translation string to replace
{row_upcase}.
- {row_fontnm str} -- Sets the row font name to the argument specified (str). An empty string indicates no enforcement. The default value is "", i.e., does not enforce any value. str should not exceed 64 characters in length.
- {row_fontnm> str} -- Specifies the InterScript translation string to replace
{row_fontnm}.
- {row_fontsz vm} -- Sets the row font size to the vertical measure argument specified (vm). A vm value of -1 indicates no enforcement. The default value is -1, i.e., does not enforce any value.
- {row_fontsz> str} -- Specifies the InterScript translation string to replace
{row_fontsz}.
- {row_fontco color} -- Sets the row font color to the argument specified (color). The default value is 0:0:0:255, i.e., no enforcement.
- {row_fontco> str} -- Specifies the InterScript translation string to replace
{row_fontco}.
21.4.3 - Cell Height, Width and Gutters specified at row level
The following set of commands affect the heights, widths and gutters of cells in a row:
21.4.4 - Cell Content Alignment at row level
The following set of commands affect the alignment of cell contents in a row:
- {row_hal val} -- Sets the horizontal alignment of text in row cells based on the numeric argument val specified. Valid values for val are:
- 0 -- left-align.
- 1 -- center.
- 2 -- right-align.
- -1 -- leave unchanged (do not enforce any value). This is the default setting.
- {row_hal> str} -- Specifies the InterScript translation string to replace
{row_hal}.
- {row_hjus val} -- Affects the cell text horizontal justification based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., no enforcement.
- {row_hjus> str} -- Specifies the InterScript translation string to replace
{row_hjus}.
- {row_dec num} -- Specifies that cell contents are decimal-aligned, with num decimal places. A value of -1 for num means no decimal alignment. The default value is -1, i.e., not decimal-aligned.
- {row_dec> str} -- Specifies the InterScript translation string to replace
{row_dec}.
- {row_val val} -- Sets the vertical alignment of text in row cells based on the numeric argument val specified. Valid values for val are:
- 0 -- top-align.
- 1 -- middle.
- 2 -- bottom-align.
- -1 -- leave unchanged (do not enforce any value). This is the default setting.
- {row_val> str} -- Specifies the InterScript translation string to replace
{row_val}.
- {row_vjus val} -- Affects the cell text vertical justification based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., no enforcement.
- {row_vjus> str} -- Specifies the InterScript translation string to replace
{row_vjus}.
21.4.5 - Other row-level Commands
The following commands affect other miscellaneous aspects of a table rows:
- {row_filc color} -- Sets the cell background color to the argument specified (color). The default value is 0:0:0:0, i.e., 0-opacity black, which means no color.
- {row_filc> str} -- Specifies the InterScript translation string to replace
{row_filc}.
- {row_lock val} -- Specifies if the cells in a row should be locked (val=1) or unlocked (val=0). The default setting is 0, i.e., unlocked.
- {row_lock> str} -- Specifies the InterScript translation string to replace
{row_lock}.
- {row_hdr val} -- Sets (val=1) or resets (val=0) the header row attribute.
- {row_hdr> str} -- Specifies the InterScript translation string to replace
{row_hdr}.
21.5 - Cell Formatting
The commands in this section affect the formatting of individual cells.
21.5.1 - Cell Borders
The following set of commands affect a cell's borders:
- {cel_lbthk hm} -- Sets the cell left border thickness to the horizontal measure argument specified (hm). A value of -1 means no enforcement, and this is the default setting.
- {cel_lbthk> str} -- Specifies the InterScript translation string to replace
{cel_lbthk}.
- {cel_rbthk hm} -- Sets the cell right border thickness to the horizontal measure argument specified (hm). A value of -1 means no enforcement, and this is the default setting.
- {cel_rbthk> str} -- Specifies the InterScript translation string to replace
{cel_rbthk}.
- {cel_tbthk vm} -- Sets the cell top border thickness to the vertical measure argument specified (vm). A value of -1 means no enforcement, and this is the default setting.
- {cel_tbthk> str} -- Specifies the InterScript translation string to replace
{cel_tbthk}.
- {cel_bbthk vm} -- Sets the cell bottom border thickness to the vertical measure argument specified (vm). A value of -1 means no enforcement, and this is the default setting.
- {cel_bbthk> str} -- Specifies the InterScript translation string to replace
{cel_bbthk}.
- {cel_lbsty val} -- Sets the cell left border style to the argument specified (val). The default value is 0, i.e., default style.
- {cel_lbsty> str} -- Specifies the InterScript translation string to replace
{cel_lbsty}.
- {cel_rbsty val} -- Sets the cell right border style to the argument specified (val). The default value is 0, i.e., default style.
- {cel_rbsty> str} -- Specifies the InterScript translation string to replace
{cel_rbsty}.
- {cel_tbsty val} -- Sets the cell top border style to the argument specified (val). The default value is 0, i.e., default style.
- {cel_tbsty> str} -- Specifies the InterScript translation string to replace
{cel_tbsty}.
- {cel_bbsty val} -- Sets the cell bottom border style to the argument specified (val). The default value is 0, i.e., default style.
- {cel_bbsty> str} -- Specifies the InterScript translation string to replace
{cel_bbsty}.
- {cel_lbco color} -- Sets the cell left border color to the argument specified (color). The default value is 0:0:0:0, i.e., no color.
- {cel_lbco> str} -- Specifies the InterScript translation string to replace
{cel_lbco}.
- {cel_rbco color} -- Sets the cell right border color to the argument specified (color). The default value is 0:0:0:0, i.e., no color.
- {cel_rbco> str} -- Specifies the InterScript translation string to replace
{cel_rbco}.
- {cel_tbco color} -- Sets the cell top border color to the argument specified (color). The default value is 0:0:0:0, i.e., no color.
- {cel_tbco> str} -- Specifies the InterScript translation string to replace
{cel_tbco}.
- {cel_bbco color} -- Sets the cell bottom border color to the argument specified (color). The default value is 0:0:0:0, i.e., no color.
- {cel_bbco> str} -- Specifies the InterScript translation string to replace
{cel_bbco}.
21.5.2 - Character Formatting
The following set of commands specify the character formatting attributes of a cell:
- {cel_bold val} -- Affects the table boldface based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {cel_bold> str} -- Specifies the InterScript translation string to replace
{cel_bold}.
- {cel_hilite val} -- Affects the table highlight based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {cel_hilite> str} -- Specifies the InterScript translation string to replace
{cel_hilite}.
- {cel_ital val} -- Affects the table italics based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {cel_ital> str} -- Specifies the InterScript translation string to replace
{cel_ital}.
- {cel_outln val} -- Affects the table outline based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {cel_outln> str} -- Specifies the InterScript translation string to replace
{cel_outln}.
- {cel_ovstk val} -- Affects the table overstrike based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {cel_ovstk> str} -- Specifies the InterScript translation string to replace
{cel_ovstk}.
- {cel_shad val} -- Affects the table shadow based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {cel_shad> str} -- Specifies the InterScript translation string to replace
{cel_shad}.
- {cel_smlcap val} -- Affects the table small caps based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {cel_smlcap> str} -- Specifies the InterScript translation string to replace
{cel_smlcap}.
- {cel_unln val} -- Affects the table underline based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {cel_unln> str} -- Specifies the InterScript translation string to replace
{cel_unln}.
- {cel_upcase val} -- Affects the table upper case based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., does not enforce any value.
- {cel_upcase> str} -- Specifies the InterScript translation string to replace
{cel_upcase}.
- {cel_fontnm str} -- Sets the table font name to the argument specified (str). An empty string indicates no enforcement. The default value is "", i.e., does not enforce any value. str should not exceed 64 characters in length.
- {cel_fontnm> str} -- Specifies the InterScript translation string to replace
{cel_fontnm}.
- {cel_fontsz vm} -- Sets the table font size to the vertical measure argument specified (vm). A vm value of -1 indicates no enforcement. The default value is -1, i.e., does not enforce any value.
- {cel_fontsz> str} -- Specifies the InterScript translation string to replace
{cel_fontsz}.
- {cel_fontco color} -- Sets the table font color to the argument specified (color). The default value is 0:0:0:255, i.e., no enforcement.
- {cel_fontco> str} -- Specifies the InterScript translation string to replace
{cel_fontco}.
21.5.3 - Cell Height, Width and Gutters
The following set of commands affect the cell height, width and gutters:
21.5.4 - Cell Content Alignment
The following set of commands affect the alignment of cell contents:
- {cel_hal val} -- Sets the horizontal alignment of text in table cells based on the numeric argument val specified. Valid values for val are:
- 0 -- left-align
- 1 -- center.
- 2 -- right-align.
- -1 -- leave unchanged (do not enforce any value).. This is the default setting.
- {cel_hal> str} -- Specifies the InterScript translation string to replace
{cel_hal}.
- {cel_hjus val} -- Affects the cell text horizontal justification based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., no enforcement.
- {cel_hjus> str} -- Specifies the InterScript translation string to replace
{cel_hjus}.
- {cel_dec num} -- Specifies that cell contents are decimal-aligned, with num decimal places. A value of -1 for num means no decimal alignment. The default value is -1, i.e., not decimal-aligned.
- {cel_dec> str} -- Specifies the InterScript translation string to replace
{cel_dec}.
- {cel_val val} -- Sets the vertical alignment of text in table cells based on the numeric argument val specified. Valid values for val are:
- 0 -- top-align.
- 1 -- middle.
- 2 -- bottom-align.
- -1 -- leave unchanged (do not enforce any value). This is the default setting.
- {cel_val> str} -- Specifies the InterScript translation string to replace
{cel_val}.
- {cel_vjus val} -- Affects the cell text vertical justification based on the numeric argument specified (val). If val is 0, this attribute is turned off, while if val is 1 it is turned on. If val is -1 then no attribute setting is enforced, i.e., it is unaffected. The default value is -1, i.e., no enforcement.
- {cel_vjus> str} -- Specifies the InterScript translation string to replace
{cel_vjus}.
21.5.5 - Other cell-level Commands
The following commands affect other miscellaneous aspects of a table as a whole:
- {cel_filc color} -- Sets the cell background color to the argument specified (color). The default value is 0:0:0:0, i.e., 0-opacity black, which means no color.
- {cel_filc> str} -- Specifies the InterScript translation string to replace
{cel_filc}.
- {cel_lock val} -- Specifies if the cell should be locked (val=1) or unlocked (val=0). The default setting is 0, i.e., unlocked.
- {cel_lock> str} -- Specifies the InterScript translation string to replace
{cel_lock}.
- {cel_hjoin nc} -- Sets the no. of (additional) horizontally joined cells to the argument specified (nc). Joined cells appear as a single cell without intervening borders, and the cell contents flow as in a single cell. The default value is 0, i.e., no joining.
- {cel_hjoin> str} -- Specifies the InterScript translation string to replace
{cel_hjoin}.
- {cel_vjoin nc} -- Sets the no. of (additional) vertically joined cells to the argument specified (nc). Joined cells appear as a single cell without intervening borders, and the cell contents flow as in a single cell. The default value is 0, i.e., no joining.
- {cel_vjoin> str} -- Specifies the InterScript translation string to replace
{cel_vjoin}.
22 - Styles
The following commands affect style definition:
- {defstyle+ str} ... text & commands ... {defstyle-} -- Defines a style named str.
- {defstyle-} -- Terminates the style defintion entered by the
{defstyle+} command.
- {defstyle+> str} -- Specifies the InterScript translation string to replace
{defstyle+}.
- {defstyle-> str} -- Specifies the InterScript translation string to replace
{defstyle-}.
The following commands affect style usage:
- {style+ str} ... text & commands ... {style-} -- Indicates style usage.
- {style-} -- Terminates the style usage sequence started by
{style+}. str may either be a style name matching one from an active {style+} command, or it may be an asterisk (*) to indicate the last activated {style+}.
- {style+> str} -- Specifies the InterScript translation string to replace
{style+}.
- {style-> str} -- Specifies the InterScript translation string to replace
{style-}.
23 - AutoNumbering
Autonumbering refers to the automatic addition of paragraph numbers, page numbers, etc. The automatically generated number is sometimes referred to as the number tag.
23.1 - Paragraph Numbering
The following commands affect autonumbering style and format. The style of a particular level determines how the number component at that level is displayed (i.e., arabic, roman or alphabetic), while the format of a particular level describes the way the entire numbering tag appears at that level (including, possibly, components from higher levels).
- {aunum_arab} -- Selects arabic numbering.
- {aunum_arab> str} -- Specifies the InterScript translation string to replace
{aunum_arab}.
- {aunum_chic} -- Selects Chicago reference numbering.
- {aunum_chic> str} -- Specifies the InterScript translation string to replace
{aunum_chic}.
- {aunum_legal} -- Selects legal numbering.
- {aunum_legal> str} -- Specifies the InterScript translation string to replace
{aunum_legal}.
- {otgstyle lev sty} -- Sets the numbering style at level lev to sty. The default value is 1, i.e., arabic numbering at every level.
- {otgstyle> str} -- Specifies the InterScript translation string to replace
{otgstyle}.
- {otgfrm lev frm} -- Sets the numbering format at level lev to that specified by the InterScript string frm. This string may contain
{otg n} commands as placeholders for level numbers. The default level styles are set up for legal numbering.
- {otgfrm> str} -- Specifies the InterScript translation string to replace
{otgfrm}.
The following commands affect the curent level number. The outermost level is numbered 1, and up to 9 nested levels are supported (i.e., the level number can be from 1 to 9). The default level on startup is 1, i.e., the outermost level.
- {lev+} -- Increments the number level.
- {lev-} -- Decrements the number level.
- {lev num} -- Sets the numbering level to num.
- {lev> str} -- Specifies the InterScript translation string to replace
{lev}.
The following commands specify the initial numbers at the different levels:
- {tagnum lev val} -- Sets the numeric value of the next tag at level lev to val. This value is always specified numerically, irrespective of the numbering style at tht level.
- {tagnum> str} -- Specifies the InterScript translation string to replace
{tagnum}.
- {tag_init} -- Initializes tag numbers at all levels to restart with 1.
- {tag_init> str} -- Specifies the InterScript translation string to replace
{tag_init}.
The following commands affect the actual generation of an autonumbering tag.
In addition to the above commands, the customization-level command {true_otag-} may be used to turn off true autonumbering and instead translate autonumbers to literal text.
23.2 - Page Numbering
The following commands affect page numbering.
Refer also to the {pg#} and {npages} commands under Fields.
24 - Fields
A field is a document item that denotes information which may be updated by the destination word processor. A field really has two parts to it:
- The field specification, which tells what information the field refers to. For example, date or time.
- The generated text, which is the result of evaluating the field specification. This is the text that the field has resolved to at any given instance. For example, 02/05/2001, or 1:45 pm.
In most cases, fields may be specified in InterScript using an appropriate command cmd by itself, or the cmd+ ... cmd- sequence. The former method only specifies the field specification, e.g., {date}. The latter method specifies the field specification as well as the generated text. For example, {date+}Feb. 2, 2001{date-}. Note, however, that the generated text is only an initial value. If the destination word processor updates the fields or reformats the document, it will most likely replace this generated text with its own computed value which may or may not be the same.
The following commands relate to fields:
- {pg#} -- Inserts current page number.
- {pg#+} ... text & commands ... {pg#-} -- Inserts current page number and also identifies the generated text.
- {pg#-} -- Terminates current page number entered by the
{pg#+} command.
- {pg#> str} -- Specifies the InterScript translation string to replace
{pg#}.
- {pg#+> str} -- Specifies the InterScript translation string to replace
{pg#+}.
- {pg#-> str} -- Specifies the InterScript translation string to replace
{pg#-}.
- {npages} -- Inserts number of pages in the document.
- {npages+} ... text & commands ... {npages-} -- Inserts number of pages in the document and also identifies the generated text.
- {npages-} -- Terminates number of pages in the document entered by the
{npages+} command.
- {npages> str} -- Specifies the InterScript translation string to replace
{npages}.
- {npages+> str} -- Specifies the InterScript translation string to replace
{npages+}.
- {npages-> str} -- Specifies the InterScript translation string to replace
{npages-}.
- {nwords} -- Inserts number of words in the document.
- {nwords+} ... text & commands ... {nwords-} -- Inserts number of words in the document and also identifies the generated text.
- {nwords-} -- Terminates number of words in the document entered by the
{nwords+} command.
- {nwords> str} -- Specifies the InterScript translation string to replace
{nwords}.
- {nwords+> str} -- Specifies the InterScript translation string to replace
{nwords+}.
- {nwords-> str} -- Specifies the InterScript translation string to replace
{nwords-}.
- {nchars} -- Inserts number of characters in the document.
- {nchars+} ... text & commands ... {nchars-} -- Inserts number of characters in the document and also identifies the generated text.
- {nchars-} -- Terminates number of characters in the document entered by the
{nchars+} command.
- {nchars> str} -- Specifies the InterScript translation string to replace
{nchars}.
- {nchars+> str} -- Specifies the InterScript translation string to replace
{nchars+}.
- {nchars-> str} -- Specifies the InterScript translation string to replace
{nchars-}.
- {date} -- Inserts the current date.
- {date+} ... text & commands ... {date-} -- Inserts the current date and also identifies the generated text.
- {date-} -- Terminates the current date entered by the
{date+} command.
- {date> str} -- Specifies the InterScript translation string to replace
{date}.
- {date+> str} -- Specifies the InterScript translation string to replace
{date+}.
- {date-> str} -- Specifies the InterScript translation string to replace
{date-}.
- {time} -- Inserts the current time.
- {time+} ... text & commands ... {time-} -- Inserts the current time and also identifies the generated text.
- {time-} -- Terminates the current time entered by the
{time+} command.
- {time> str} -- Specifies the InterScript translation string to replace
{time}.
- {time+> str} -- Specifies the InterScript translation string to replace
{time+}.
- {time-> str} -- Specifies the InterScript translation string to replace
{time-}.
- {ffname} -- Inserts the full file name.
- {ffname+} ... text & commands ... {ffname-} -- Inserts the full file name and also identifies the generated text.
- {ffname-} -- Terminates the full file name entered by the
{ffname+} command.
- {ffname> str} -- Specifies the InterScript translation string to replace
{ffname}.
- {ffname+> str} -- Specifies the InterScript translation string to replace
{ffname+}.
- {ffname-> str} -- Specifies the InterScript translation string to replace
{ffname-}.
- {fname} -- Inserts the file name without the path.
- {fname+} ... text & commands ... {fname-} -- Inserts the file name without the path and also identifies the generated text.
- {fname-} -- Terminates the file name without the path entered by the
{fname+} command.
- {fname> str} -- Specifies the InterScript translation string to replace
{fname}.
- {fname+> str} -- Specifies the InterScript translation string to replace
{fname+}.
- {fname-> str} -- Specifies the InterScript translation string to replace
{fname-}.
- {fsize} -- Inserts file size.
- {fsize+} ... text & commands ... {fsize-} -- Inserts file size and also identifies the generated text.
- {fsize-} -- Terminates file size entered by the
{fsize+} command.
- {fsize> str} -- Specifies the InterScript translation string to replace
{fsize}.
- {fsize+> str} -- Specifies the InterScript translation string to replace
{fsize+}.
- {fsize-> str} -- Specifies the InterScript translation string to replace
{fsize-}.
- {fdocttl} -- Inserts document title.
- {fdocttl+} ... text & commands ... {fdocttl-} -- Inserts document title and also identifies the generated text.
- {fdocttl-} -- Terminates document title entered by the
{fdocttl+} command.
- {fdocttl> str} -- Specifies the InterScript translation string to replace
{fdocttl}.
- {fdocttl+> str} -- Specifies the InterScript translation string to replace
{fdocttl+}.
- {fdocttl-> str} -- Specifies the InterScript translation string to replace
{fdocttl-}.
- {fsubj} -- Inserts document subject.
- {fsubj+} ... text & commands ... {fsubj-} -- Inserts document subject and also identifies the generated text.
- {fsubj-} -- Terminates document subject entered by the
{fsubj+} command.
- {fsubj> str} -- Specifies the InterScript translation string to replace
{fsubj}.
- {fsubj+> str} -- Specifies the InterScript translation string to replace
{fsubj+}.
- {fsubj-> str} -- Specifies the InterScript translation string to replace
{fsubj-}.
- {fkeyw} -- Inserts document keywords.
- {fkeyw+} ... text & commands ... {fkeyw-} -- Inserts document keywords and also identifies the generated text.
- {fkeyw-} -- Terminates document keywords entered by the
{fkeyw+} command.
- {fkeyw> str} -- Specifies the InterScript translation string to replace
{fkeyw}.
- {fkeyw+> str} -- Specifies the InterScript translation string to replace
{fkeyw+}.
- {fkeyw-> str} -- Specifies the InterScript translation string to replace
{fkeyw-}.
- {fdoc_cmnt} -- Inserts document comment.
- {fdoc_cmnt+} ... text & commands ... {fdoc_cmnt-} -- Inserts document comment and also identifies the generated text.
- {fdoc_cmnt-} -- Terminates document comment entered by the
{fdoc_cmnt+} command.
- {fdoc_cmnt> str} -- Specifies the InterScript translation string to replace
{fdoc_cmnt}.
- {fdoc_cmnt+> str} -- Specifies the InterScript translation string to replace
{fdoc_cmnt+}.
- {fdoc_cmnt-> str} -- Specifies the InterScript translation string to replace
{fdoc_cmnt-}.
- {fauthor} -- Inserts author.
- {fauthor+} ... text & commands ... {fauthor-} -- Inserts author and also identifies the generated text.
- {fauthor-} -- Terminates author entered by the
{fauthor+} command.
- {fauthor> str} -- Specifies the InterScript translation string to replace
{fauthor}.
- {fauthor+> str} -- Specifies the InterScript translation string to replace
{fauthor+}.
- {fauthor-> str} -- Specifies the InterScript translation string to replace
{fauthor-}.
- {fcrdate} -- Inserts date document was created.
- {fcrdate+} ... text & commands ... {fcrdate-} -- Inserts date document was created and also identifies the generated text.
- {fcrdate-} -- Terminates date document was created entered by the
{fcrdate+} command.
- {fcrdate> str} -- Specifies the InterScript translation string to replace
{fcrdate}.
- {fcrdate+> str} -- Specifies the InterScript translation string to replace
{fcrdate+}.
- {fcrdate-> str} -- Specifies the InterScript translation string to replace
{fcrdate-}.
- {fprdate} -- Inserts date document was last printed.
- {fprdate+} ... text & commands ... {fprdate-} -- Inserts date document was last printed and also identifies the generated text.
- {fprdate-} -- Terminates date document was last printed entered by the
{fprdate+} command.
- {fprdate> str} -- Specifies the InterScript translation string to replace
{fprdate}.
- {fprdate+> str} -- Specifies the InterScript translation string to replace
{fprdate+}.
- {fprdate-> str} -- Specifies the InterScript translation string to replace
{fprdate-}.
- {fsvdate} -- Inserts date document was last saved.
- {fsvdate+} ... text & commands ... {fsvdate-} -- Inserts date document was last saved and also identifies the generated text.
- {fsvdate-} -- Terminates date document was last saved entered by the
{fsvdate+} command.
- {fsvdate> str} -- Specifies the InterScript translation string to replace
{fsvdate}.
- {fsvdate+> str} -- Specifies the InterScript translation string to replace
{fsvdate+}.
- {fsvdate-> str} -- Specifies the InterScript translation string to replace
{fsvdate-}.
- {frevnum} -- Inserts number of times document has been revised.
- {frevnum+} ... text & commands ... {frevnum-} -- Inserts number of times document has been revised and also identifies the generated text.
- {frevnum-} -- Terminates number of times document has been revised entered by the
{frevnum+} command.
- {frevnum> str} -- Specifies the InterScript translation string to replace
{frevnum}.
- {frevnum+> str} -- Specifies the InterScript translation string to replace
{frevnum+}.
- {frevnum-> str} -- Specifies the InterScript translation string to replace
{frevnum-}.
25 - Mail Merge
The following commands relate to mail merge:
26 - Background Commands
The following commands control the background image when a document is displayed on the screen:
- {bkimg str} -- Sets the file name of background image to the argument specified (str). The default value is "", i.e., empty. str should not exceed 250 characters in length.
- {bkimg> str} -- Specifies the InterScript translation string to replace
{bkimg}.
The following commands control the background sound or music which is played when a document is displayed on the screen:
- {bksound str} -- Sets the file name of background sound to the argument specified (str). The default value is "", i.e., empty. str should not exceed 250 characters in length.
- {bksound> str} -- Specifies the InterScript translation string to replace
{bksound}.
27 - Graphics Commands (Images)
The following commands insert or affect the insertion of graphics into the destination document.
- {img filename} -- Inserts the given image.
The following commands determine the amount of space left around an inserted image.
The following commands determine the placement of an image.
- {img_hpl hplac} -- Sets the horizontal placement of image to the argument specified (hplac). The default value is l:cur, i.e., left-aligned at the current (cursor) position.
- {img_hpl> str} -- Specifies the InterScript translation string to replace
{img_hpl}.
- {img_vpl vplac} -- Sets the vertical placement of image to the argument specified (vplac). The default value is m:bsl, i.e., middle-aligned at the text baseline.
- {img_vpl> str} -- Specifies the InterScript translation string to replace
{img_vpl}.
The following commands determine the size of an image by specifying values for the image size or width. A value of 0 means not to enforce that dimension (i.e., keep the corresponding dimension of the original image).
28 - Horizontal and Vertical Lines
The following commands affect horizontal lines:
- {hline} -- Inserts a horizontal line.
- {hline_len hm} -- Sets the length of a horizontal line to the horizontal measure argument specified (hm). The default value is 1", i.e., one inch.
- {hline_len> str} -- Specifies the InterScript translation string to replace
{hline_len}.
- {hline_spt vm} -- Sets the space on top of a horizontal line to the vertical measure argument specified (vm). The default value is 0.1", i.e., one-tenth of an inch.
- {hline_spt> str} -- Specifies the InterScript translation string to replace
{hline_spt}.
- {hline_spb vm} -- Sets the space below a horizontal line to the vertical measure argument specified (vm). The default value is 0.1", i.e., one-tenth of an inch.
- {hline_spb> str} -- Specifies the InterScript translation string to replace
{hline_spb}.
- {hline_hpl hplac} -- Sets the horizontal placement of a horizontal line to the vertical measure argument specified (hplac). The default value is sb:para_l:para_r, i.e., stretched between left and right paragraph edges.
- {hline_hpl> str} -- Specifies the InterScript translation string to replace
{hline_hpl}.
- {hline_vpl vplac} -- Sets the vertical placement of a horizontal line to the vertical measure argument specified (vplac). The default value is m:bsl, i.e., middle-aligned at the current text baseline.
- {hline_vpl> str} -- Specifies the InterScript translation string to replace
{hline_vpl}.
The following commands affect vertical lines:
- {vline} -- Inserts a vertical line.
- {vline_len hm} -- Sets the length of a vertical line to the horizontal measure argument specified (hm). The default value is 1", i.e., one inch.
- {vline_len> str} -- Specifies the InterScript translation string to replace
{vline_len}.
- {vline_spl hm} -- Sets the space to left of a vertical line to the vertical measure argument specified (hm). The default value is 0.1", i.e., one-tenth of an inch.
- {vline_spl> str} -- Specifies the InterScript translation string to replace
{vline_spl}.
- {vline_spr hm} -- Sets the space to right of a vertical line to the vertical measure argument specified (hm). The default value is 0.1", i.e., one-tenth of an inch.
- {vline_spr> str} -- Specifies the InterScript translation string to replace
{vline_spr}.
- {vline_hpl hplac} -- Sets the horizontal placement of a vertical line to the vertical measure argument specified (hplac). The default value is c:cur, i.e., centered at the current (cursor) position.
- {vline_hpl> str} -- Specifies the InterScript translation string to replace
{vline_hpl}.
- {vline_vpl vplac} -- Sets the vertical placement of a vertical line to the vertical measure argument specified (vplac). The default value is s:para_t:para_b, i.e., stretched from top to bottom of the current paragraph.
- {vline_vpl> str} -- Specifies the InterScript translation string to replace
{vline_vpl}.
The following commands affect both, horizontal as well as vertical lines.
29 - Bookmarks
- {bkmk name} -- Specifies a point bookmark named name identifying the location where this command is encountered.
- {bkmk+ name} ... text & commands ... {bkmk- name} -- Identifies (demarcates) a paired (spanned) bookmark named name.
- {bkmk- name} -- Terminates a paired (spanned) bookmark named name entered by the
{bkmk+} command.
- {bkmk+> str} -- Specifies the InterScript translation string to replace
{bkmk+}.
- {bkmk-> str} -- Specifies the InterScript translation string to replace
{bkmk-}.
30 - Cross References
Generating a cross-reference means introducing a reference to the location of a bookmark defined elsewhere in the document. The bookmark may be located by its page number. If it is located in a numbered paragraph, it may also be located by its paragraph number. The following commands serve to generate such cross-references.
- {refpg bkmk} -- Inserts reference to page number of bookmark.
- {refpg+ bkmk} ... text & commands ... {refpg-} -- Inserts reference to page number of bookmark and also identifies the generated text.
- {refpg-} -- Terminates reference to page number of bookmark entered by the
{refpg+} command.
- {refpg> str} -- Specifies the InterScript translation string to replace
{refpg}.
- {refpg+> str} -- Specifies the InterScript translation string to replace
{refpg+}.
- {refpg-> str} -- Specifies the InterScript translation string to replace
{refpg-}.
- {refpn bkmk} -- Inserts reference to paragraph number of bookmark.
- {refpn+ bkmk} ... text & commands ... {refpn-} -- Inserts reference to paragraph number of bookmark and also identifies the generated text.
- {refpn-} -- Terminates reference to paragraph number of bookmark entered by the
{refpn+} command.
- {refpn> str} -- Specifies the InterScript translation string to replace
{refpn}.
- {refpn+> str} -- Specifies the InterScript translation string to replace
{refpn+}.
- {refpn-> str} -- Specifies the InterScript translation string to replace
{refpn-}.
31 - Hyperlinks
The following commands control hyperlinks which let you branch to different points in the same or a different document.
- {ilink str} -- This command defines the target of a hyperlink having an internal name str.
- {ilink+ str} -- This command starts a hyperlink to jump to an internal link (i.e., a target within the same document).
- {link+ str} -- This command starts a hyperlink to jump to an external link or open an external file (i.e., target is not within the same document).
- {link-} -- This command ends a hyperlink (internal or external), such as one started with
{ilink+ str}.
- {link-> str} -- Specifies the InterScript translation string to replace
{link-}.
32 - Multimedia Commands
This chapter describes commands that integrate multimedia components into documents.
33 - Document Management Commands
This chapter describes commands to control document components which are not part of the main document, but serve to record information about it for document management purposes.
- {docttl+} ... text & commands ... {docttl-} -- Identifies (demarcates) the document title.
- {docttl-} -- Terminates the document title entered by the
{docttl+} command.
- {docttl+> str} -- Specifies the InterScript translation string to replace
{docttl+}.
- {docttl-> str} -- Specifies the InterScript translation string to replace
{docttl-}.
- {crdate+} ... text & commands ... {crdate-} -- Identifies (demarcates) the creation date of a document.
- {crdate-} -- Terminates the creation date of a document entered by the
{crdate+} command.
- {crdate+> str} -- Specifies the InterScript translation string to replace
{crdate+}.
- {crdate-> str} -- Specifies the InterScript translation string to replace
{crdate-}.
- {longname+} ... text & commands ... {longname-} -- Identifies (demarcates) the long file name of a document.
- {longname-} -- Terminates the long file name of a document entered by the
{longname+} command.
- {longname+> str} -- Specifies the InterScript translation string to replace
{longname+}.
- {longname-> str} -- Specifies the InterScript translation string to replace
{longname-}.
- {subj+} ... text & commands ... {subj-} -- Identifies (demarcates) the subject of a document.
- {subj-} -- Terminates the subject of a document entered by the
{subj+} command.
- {subj+> str} -- Specifies the InterScript translation string to replace
{subj+}.
- {subj-> str} -- Specifies the InterScript translation string to replace
{subj-}.
- {auth+} ... text & commands ... {auth-} -- Identifies (demarcates) the name of the author.
- {auth-} -- Terminates the name of the author entered by the
{auth+} command.
- {auth+> str} -- Specifies the InterScript translation string to replace
{auth+}.
- {auth-> str} -- Specifies the InterScript translation string to replace
{auth-}.
- {typist+} ... text & commands ... {typist-} -- Identifies (demarcates) the name of the typist.
- {typist-} -- Terminates the name of the typist entered by the
{typist+} command.
- {typist+> str} -- Specifies the InterScript translation string to replace
{typist+}.
- {typist-> str} -- Specifies the InterScript translation string to replace
{typist-}.
- {docsum+} ... text & commands ... {docsum-} -- Identifies (demarcates) the document summary.
- {docsum-} -- Terminates the document summary entered by the
{docsum+} command.
- {docsum+> str} -- Specifies the InterScript translation string to replace
{docsum+}.
- {docsum-> str} -- Specifies the InterScript translation string to replace
{docsum-}.
- {doc_cmnt+} ... text & commands ... {doc_cmnt-} -- Identifies (demarcates) a document comment.
- {doc_cmnt-} -- Terminates a document comment entered by the
{doc_cmnt+} command.
- {doc_cmnt+> str} -- Specifies the InterScript translation string to replace
{doc_cmnt+}.
- {doc_cmnt-> str} -- Specifies the InterScript translation string to replace
{doc_cmnt-}.
- {keyw+} ... text & commands ... {keyw-} -- Identifies (demarcates) keyword(s) describing the document.
- {keyw-} -- Terminates keyword(s) describing the document entered by the
{keyw+} command.
- {keyw+> str} -- Specifies the InterScript translation string to replace
{keyw+}.
- {keyw-> str} -- Specifies the InterScript translation string to replace
{keyw-}.
Here is an example of a document summary information encoded in a Standard InterScript file:
{docttl+}Annual Report Addendum{docttl-}
{longname+}Addendum 1 to Annual Report, 2001{longname-}
{subj+}Cost Depreciation Schedule{subj-}
{auth+}Jim Harbinger{auth-}
{keyw+}2001, Depreciation{keyw-}
{crdate+}Jan 12, 2001{crdate-}
{docsum+}This document describes the cost depreciation schedule for assorted qualified cost categories, which has not been included in the body text of the 2001 annual report.{docsum-}
34 - Control Commands
The following commands turn output on or off:
- {ifio sfrm dfrm} -- This command permits output to take place only if sfrm matches the keyword for the current source format, and dfrm matches that for the current destination format. The wild-card characters
* and ? are permitted in sfrm and dfrm. The default condition on startup is {ifio * *}, i.e., output takes place in all cases.
- {suppr+} -- Causes all subsequent text and commands to be suppressed (i.e., not output) until
{suppr-} is encountered.
- {suppr-} -- Termination suppression that is in effect due to
{suppr+}.
The following commands save or restore the InterScript environment.
- {svcf} -- Saves character formatting. This should later be restored by a matching
{rscf}.
- {rscf} -- Restores character formatting that was earlier saved by
{svcf}.
- {svpf} -- Saves paragraph formatting. This should later be restored by a matching
{rspf}.
- {rspf} -- Restores paragraph formatting that was earlier saved by
{svpf}.
The following commands perform other miscellaneous InterScript control functions:
The following commands affect the conversion of text that has been skipped by the source word processor for a variety of reasons:
- {skpdsp+} ... text & commands ... {skpdsp-} -- Identifies (demarcates) display-skipped text.
- {skpdsp-} -- Terminates display-skipped text entered by the
{skpdsp+} command.
- {skpdsp+> str} -- Specifies the InterScript translation string to replace
{skpdsp+}.
- {skpdsp-> str} -- Specifies the InterScript translation string to replace
{skpdsp-}.
35 - Customization-Level Commands
InterScript customization files may generally contain any InterScript commands. However, there are some commands that are generally found only in customization files and not actually in the document(s) being converted. These are called customization-level commands. This chapter discusses these commands.
The following commands serve to offset various document margins:
- {lmar_ofs hm} -- Offsets the left margin of body text, headers, footers, footnotes and endnotes.
- {rmar_ofs hm} -- Offsets the right margin of body text, headers, footers, footnotes and endnotes.
- {hdrtop_ofs vm} -- Offsets the header top margin.
- {hdrbot_ofs vm} -- Offsets the header bottom margin.
- {bdytop_ofs vm} -- Offsets the body text top margin.
- {bdybot_ofs vm} -- Offsets the body text bottom margin.
- {ftrtop_ofs vm} -- Offsets the footer top margin.
- {ftrbot_ofs vm} -- Offsets the footer bottom margin.
The following commands determine how some special ASCII codes are treated when converting ASCII text files:
- {itpt_bell val} -- If val is 1, then the ASCII code 7 is interpreted to mean the bell character (Alert function). If 0, it is treated as the character at position 7 in the PC code page.
- {itpt_bksp val} -- If val is 1, then the ASCII code 8 is interpreted to mean the backspace function. If 0, it is treated as the character at position 8 in the PC code page.
- {itpt_tab val} -- If val is 1, then the ASCII code 9 is interpreted to mean the tab character (positioning function). If 0, it is treated as the character at position 9 in the PC code page.
- {itpt_ffeed val} -- If val is 1, then the ASCII code 12 is interpreted to mean the form-feed character (page eject function). If 0, it is treated as the character at position 12 in the PC code page.
The following commands determine how text files are output:
- {asc_lend str} -- Specifies the ASCII line ending codes, in the form of a string. The maximum length of the string is 2 characters, and the default value is carriage return, line feed.
- {crlz val} -- Specifies the decimal value of the character to be used as an end-of-file marker when writing to text files. The default value is 26. If 0 is specified, then an end-of-file marker is not written to text files.
- {cdpg_d num} -- Specifies the destination code page (extended character set) to which the text output is targeted. Permissible values of the argument num are:
- 0 -- No extended characters. The only printable characters output are in the ASCII range or 32 to 127 decimal. Accented characters and special symbols are approximated to within this range, if possible.
- 1 -- ANSI characters (also called Code page 1252).
- 2 -- Code page 437 (standard U.S. OEM Dos code page).
- 3 -- Code page 850 (Multilingual)
- 4 -- Code page 852 (Eastern Europe)
- 5 -- Code page 860 (Alternative Portugese)
- 6 -- Code page 863 (Canadian - French)
- 7 -- Code page 865 (Alternative Scandinavian)
- 8 -- UTF-8
- 9 -- UTF16-BE
- 10 -- UTF16-LE
The following commands determine how text files are input:
- {cdpg_s num} -- Specifies the source code page that should be assumed for text or text-based input files. Permissible values of the argument num are:
- 0 -- Code page 437 (standard U.S. OEM Dos code page).
- 1 -- ANSI characters (also called Code page 1252).
- 2 -- Code page 850 (Multilingual)
- 3 -- Code page 852 (Eastern Europe)
- 4 -- Code page 860 (Alternative Portugese)
- 5 -- Code page 863 (Canadian - French)
- 6 -- Code page 865 (Alternative Scandinavian)
The following commands determine the kinds of font coding that are output:
- {ccodes cd} -- cd is a string of characters representing permissible coding, where each character represents a coding scheme as follows:
- u -- Unicode
- * -- Current font coding
- a -- ANSI (Windows)
- s -- Symbol (Windows)
- w -- WingDings (Windows)
The following are miscellaneous customization commands:
- {exc_fill ch} -- Specifies the character to use as a placeholder for symbols that cannot be output due to limitations in the destination file format. The default value is '*'. If a null character is specified, then a placeholder is not output.
- {cv_grp+} -- Turns extraction and conversion of graphics on. This is the default.
- {cv_grp-} -- Turns extraction and conversion of graphics off.
- {htm_sty+} -- Turns HTML styles in header on. This is the default.
- {htm_sty-} -- Turns HTML styles in header off.
- {ex_ftntag+} -- Turns exact conversion of footnote tags on. This is the default.
- {ex_ftntag-} -- Turns exact conversion of footnote tags off.
- {ex_enntag+} -- Turns exact conversion of endnote tags on. This is the default.
- {ex_enntag-} -- Turns exact conversion of endnote tags off.
- {ntv_pbord+} -- Turns native paragraph borders on.
- {ntv_pbord-} -- Turns native paragraph borders off. This is the default.
- {ntv_tbord+} -- Turns native table borders on.
- {ntv_tbord-} -- Turns native table borders off. This is the default.
- {true_otag+} -- Turns true autonumbering on. This is the default.
- {true_otag-} -- Turns true autonumbering off.
-- End of Document --