§ 4.95 - [eq] Built-InMnemonic aid: eq for EQual to zero content See also: [ne] If value is empty, the conditionalContent will be emitted. The style is only evaluated if value is empty. sep defaults to the comma. Note: Please see [even] to learn how styles work with this operation.
Note:
conditionalContent is generated either way; the only difference is whether it appears in the output stream or not. To avoid generating any content, put the sep character and nothing else. [eq (sep=X,)(style=styleName,)contentXconditionalContent] 1 [eq stuff,not empty][eq ,empty] 2 [eq sep=|,stuff|not empty][eq sep=|,|empty] 3 [eq ,empty][eq stuff,not empty] 4 [eq sep=|,|empty][eq sep=|,stuff|not empty] 5 [eq ,][eq stuff,not empty] 6 [eq sep=|,|][eq sep=|,stuff|not empty] 1 empty 2 empty 3 empty 4 empty 5 6
1 empty
2 empty
3 empty
4 empty
5
6
Other built-ins used here: [ne]
Keyboard Navigation
, Previous Page . Next Page t TOC i Index |