mizuho 0.9.6 → 0.9.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (222) hide show
  1. data/README.markdown +4 -2
  2. data/Rakefile +0 -37
  3. data/asciidoc/BUGS +9 -18
  4. data/asciidoc/BUGS.txt +5 -14
  5. data/asciidoc/CHANGELOG +1433 -266
  6. data/asciidoc/CHANGELOG.txt +2821 -1810
  7. data/asciidoc/COPYING +339 -339
  8. data/asciidoc/COPYRIGHT +18 -18
  9. data/asciidoc/INSTALL +189 -30
  10. data/asciidoc/INSTALL.txt +175 -19
  11. data/asciidoc/MANIFEST +88 -0
  12. data/asciidoc/Makefile.in +29 -13
  13. data/asciidoc/README +16 -17
  14. data/asciidoc/README.txt +35 -36
  15. data/asciidoc/a2x.py +902 -0
  16. data/asciidoc/asciidoc.conf +610 -455
  17. data/asciidoc/asciidoc.py +1965 -1061
  18. data/asciidoc/asciidocapi.py +257 -0
  19. data/asciidoc/common.aap +2 -2
  20. data/asciidoc/configure +1170 -1023
  21. data/asciidoc/configure.ac +1 -1
  22. data/asciidoc/dblatex/asciidoc-dblatex.xsl +42 -0
  23. data/asciidoc/doc/a2x.1 +559 -102
  24. data/asciidoc/doc/a2x.1.txt +233 -91
  25. data/asciidoc/doc/article-docinfo.xml +87 -0
  26. data/asciidoc/doc/article.pdf +0 -0
  27. data/asciidoc/doc/article.txt +139 -122
  28. data/asciidoc/doc/asciidoc.1 +157 -46
  29. data/asciidoc/doc/asciidoc.1.txt +171 -118
  30. data/asciidoc/doc/asciidoc.conf +7 -8
  31. data/asciidoc/doc/asciidoc.dict +960 -635
  32. data/asciidoc/doc/asciidoc.txt +2335 -1464
  33. data/asciidoc/doc/asciidocapi.txt +189 -0
  34. data/asciidoc/doc/asciimathml.txt +14 -17
  35. data/asciidoc/doc/book-multi.txt +181 -155
  36. data/asciidoc/doc/book.epub +0 -0
  37. data/asciidoc/doc/book.txt +156 -131
  38. data/asciidoc/doc/customers.csv +18 -18
  39. data/asciidoc/doc/epub-notes.txt +210 -0
  40. data/asciidoc/doc/faq.txt +1122 -547
  41. data/asciidoc/doc/latex-backend.txt +192 -191
  42. data/asciidoc/doc/latex-bugs.txt +134 -0
  43. data/asciidoc/doc/latex-filter.pdf +0 -0
  44. data/asciidoc/doc/latex-filter.txt +196 -0
  45. data/asciidoc/doc/latexmath.txt +13 -136
  46. data/asciidoc/doc/latexmathml.txt +2 -2
  47. data/asciidoc/doc/main.aap +233 -297
  48. data/asciidoc/doc/music-filter.pdf +0 -0
  49. data/asciidoc/doc/music-filter.txt +55 -65
  50. data/asciidoc/doc/publishing-ebooks-with-asciidoc.txt +398 -0
  51. data/asciidoc/doc/slidy-example.txt +167 -0
  52. data/asciidoc/doc/slidy.txt +113 -0
  53. data/asciidoc/doc/source-highlight-filter.pdf +0 -0
  54. data/asciidoc/doc/source-highlight-filter.txt +45 -20
  55. data/asciidoc/doc/testasciidoc.txt +231 -0
  56. data/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt +30 -8
  57. data/asciidoc/docbook-xsl/chunked.xsl +17 -19
  58. data/asciidoc/docbook-xsl/common.xsl +106 -67
  59. data/asciidoc/docbook-xsl/epub.xsl +35 -0
  60. data/asciidoc/docbook-xsl/fo.xsl +3 -0
  61. data/asciidoc/docbook-xsl/htmlhelp.xsl +16 -17
  62. data/asciidoc/docbook-xsl/manpage.xsl +31 -31
  63. data/asciidoc/docbook-xsl/text.xsl +6 -1
  64. data/asciidoc/docbook-xsl/xhtml.xsl +14 -14
  65. data/asciidoc/docbook45.conf +759 -0
  66. data/asciidoc/filters/code/code-filter-readme.txt +37 -37
  67. data/asciidoc/filters/code/code-filter-test.txt +15 -15
  68. data/asciidoc/filters/code/code-filter.conf +8 -8
  69. data/asciidoc/filters/graphviz/asciidoc-graphviz-sample.txt +104 -64
  70. data/asciidoc/filters/graphviz/graphviz-filter.conf +20 -16
  71. data/asciidoc/filters/graphviz/graphviz2png.py +54 -39
  72. data/asciidoc/filters/latex/latex-filter.conf +18 -0
  73. data/asciidoc/filters/latex/latex2png.py +216 -0
  74. data/asciidoc/filters/music/music-filter.conf +8 -17
  75. data/asciidoc/filters/music/music2png.py +40 -32
  76. data/asciidoc/filters/source/source-highlight-filter.conf +40 -34
  77. data/asciidoc/help.conf +261 -96
  78. data/asciidoc/html4.conf +505 -460
  79. data/asciidoc/html5.conf +686 -0
  80. data/asciidoc/images/highlighter.png +0 -0
  81. data/asciidoc/images/icons/caution.png +0 -0
  82. data/asciidoc/images/icons/example.png +0 -0
  83. data/asciidoc/images/icons/important.png +0 -0
  84. data/asciidoc/images/icons/note.png +0 -0
  85. data/asciidoc/images/icons/tip.png +0 -0
  86. data/asciidoc/images/icons/warning.png +0 -0
  87. data/asciidoc/images/smallnew.png +0 -0
  88. data/asciidoc/javascripts/asciidoc.js +189 -0
  89. data/asciidoc/javascripts/slidy.js +2845 -0
  90. data/asciidoc/javascripts/toc.js +8 -0
  91. data/asciidoc/lang-de.conf +57 -0
  92. data/asciidoc/lang-en.conf +54 -0
  93. data/asciidoc/lang-es.conf +49 -9
  94. data/asciidoc/lang-fr.conf +59 -0
  95. data/asciidoc/lang-hu.conf +55 -0
  96. data/asciidoc/lang-it.conf +55 -0
  97. data/asciidoc/lang-nl.conf +57 -0
  98. data/asciidoc/lang-pt-BR.conf +56 -0
  99. data/asciidoc/lang-ru.conf +60 -0
  100. data/asciidoc/lang-uk.conf +60 -0
  101. data/asciidoc/latex.conf +700 -663
  102. data/asciidoc/main.aap +77 -0
  103. data/asciidoc/slidy.conf +136 -0
  104. data/asciidoc/{examples/website/xhtml11-manpage.css → stylesheets/asciidoc-manpage.css} +1 -1
  105. data/asciidoc/stylesheets/asciidoc.css +508 -0
  106. data/asciidoc/stylesheets/docbook-xsl.css +322 -272
  107. data/asciidoc/stylesheets/flask-manpage.css +1 -0
  108. data/asciidoc/stylesheets/flask.css +584 -0
  109. data/asciidoc/stylesheets/pygments.css +66 -0
  110. data/asciidoc/stylesheets/slidy.css +445 -0
  111. data/asciidoc/stylesheets/toc2.css +33 -0
  112. data/asciidoc/stylesheets/volnitsky-manpage.css +1 -0
  113. data/asciidoc/stylesheets/volnitsky.css +435 -0
  114. data/asciidoc/stylesheets/xhtml11-quirks.css +5 -3
  115. data/asciidoc/tests/asciidocapi.py +257 -0
  116. data/asciidoc/tests/data/deprecated-quotes.txt +12 -0
  117. data/asciidoc/tests/data/filters-test.txt +90 -0
  118. data/asciidoc/tests/data/lang-de-test.txt +106 -0
  119. data/asciidoc/tests/data/lang-en-test.txt +114 -0
  120. data/asciidoc/tests/data/lang-es-test.txt +106 -0
  121. data/asciidoc/tests/data/lang-fr-test.txt +106 -0
  122. data/asciidoc/tests/data/lang-hu-test.txt +106 -0
  123. data/asciidoc/tests/data/lang-nl-test.txt +94 -0
  124. data/asciidoc/tests/data/lang-pt-BR-test.txt +106 -0
  125. data/asciidoc/tests/data/lang-ru-test.txt +106 -0
  126. data/asciidoc/tests/data/lang-uk-test.txt +106 -0
  127. data/asciidoc/tests/data/oldtables.txt +64 -0
  128. data/asciidoc/tests/data/rcs-id-marker-test.txt +6 -0
  129. data/asciidoc/tests/data/testcases.conf +2 -0
  130. data/asciidoc/tests/data/testcases.txt +740 -0
  131. data/asciidoc/tests/data/utf8-bom-test.txt +9 -0
  132. data/asciidoc/tests/data/utf8-examples.txt +217 -0
  133. data/asciidoc/tests/testasciidoc.conf +520 -0
  134. data/asciidoc/tests/testasciidoc.py +411 -0
  135. data/asciidoc/text.conf +16 -16
  136. data/asciidoc/vim/syntax/asciidoc.vim +99 -91
  137. data/asciidoc/wordpress.conf +43 -3
  138. data/asciidoc/xhtml11-quirks.conf +61 -57
  139. data/asciidoc/xhtml11.conf +684 -645
  140. data/lib/mizuho.rb +2 -0
  141. data/lib/mizuho/generator.rb +2 -2
  142. data/test/generator_spec.rb +1 -1
  143. data/test/parser_spec.rb +1 -1
  144. data/test/spec_helper.rb +3 -4
  145. metadata +87 -88
  146. data/asciidoc/a2x +0 -674
  147. data/asciidoc/doc/article.css-embedded.html +0 -602
  148. data/asciidoc/doc/article.html +0 -46
  149. data/asciidoc/doc/asciidoc-revhistory.xml +0 -27
  150. data/asciidoc/doc/asciidoc.1.css-embedded.html +0 -598
  151. data/asciidoc/doc/asciidoc.1.css.html +0 -212
  152. data/asciidoc/doc/asciidoc.1.html +0 -190
  153. data/asciidoc/doc/asciidoc.css-embedded.html +0 -7853
  154. data/asciidoc/doc/asciidoc.css.html +0 -7416
  155. data/asciidoc/doc/asciidoc.html +0 -3339
  156. data/asciidoc/doc/book-multi.css-embedded.html +0 -575
  157. data/asciidoc/doc/book-multi.html +0 -55
  158. data/asciidoc/doc/book.css-embedded.html +0 -607
  159. data/asciidoc/doc/book.html +0 -43
  160. data/asciidoc/doc/docbook-xsl.css +0 -272
  161. data/asciidoc/doc/latex-backend.html +0 -117
  162. data/asciidoc/doc/music-filter.html +0 -566
  163. data/asciidoc/doc/source-highlight-filter.html +0 -214
  164. data/asciidoc/docbook.conf +0 -721
  165. data/asciidoc/examples/website/ASCIIMathML.js +0 -938
  166. data/asciidoc/examples/website/CHANGELOG.html +0 -4389
  167. data/asciidoc/examples/website/CHANGELOG.txt +0 -1810
  168. data/asciidoc/examples/website/INSTALL.html +0 -161
  169. data/asciidoc/examples/website/INSTALL.txt +0 -71
  170. data/asciidoc/examples/website/LaTeXMathML.js +0 -1223
  171. data/asciidoc/examples/website/README-website.html +0 -118
  172. data/asciidoc/examples/website/README-website.txt +0 -29
  173. data/asciidoc/examples/website/README.html +0 -125
  174. data/asciidoc/examples/website/README.txt +0 -36
  175. data/asciidoc/examples/website/a2x.1.html +0 -419
  176. data/asciidoc/examples/website/a2x.1.txt +0 -204
  177. data/asciidoc/examples/website/asciidoc-docbook-xsl.html +0 -130
  178. data/asciidoc/examples/website/asciidoc-docbook-xsl.txt +0 -43
  179. data/asciidoc/examples/website/asciidoc-graphviz-sample.txt +0 -130
  180. data/asciidoc/examples/website/asciimathml.txt +0 -64
  181. data/asciidoc/examples/website/build-website.sh +0 -25
  182. data/asciidoc/examples/website/customers.csv +0 -18
  183. data/asciidoc/examples/website/downloads.html +0 -257
  184. data/asciidoc/examples/website/downloads.txt +0 -121
  185. data/asciidoc/examples/website/faq.html +0 -673
  186. data/asciidoc/examples/website/faq.txt +0 -547
  187. data/asciidoc/examples/website/index.html +0 -419
  188. data/asciidoc/examples/website/index.txt +0 -245
  189. data/asciidoc/examples/website/latex-backend.html +0 -535
  190. data/asciidoc/examples/website/latex-backend.txt +0 -191
  191. data/asciidoc/examples/website/latexmathml.txt +0 -41
  192. data/asciidoc/examples/website/layout1.conf +0 -161
  193. data/asciidoc/examples/website/layout1.css +0 -65
  194. data/asciidoc/examples/website/layout2.conf +0 -158
  195. data/asciidoc/examples/website/layout2.css +0 -93
  196. data/asciidoc/examples/website/manpage.html +0 -266
  197. data/asciidoc/examples/website/manpage.txt +0 -118
  198. data/asciidoc/examples/website/music-filter.html +0 -242
  199. data/asciidoc/examples/website/music-filter.txt +0 -158
  200. data/asciidoc/examples/website/music1.abc +0 -12
  201. data/asciidoc/examples/website/music1.png +0 -0
  202. data/asciidoc/examples/website/music2.ly +0 -9
  203. data/asciidoc/examples/website/music2.png +0 -0
  204. data/asciidoc/examples/website/newlists.txt +0 -40
  205. data/asciidoc/examples/website/newtables.txt +0 -397
  206. data/asciidoc/examples/website/sample1.png +0 -0
  207. data/asciidoc/examples/website/sample3.png +0 -0
  208. data/asciidoc/examples/website/sample4.png +0 -0
  209. data/asciidoc/examples/website/source-highlight-filter.html +0 -286
  210. data/asciidoc/examples/website/source-highlight-filter.txt +0 -203
  211. data/asciidoc/examples/website/support.html +0 -78
  212. data/asciidoc/examples/website/support.txt +0 -5
  213. data/asciidoc/examples/website/toc.js +0 -69
  214. data/asciidoc/examples/website/userguide.html +0 -7460
  215. data/asciidoc/examples/website/userguide.txt +0 -4979
  216. data/asciidoc/examples/website/version83.txt +0 -37
  217. data/asciidoc/examples/website/version9.html +0 -143
  218. data/asciidoc/examples/website/version9.txt +0 -48
  219. data/asciidoc/examples/website/xhtml11-quirks.css +0 -41
  220. data/asciidoc/examples/website/xhtml11.css +0 -328
  221. data/asciidoc/stylesheets/xhtml11-manpage.css +0 -18
  222. data/asciidoc/stylesheets/xhtml11.css +0 -328
