Newer
Older
XML / quick-reference.markdown
# XML authoring framework quick reference

## Conventions

* All items, elements, and attributes are listed in alphabetical order. When there are multiple elements for the same item, there is no preference for any particular element over another, as long as the resulting markup is well-formed.
* Typical EBNF-style notation applies: `[ ]` indicates optional, `|` indicates alternation, `{ }` indicates repetition, etc.
* **bold** indicates a default value.

## Basic formatting

### Page elements (`basic-page-elements.xml`)

| Item              | Element(s)        | Attributes                                            | Notes
| ----              | ----------        | ----------                                            | -----
| horizontal rule   | `horizontal-rule` |                                                       |
|                   | `hr`              |                                                       |
|                   | `hrule`           |                                                       |
| horizontal skip   | `horizontal-skip` | `size=fill|`*`<LaTeX length>`*                        | HTML: no effect
|                   | `hskip`           |                                                       |
| forced line break | `br`              |                                                       |
|                   | `line-break`      |                                                       |
|                   | `newline`         |                                                       |
| no page break     | `mbox`            |                                                       |
|                   | `no-break`        |                                                       |
| page break        | `new-page`        | `[caption-text=`*`<string>`*`]`                       | “**`continues over…`**”
|                   | `newpage`         | `[print-caption=`**`no`**`|yes]`                      |
|                   | `page-break`      |                                                       |
|                   | `pagebreak`       |                                                       |
| paragraph         | `P`               | `[align=center|left|right]`                           |
|                   | `p`               | `[border=`**`no`**`|yes]`                             |
|                   | `para`            | `[indent=no|`**`yes`**`]`                             |
|                   | `paragraph`       |                                                       |
| vertical skip     | `vertical-skip`   | `[size=fill|large|medium|small|`*`<LaTeX length>`*`]` | **inserts a paragraph skip**
|                   | `vskip`           |                                                       |

### Text formatting and layout (`basic-text-formatting.xml`)

| Item              | Element(s)        | Attributes    | Notes
| ----              | ----------        | ----------    | -----
| bold face         | `bold`            |               |
| center            | `center`          |               |
|                   | `centering`       |               |
|                   | `centre`          |               |
|                   | `centring`        |               |
| emphasis          | `em`              |               |
|                   | `emph`            |               |
| foreign word      | `foreign`         |               |
| italics           | `italic`          |               |
| strikethrough     | `line-through`    |               |
|                   | `linethrough`     |               |
|                   | `strike-through`  |               |
|                   | `strikethrough`   |               |
| strong emphasis   | `strong`          |               |
| term              | `term`            |               |
| underline         | `u`               |               |
|                   | `underline`       |               |

### Font size and style (`fonts.xml`)

| Item                  | Element(s)        | Attributes                            | Notes
| ----                  | ----------        | ----------                            | -----
| monospaced type       | `monospace`       |                                       |
|                       | `tt`              |                                       |
|                       | `typewriter`      |                                       |
| sans-serif type       | `sans`            |                                       |
|                       | `sans-serif`      |                                       |
|                       | `sf`              |                                       |
|                       | `ss`              |                                       |
| font family           | `font`            | `[fontspec-options=`*`<string>`*`]`   | XeLaTeX: `fontspec` package options
|                       | `typeface`        | `[html=`*`<name>`*`]`                 | HTML: CSS font name(s)
|                       |                   | `[latex=`*`<name>`*`]`                | LaTeX: LaTeX font name
|                       |                   | `[xelatex=`*`<name>`*`]`              | XeLaTeX: `fontspec` font name
| “tiny” font size      | `tiny`            |                                       | HTML: `<smaller>` × 4
|                       |                   |                                       | LaTeX: `\tiny`
| “script” font size    | `scriptsize`      |                                       | HTML: `<smaller>` × 3
|                       |                   |                                       | LaTeX: `\scriptsize`
| “footnote” font size  | `footnotesize`    |                                       | HTML: `<smaller>` × 2
|                       |                   |                                       | LaTeX: `\footnotesize`
| “small” font size     | `small`           |                                       | HTML: `<smaller>`
|                       |                   |                                       | LaTeX: `\small`
| “large” font size     | `large`           |                                       | HTML: `<larger>`
|                       |                   |                                       | LaTeX: `\large`
| “Large” font size     | `Large`           |                                       | HTML: `<larger>` × 2
|                       |                   |                                       | LaTeX: `\Large`
| “LARGE” font size     | `LARGE`           |                                       | HTML: `<larger>` × 3
|                       |                   |                                       | LaTeX: `\LARGE`
| “huge” font size      | `huge`            |                                       | HTML: `<larger>` × 4
|                       |                   |                                       | LaTeX: `\huge`
| “Huge” font size      | `Huge`            |                                       | HTML: `<larger>` × 5
|                       |                   |                                       | LaTeX: `\Huge`
| superscript           | `superscript`     |                                       |
| subscript             | `subscript`       |                                       |

