4.3 Links and Literals
function | ||||||||
| ||||||||
| ||||||||
function | ||||||||
|
When key is #false, the Content.to_string of pre_content after decoding is used as a key for reference. As long as normalize is true, then the key string is normalized as follows:
The string is case-folded.
A trailing ies is replaced by y.
A trailing s is removed.
Consecutive hyphens and whitespaces are all replaced by a single space.
These normalization steps help support natural-language references that differ slightly from a defined form. For example, a definition of bananas can be referenced with a use of banana.
use_style is true, then defterm is used on pre-content.
The index_extras argument is used in the same was as by indexed.
function | |
| |
function | |
The exec_flag function is similar, but it also disables line breaks, so that dashes for a command-line flag will not serve a points for breaking text across lines.
Any immediate curly apostrophe ’ is converted to a prime character ′.
Parentheses and sequences of decimal digits in immediate strings are left as-is, but any other immediate string is italicized.
When _ appears before a non-empty sequence of numbers, letters, and -, the sequence is typeset as a subscript.
When ^ appears before a non-empty sequence of numbers, letters, and -, the sequence is typeset as a superscript.