Newer
Older
XML / quick-reference.markdown
  1. # XML authoring framework quick reference
  2.  
  3. ## Conventions
  4.  
  5. * 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.
  6. * Typical EBNF-style notation applies: `[ ]` indicates optional, `|` indicates alternation, `{ }` indicates repetition, etc.
  7. * **bold** indicates a default value.
  8.  
  9. ## Basic formatting
  10.  
  11. ### Page elements (`basic-page-elements.xml`)
  12.  
  13. | Item | Element(s) | Attributes | Notes
  14. | ---- | ---------- | ---------- | -----
  15. | horizontal rule | `horizontal-rule` | |
  16. | | `hr` | |
  17. | | `hrule` | |
  18. | horizontal skip | `horizontal-skip` | `size=fill|`*`<LaTeX length>`* | no effect in HTML
  19. | | `hskip` | |
  20. | forced line break | `br` | |
  21. | | `line-break` | |
  22. | | `newline` | |
  23. | no page break | `mbox` | |
  24. | | `no-break` | |
  25. | page break | `new-page` | `[caption-text=`*`<string>`*`]` | “**`continues over…`**”
  26. | | `newpage` | `[print-caption=`**`no`**`|yes]` |
  27. | | `page-break` | |
  28. | | `pagebreak` | |
  29. | paragraph | `P` | `[align=center|left|right]` |
  30. | | `p` | `[border=`**`no`**`|yes]` |
  31. | | `para` | `[indent=no|`**`yes`**`]` |
  32. | | `paragraph` | |
  33. | vertical skip | `vertical-skip` | `[size=fill|large|medium|small|`*`<LaTeX length>`*`]` | **inserts a paragraph skip**
  34. | | `vskip` | |
  35.  
  36. ### Text formatting and layout (`basic-text-formatting.xml`)
  37.  
  38. | Item | Element(s) | Attributes | Notes
  39. | ---- | ---------- | ---------- | -----
  40. | bold face | `bold` | |
  41. | center | `center` | |
  42. | | `centering` | |
  43. | | `centre` | |
  44. | | `centring` | |
  45. | emphasis | `em` | |
  46. | | `emph` | |
  47. | foreign word | `foreign` | |
  48. | italics | `italic` | |
  49. | strikethrough | `line-through` | |
  50. | | `linethrough` | |
  51. | | `strike-through` | |
  52. | | `strikethrough` | |
  53. | strong emphasis | `strong` | |
  54. | term | `term` | |
  55. | underline | `u` | |
  56. | | `underline` | |
  57.  
  58. ### Font size and style (`fonts.xml`)
  59.  
  60. | Item | Element(s) | Attributes | Notes
  61. | ---- | ---------- | ---------- | -----
  62. | monospaced type | `monospace` | |
  63. | | `tt` | |
  64. | | `typewriter` | |
  65. | sans-serif type | `sans` | |
  66. | | `sans-serif` | |
  67. | | `sf` | |
  68. | | `ss` | |
  69. | font family | `font` | `[fontspec-options=`*`<string>`*`]` | XeLaTeX: `fontspec` package options
  70. | | `typeface` | `[html=`*`<name>`*`]` | HTML: CSS font name(s)
  71. | | | `[latex=`*`<name>`*`]` | LaTeX: LaTeX font name
  72. | | | `[xelatex=`*`<name>`*`]` | XeLaTeX: `fontspec` font name
  73. | tiny font size | `tiny` | | HTML: `<smaller>` × 4
  74. | | | | LaTeX: `\tiny`
  75. | script font size | `scriptsize` | | HTML: `<smaller>` × 3
  76. | | | | LaTeX: `\scriptsize`
  77. | footnote font size | `footnotesize` | | HTML: `<smaller>` × 2
  78. | | | | LaTeX: `\footnotesize`
  79. | small font size | `small` | | HTML: `<smaller>`
  80. | | | | LaTeX: `\small`
  81. | large font size | `large` | | HTML: `<larger>`
  82. | | | | LaTeX: `\large`
  83. | Large font size | `Large` | | HTML: `<larger>` × 2
  84. | | | | LaTeX: `\Large`
  85. | LARGE font size | `LARGE` | | HTML: `<larger>` × 3
  86. | | | | LaTeX: `\LARGE`
  87. | huge font size | `huge` | | HTML: `<larger>` × 4
  88. | | | | LaTeX: `\huge`
  89. | Huge font size | `Huge` | | HTML: `<larger>` × 5
  90. | | | | LaTeX: `\Huge`
  91. | superscript | `superscript` | |
  92. | subscript | `subscript` | |
  93.  
  94. ### Inline code and code blocks (`code-formatting.xml`)
  95.  
  96. | Item | Element(s) | Attributes | Notes
  97. | ---- | ---------- | ---------- | -----
  98. | code (block) | `code-block` | `[allow-breaks=no|`**`yes`**`]` | `code-block` requires `<![CDATA[ … ]]>`
  99. | | | `[language=`*`<name>`*`]` | LaTeX: `listings` language name
  100. | code (inline) | `code` | `[language=`*`<name>`*`]` | LaTeX: `listings` language name
  101. | verbatim (block) | `verbatim` | |
  102. | | `verbatim-block` | |
  103. | verbatim (inline) | `inline-verbatim` | |
  104. | | `verb` | |
  105.  
  106. ## Bibliographies (`bibliography.xml`)
  107.  
  108. | Item | Element(s) | Attributes | Notes
  109. | ---- | ---------- | ---------- | -----
  110. | bibliography | `bibliography` | `[name=`*`<section title>`*`]` | “**`References`**”
  111. | bibliography entry | `item` | `label=`*`<string>`* | within `<bibliography>`
  112. | citation | `cite` | |
  113. | cited item | `item` | `label=`*`<string>`* | within `<cite>`
  114.  
  115. ## Miscellaneous
  116.  
  117. ### Document build date (`build-date.xml`)
  118.  
  119. | Item | Element(s) | Attributes | Notes
  120. | ---- | ---------- | ---------- | -----
  121. | displayed build date | `build-date` | `[format=`*`<XML date picture>`*`]` | **`YYYY-MM-DD hh:mm:ss`**
  122. | | | `[style=footer|`**`inline`**`]` |
  123.  
  124. ### Conditional processing (`conditional-processing.xml`)
  125.  
  126. | Item | Element(s) | Attributes | Notes
  127. | ---- | ---------- | ---------- | -----
  128. | process when format | `process-when` | `format=latex|html` |
  129.  
  130. modules/cross-references.xml: <template name="reference" match="reference[@label]">
  131. modules/cross-references.xml: <template name="broken-reference" match="reference[not( @label )]">
  132. modules/cross-references.xml: <template name="section-reference" match="section" mode="reference">
  133. modules/cross-references.xml: <template name="figure-reference" match="figure" mode="reference">
  134. modules/cross-references.xml: <template name="table-reference" match="table" mode="reference">
  135. modules/cross-references.xml: <template name="exercise-reference" match="exercise" mode="reference">
  136. modules/cross-references.xml: <template name="item-page-reference" match="section|figure|table" mode="page-reference">
  137. modules/cross-references.xml: <template name="page" match="page[@label]">
  138. modules/cross-references.xml: <template name="broken-page" match="page[not( @label )]">
  139. modules/cross-references.xml: <template name="direct-page-reference" match="page[@label]" mode="reference">
  140. modules/emoticons.xml: <template name="emoticon" match="emoticon|smiley">
  141. modules/emoticons.xml: <template name="emoticon-strip" match="emoticon|smiley" mode="strip">
  142. modules/floaters.xml: <template name="figure" match="figure">
  143. modules/floaters.xml: <template name="table" match="table">
  144. modules/floaters.xml: <template name="multipart-table" match="table[count(part) gt 0]">
  145. modules/floaters.xml: <template name="figure-caption" match="figure/caption">
  146. modules/floaters.xml: <template name="table-caption" match="table/caption">
  147. modules/footnotes.xml: <template name="footnote" match="footnote">
  148. modules/footnotes.xml: <template name="footnote-list" match="footnote" mode="list">
  149. modules/global-elements.xml: <template name="SubjectCode" match="SubjectCode">
  150. modules/global-elements.xml: <template name="SubjectCode-strip" match="SubjectCode" mode="strip">
  151. modules/global-elements.xml: <template name="PaperNumber" match="PaperNumber">
  152. modules/global-elements.xml: <template name="PaperNumber-strip" match="PaperNumber" mode="strip">
  153. modules/global-elements.xml: <template name="PaperCode" match="PaperCode">
  154. modules/global-elements.xml: <template name="PaperCode-strip" match="PaperCode" mode="strip">
  155. modules/global-elements.xml: <template name="PaperYear" match="PaperYear">
  156. modules/global-elements.xml: <template name="PaperYear-strip" match="PaperYear" mode="strip">
  157. modules/global-elements.xml: <template name="PaperPeriod" match="PaperPeriod">
  158. modules/global-elements.xml: <template name="PaperPeriod-strip" match="PaperPeriod" mode="strip">
  159. modules/global-elements.xml: <template name="OracleServer" match="OracleServer">
  160. modules/global-elements.xml: <template name="OracleServer-strip" match="OracleServer" mode="strip">
  161. modules/global-elements.xml: <template name="OracleServerRelease" match="OracleServerRelease">
  162. modules/global-elements.xml: <template name="OracleServerRelease-strip" match="OracleServerRelease" mode="strip">
  163. modules/global-elements.xml: <template name="OracleServerVersion" match="OracleServerVersion">
  164. modules/global-elements.xml: <template name="OracleServerVersion-strip" match="OracleServerVersion" mode="strip">
  165. modules/global-elements.xml: <template name="Blackboard" match="Blackboard">
  166. modules/global-elements.xml: <template name="Blackboard-strip" match="Blackboard" mode="strip">
  167. modules/global-elements.xml: <template name="DueDate" match="DueDate">
  168. modules/global-elements.xml: <template name="DueDate-strip" match="DueDate" mode="strip">
  169. modules/greek-characters.xml: <template name="alpha" match="alpha|greek-small-letter-alpha">
  170. modules/greek-characters.xml: <template name="alpha-strip" match="alpha|greek-small-letter-alpha" mode="strip">
  171. modules/greek-characters.xml: <template name="capital-alpha" match="capital-alpha|greek-capital-letter-alpha">
  172. modules/greek-characters.xml: <template name="capital-alpha-stip" match="capital-alpha|greek-capital-letter-alpha" mode="strip">
  173. modules/greek-characters.xml: <template name="beta" match="beta|greek-small-letter-beta">
  174. modules/greek-characters.xml: <template name="beta-strip" match="beta|greek-small-letter-beta" mode="strip">
  175. modules/greek-characters.xml: <template name="capital-beta" match="capital-beta|greek-capital-letter-beta">
  176. modules/greek-characters.xml: <template name="capital-beta-stip" match="capital-beta|greek-capital-letter-beta" mode="strip">
  177. modules/greek-characters.xml: <template name="gamma" match="gamma|greek-small-letter-gamma">
  178. modules/greek-characters.xml: <template name="gamma-strip" match="gamma|greek-small-letter-gamma" mode="strip">
  179. modules/greek-characters.xml: <template name="capital-gamma" match="capital-gamma|greek-capital-letter-gamma">
  180. modules/greek-characters.xml: <template name="capital-gamma-stip" match="capital-gamma|greek-capital-letter-gamma" mode="strip">
  181. modules/greek-characters.xml: <template name="delta" match="delta|greek-small-letter-delta">
  182. modules/greek-characters.xml: <template name="delta-strip" match="delta|greek-small-letter-delta" mode="strip">
  183. modules/greek-characters.xml: <template name="capital-delta" match="capital-delta|greek-capital-letter-delta">
  184. modules/greek-characters.xml: <template name="capital-delta-stip" match="capital-delta|greek-capital-letter-delta" mode="strip">
  185. modules/greek-characters.xml: <template name="epsilon" match="epsilon|greek-small-letter-epsilon">
  186. modules/greek-characters.xml: <template name="epsilon-strip" match="epsilon|greek-small-letter-epsilon" mode="strip">
  187. modules/greek-characters.xml: <template name="capital-epsilon" match="capital-epsilon|greek-capital-letter-epsilon">
  188. modules/greek-characters.xml: <template name="capital-epsilon-stip" match="capital-epsilon|greek-capital-letter-epsilon" mode="strip">
  189. modules/greek-characters.xml: <template name="zeta" match="zeta|greek-small-letter-zeta">
  190. modules/greek-characters.xml: <template name="zeta-strip" match="zeta|greek-small-letter-zeta" mode="strip">
  191. modules/greek-characters.xml: <template name="capital-zeta" match="capital-zeta|greek-capital-letter-zeta">
  192. modules/greek-characters.xml: <template name="capital-zeta-stip" match="capital-zeta|greek-capital-letter-zeta" mode="strip">
  193. modules/greek-characters.xml: <template name="eta" match="eta|greek-small-letter-eta">
  194. modules/greek-characters.xml: <template name="eta-strip" match="eta|greek-small-letter-eta" mode="strip">
  195. modules/greek-characters.xml: <template name="capital-eta" match="capital-eta|greek-capital-letter-eta">
  196. modules/greek-characters.xml: <template name="capital-eta-stip" match="capital-eta|greek-capital-letter-eta" mode="strip">
  197. modules/greek-characters.xml: <template name="theta" match="theta|greek-small-letter-theta">
  198. modules/greek-characters.xml: <template name="theta-strip" match="theta|greek-small-letter-theta" mode="strip">
  199. modules/greek-characters.xml: <template name="capital-theta" match="capital-theta|greek-capital-letter-theta">
  200. modules/greek-characters.xml: <template name="capital-theta-stip" match="capital-theta|greek-capital-letter-theta" mode="strip">
  201. modules/greek-characters.xml: <template name="iota" match="iota|greek-small-letter-iota">
  202. modules/greek-characters.xml: <template name="iota-strip" match="iota|greek-small-letter-iota" mode="strip">
  203. modules/greek-characters.xml: <template name="capital-iota" match="capital-iota|greek-capital-letter-iota">
  204. modules/greek-characters.xml: <template name="capital-iota-stip" match="capital-iota|greek-capital-letter-iota" mode="strip">
  205. modules/greek-characters.xml: <template name="kappa" match="kappa|greek-small-letter-kappa">
  206. modules/greek-characters.xml: <template name="kappa-strip" match="kappa|greek-small-letter-kappa" mode="strip">
  207. modules/greek-characters.xml: <template name="capital-kappa" match="capital-kappa|greek-capital-letter-kappa">
  208. modules/greek-characters.xml: <template name="capital-kappa-stip" match="capital-kappa|greek-capital-letter-kappa" mode="strip">
  209. modules/greek-characters.xml: <template name="lambda" match="lambda|greek-small-letter-lambda">
  210. modules/greek-characters.xml: <template name="lambda-strip" match="lambda|greek-small-letter-lambda" mode="strip">
  211. modules/greek-characters.xml: <template name="capital-lambda" match="capital-lambda|greek-capital-letter-lambda">
  212. modules/greek-characters.xml: <template name="capital-lambda-stip" match="capital-lambda|greek-capital-letter-lambda" mode="strip">
  213. modules/greek-characters.xml: <template name="mu" match="mu|greek-small-letter-mu">
  214. modules/greek-characters.xml: <template name="mu-strip" match="mu|greek-small-letter-mu" mode="strip">
  215. modules/greek-characters.xml: <template name="capital-mu" match="capital-mu|greek-capital-letter-mu">
  216. modules/greek-characters.xml: <template name="capital-mu-stip" match="capital-mu|greek-capital-letter-mu" mode="strip">
  217. modules/greek-characters.xml: <template name="nu" match="nu|greek-small-letter-nu">
  218. modules/greek-characters.xml: <template name="nu-strip" match="nu|greek-small-letter-nu" mode="strip">
  219. modules/greek-characters.xml: <template name="capital-nu" match="capital-nu|greek-capital-letter-nu">
  220. modules/greek-characters.xml: <template name="capital-nu-stip" match="capital-nu|greek-capital-letter-nu" mode="strip">
  221. modules/greek-characters.xml: <template name="xi" match="xi|greek-small-letter-xi">
  222. modules/greek-characters.xml: <template name="xi-strip" match="xi|greek-small-letter-xi" mode="strip">
  223. modules/greek-characters.xml: <template name="capital-xi" match="capital-xi|greek-capital-letter-xi">
  224. modules/greek-characters.xml: <template name="capital-xi-stip" match="capital-xi|greek-capital-letter-xi" mode="strip">
  225. modules/greek-characters.xml: <template name="omicron" match="omicron|greek-small-letter-omicron">
  226. modules/greek-characters.xml: <template name="omicron-strip" match="omicron|greek-small-letter-omicron" mode="strip">
  227. modules/greek-characters.xml: <template name="capital-omicron" match="capital-omicron|greek-capital-letter-omicron">
  228. modules/greek-characters.xml: <template name="capital-omicron-stip" match="capital-omicron|greek-capital-letter-omicron" mode="strip">
  229. modules/greek-characters.xml: <template name="pi" match="pi|greek-small-letter-pi">
  230. modules/greek-characters.xml: <template name="pi-strip" match="pi|greek-small-letter-pi" mode="strip">
  231. modules/greek-characters.xml: <template name="capital-pi" match="capital-pi|greek-capital-letter-pi">
  232. modules/greek-characters.xml: <template name="capital-pi-stip" match="capital-pi|greek-capital-letter-pi" mode="strip">
  233. modules/greek-characters.xml: <template name="rho" match="rho|greek-small-letter-rho">
  234. modules/greek-characters.xml: <template name="rho-strip" match="rho|greek-small-letter-rho" mode="strip">
  235. modules/greek-characters.xml: <template name="capital-rho" match="capital-rho|greek-capital-letter-rho">
  236. modules/greek-characters.xml: <template name="capital-rho-stip" match="capital-rho|greek-capital-letter-rho" mode="strip">
  237. modules/greek-characters.xml: <template name="sigma" match="sigma|greek-small-letter-sigma">
  238. modules/greek-characters.xml: <template name="sigma-strip" match="sigma|greek-small-letter-sigma" mode="strip">
  239. modules/greek-characters.xml: <template name="capital-sigma" match="capital-sigma|greek-capital-letter-sigma">
  240. modules/greek-characters.xml: <template name="capital-sigma-stip" match="capital-sigma|greek-capital-letter-sigma" mode="strip">
  241. modules/greek-characters.xml: <template name="tau" match="tau|greek-small-letter-tau">
  242. modules/greek-characters.xml: <template name="tau-strip" match="tau|greek-small-letter-tau" mode="strip">
  243. modules/greek-characters.xml: <template name="capital-tau" match="capital-tau|greek-capital-letter-tau">
  244. modules/greek-characters.xml: <template name="capital-tau-stip" match="capital-tau|greek-capital-letter-tau" mode="strip">
  245. modules/greek-characters.xml: <template name="upsilon" match="upsilon|greek-small-letter-upsilon">
  246. modules/greek-characters.xml: <template name="upsilon-strip" match="upsilon|greek-small-letter-upsilon" mode="strip">
  247. modules/greek-characters.xml: <template name="capital-upsilon" match="capital-upsilon|greek-capital-letter-upsilon">
  248. modules/greek-characters.xml: <template name="capital-upsilon-stip" match="capital-upsilon|greek-capital-letter-upsilon" mode="strip">
  249. modules/greek-characters.xml: <template name="phi" match="phi|greek-phi-symbol">
  250. modules/greek-characters.xml: <template name="phi-strip" match="phi|greek-phi-symbol" mode="strip">
  251. modules/greek-characters.xml: <template name="capital-phi" match="capital-phi|greek-capital-letter-phi">
  252. modules/greek-characters.xml: <template name="capital-phi-stip" match="capital-phi|greek-capital-letter-phi" mode="strip">
  253. modules/greek-characters.xml: <template name="chi" match="chi|greek-small-letter-chi">
  254. modules/greek-characters.xml: <template name="chi-strip" match="chi|greek-small-letter-chi" mode="strip">
  255. modules/greek-characters.xml: <template name="capital-chi" match="capital-chi|greek-capital-letter-chi">
  256. modules/greek-characters.xml: <template name="capital-chi-stip" match="capital-chi|greek-capital-letter-chi" mode="strip">
  257. modules/greek-characters.xml: <template name="psi" match="psi|greek-small-letter-psi">
  258. modules/greek-characters.xml: <template name="psi-strip" match="psi|greek-small-letter-psi" mode="strip">
  259. modules/greek-characters.xml: <template name="capital-psi" match="capital-psi|greek-capital-letter-psi">
  260. modules/greek-characters.xml: <template name="capital-psi-stip" match="capital-psi|greek-capital-letter-psi" mode="strip">
  261. modules/greek-characters.xml: <template name="omega" match="omega|greek-small-letter-omega">
  262. modules/greek-characters.xml: <template name="omega-strip" match="omega|greek-small-letter-omega" mode="strip">
  263. modules/greek-characters.xml: <template name="capital-omega" match="capital-omega|greek-capital-letter-omega">
  264. modules/greek-characters.xml: <template name="capital-omega-stip" match="capital-omega|greek-capital-letter-omega" mode="strip">
  265. modules/hyperlinks.xml: <template name="hyperlink-label" match="hyperlink[@label and node()]">
  266. modules/hyperlinks.xml: <template name="hyperlink-url" match="hyperlink[@url and node()]">
  267. modules/hyperlinks.xml: <template name="empty-hyperlink-url" match="hyperlink[@url and not( node() )]">
  268. modules/hyperlinks.xml: <template name="empty-hyperlink-label" match="hyperlink[@label and not( node() )]">
  269. modules/hyperlinks.xml: <template name="hyperlink-bogus" match="hyperlink[@url and @label]" priority="2">
  270. modules/hyperlinks.xml: <template name="hyperlink-internal" match="hyperlink" mode="hyperlink-internal">
  271. modules/hyperlinks.xml: <template name="empty-hyperlink-url-internal" match="hyperlink" mode="empty-hyperlink-internal">
  272. modules/hyperlinks.xml: <template name="url" match="url|uri|email|e-mail|email-address|e-mail-address">
  273. modules/images.xml: <template name="latex-image" match="image" mode="latex">
  274. modules/images.xml: <template name="normal-image" match="image[count(provide-large-version) = 0]">
  275. modules/images.xml: <template name="zoomable-image" match="image[count(provide-large-version) != 0]">
  276. modules/inclusions.xml: <template name="include-document" match="include-document">
  277. modules/inclusions.xml: <template name="include-xml" match="include-document[@type='xml']">
  278. modules/latex.xml: <template name="environment" match="environment" />
  279. modules/latex.xml: <template name="latex-package" match="latex-packages/package">
  280. modules/latex.xml: <template name="latex-command" match="latex-commands/command">
  281. modules/latex.xml: <template name="latex-hyphenation" match="latex-commands/hyphenation">
  282. modules/latex.xml: <template name="latex-documentclass" match="latex-documentclass|documentclass">
  283. modules/latex.xml: <template name="latex-document-options" match="latex-document-options">
  284. modules/latex.xml: <template name="tabular-column-separator">
  285. modules/lists.xml: <template name="itemised-list" match="itemised-list|itemize|unordered-list|bulleted-list|bullet-list|bullet-points|UL|ul">
  286. modules/lists.xml: <template name="enumerated-list" match="enumerated-list|enumerate|ordered-list|numbered-list|question-list|OL|ol">
  287. modules/lists.xml: <template name="definition-list" match="definition-list|description-list|DL|dl">
  288. modules/lists.xml: <template name="list-item" match="item" mode="normal">
  289. modules/lists.xml: <template name="enumerated-item-value" match="item[@value]" mode="enumerated-list">
  290. modules/lists.xml: <template name="enumerated-item" match="item[not( @value )]" mode="enumerated-list">
  291. modules/lists.xml: <template name="definition-item" match="item" mode="definition-list">
  292. modules/lists.xml: <template name="keyword" match="item/keyword|item/term|item/topic|item/DT|item/dt">
  293. modules/lists.xml: <template name="definition" match="item/definition|item/description|item/discourse|item/DD|item/dd">
  294. modules/mathematical-symbols.xml: <template name="plus-operator" match="plus|plus-sign">
  295. modules/mathematical-symbols.xml: <template name="times-operator" match="times|multiply|multiplication|multiplication-sign">
  296. modules/mathematical-symbols.xml: <template name="minus-operator" match="minus|subtract|minus-sign">
  297. modules/mathematical-symbols.xml: <template name="divide-operator" match="divide|division|division-slash">
  298. modules/mathematical-symbols.xml: <template name="equals-operator" match="equals|eq|equals-sign|equality">
  299. modules/mathematical-symbols.xml: <template name="not-equals-operator" match="not-equals|ne|inequality|not-equal-to">
  300. modules/mathematical-symbols.xml: <template name="approximately-equals-operator" match="approximately-equals|approximately-equal-to|approx|almost-equal-to">
  301. modules/mathematical-symbols.xml: <template name="greater-than-operator" match="greater-than|gt|greater-than-sign">
  302. modules/mathematical-symbols.xml: <template name="greater-equals-operator" match="greater-equals|ge|greater-than-or-equal-to">
  303. modules/mathematical-symbols.xml: <template name="less-than-operator" match="less-than|lt|less-than-sign">
  304. modules/mathematical-symbols.xml: <template name="less-equals-operator" match="less-equals|le|less-than-or-equal-to">
  305. modules/mathematical-symbols.xml: <template name="empty-set-sign" match="empty-set-sign|empty-set|null">
  306. modules/mathematical-symbols.xml: <template name="empty-set-sign-strip" match="empty-set-sign|empty-set|null" mode="strip">
  307. modules/mathematical-symbols.xml: <template name="element-sign" match="element-sign|element|element-of|is-element-of|is-an-element-of">
  308. modules/mathematical-symbols.xml: <template name="element-sign-strip" match="element-sign|element|element-of|is-element-of|is-an-element-of" mode="strip">
  309. modules/mathematical-symbols.xml: <template name="not-element-sign" match="not-element-sign|not-element|not-element-of|is-not-element-of|is-not-an-element-of|not-an-element-of">
  310. modules/mathematical-symbols.xml: <template name="not-element-sign-strip" match="not-element-sign|not-element|not-element-of|is-not-element-of|is-not-an-element-of|not-an-element-of" mode="strip">
  311. modules/mathematical-symbols.xml: <template name="intersect-operator" match="intersect-operator|intersect|intersection|cap">
  312. modules/mathematical-symbols.xml: <template name="intersect-operator-strip" match="intersect-operator|intersect|intersection|cap" mode="strip">
  313. modules/mathematical-symbols.xml: <template name="union-operator" match="union-operator|union|cup">
  314. modules/mathematical-symbols.xml: <template name="union-operator-strip" match="union-operator|union|cup" mode="strip">
  315. modules/mathematical-symbols.xml: <template name="strict-subset-sign" match="subset-sign|subset|subset-of|is-subset-of|is-a-subset-of|strict-subset">
  316. modules/mathematical-symbols.xml: <template name="strict-subset-sign-strip" match="subset-sign|subset|subset-of|is-subset-of|is-a-subset-of|strict-subset" mode="strip">
  317. modules/mathematical-symbols.xml: <template name="strict-superset-sign" match="superset-sign|superset|superset-of|is-superset-of|is-a-superset-of">
  318. modules/mathematical-symbols.xml: <template name="strict-superset-sign-strip" match="superset-sign|superset|superset-of|is-superset-of|is-a-superset-of" mode="strip">
  319. modules/mathematical-symbols.xml: <template name="inclusive-subset-sign" match="inclusive-subset|subset-or-equal|subset-of-or-equal-to|is-subset-of-or-equal-to|is-a-subset-of-or-equal-to">
  320. modules/mathematical-symbols.xml: <template name="inclusive-subset-sign-strip" match="inclusive-subset|subset-or-equal|subset-of-or-equal-to|is-subset-of-or-equal-to|is-a-subset-of-or-equal-to" mode="strip">
  321. modules/mathematical-symbols.xml: <template name="inclusive-superset-sign" match="inclusive-superset|superset-or-equal|superset-of-or-equal-to|is-superset-of-or-equal-to|is-a-superset-of-or-equal-to">
  322. modules/mathematical-symbols.xml: <template name="inclusive-superset-sign-strip" match="inclusive-superset|superset-or-equal|superset-of-or-equal-to|is-superset-of-or-equal-to|is-a-superset-of-or-equal-to" mode="strip">
  323. modules/mathematical-symbols.xml: <template name="logical-not-operator" match="logical-not-operator|logical-negation-operator|logical-negation|logical-not|not|negation|neg|not-sign">
  324. modules/mathematical-symbols.xml: <template name="logical-not-operator-strip" match="logical-not-operator|logical-negation-operator|logical-negation|logical-not|not|negation|neg|not-sign" mode="strip">
  325. modules/mathematical-symbols.xml: <template name="logical-and-operator" match="logical-and-operator|logical-and|and|and-operator|hat|wedge">
  326. modules/mathematical-symbols.xml: <template name="logical-and-operator-strip" match="logical-and-operator|logical-and|and|and-operator|hat|wedge" mode="strip">
  327. modules/mathematical-symbols.xml: <template name="logical-or-operator" match="logical-or-operator|logical-or|or|or-operator|vee">
  328. modules/mathematical-symbols.xml: <template name="logical-or-operator-strip" match="logical-or-operator|logical-or|or|or-operator|vee" mode="strip">
  329. modules/mathematical-symbols.xml: <template name="right-arrow" match="right-arrow|rightarrow|implies|rarr|rarrow|rightwards-arrow">
  330. modules/mathematical-symbols.xml: <template name="left-arrow" match="left-arrow|leftarrow|larr|larrow|leftwards-arrow">
  331. modules/maths.xml: <template name="math-inline" match="math|math[@style='inline']">
  332. modules/maths.xml: <template name="math-display" match="math[@style='display']">
  333. modules/maths.xml: <template name="equation-array" match="equation-array">
  334. modules/maths.xml: <template match="equation-array/row">
  335. modules/maths.xml: <template name="math-text" match="text">
  336. modules/maths.xml: <template name="calligraphic-text" match="calligraphic|cursive">
  337. modules/maths.xml: <template name="digit-group-separator" match="digit-group-separator|digitsep">
  338. modules/maths.xml: <template name="superscript-math" match="math//superscript">
  339. modules/maths.xml: <template name="subscript-math" match="math//subscript">
  340. modules/maths.xml: <template name="log-like-function" match="function">
  341. modules/maths.xml: <template name="math-variable" match="variable|var">
  342. modules/maths.xml: <template name="math-fraction" match="fraction">
  343. modules/menus.xml: <template name="menu-separator" match="menu-separator|menusep|menu/separator">
  344. modules/menus.xml: <template name="menu-separator-strip" match="menu-separator|menusep|menu/separator" mode="strip">
  345. modules/menus.xml: <template name="menu-item" match="menu/item">
  346. modules/meta-elements.xml: <template name="omit" match="omit" />
  347. modules/meta-elements.xml: <template name="comment" match="comment">
  348. modules/meta-elements.xml: <template name="todo" match="todo|to-do|incomplete|check">
  349. modules/miscellaneous-symbols.xml: <template name="sharp-sign" match="sharp|hash|number-sign">
  350. modules/miscellaneous-symbols.xml: <template name="sharp-sign-strip" match="sharp|hash|number-sign" mode="strip">
  351. modules/miscellaneous-symbols.xml: <template name="dollar" match="dollar|dollar-sign">
  352. modules/miscellaneous-symbols.xml: <template name="dollar-strip" match="dollar|dollar-sign" mode="strip">
  353. modules/miscellaneous-symbols.xml: <template name="percent-sign" match="percent-sign|percentage-sign|percent">
  354. modules/miscellaneous-symbols.xml: <template name="percent-sign-strip" match="percent-sign|percentage-sign|percent" mode="strip">
  355. modules/miscellaneous-symbols.xml: <template name="ampersand" match="ampersand">
  356. modules/miscellaneous-symbols.xml: <template name="ampersand-strip" match="ampersand" mode="strip">
  357. modules/miscellaneous-symbols.xml: <template name="backslash" match="backslash">
  358. modules/miscellaneous-symbols.xml: <template name="backslash-strip" match="backslash" mode="strip">
  359. modules/miscellaneous-symbols.xml: <template name="underscore" match="underscore|low-line">
  360. modules/miscellaneous-symbols.xml: <template name="underscore-strip" match="underscore|low-line" mode="strip">
  361. modules/miscellaneous-symbols.xml: <template name="left-curly-bracket" match="left-curly-bracket|left-curly-brace|left-brace">
  362. modules/miscellaneous-symbols.xml: <template name="left-curly-bracket-strip" match="left-curly-bracket|left-curly-brace|left-brace" mode="strip">
  363. modules/miscellaneous-symbols.xml: <template name="right-curly-bracket" match="right-curly-bracket|right-curly-brace|right-brace">
  364. modules/miscellaneous-symbols.xml: <template name="right-curly-bracket-strip" match="right-curly-bracket|right-curly-brace|right-brace" mode="strip">
  365. modules/miscellaneous-symbols.xml: <template name="degree-sign" match="degree-sign|degrees">
  366. modules/miscellaneous-symbols.xml: <template name="degree-sign-strip" match="degree-sign|degrees" mode="strip">
  367. modules/miscellaneous-symbols.xml: <template name="section-sign" match="section-sign">
  368. modules/miscellaneous-symbols.xml: <template name="section-sign-strip" match="section-sign" mode="strip">
  369. modules/miscellaneous-symbols.xml: <template name="copyright-sign" match="copyright-sign">
  370. modules/miscellaneous-symbols.xml: <template name="copyright-sign-strip" match="copyright-sign" mode="strip">
  371. modules/miscellaneous-symbols.xml: <template name="paragraph-sign" match="paragraph-sign|pilcrow|pilcrow-sign">
  372. modules/miscellaneous-symbols.xml: <template name="paragraph-sign-strip" match="paragraph-sign|pilcrow|pilcrow-sign" mode="strip">
  373. modules/miscellaneous-symbols.xml: <template name="figure-dash" match="figure-dash|number-dash">
  374. modules/miscellaneous-symbols.xml: <template name="figure-dash-strip" match="figure-dash|number-dash" mode="strip">
  375. modules/miscellaneous-symbols.xml: <template name="endash" match="endash|en-dash|ndash|n-dash">
  376. modules/miscellaneous-symbols.xml: <template name="endash-strip" match="endash|en-dash|ndash|n-dash" mode="strip">
  377. modules/miscellaneous-symbols.xml: <template name="emdash" match="emdash|em-dash|mdash|m-dash">
  378. modules/miscellaneous-symbols.xml: <template name="emdash-strip" match="emdash|em-dash|mdash|m-dash" mode="strip">
  379. modules/miscellaneous-symbols.xml: <template name="apostrophe" match="apostrophe|right-single-quotation-mark">
  380. modules/miscellaneous-symbols.xml: <template name="apostrophe-strip" match="apostrophe|right-single-quotation-mark" mode="strip">
  381. modules/miscellaneous-symbols.xml: <template name="dagger" match="dagger|dag">
  382. modules/miscellaneous-symbols.xml: <template name="dagger-strip" match="dagger|dag" mode="strip">
  383. modules/miscellaneous-symbols.xml: <template name="double-dagger" match="double-dagger|ddagger|ddag">
  384. modules/miscellaneous-symbols.xml: <template name="double-dagger-strip" match="double-dagger|ddagger|ddag" mode="strip">
  385. modules/miscellaneous-symbols.xml: <template name="ellipsis-sign" match="ellipsis-sign|etc|ellipsis|dots|horizontal-ellipsis">
  386. modules/miscellaneous-symbols.xml: <template name="ellipsis-sign-strip" match="ellipsis-sign|etc|ellipsis|dots|horizontal-ellipsis" mode="strip">
  387. modules/miscellaneous-symbols.xml: <template name="trademark-sign" match="trademark-sign|trademark|tm|trade-mark-sign">
  388. modules/miscellaneous-symbols.xml: <template name="trademark-sign-strip" match="trademark-sign|trademark|tm|trade-mark-sign" mode="strip">
  389. modules/miscellaneous-symbols.xml: <template name="LaTeX" match="LaTeX|latex">
  390. modules/miscellaneous-symbols.xml: <template name="LaTeX-strip" match="LaTeX|latex" mode="strip">
  391. modules/multi-column.xml: <template name="multi-column" match="multi-column">
  392. modules/multi-column.xml: <template name="multi-column-column" match="multi-column/column">
  393. modules/native-code.xml: <template name="raw-latex" match="raw-code[@format = 'latex']|raw-latex">
  394. modules/native-code.xml: <template name="raw-html" match="raw-code[@format = 'html']|raw-html">
  395. modules/number-formatting.xml: <template name="number" match="number">
  396. modules/obsolete.xml: <template name="generate-obsolete-error">
  397. modules/obsolete.xml: <template name="latex-input" match="latex-input">
  398. modules/obsolete.xml: <template name="metadata" match="metadata">
  399. modules/obsolete.xml: <template match="figure/id|table/id|figure/label|table/label">
  400. modules/obsolete.xml: <template match="image/latex-scaling">
  401. modules/obsolete.xml: <template match="image/basename|image/format">
  402. modules/otago-specific.xml: <template name="paper" match="paper">
  403. modules/otago-specific.xml: <template name="subject-code" match="paper/subject-code">
  404. modules/otago-specific.xml: <template name="paper-number" match="paper/paper-number">
  405. modules/paper-calendar-dates.xml: <template name="TeachingPeriodDate" match="TeachingPeriodDate">
  406. modules/paper-calendar-dates.xml: <template name="TeachingPeriodDateRange" match="TeachingPeriodDateRange">
  407. modules/paper-calendar-dates.xml: <template name="format-teaching-date">
  408. modules/paper-calendar-dates.xml: <template name="format-teaching-date-range">
  409. modules/paper-calendar.xml: <template match="calendar">
  410. modules/paper-calendar.xml: <template name="generate-calendar-content">
  411. modules/paper-calendar.xml: <template match="header|footer">
  412. modules/paper-calendar.xml: <template match="heading|footing">
  413. modules/paper-calendar.xml: <template match="note">
  414. modules/paper-calendar.xml: <template match="week">
  415. modules/paper-calendar.xml: <template match="week[@holiday]">
  416. modules/paper-calendar.xml: <template match="lecture[node() and not( @holiday )]">
  417. modules/paper-calendar.xml: <template match="lecture[@holiday]">
  418. modules/paper-calendar.xml: <template match="lecture[not( node() )]">
  419. modules/paper-calendar.xml: <template match="laboratory[node()]">
  420. modules/paper-calendar.xml: <template match="tutorial[node()]">
  421. modules/paper-calendar.xml: <template match="laboratory[not( node() )]|tutorial[not( node() )]">
  422. modules/paper-calendar.xml: <template match="calendar//section[node()]|reading[node()]">
  423. modules/paper-calendar.xml: <template match="assessment[node()]">
  424. modules/paper-calendar.xml: <template match="calendar//section[not( node() )]|reading[not( node() )]|assessment[not( node() )]">
  425. modules/paper-calendar.xml: <template name="generate-number-cell">
  426. modules/paper-calendar.xml: <template name="generate-content-cell">
  427. modules/paper-calendar.xml: <template name="generate-empty-cell">
  428. modules/q-and-a.xml: <template name="question" match="question">
  429. modules/q-and-a.xml: <template name="answer" match="answer">
  430. modules/q-and-a.xml: <template name="hidden-answer" match="answer[@hide='yes']" />
  431. modules/q-and-a.xml: <template name="exercise" match="exercise">
  432. modules/quotations.xml: <template name="single-quote" match="quote[@single='yes']|q[@single='yes']">
  433. modules/quotations.xml: <template name="double-quote" match="quote|qq">
  434. modules/quotations.xml: <template name="nested-double-quote" match="quote//quote">
  435. modules/quotations.xml: <template name="nested-single-quote" match="quote[@single='yes']//quote" priority="2">
  436. modules/quotations.xml: <template name="quotation" match="quotation">
  437. modules/relational-algebra.xml: <template name="project-operator" match="project|project-operator|relational-project">
  438. modules/relational-algebra.xml: <template name="project-operator-strip" match="project|project-operator|relational-project" mode="strip">
  439. modules/relational-algebra.xml: <template name="extend-operator" match="extend|extend-operator|relational-extend">
  440. modules/relational-algebra.xml: <template name="extend-operator-strip" match="extend|extend-operator|relational-extend" mode="strip">
  441. modules/relational-algebra.xml: <template name="rename-operator" match="rename|rename-operator|relational-rename">
  442. modules/relational-algebra.xml: <template name="rename-operator-strip" match="rename|rename-operator|relational-rename" mode="strip">
  443. modules/relational-algebra.xml: <template name="restrict-operator" match="restrict|restrict-operator|relational-restrict">
  444. modules/relational-algebra.xml: <template name="restrict-operator-strip" match="restrict|restrict-operator|relational-restrict" mode="strip">
  445. modules/relational-algebra.xml: <template name="join-operator" match="join-operator|join|natural-join|inner-join|bowtie|relational-join">
  446. modules/relational-algebra.xml: <template name="join-operator-strip" match="join-operator|join|natural-join|inner-join|bowtie|relational-join" mode="strip">
  447. modules/relational-algebra.xml: <template name="outer-join-operator" match="outer-join-operator|outer-join|relational-outer-join">
  448. modules/relational-algebra.xml: <template name="outer-join-operator-strip" match="outer-join-operator|outer-join|relational-outer-join" mode="strip">
  449. modules/sectioning.xml: <template name="section" match="section">
  450. modules/sectioning.xml: <template name="generate-subs">
  451. modules/sectioning.xml: <template name="section-title" match="section/title">
  452. modules/special-characters.xml: <template name="space" match="space">
  453. modules/special-characters.xml: <template name="space-strip" match="space" mode="strip">
  454. modules/special-characters.xml: <template name="non-breaking-space" match="non-breaking-space|nbsp|no-break-space">
  455. modules/special-characters.xml: <template name="thin-space" match="thin-space|thinspace">
  456. modules/special-characters.xml: <template name="discretionary-hyphen" match="hyphen">
  457. modules/tabular.xml: <template name="tabular" match="tabular">
  458. modules/tabular.xml: <template name="aligned-tabular-column" match="tabular-columns/column[@align]">
  459. modules/tabular.xml: <template name="unaligned-tabular-column" match="tabular-columns/column[not(@align)]">
  460. modules/tabular.xml: <template name="tabular-header" match="tabular-header">
  461. modules/tabular.xml: <template name="tabular-footer" match="tabular-footer">
  462. modules/tabular.xml: <template name="tabular-body" match="tabular-body">
  463. modules/tabular.xml: <template name="row" match="row">
  464. 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 )]">
  465. modules/tabular.xml: <template name="row-rule-full" match="row-rule[not(@columns)]">
  466. modules/tabular.xml: <template name="row-rule-partial" match="row-rule[@columns]">
  467. modules/tabular.xml: <template name="multirow-cell" match="cell" mode="latex-multi-row">
  468. modules/tabular.xml: <template name="multicolumn-cell" match="cell" mode="latex-multi-column">
  469. modules/tabular.xml: <template match="cell">
  470. modules/titling.xml: <template name="preamble-title" match="document/title" mode="preamble">
  471. modules/titling.xml: <template name="preamble-subtitle" match="document/subtitle" mode="preamble" />
  472. modules/titling.xml: <template name="preamble-author" match="document/author" mode="preamble">
  473. modules/titling.xml: <template name="preamble-date" match="document/date" mode="preamble">
  474. modules/titling.xml: <template name="preamble-due-date" match="document/due-date" mode="preamble">
  475. modules/titling.xml: <template name="document-title-title" match="document/title" mode="title">
  476. modules/titling.xml: <template name="document-subtitle-title" match="document/subtitle" mode="title">
  477. modules/titling.xml: <template name="document-subtitle-unmoded" match="document/subtitle" />
  478. modules/titling.xml: <template name="document-author" match="document/author">
  479. modules/titling.xml: <template name="document-date" match="document/date" />
  480. modules/titling.xml: <template name="document-due-date-title" match="document/due-date" mode="title">
  481. modules/titling.xml: <template name="document-due-date-inline" match="document/due-date" mode="inline">
  482. modules/titling.xml: <template name="document-due-date-unmoded" match="document/due-date" />
  483. modules/titling.xml: <template name="document-title-unmoded" match="document/title" />
  484. modules/titling.xml: <template name="chapter-title" match="document/title" mode="chapter">