### Inline code and code blocks (`code-formatting.xml`)

| Item              | Element(s)        | Attributes                        | Notes
| ----              | ----------        | ----------                        | -----
| code (block)      | `code-block`      | `[allow-breaks=no|`**`yes`**`]`   | `code-block` requires `<![CDATA[ … ]]>`
|                   |                   | `[language=`*`<name>`*`]`         | LaTeX: `listings` language name
| code (inline)     | `code`            | `[language=`*`<name>`*`]`         | LaTeX: `listings` language name
| verbatim (block)  | `verbatim`        |                                   |
|                   | `verbatim-block`  |                                   |
| verbatim (inline) | `inline-verbatim` |                                   |
|                   | `verb`            |                                   |

## Bibliographies (`bibliography.xml`)

| Item                  | Element(s)        | Attributes                        | Notes
| ----                  | ----------        | ----------                        | -----
| bibliography          | `bibliography`    | `[name=`*`<section title>`*`]`    | “**`References`**”
| bibliography entry    | `item`            | `label=`*`<string>`*              | within `<bibliography>`
| citation              | `cite`            |                                   |
| cited item            | `item`            | `label=`*`<string>`*              | within `<cite>`

## Maths

### Equations, etc. (`maths.xml`)

| Item                  | Element(s)                | Attributes                        | Notes
| ----                  | ----------                | ----------                        | -----
| calligraphic text     | `calligraphic`            |                                   | LaTeX: `\mathcal`
|                       | `cursive`                 |                                   |
| denominator           | `denominator`             |                                   | within `<fraction>`
| digit group separator | `digit-group-separator`   |                                   | **thin space**
|                       | `digitsep`                |                                   |
| equation array        | `equation-array`          |                                   |
| equation array row    | `row`                     |                                   | within `<equation-array>`
|                       | `text`                    |                                   |
| formula               | `math`                    | `[style=display|`**`inline`**`]`  |
| fraction              | `fraction`                |                                   |
| log-like function     | `function`                |                                   |
| numerator             | `numerator`               |                                   | within `<fraction>`
| subscript             | `subscript`               |                                   | within `<math>`
| superscript           | `superscript`             |                                   | within `<math>`
| variable              | `var`                     |                                   |
|                       | `variable`                |                                   |

### Symbols (`mathematical-symbols.xml`)

