Abstract

This section showcases the rendering of advanced ordered, unordered, and definition lists under the MarkCharm engine. When the abnt_strict flag is not enabled in this mode, it simulates standard web bullet indentation.

1 Advanced Reference System

MarkCharm excels at resolving references in deeply nested structures common in technical and legal standards.

1.1 Structured Lists

The list system uses % markers for deterministic hierarchy. The number of % defines the level, independent of indentation:

The reference to Subsection 1.1, item 1 automatically expands to include its full context in the hierarchy.

1.2 Ambiguity Resolution

When two items share the same local number, the compiler automatically includes the minimum necessary context to differentiate them.

Notice how the compiler handles Subsection 1.2, alinea a vs Subsection 1.2, alinea a — each reference includes the minimum ancestor required for unique identification.

1.3 Numbering Modes and Styles

MarkCharm offers an advanced numbering engine and semantic reference resolution, allowing the structural hierarchy of lists to adapt dynamically to technical standards, public solicitations, or international publications.

Below, Chart 1 details list numbering modes, citation expansion styles, and ordinal configurations available in the compiler.

Chart 1. List Numbering Modes, Expansion Styles, and Ordinals in MarkCharm
Mode / Feature Command Detailed Description and Behavior
Legal \list_mode{abnt_legal} Maps hierarchy to Roman numerals (I, II), Letters (a, b) and Items (1, 2).
Technical \list_mode{abnt_technical} Maps hierarchy to Letters (a, b) at 1st level and Sub-letters (-) at 2nd level. Ideal for engineering reports.
TR \list_mode{tr_legal} Standard structure for Statements of Requirements. Converts 1st level into Clause (1.1) and sublevels into Items.
Sequential \list_mode{seq} Continuous numbering without unified paragraph inheritance. Suitable for executive briefs.
Default Markdown \list_mode{markdown} Preserves standard CommonMark markers (-, *, 1.), maintaining direct compatibility.
Long Style \cross_reference_style{long} Expands taxonomic labels fully in cross-references (e.g., Section 1, Paragraph 2, Item a).
Short Style \cross_reference_style{short} Abbreviates taxonomic labels (e.g., Sec. 1, § 2, item a). Balances conciseness and precision.
Terse Style \cross_reference_style{terse} Omits textual labels, displaying exclusively the unified numeric/alphabetic code (e.g., 1.2.a).
Spelled Ordinals \ordinal_style{words} (default) Converts unnumbered markers to spelled-out ordinals by language and gender (e.g., first item).
Numeric Ordinals \ordinal_style{numeric} Converts unnumbered markers to numeric ordinals with ordinal indicators (e.g., 1st item).

1.3.1 Detailed Mode Explanation

  1. I - Normative List Formats (\list_mode):
  2. II - Expansion Styles and Reference Agreement (\refs and \ordinal_style):

Note

Usage Requirements & Caveats

  1. List Numbering Modes: The \list_mode{...} directive globally alters markers. Define the mode before list structures.
  2. Reference Anchoring: Citation resolution (\Cref{label}, \cref{label}) requires unique label anchors ([label]) on the list item.