@@ -0,0 +1,759 @@
1
+ #
2
+ # docbook45.conf
3
+ #
4
+ # Asciidoc DocBook 4.5 configuration file.
5
+ #
6
+
7
+ [miscellaneous]
8
+ outfilesuffix=.xml
9
+ # Printable page width and units.
10
+ # Used to calculate DocBook CALS tables absolute column and table widths.
11
+ pagewidth=425
12
+ pageunits=*
13
+
14
+ [attributes]
15
+ basebackend=docbook
16
+ basebackend-docbook=
17
+ basebackend-docbook45=
18
+ # For backward compatibility (docbook backend was renamed to docbook45 at 8.6.2)
19
+ backend-docbook=
20
+ # toc and numbered are set to maintain original default behavior.
21
+ toc=
22
+ numbered=
23
+
24
+ [replacements2]
25
+ # Line break markup. Custom processing instruction in fo.xsl.
26
+ (?m)^(.*)\s\+$=\1<?asciidoc-br?>
27
+
28
+ [replacements]
29
+ ifdef::asciidoc7compatible[]
30
+ # Superscripts.
31
+ \^(.+?)\^=<superscript>\1</superscript>
32
+ # Subscripts.
33
+ ~(.+?)~=<subscript>\1</subscript>
34
+ endif::asciidoc7compatible[]
35
+
36
+ [ruler-blockmacro]
37
+ # Uses custom processing instructions in fo.xsl and asciidoc-dblatex.xsl.
38
+ <simpara><?asciidoc-hr?></simpara>
39
+
40
+ [pagebreak-blockmacro]
41
+ # Uses custom processing instructions in fo.xsl and asciidoc-dblatex.xsl.
42
+ <simpara><?asciidoc-pagebreak?></simpara>
43
+
44
+ [blockdef-pass]
45
+ latexmath-style=template="latexmathblock",subs=[]
46
+
47
+ [macros]
48
+ # math macros.
49
+ (?su)[\\]?(?P<name>latexmath):(?P<subslist>\S*?)\[(?P<passtext>.*?)(?<!\\)\]=[]
50
+ (?u)^(?P<name>latexmath)::(?P<subslist>\S*?)(\[(?P<passtext>.*?)\])$=#[]
51
+
52
+ [latexmath-inlinemacro]
53
+ <inlineequation>
54
+ <alt><![CDATA[{passtext}]]></alt>
55
+ <inlinemediaobject><textobject><phrase></phrase></textobject></inlinemediaobject>
56
+ </inlineequation>
57
+
58
+ [latexmath-blockmacro]
59
+ <informalequation>
60
+ <alt><![CDATA[{passtext}]]></alt>
61
+ <mediaobject><textobject><phrase></phrase></textobject></mediaobject>
62
+ </informalequation>
63
+
64
+ [latexmathblock]
65
+ <equation{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}><title>{title}</title>
66
+ {title%}<informalequation{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
67
+ <alt><![CDATA[|]]></alt>
68
+ <mediaobject><textobject><phrase></phrase></textobject></mediaobject>
69
+ {title#}</equation>
70
+ {title%}</informalequation>
71
+
72
+ [image-inlinemacro]
73
+ <inlinemediaobject>
74
+ <imageobject>
75
+ <imagedata fileref="{imagesdir=}{imagesdir?/}{target}"{width? contentwidth="{width}"}{height? contentdepth="{height}"}{scale? scale="{scale}"}/>
76
+ </imageobject>
77
+ <textobject><phrase>{alt={target}}</phrase></textobject>
78
+ </inlinemediaobject>
79
+
80
+ [image-blockmacro]
81
+ <figure{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}{pgwide-option? pgwide="1"}><title>{title}</title>
82
+ {title%}<informalfigure{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>{pgwide-option?<?dbfo pgwide="1"?>}
83
+ # DocBook XSL Stylesheets custom processing instructions.
84
+ <?dbfo keep-together="{breakable-option#auto}"?>
85
+ <?dbfo keep-together="{unbreakable-option#always}"?>
86
+ <mediaobject>
87
+ <imageobject>
88
+ <imagedata fileref="{imagesdir=}{imagesdir?/}{target}"{width? contentwidth="{width}"}{height? contentdepth="{height}"}{scale? scale="{scale}"}{scaledwidth? width="{scaledwidth}" scalefit="1"}{align? align="{align}"}/>
89
+ </imageobject>
90
+ <textobject><phrase>{alt={target}}</phrase></textobject>
91
+ </mediaobject>
92
+ {title#}</figure>
93
+ {title%}</informalfigure>
94
+
95
+ [indexterm-inlinemacro]
96
+ # Index term.
97
+ # Generate separate index entries for primary, secondary and tertiary
98
+ # descriptions.
99
+ # Primary only.
100
+ {2%}<indexterm>
101
+ {2%} <primary>{1}</primary>
102
+ {2%}</indexterm>
103
+ # Primary and secondary.
104
+ {2#}{3%}<indexterm>
105
+ {2#}{3%} <primary>{1}</primary><secondary>{2}</secondary>
106
+ {2#}{3%}</indexterm>
107
+ {2#}{3%}<indexterm>
108
+ {2#}{3%} <primary>{2}</primary>
109
+ {2#}{3%}</indexterm>
110
+ # Primary, secondary and tertiary.
111
+ {3#}<indexterm>
112
+ <primary>{1}</primary><secondary>{2}</secondary><tertiary>{3}</tertiary>
113
+ {3#}</indexterm>
114
+ {3#}<indexterm>
115
+ <primary>{2}</primary><secondary>{3}</secondary>
116
+ {3#}</indexterm>
117
+ {3#}<indexterm>
118
+ <primary>{3}</primary>
119
+ {3#}</indexterm>
120
+
121
+ [indexterm2-inlinemacro]
122
+ # Index term.
123
+ # Single entry index term that is visible in the primary text flow.
124
+ <indexterm><primary>{1}</primary></indexterm>{1}
125
+
126
+ [footnote-inlinemacro]
127
+ # Footnote.
128
+ <footnote><simpara>{0}</simpara></footnote>
129
+
130
+ [footnoteref-inlinemacro]
131
+ # Footnote reference.
132
+ {2#}<footnote id="{1}"><simpara>{2}</simpara></footnote>
133
+ {2%}<footnoteref linkend="{1}" />
134
+
135
+ [callout-inlinemacro]
136
+ # Callout.
137
+ <co id="{coid}"/>
138
+
139
+ # List tags.
140
+ [listtags-bulleted]
141
+ list=<itemizedlist{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}{compact-option? spacing="compact"}>{unbreakable-option? <?dbfo keep-together="{unbreakable-option#always}"?>}{title?<title>{title}</title>}|</itemizedlist>
142
+ item=<listitem>|</listitem>
143
+ text=<simpara>|</simpara>
144
+
145
+ [listtags-numbered]
146
+ list=<orderedlist{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"} numeration="{style}"{compact-option? spacing="compact"}>{unbreakable-option? <?dbfo keep-together="{unbreakable-option#always}"?>}{title?<title>{title}</title>}{start?<?dbfo start="{start}"?><?dbhtml start="{start}"?>}|</orderedlist>
147
+ item=<listitem>|</listitem>
148
+ text=<simpara>|</simpara>
149
+
150
+ [listtags-labeled]
151
+ list=<variablelist{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>{title?<title>{title}</title>}|</variablelist>
152
+ entry=<varlistentry>|</varlistentry>
153
+ label=
154
+ term=<term>|</term>
155
+ item=<listitem>|</listitem>
156
+ text=<simpara>|</simpara>
157
+
158
+ [listtags-horizontal]
159
+ # Horizontal labeled list (implemented with two column table).
160
+ # Hardwired column widths to 30%,70% because the current crop of PDF
161
+ # generators do not auto calculate column widths.
162
+ list=<{title?table}{title!informaltable}{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}{style? tabstyle="{style}"}{pgwide-option? pgwide="1"} frame="none" colsep="0" rowsep="0">{title?<title>{title}</title>}<tgroup cols="2"><colspec colwidth="{labelwidth=15}*"/><colspec colwidth="{itemwidth=85}*"/><tbody valign="top">|</tbody></tgroup><{title?/table}{title!/informaltable}>
163
+ entry=<row>|</row>
164
+ label=<entry>|</entry>
165
+ term=<simpara>|</simpara>
166
+ item=<entry>|</entry>
167
+ text=<simpara>|</simpara>
168
+
169
+ [listtags-callout]
170
+ list=<calloutlist{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>{title?<title>{title}</title>}|</calloutlist>
171
+ item=<callout arearefs="{coids}">|</callout>
172
+ text=<para>|</para>
173
+
174
+ [listtags-qanda]
175
+ list=<qandaset{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>{title?<title>{title}</title>}|</qandaset>
176
+ entry=<qandaentry>|</qandaentry>
177
+ label=<question>|</question>
178
+ term=<simpara>|</simpara>
179
+ item=<answer>|</answer>
180
+ text=<simpara>|</simpara>
181
+
182
+ [listtags-bibliography]
183
+ list=<bibliodiv{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>{title?<title>{title}</title>}|</bibliodiv>
184
+ item=<bibliomixed>|</bibliomixed>
185
+ text=<bibliomisc>|</bibliomisc>
186
+
187
+ [listtags-glossary]
188
+ list=
189
+ entry=<glossentry>|</glossentry>
190
+ label=
191
+ term=<glossterm>|</glossterm>
192
+ item=<glossdef>|</glossdef>
193
+ text=<simpara>|</simpara>
194
+
195
+ [tags]
196
+ # Quoted text
197
+ emphasis=<emphasis>{1?<phrase role="{1}">}|{1?</phrase>}</emphasis>
198
+ strong=<emphasis role="strong">{1?<phrase role="{1}">}|{1?</phrase>}</emphasis>
199
+ monospaced=<literal>{1?<phrase role="{1}">}|{1?</phrase>}</literal>
200
+ singlequoted={lsquo}{1?<phrase role="{1}">}|{1?</phrase>}{rsquo}
201
+ doublequoted={ldquo}{1?<phrase role="{1}">}|{1?</phrase>}{rdquo}
202
+ unquoted={1?<phrase role="{1}">}|{1?</phrase>}
203
+ subscript=<subscript>{1?<phrase role="{1}">}|{1?</phrase>}</subscript>
204
+ superscript=<superscript>{1?<phrase role="{1}">}|{1?</phrase>}</superscript>
205
+
206
+ ifdef::deprecated-quotes[]
207
+ # Override with deprecated quote attributes.
208
+ emphasis={role?<phrase role="{role}">}<emphasis>|</emphasis>{role?</phrase>}
209
+ strong={role?<phrase role="{role}">}<emphasis role="strong">|</emphasis>{role?</phrase>}
210
+ monospaced={role?<phrase role="{role}">}<literal>|</literal>{role?</phrase>}
211
+ singlequoted={role?<phrase role="{role}">}{amp}#8216;|{amp}#8217;{role?</phrase>}
212
+ doublequoted={role?<phrase role="{role}">}{amp}#8220;|{amp}#8221;{role?</phrase>}
213
+ unquoted={role?<phrase role="{role}">}|{role?</phrase>}
214
+ subscript={role?<phrase role="{role}">}<subscript>|</subscript>{role?</phrase>}
215
+ superscript={role?<phrase role="{role}">}<superscript>|</superscript>{role?</phrase>}
216
+ endif::deprecated-quotes[]
217
+
218
+ # Inline macros
219
+ [http-inlinemacro]
220
+ <ulink url="{name}:{target}">{0={name}:{target}}</ulink>
221
+ [https-inlinemacro]
222
+ <ulink url="{name}:{target}">{0={name}:{target}}</ulink>
223
+ [ftp-inlinemacro]
224
+ <ulink url="{name}:{target}">{0={name}:{target}}</ulink>
225
+ [file-inlinemacro]
226
+ <ulink url="{name}:{target}">{0={name}:{target}}</ulink>
227
+ [irc-inlinemacro]
228
+ <ulink url="{name}:{target}">{0={name}:{target}}</ulink>
229
+ [mailto-inlinemacro]
230
+ <ulink url="mailto:{target}">{0={target}}</ulink>
231
+ [callto-inlinemacro]
232
+ <ulink url="{name}:{target}">{0={target}}</ulink>
233
+ [link-inlinemacro]
234
+ <ulink url="{target}">{0={target}}</ulink>
235
+ # anchor:id[text]
236
+ [anchor-inlinemacro]
237
+ <anchor id="{target}" xreflabel="{0=[{target}]}"/>
238
+ # [[id,text]]
239
+ [anchor2-inlinemacro]
240
+ <anchor id="{1}" xreflabel="{2=[{1}]}"/>
241
+ # [[[id]]]
242
+ [anchor3-inlinemacro]
243
+ <anchor id="{1}" xreflabel="[{1}]"/>[{1}]
244
+ # xref:id[text]
245
+ [xref-inlinemacro]
246
+ <link linkend="{target}">{0}</link>
247
+ {2%}<xref linkend="{target}"/>
248
+ # <<id,text>>
249
+ [xref2-inlinemacro]
250
+ <link linkend="{1}">{2}</link>
251
+ {2%}<xref linkend="{1}"/>
252
+ # // comment line
253
+ [comment-inlinemacro]
254
+ {showcomments#}<remark>{passtext}</remark>
255
+
256
+ [comment-blockmacro]
257
+ {showcomments#}<remark>{passtext}</remark>
258
+
259
+ [literal-inlinemacro]
260
+ # Inline literal.
261
+ <literal>{passtext}</literal>
262
+
263
+ # Special word macros
264
+ [emphasizedwords]
265
+ <emphasis>{words}</emphasis>
266
+ [monospacedwords]
267
+ <literal>{words}</literal>
268
+ [strongwords]
269
+ <emphasis role="strong">{words}</emphasis>
270
+
271
+ # Paragraph substitution.
272
+ [paragraph]
273
+ <formalpara{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}><title>{title}</title><para>
274
+ {title%}<simpara{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
275
+ |
276
+ {title%}</simpara>
277
+ {title#}</para></formalpara>
278
+ {empty}
279
+
280
+ [admonitionparagraph]
281
+ <{name}{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}><simpara>|</simpara></{name}>
282
+
283
+ # Delimited blocks.
284
+ [literalblock]
285
+ <formalpara{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}><title>{title}</title><para>
286
+ {title#}<literallayout class="monospaced">
287
+ {title%}<literallayout{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"} class="monospaced">
288
+ |
289
+ </literallayout>
290
+ {title#}</para></formalpara>
291
+
292
+ [listingblock]
293
+ <formalpara{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}><title>{title}</title><para>
294
+ {title#}<screen>
295
+ {title%}<screen{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
296
+ |
297
+ </screen>
298
+ {title#}</para></formalpara>
299
+
300
+ [sidebarblock]
301
+ <sidebar{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
302
+ <title>{title}</title>
303
+ |
304
+ </sidebar>
305
+
306
+ [abstractblock]
307
+ <abstract{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
308
+ <title>{title}</title>
309
+ |
310
+ </abstract>
311
+
312
+ [openblock]
313
+ |
314
+
315
+ [partintroblock]
316
+ <partintro{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
317
+ <title>{title}</title>
318
+ |
319
+ </partintro>
320
+
321
+ [quote-header]
322
+ # Common quote and verse element template.
323
+ <blockquote{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
324
+ <title>{title}</title>
325
+ # Include attribution only if either {attribution} or {citetitle} is defined.
326
+ {attribution#}<attribution>
327
+ {attribution%}{citetitle#}<attribution>
328
+ {attribution}
329
+ <citetitle>{citetitle}</citetitle>
330
+ {attribution#}</attribution>
331
+ {attribution%}{citetitle#}</attribution>
332
+
333
+ [quoteblock]
334
+ template::[quote-header]
335
+ |
336
+ </blockquote>
337
+
338
+ [verseblock]
339
+ template::[quote-header]
340
+ <literallayout>
341
+ |
342
+ </literallayout>
343
+ </blockquote>
344
+
345
+ [quoteparagraph]
346
+ template::[quote-header]
347
+ <simpara>
348
+ |
349
+ </simpara>
350
+ </blockquote>
351
+
352
+ [exampleblock]
353
+ <{title?example}{title!informalexample}{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
354
+ # DocBook XSL Stylesheets custom processing instructions.
355
+ <?dbfo keep-together="{breakable-option#auto}"?>
356
+ <?dbfo keep-together="{unbreakable-option#always}"?>
357
+ <title>{title}</title>
358
+ |
359
+ </{title?example}{title!informalexample}>
360
+
361
+ [admonitionblock]
362
+ <{name}{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
363
+ <title>{title}</title>
364
+ |
365
+ </{name}>
366
+
367
+ # Tables.
368
+ [tabletags-default]
369
+ colspec=<colspec colname="col_{colnumber}" colwidth="{width!{colpcwidth}*}{width?{colabswidth}{pageunits}}"/>
370
+ bodyrow=<row>|</row>
371
+ headdata=<entry align="{halign}" valign="{valign}"{colspan@1:: namest="col_{colstart}" nameend="col_{colend}"}{morerows@0:: morerows="{morerows}"}>|</entry>
372
+ bodydata=<entry align="{halign}" valign="{valign}"{colspan@1:: namest="col_{colstart}" nameend="col_{colend}"}{morerows@0:: morerows="{morerows}"}>|</entry>
373
+ paragraph=<simpara>|</simpara>
374
+
375
+ [tabletags-emphasis]
376
+ paragraph=<simpara><emphasis>|</emphasis></simpara>
377
+
378
+ [tabletags-header]
379
+ paragraph=<simpara><emphasis role="strong">|</emphasis></simpara>
380
+
381
+ [tabletags-strong]
382
+ paragraph=<simpara><emphasis role="strong">|</emphasis></simpara>
383
+
384
+ [tabletags-monospaced]
385
+ paragraph=<simpara><literal>|</literal></simpara>
386
+
387
+ [tabletags-verse]
388
+ bodydata=<entry align="{halign}" valign="{valign}"{colspan@1:: namest="col_{colstart}" nameend="col_{colend}"}{morerows@0:: morerows="{morerows}"}><literallayout>|</literallayout></entry>
389
+ paragraph=
390
+
391
+ [tabletags-literal]
392
+ bodydata=<entry align="{halign}" valign="{valign}"{colspan@1:: namest="col_{colstart}" nameend="col_{colend}"}{morerows@0:: morerows="{morerows}"}><literallayout class="monospaced">|</literallayout></entry>
393
+ paragraph=
394
+
395
+ [tabletags-asciidoc]
396
+ paragraph=
397
+
398
+ [table]
399
+ <{title?table}{title!informaltable}{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}{pgwide-option? pgwide="1"}
400
+ frame="{frame=all}"
401
+ {grid%rowsep="1" colsep="1"}
402
+ rowsep="{grid@none|cols:0:1}" colsep="{grid@none|rows:0:1}"
403
+ >
404
+ <title>{title}</title>
405
+ # DocBook XSL Stylesheets custom processing instructions.
406
+ <?dbhtml table-width="{width}"?>
407
+ <?dbfo table-width="{width}"?>
408
+ <?dblatex table-width="{width}"?>
409
+ <?dbfo keep-together="{breakable-option#auto}"?>
410
+ <?dbfo keep-together="{unbreakable-option#always}"?>
411
+ <tgroup cols="{colcount}">
412
+ {colspecs}
413
+ {headrows#}<thead>
414
+ {headrows}
415
+ {headrows#}</thead>
416
+ {footrows#}<tfoot>
417
+ {footrows}
418
+ {footrows#}</tfoot>
419
+ <tbody>
420
+ {bodyrows}
421
+ </tbody>
422
+ </tgroup>
423
+ </{title?table}{title!informaltable}>
424
+
425
+ #--------------------------------------------------------------------
426
+ # Deprecated old table definitions.
427
+ #
428
+
429
+ [old_tabledef-default]
430
+ template=old_table
431
+ colspec=<colspec colwidth="{colwidth}{pageunits}" align="{colalign}"/>
432
+ bodyrow=<row>|</row>
433
+ bodydata=<entry>|</entry>
434
+
435
+ [old_table]
436
+ <{title?table}{title!informaltable}{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"} pgwide="0"
437
+ frame="{frame=topbot}"
438
+ {grid%rowsep="0" colsep="0"}
439
+ rowsep="{grid@none|cols:0:1}" colsep="{grid@none|rows:0:1}"
440
+ >
441
+ <title>{title}</title>
442
+ <tgroup cols="{cols}">
443
+ {colspecs}
444
+ {headrows#}<thead>
445
+ {headrows}
446
+ {headrows#}</thead>
447
+ {footrows#}<tfoot>
448
+ {footrows}
449
+ {footrows#}</tfoot>
450
+ <tbody>
451
+ {bodyrows}
452
+ </tbody>
453
+ </tgroup>
454
+ </{title?table}{title!informaltable}>
455
+
456
+ # End of deprecated old table definitions.
457
+ #--------------------------------------------------------------------
458
+
459
+ # Special sections.
460
+ [preface]
461
+ <preface{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
462
+ <title>{title=}</title>
463
+ |
464
+ </preface>
465
+
466
+ [index]
467
+ <index{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
468
+ <title>{title}</title>
469
+ |
470
+ </index>
471
+
472
+ [bibliography]
473
+ <bibliography{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
474
+ <title>{title}</title>
475
+ |
476
+ </bibliography>
477
+
478
+ [glossary]
479
+ <glossary{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
480
+ <title>{title}</title>
481
+ |
482
+ </glossary>
483
+
484
+ [appendix]
485
+ <appendix{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
486
+ <title>{title}</title>
487
+ |
488
+ </appendix>
489
+
490
+ [floatingtitle]
491
+ <bridgehead{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"} renderas="sect{level}">{title}</bridgehead>
492
+
493
+
494
+ [header-declarations]
495
+ <?xml version="1.0" encoding="{encoding}"?>
496
+ <!DOCTYPE {doctype-article?article}{doctype-book?book}{doctype-manpage?refentry} PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
497
+ {toc#}<?asciidoc-toc?>
498
+ {numbered#}<?asciidoc-numbered?>
499
+
500
+ [docinfo]
501
+ {notitle%} <title>{doctitle}</title>
502
+ <date>{revdate}</date>
503
+ # To ensure valid articleinfo/bookinfo when there is no AsciiDoc header.
504
+ {doctitle%}{revdate%}<date>{docdate}</date>
505
+ {authored#}<author>
506
+ <firstname>{firstname}</firstname>
507
+ <othername>{middlename}</othername>
508
+ <surname>{lastname}</surname>
509
+ <email>{email}</email>
510
+ {authored#}</author>
511
+ <authorinitials>{authorinitials}</authorinitials>
512
+ <revhistory><revision>{revnumber?<revnumber>{revnumber}</revnumber>}<date>{revdate}</date>{authorinitials?<authorinitials>{authorinitials}</authorinitials>}{revremark?<revremark>{revremark}</revremark>}</revision></revhistory>
513
+ {docinfo1,docinfo2#}{include:{docdir}/docinfo.xml}
514
+ {docinfo,docinfo2#}{include:{docdir}/{docname}-docinfo.xml}
515
+ # DEPRECATED: Use docinfo.
516
+ {revisionhistory#}{include:{docdir}/{docname}-revhistory.xml}
517
+ # DEPRECATED: Use orgname in preference to companyname.
518
+ <orgname>{companyname}</orgname>
519
+ # DEPRECATED: Use orgname in preference to corpname.
520
+ <orgname>{corpname}</orgname>
521
+ <orgname>{orgname}</orgname>
522
+
523
+ #-------------------------
524
+ # article document type
525
+ #-------------------------
526
+ ifdef::doctype-article[]
527
+
528
+ [header]
529
+ template::[header-declarations]
530
+
531
+ <article lang="{lang=en}">
532
+ <articleinfo>
533
+ template::[docinfo]
534
+ </articleinfo>
535
+
536
+ [footer]
537
+ </article>
538
+
539
+ [preamble]
540
+ # Untitled elements between header and first section title.
541
+ |
542
+
543
+ [abstract]
544
+ <abstract{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
545
+ |
546
+ </abstract>
547
+
548
+ [sect1]
549
+ <section{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
550
+ <title>{title}</title>
551
+ |
552
+ </section>
553
+
554
+ [sect2]
555
+ <section{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
556
+ <title>{title}</title>
557
+ |
558
+ </section>
559
+
560
+ [sect3]
561
+ <section{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
562
+ <title>{title}</title>
563
+ |
564
+ </section>
565
+
566
+ [sect4]
567
+ <section{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
568
+ <title>{title}</title>
569
+ |
570
+ </section>
571
+
572
+ endif::doctype-article[]
573
+
574
+ #-------------------------
575
+ # manpage document type
576
+ #-------------------------
577
+ ifdef::doctype-manpage[]
578
+
579
+ [replacements]
580
+ # The roff format does not substitute special characters so just print them as
581
+ # text.
582
+ \(C\)=(C)
583
+ \(TM\)=(TM)
584
+
585
+ [header]
586
+ template::[header-declarations]
587
+ <refentry lang="{lang=en}">
588
+ <refentryinfo>
589
+ template::[docinfo]
590
+ </refentryinfo>
591
+ <refmeta>
592
+ <refentrytitle>{mantitle}</refentrytitle>
593
+ <manvolnum>{manvolnum}</manvolnum>
594
+ # Default source and manual to suppress DocBook XSL warnings.
595
+ <refmiscinfo class="source">{mansource=&#160;}</refmiscinfo>
596
+ <refmiscinfo class="manual">{manmanual=&#160;}</refmiscinfo>
597
+ <refmiscinfo class="version">{manversion={revnumber}}</refmiscinfo>
598
+ </refmeta>
599
+ <refnamediv>
600
+ <refname>{manname1}</refname>
601
+ <refname>{manname2}</refname>
602
+ <refname>{manname3}</refname>
603
+ <refname>{manname4}</refname>
604
+ <refname>{manname5}</refname>
605
+ <refname>{manname6}</refname>
606
+ <refname>{manname7}</refname>
607
+ <refname>{manname8}</refname>
608
+ <refname>{manname9}</refname>
609
+ <refpurpose>{manpurpose}</refpurpose>
610
+ </refnamediv>
611
+
612
+ [footer]
613
+ </refentry>
614
+
615
+ # Section macros
616
+ [synopsis]
617
+ <refsynopsisdiv{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
618
+ |
619
+ </refsynopsisdiv>
620
+
621
+ [sect1]
622
+ <refsect1{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
623
+ <title>{title}</title>
624
+ |
625
+ </refsect1>
626
+
627
+ [sect2]
628
+ <refsect2{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
629
+ <title>{title}</title>
630
+ |
631
+ </refsect2>
632
+
633
+ [sect3]
634
+ <refsect3{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
635
+ <title>{title}</title>
636
+ |
637
+ </refsect3>
638
+
639
+ endif::doctype-manpage[]
640
+
641
+ #-------------------------
642
+ # book document type
643
+ #-------------------------
644
+ ifdef::doctype-book[]
645
+
646
+ [header]
647
+ template::[header-declarations]
648
+
649
+ <book lang="{lang=en}">
650
+ <bookinfo>
651
+ template::[docinfo]
652
+ </bookinfo>
653
+
654
+ [footer]
655
+ </book>
656
+
657
+ [preamble]
658
+ # Preamble is not allowed in DocBook book so wrap it in a preface.
659
+ <preface{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
660
+ <title>{title=}</title>
661
+ |
662
+ </preface>
663
+
664
+ [dedication]
665
+ <dedication{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
666
+ <title>{title}</title>
667
+ |
668
+ </dedication>
669
+
670
+ [colophon]
671
+ <colophon{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
672
+ <title>{title}</title>
673
+ |
674
+ </colophon>
675
+
676
+ [sect0]
677
+ <part{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
678
+ <title>{title}</title>
679
+ |
680
+ </part>
681
+
682
+ [sect1]
683
+ <chapter{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
684
+ <title>{title}</title>
685
+ |
686
+ </chapter>
687
+
688
+ [sect2]
689
+ <section{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
690
+ <title>{title}</title>
691
+ |
692
+ </section>
693
+
694
+ [sect3]
695
+ <section{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
696
+ <title>{title}</title>
697
+ |
698
+ </section>
699
+
700
+ [sect4]
701
+ <section{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
702
+ <title>{title}</title>
703
+ |
704
+ </section>
705
+
706
+ endif::doctype-book[]
707
+
708
+ ifdef::sgml[]
709
+ #
710
+ # Optional DocBook SGML.
711
+ #
712
+ # Most of the differences between DocBook XML and DocBook SGML boils
713
+ # down to the empty element syntax: SGML does not like the XML empty
714
+ # element <.../> syntax, use <...> instead.
715
+ #
716
+ [miscellaneous]
717
+ outfilesuffix=.sgml
718
+
719
+ [header-declarations]
720
+ <!DOCTYPE {doctype-article?article}{doctype-book?book}{doctype-manpage?refentry} PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
721
+
722
+ [tabledef-default]
723
+ colspec=<colspec colwidth="{colabswidth}{pageunits}" align="{colalign}">
724
+
725
+ [image-inlinemacro]
726
+ <inlinemediaobject>
727
+ <imageobject>
728
+ <imagedata fileref="{imagesdir=}{imagesdir?/}{target}"{width? width="{width}"}{height? depth="{height}"}>
729
+ </imageobject>
730
+ <textobject><phrase>{alt={target}}</phrase></textobject>
731
+ </inlinemediaobject>
732
+
733
+ [image-blockmacro]
734
+ <figure><title>{title}</title>
735
+ {title%}<informalfigure>
736
+ <mediaobject>
737
+ <imageobject>
738
+ <imagedata fileref="{imagesdir=}{imagesdir?/}{target}"{width? width="{width}"}{height? depth="{height}"}>
739
+ </imageobject>
740
+ <textobject><phrase>{alt={target}}</phrase></textobject>
741
+ </mediaobject>
742
+ {title#}</figure>
743
+ {title%}</informalfigure>
744
+
745
+ # Inline macros
746
+ [xref-inlinemacro]
747
+ <link linkend="{target}">{0}</link>
748
+ {2%}<xref linkend="{target}">
749
+ [xref2-inlinemacro]
750
+ # <<id,text>>
751
+ <link linkend="{1}">{2}</link>
752
+ {2%}<xref linkend="{1}">
753
+ [anchor-inlinemacro]
754
+ <anchor id="{target}" xreflabel="{0=[{target}]}">
755
+ [anchor2-inlinemacro]
756
+ # [[id,text]]
757
+ <anchor id="{1}" xreflabel="{2=[{1}]}">
758
+
759
+ endif::sgml[]