| Item                  | Element(s)                        | Attributes                        | Notes
| ----                  | ----------                        | ----------                        | -----
| +                     | `plus`                            |                                   | U+002B PLUS SIGN
|                       | `plus-sign`                       |                                   |
| ×                     | `times`                           |                                   | U+00D7 MULTIPLICATION SIGN
|                       | `multiply`                        |                                   |
|                       | `multiplication`                  |                                   |
|                       | `multiplication-sign`             |                                   |
| −                     | `minus`                           |                                   | U+2212 MINUS SIGN
|                       | `minus-sign`                      |                                   |
|                       | `subtract`                        |                                   |
| ∕                     | `divide`                          |                                   | U+2215 DIVISION SLASH
|                       | `division`                        |                                   |
|                       | `division-slash`                  |                                   |
| =                     | `eq`                              |                                   | U+003D EQUALS SIGN
|                       | `equality`                        |                                   |
|                       | `equals`                          |                                   |
|                       | `equals-sign`                     |                                   |
| ≠                     | `ne`                              |                                   | U+2260 NOT EQUAL TO
|                       | `not-equal-to`                    |                                   |
|                       | `not-equals`                      |                                   |
|                       | `inequality`                      |                                   |
| ≈                     | `almost-equal-to`                 |                                   | U+2248 ALMOST EQUAL TO
|                       | `approx`                          |                                   |
|                       | `approximately-equal-to`          |                                   |
|                       | `approximately-equals`            |                                   |
| >                     | `greater-than`                    |                                   | U+003E GREATER-THAN SIGN
|                       | `greater-than-sign`               |                                   |
|                       | `gt`                              |                                   |
| ≥                     | `ge`                              |                                   | U+2265 GREATER-THAN OR EQUAL TO
|                       | `greater-equals`                  |                                   |
|                       | `greater-than-or-equal-to`        |                                   |
| <                     | `less-than`                       |                                   | U+003C LESS-THAN SIGN
|                       | `less-than-sign`                  |                                   |
|                       | `lt`                              |                                   |
| ≤                     | `le`                              |                                   | U+2264 LESS-THAN OR EQUAL TO
|                       | `less-equals`                     |                                   |
|                       | `less-than-or-equal-to`           |                                   |
| ∅                     | `empty-set`                       |                                   | U+2205 EMPTY SET
|                       | `empty-set-sign`                  |                                   |
|                       | `null`                            |                                   |
| ∈                     | `element`                         |                                   | U+2208 ELEMENT OF
|                       | `element-of`                      |                                   |
|                       | `element-sign`                    |                                   |
|                       | `is-an-element-of`                |                                   |
|                       | `is-element-of`                   |                                   |
| ∉                     | `is-not-an-element-of`            |                                   | U+2209 NOT AN ELEMENT OF
|                       | `is-not-element-of`               |                                   |
|                       | `not-an-element-of`               |                                   |
|                       | `not-element`                     |                                   |
|                       | `not-element-of`                  |                                   |
|                       | `not-element-sign`                |                                   |
| ∩                     | `cap`                             |                                   | U+2229 INTERSECTION
|                       | `intersect`                       |                                   |
|                       | `intersect-operator`              |                                   |
|                       | `intersection`                    |                                   |
| ∪                     | `cup`                             |                                   | U+222A UNION
|                       | `union`                           |                                   |
|                       | `union-operator`                  |                                   |
| ⊂                     | `is-a-subset-of`                  |                                   | U+2282 SUBSET OF
|                       | `is-subset-of`                    |                                   |
|                       | `strict-subset`                   |                                   |
|                       | `subset`                          |                                   |
|                       | `subset-of`                       |                                   |
|                       | `subset-sign`                     |                                   |
| ⊃                     | `is-a-superset-of`                |                                   | U+2283 SUPERSET OF
|                       | `is-superset-of`                  |                                   |
|                       | `superset`                        |                                   |
|                       | `superset-of`                     |                                   |
|                       | `superset-sign`                   |                                   |
| ⊆                     | `inclusive-subset`                |                                   | U+2286 SUBSET OF OR EQUAL TO
|                       | `is-a-subset-of-or-equal-to`      |                                   |
|                       | `is-subset-of-or-equal-to`        |                                   |
|                       | `subset-of-or-equal-to`           |                                   |
|                       | `subset-or-equal`                 |                                   |
| ⊇                     | `inclusive-superset`              |                                   | U+2287 SUPERSET OF OR EQUAL TO
|                       | `is-a-superset-of-or-equal-to`    |                                   |
|                       | `is-superset-of-or-equal-to`      |                                   |
|                       | `superset-of-or-equal-to`         |                                   |
|                       | `superset-or-equal`               |                                   |
| ¬                     | `neg`                             |                                   | U+00AC NOT SIGN
|                       | `negation`                        |                                   |
|                       | `logical-negation`                |                                   |
|                       | `logical-negation-operator`       |                                   |
|                       | `logical-not`                     |                                   |
|                       | `logical-not-operator`            |                                   |
|                       | `not`                             |                                   |
|                       | `not-sign`                        |                                   |
| ∧                     | `and`                             |                                   | U+2227 LOGICAL AND
|                       | `and-operator`                    |                                   |
|                       | `hat`                             |                                   |
|                       | `logical-and`                     |                                   |
|                       | `logical-and-operator`            |                                   |
|                       | `wedge`                           |                                   |
| ∨                     | `logical-or`                      |                                   | U+2228 LOGICAL OR
|                       | `logical-or-operator`             |                                   |
|                       | `or`                              |                                   |
|                       | `or-operator`                     |                                   |
|                       | `vee`                             |                                   |
| →, ⇒                  | `implies`                         | `[weight=double|`**`single`**`]`  | U+2192 RIGHTWARDS ARROW
|                       | `rarr`                            |                                   | U+21D2 RIGHTWARDS DOUBLE ARROW
|                       | `rarrow`                          |                                   |
|                       | `right-arrow`                     |                                   |
|                       | `rightarrow`                      |                                   |
|                       | `rightwards-arrow`                |                                   |
| ←, ⇐                  | `larr`                            | `[weight=double|`**`single`**`]`  | U+2190 LEFTWARDS ARROW
|                       | `larrow`                          |                                   | U+21D0 LEFTWARDS DOUBLE ARROW
|                       | `left-arrow`                      |                                   |
|                       | `leftarrow`                       |                                   |
|                       | `leftwards-arrow`                 |                                   |

