writei

Build 1501 on 14/Nov/2017  This topic last edited on: 24/Oct/2016, at 14:39

Description

This tag inserts a typographical variable of integer type in text (See GNML variables for the list of variables), or a custom numeric attribute values, for edition, page and text objects (GN4-1808, available since 2.0.1977.x, see Custom edition/page/text attributes in tags for details).

Parameters and typographical expressions

1.number or a GNML variable of integer type or a custom numeric attribute value. You can also add a simple math operation, e.g. >writei PageNum+1<

Note: The entire edition, page and text objects set of numeric "value kind" attributes (ie: no reference) are available as numeric justification variables, prefixed, for edition attributes, by "ed_" for page attributes, by "pg_", for text attributes, by tx_, therefore named as "ed_attrName", "pg_attrName", "tx_attrName (case sensitive).

2.(optional) mode or formatted string.

Mode

Meaning

d

number

u

uppercase Roman number

l

lowercase Roman number

(string)

it is understood as an indexed list where the first character is the delimiter between elements. See Examples.

 

Tag Effects

Effects are visible in the WYSIWYG pane of the Articles main tab or on a page on the Pages main tab. However, because this tag may change the way how the text lines are justified, its effect is indirectly visible in the source pane of the Articles or Pages main tab.

The type and scope

Can be inserted anywhere in text. Local for the paragraph where is inserted, therefore effects cease on the end of that paragraph. Cannot be globalized.

Remarks

The display of dates is not sensitive on the Control Panel date settings.

hmtoggle_plus1Examples