### Greek (`greek-characters.xml`)

| Item                  | Element(s)        | Attributes    | Notes
| ----                  | ----------        | ----------    | -----
| α                     | `alpha`           |               | U+03B1 GREEK SMALL LETTER ALPHA
| Α                     | `capital-alpha`   |               | U+0391 GREEK CAPITAL LETTER ALPHA
| β                     | `beta`            |               | U+03B2 GREEK SMALL LETTER BETA
| Β                     | `capital-beta`    |               | U+0392 GREEK CAPITAL LETTER BETA
| γ                     | `gamma`           |               | U+03B3 GREEK SMALL LETTER GAMMA
| Γ                     | `capital-gamma`   |               | U+0393 GREEK CAPITAL LETTER GAMMA
| δ                     | `delta`           |               | U+03B4 GREEK SMALL LETTER DELTA
| Δ                     | `capital-delta`   |               | U+0394 GREEK CAPITAL LETTER DELTA
| ε                     | `epsilon`         |               | U+03B5 GREEK SMALL LETTER EPSILON
| Ε                     | `capital-epsilon` |               | U+0395 GREEK CAPITAL LETTER EPSILON
| ζ                     | `zeta`            |               | U+03B6 GREEK SMALL LETTER ZETA
| Ζ                     | `capital-zeta`    |               | U+0396 GREEK CAPITAL LETTER ZETA
| η                     | `eta`             |               | U+03B7 GREEK SMALL LETTER ETA
| Η                     | `capital-eta`     |               | U+0397 GREEK CAPITAL LETTER ETA
| θ                     | `theta`           |               | U+03B8 GREEK SMALL LETTER THETA
| Θ                     | `capital-theta`   |               | U+0398 GREEK CAPITAL LETTER THETA
| ι                     | `iota`            |               | U+03B9 GREEK SMALL LETTER IOTA
| Ι                     | `capital-iota`    |               | U+0399 GREEK CAPITAL LETTER IOTA
| κ                     | `kappa`           |               | U+03BA GREEK SMALL LETTER KAPPA
| Κ                     | `capital-kappa`   |               | U+039A GREEK CAPITAL LETTER KAPPA
| λ                     | `lambda`          |               | U+03BB GREEK SMALL LETTER LAMBDA
| Λ                     | `capital-lambda`  |               | U+039B GREEK CAPITAL LETTER LAMBDA
| μ                     | `mu`              |               | U+03BC GREEK SMALL LETTER MU
| Μ                     | `capital-mu`      |               | U+039C GREEK CAPITAL LETTER MU
| ν                     | `nu`              |               | U+03BD GREEK SMALL LETTER NU
| Ν                     | `capital-nu`      |               | U+039D GREEK CAPITAL LETTER NU
| ξ                     | `xi`              |               | U+03BE GREEK SMALL LETTER XI
| Ξ                     | `capital-xi`      |               | U+039E GREEK CAPITAL LETTER XI
| ο                     | `omicron`         |               | U+03BF GREEK SMALL LETTER OMICRON
| Ο                     | `capital-omicron` |               | U+039F GREEK CAPITAL LETTER OMICRON
| π                     | `pi`              |               | U+03C0 GREEK SMALL LETTER PI
| Π                     | `capital-pi`      |               | U+03A0 GREEK CAPITAL LETTER PI
| ρ                     | `rho`             |               | U+03C1 GREEK SMALL LETTER RHO
| Ρ                     | `capital-rho`     |               | U+03A1 GREEK CAPITAL LETTER RHO
| σ                     | `sigma`           |               | U+03C2 GREEK SMALL LETTER SIGMA
| Σ                     | `capital-sigma`   |               | U+03A3 GREEK CAPITAL LETTER SIGMA
| τ                     | `tau`             |               | U+03C4 GREEK SMALL LETTER TAU
| Τ                     | `capital-tau`     |               | U+03A4 GREEK CAPITAL LETTER TAU
| υ                     | `upsilon`         |               | U+03C5 GREEK SMALL LETTER UPSILON
| Υ                     | `capital-upsilon` |               | U+03A5 GREEK CAPITAL LETTER UPSILON
| φ                     | `phi`             |               | U+03C6 GREEK PHI SYMBOL (for consistency with LaTeX)
| Φ                     | `capital-phi`     |               | U+03A6 GREEK CAPITAL LETTER PHI
| χ                     | `chi`             |               | U+03C7 GREEK SMALL LETTER CHI
| Χ                     | `capital-chi`     |               | U+03A7 GREEK CAPITAL LETTER CHI
| ψ                     | `psi`             |               | U+03C8 GREEK SMALL LETTER PSI
| Ψ                     | `capital-psi`     |               | U+03A8 GREEK CAPITAL LETTER PSI
| ω                     | `omega`           |               | U+03C9 GREEK SMALL LETTER OMEGA
| Ω                     | `capital-omega`   |               | U+03A9 GREEK CAPITAL LETTER OMEGA

## Miscellaneous

### Document build date (`build-date.xml`)

| Item                  | Element(s)        | Attributes                            | Notes
| ----                  | ----------        | ----------                            | -----
| displayed build date  | `build-date`      | `[format=`*`<XML date picture>`*`]`   |   **`YYYY-MM-DD hh:mm:ss`**
|                       |                   | `[style=footer|`**`inline`**`]`       |

### Conditional processing (`conditional-processing.xml`)

| Item                  | Element(s)        | Attributes                            | Notes
| ----                  | ----------        | ----------                            | -----
| process when format   | `process-when`    | `format=latex|html`                   |

### Global elements (`global-elements.xml`)

| Item                  | Element(s)            | Attributes                            | Notes
| ----                  | ----------            | ----------                            | -----
| assessment due date   | `DueDate`             | `[style={bold|italic|underline}]`     | requires top-level `<due-date>`
|                       |                       |                                       | only relevant if `/document/@class = "assignment"`
| Blackboard URL        | `Blackboard`          |                                       | **`https://blackboard.otago.ac.nz/`**
| full paper code       | `PaperCode`           |                                       | e.g., “INFO 202”
| Oracle “name”         | `OracleServer`        |                                       | e.g., “Oracle11*g*”
| Oracle release number | `OracleServerRelease` |                                       | e.g., “2”
| Oracle version number | `OracleServerVersion` |                                       | e.g., “11.2”
| paper number          | `PaperNumber`         |                                       | e.g., “202”
| period paper offered  | `PaperPeriod`         |                                       | e.g., “Second Semester”
| subject code          | `SubjectCode`         |                                       | “**`INFO`**”
| year paper offered    | `PaperYear`           | `[offset=`*`<integer>`*`]`            | **`0`**

modules/cross-references.xml:   <template name="reference" match="reference[@label]">
modules/cross-references.xml:   <template name="broken-reference" match="reference[not( @label )]">
modules/cross-references.xml:   <template name="section-reference" match="section" mode="reference">
modules/cross-references.xml:   <template name="figure-reference" match="figure" mode="reference">
modules/cross-references.xml:   <template name="table-reference" match="table" mode="reference">
modules/cross-references.xml:   <template name="exercise-reference" match="exercise" mode="reference">
modules/cross-references.xml:   <template name="item-page-reference" match="section|figure|table" mode="page-reference">
modules/cross-references.xml:   <template name="page" match="page[@label]">
modules/cross-references.xml:   <template name="broken-page" match="page[not( @label )]">
modules/cross-references.xml:   <template name="direct-page-reference" match="page[@label]" mode="reference">
modules/emoticons.xml:  <template name="emoticon" match="emoticon|smiley">
modules/floaters.xml:   <template name="figure" match="figure">
modules/floaters.xml:   <template name="table" match="table">
modules/floaters.xml:   <template name="multipart-table" match="table[count(part) gt 0]">
modules/floaters.xml:   <template name="figure-caption" match="figure/caption">
modules/floaters.xml:   <template name="table-caption" match="table/caption">
modules/footnotes.xml:  <template name="footnote" match="footnote">
modules/footnotes.xml:  <template name="footnote-list" match="footnote" mode="list">
modules/hyperlinks.xml: <template name="hyperlink-label" match="hyperlink[@label and node()]">
modules/hyperlinks.xml: <template name="hyperlink-url" match="hyperlink[@url and node()]">
modules/hyperlinks.xml: <template name="empty-hyperlink-url" match="hyperlink[@url and not( node() )]">
modules/hyperlinks.xml: <template name="empty-hyperlink-label" match="hyperlink[@label and not( node() )]">
modules/hyperlinks.xml: <template name="hyperlink-bogus" match="hyperlink[@url and @label]" priority="2">
modules/hyperlinks.xml: <template name="hyperlink-internal" match="hyperlink" mode="hyperlink-internal">
modules/hyperlinks.xml: <template name="empty-hyperlink-url-internal" match="hyperlink" mode="empty-hyperlink-internal">
modules/hyperlinks.xml: <template name="url" match="url|uri|email|e-mail|email-address|e-mail-address">
modules/images.xml: <template name="latex-image" match="image" mode="latex">
modules/images.xml: <template name="normal-image" match="image[count(provide-large-version) = 0]">
modules/images.xml: <template name="zoomable-image" match="image[count(provide-large-version) != 0]">
modules/inclusions.xml: <template name="include-document" match="include-document">
modules/inclusions.xml: <template name="include-xml" match="include-document[@type='xml']">
modules/latex.xml:  <template name="environment" match="environment" />
modules/latex.xml:  <template name="latex-package" match="latex-packages/package">
modules/latex.xml:  <template name="latex-command" match="latex-commands/command">
modules/latex.xml:  <template name="latex-hyphenation" match="latex-commands/hyphenation">
modules/latex.xml:  <template name="latex-documentclass" match="latex-documentclass|documentclass">
modules/latex.xml:  <template name="latex-document-options" match="latex-document-options">
modules/latex.xml:  <template name="tabular-column-separator">
modules/lists.xml:  <template name="itemised-list" match="itemised-list|itemize|unordered-list|bulleted-list|bullet-list|bullet-points|UL|ul">
modules/lists.xml:  <template name="enumerated-list" match="enumerated-list|enumerate|ordered-list|numbered-list|question-list|OL|ol">
modules/lists.xml:  <template name="definition-list" match="definition-list|description-list|DL|dl">
modules/lists.xml:  <template name="list-item" match="item" mode="normal">
modules/lists.xml:  <template name="enumerated-item-value" match="item[@value]" mode="enumerated-list">
modules/lists.xml:  <template name="enumerated-item" match="item[not( @value )]" mode="enumerated-list">
modules/lists.xml:  <template name="definition-item" match="item" mode="definition-list">
modules/lists.xml:  <template name="keyword" match="item/keyword|item/term|item/topic|item/DT|item/dt">
modules/lists.xml:  <template name="definition" match="item/definition|item/description|item/discourse|item/DD|item/dd">
modules/menus.xml:  <template name="menu-separator" match="menu-separator|menusep|menu/separator">
modules/menus.xml:  <template name="menu-item" match="menu/item">
modules/meta-elements.xml:  <template name="omit" match="omit" />
modules/meta-elements.xml:  <template name="comment" match="comment">
modules/meta-elements.xml:  <template name="todo" match="todo|to-do|incomplete|check">
modules/miscellaneous-symbols.xml:  <template name="sharp-sign" match="sharp|hash|number-sign">
modules/miscellaneous-symbols.xml:  <template name="dollar" match="dollar|dollar-sign">
modules/miscellaneous-symbols.xml:  <template name="percent-sign" match="percent-sign|percentage-sign|percent">
modules/miscellaneous-symbols.xml:  <template name="ampersand" match="ampersand">
modules/miscellaneous-symbols.xml:  <template name="backslash" match="backslash">
modules/miscellaneous-symbols.xml:  <template name="underscore" match="underscore|low-line">
modules/miscellaneous-symbols.xml:  <template name="left-curly-bracket" match="left-curly-bracket|left-curly-brace|left-brace">
modules/miscellaneous-symbols.xml:  <template name="right-curly-bracket" match="right-curly-bracket|right-curly-brace|right-brace">
modules/miscellaneous-symbols.xml:  <template name="degree-sign" match="degree-sign|degrees">
modules/miscellaneous-symbols.xml:  <template name="section-sign" match="section-sign">
modules/miscellaneous-symbols.xml:  <template name="copyright-sign" match="copyright-sign">
modules/miscellaneous-symbols.xml:  <template name="paragraph-sign" match="paragraph-sign|pilcrow|pilcrow-sign">
modules/miscellaneous-symbols.xml:  <template name="figure-dash" match="figure-dash|number-dash">   
modules/miscellaneous-symbols.xml:  <template name="endash" match="endash|en-dash|ndash|n-dash">    
modules/miscellaneous-symbols.xml:  <template name="emdash" match="emdash|em-dash|mdash|m-dash">
modules/miscellaneous-symbols.xml:  <template name="apostrophe" match="apostrophe|right-single-quotation-mark">
modules/miscellaneous-symbols.xml:  <template name="dagger" match="dagger|dag">
modules/miscellaneous-symbols.xml:  <template name="double-dagger" match="double-dagger|ddagger|ddag">
modules/miscellaneous-symbols.xml:  <template name="ellipsis-sign" match="ellipsis-sign|etc|ellipsis|dots|horizontal-ellipsis">
modules/miscellaneous-symbols.xml:  <template name="trademark-sign" match="trademark-sign|trademark|tm|trade-mark-sign">
modules/miscellaneous-symbols.xml:  <template name="LaTeX" match="LaTeX|latex">
modules/multi-column.xml:   <template name="multi-column" match="multi-column">
modules/multi-column.xml:   <template name="multi-column-column" match="multi-column/column">
modules/native-code.xml:    <template name="raw-latex" match="raw-code[@format = 'latex']|raw-latex">
modules/native-code.xml:    <template name="raw-html" match="raw-code[@format = 'html']|raw-html">
modules/number-formatting.xml:  <template name="number" match="number">
modules/obsolete.xml:   <template name="generate-obsolete-error">
modules/obsolete.xml:   <template name="latex-input" match="latex-input">
modules/obsolete.xml:   <template name="metadata" match="metadata">
modules/obsolete.xml:   <template match="figure/id|table/id|figure/label|table/label">
modules/obsolete.xml:   <template match="image/latex-scaling">
modules/obsolete.xml:   <template match="image/basename|image/format">
modules/otago-specific.xml: <template name="paper" match="paper">
modules/otago-specific.xml: <template name="subject-code" match="paper/subject-code">
modules/otago-specific.xml: <template name="paper-number" match="paper/paper-number">
modules/paper-calendar-dates.xml:   <template name="TeachingPeriodDate" match="TeachingPeriodDate">
modules/paper-calendar-dates.xml:   <template name="TeachingPeriodDateRange" match="TeachingPeriodDateRange">
modules/paper-calendar-dates.xml:   <template name="format-teaching-date">
modules/paper-calendar-dates.xml:   <template name="format-teaching-date-range">
modules/paper-calendar.xml: <template match="calendar">
modules/paper-calendar.xml: <template name="generate-calendar-content">
modules/paper-calendar.xml: <template match="header|footer">
modules/paper-calendar.xml: <template match="heading|footing">
modules/paper-calendar.xml: <template match="note">
modules/paper-calendar.xml: <template match="week">
modules/paper-calendar.xml: <template match="week[@holiday]">
modules/paper-calendar.xml: <template match="lecture[node() and not( @holiday )]">
modules/paper-calendar.xml: <template match="lecture[@holiday]">
modules/paper-calendar.xml: <template match="lecture[not( node() )]">
modules/paper-calendar.xml: <template match="laboratory[node()]">
modules/paper-calendar.xml: <template match="tutorial[node()]">
modules/paper-calendar.xml: <template match="laboratory[not( node() )]|tutorial[not( node() )]">
modules/paper-calendar.xml: <template match="calendar//section[node()]|reading[node()]">
modules/paper-calendar.xml: <template match="assessment[node()]">
modules/paper-calendar.xml: <template match="calendar//section[not( node() )]|reading[not( node() )]|assessment[not( node() )]">
modules/paper-calendar.xml: <template name="generate-number-cell">
modules/paper-calendar.xml: <template name="generate-content-cell">
modules/paper-calendar.xml: <template name="generate-empty-cell">
modules/q-and-a.xml:    <template name="question" match="question">
modules/q-and-a.xml:    <template name="answer" match="answer">
modules/q-and-a.xml:    <template name="hidden-answer" match="answer[@hide='yes']" />
modules/q-and-a.xml:    <template name="exercise" match="exercise">
modules/quotations.xml: <template name="single-quote" match="quote[@single='yes']|q[@single='yes']">
modules/quotations.xml: <template name="double-quote" match="quote|qq">
modules/quotations.xml: <template name="nested-double-quote" match="quote//quote">
modules/quotations.xml: <template name="nested-single-quote" match="quote[@single='yes']//quote" priority="2">
modules/quotations.xml: <template name="quotation" match="quotation">
modules/relational-algebra.xml: <template name="project-operator" match="project|project-operator|relational-project">
modules/relational-algebra.xml: <template name="extend-operator" match="extend|extend-operator|relational-extend">
modules/relational-algebra.xml: <template name="rename-operator" match="rename|rename-operator|relational-rename">
modules/relational-algebra.xml: <template name="restrict-operator" match="restrict|restrict-operator|relational-restrict">
modules/relational-algebra.xml: <template name="join-operator" match="join-operator|join|natural-join|inner-join|bowtie|relational-join">
modules/relational-algebra.xml: <template name="outer-join-operator" match="outer-join-operator|outer-join|relational-outer-join">
modules/sectioning.xml: <template name="section" match="section">
modules/sectioning.xml: <template name="generate-subs">
modules/sectioning.xml: <template name="section-title" match="section/title">
modules/special-characters.xml: <template name="space" match="space">
modules/special-characters.xml: <template name="non-breaking-space" match="non-breaking-space|nbsp|no-break-space">
modules/special-characters.xml: <template name="thin-space" match="thin-space|thinspace">
modules/special-characters.xml: <template name="discretionary-hyphen" match="hyphen">
modules/tabular.xml:    <template name="tabular" match="tabular">
modules/tabular.xml:    <template name="aligned-tabular-column" match="tabular-columns/column[@align]">
modules/tabular.xml:    <template name="unaligned-tabular-column" match="tabular-columns/column[not(@align)]">
modules/tabular.xml:    <template name="tabular-header" match="tabular-header">
modules/tabular.xml:    <template name="tabular-footer" match="tabular-footer">
modules/tabular.xml:    <template name="tabular-body" match="tabular-body">
modules/tabular.xml:    <template name="row" match="row">
modules/tabular.xml:    <template name="last-row-body" match="tabular-body/row[( position() = last() ) and not( following-sibling::row-rule ) and not( ancestor::tabular/tabular-footer )]|tabular-footer/row[position() = last() and not( following-sibling::row-rule )]">
modules/tabular.xml:    <template name="row-rule-full" match="row-rule[not(@columns)]">
modules/tabular.xml:    <template name="row-rule-partial" match="row-rule[@columns]">
modules/tabular.xml:    <template name="multirow-cell" match="cell" mode="latex-multi-row">
modules/tabular.xml:    <template name="multicolumn-cell" match="cell" mode="latex-multi-column">
modules/tabular.xml:    <template match="cell">
modules/titling.xml:    <template name="preamble-title" match="document/title" mode="preamble">
modules/titling.xml:    <template name="preamble-subtitle" match="document/subtitle" mode="preamble" />
modules/titling.xml:    <template name="preamble-author" match="document/author" mode="preamble">
modules/titling.xml:    <template name="preamble-date" match="document/date" mode="preamble">
modules/titling.xml:    <template name="preamble-due-date" match="document/due-date" mode="preamble">
modules/titling.xml:    <template name="document-title-title" match="document/title" mode="title">
modules/titling.xml:    <template name="document-subtitle-title" match="document/subtitle" mode="title">
modules/titling.xml:    <template name="document-subtitle-unmoded" match="document/subtitle" />
modules/titling.xml:    <template name="document-author" match="document/author">
modules/titling.xml:    <template name="document-date" match="document/date" />
modules/titling.xml:    <template name="document-due-date-title" match="document/due-date" mode="title">
modules/titling.xml:    <template name="document-due-date-inline" match="document/due-date" mode="inline">
modules/titling.xml:    <template name="document-due-date-unmoded" match="document/due-date" />
modules/titling.xml:    <template name="document-title-unmoded" match="document/title" />
modules/titling.xml:    <template name="chapter-title" match="document/title" mode="chapter">