4 # Asciidoc DocBook 4.5 configuration file.
6 # modified for Proxmox VE docs
7 # - add thumbnail attribute
8 # - render sect4 sections in manpages as formalpara title
12 # Printable page width and units.
13 # Used to calculate DocBook CALS tables absolute column and table widths.
20 basebackend-docbook45=
21 # For backward compatibility (docbook backend was renamed to docbook45 at 8.6.2)
23 # toc and numbered are set to maintain original default behavior.
28 # Line break markup. Custom processing instruction in fo.xsl.
29 (?m)^(.*)\s\+$=\1<?asciidoc-br?>
32 ifdef::asciidoc7compatible[]
34 \^(.+?)\^=<superscript>\1</superscript>
36 ~(.+?)~=<subscript>\1</subscript>
37 endif::asciidoc7compatible[]
40 # Uses custom processing instructions in fo.xsl and asciidoc-dblatex.xsl.
41 <simpara><?asciidoc-hr?></simpara>
43 [pagebreak-blockmacro]
44 # Uses custom processing instructions in fo.xsl and asciidoc-dblatex.xsl.
45 <simpara><?asciidoc-pagebreak?></simpara>
48 latexmath-style=template="latexmathblock",subs=(),posattrs=(),filter="unwraplatex.py"
52 (?s)[\\]?(?P<name>latexmath):(?P<subslist>\S*?)\[(?:\$\s*)?(?P<passtext>.*?)(?:\s*\$)?(?<!\\)\]=[]
53 ^(?P<name>latexmath)::(?P<subslist>\S*?)(\[(?:\\\[\s*)?(?P<passtext>.*?)(?:\s*\\\])?\])$=#[]
55 [latexmath-inlinemacro]
57 <alt><![CDATA[${passtext}$]]></alt>
58 <inlinemediaobject><textobject><phrase></phrase></textobject></inlinemediaobject>
61 [latexmath-blockmacro]
63 <alt><![CDATA[{backslash}[{passtext}{backslash}]]]></alt>
64 <mediaobject><textobject><phrase></phrase></textobject></mediaobject>
68 <equation{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}{floatstyle? floatstyle="{floatstyle}"}><title>{title}</title>
69 {title%}<informalequation{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
70 <alt><![CDATA[\[|\]]]></alt>
71 <mediaobject><textobject><phrase></phrase></textobject></mediaobject>
73 {title%}</informalequation>
78 <imagedata fileref="{imagesdir=}{imagesdir?/}{target}"{width? contentwidth="{width}"}{height? contentdepth="{height}"}{scale? scale="{scale}"}/>
80 <textobject><phrase>{alt={target}}</phrase></textobject>
84 <figure{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}{floatstyle? floatstyle="{floatstyle}"}{pgwide-option? pgwide="1"}><title>{title}</title>
85 {title%}<informalfigure{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>{pgwide-option?<?dbfo pgwide="1"?>}
86 # DocBook XSL Stylesheets custom processing instructions.
87 <?dbfo keep-together="{breakable-option#auto}"?>
88 <?dbfo keep-together="{unbreakable-option#always}"?>
91 <imagedata fileref="{imagesdir=}{imagesdir?/}{target}"{width? contentwidth="{width}"}{height? contentdepth="{height}"}{scale? scale="{scale}"}{scaledwidth? width="{scaledwidth}" scalefit="1"}{align? align="{align}"}/>
93 <textobject><phrase>{alt={target}}</phrase></textobject>
96 {title%}</informalfigure>
98 [indexterm-inlinemacro]
100 # Generate separate index entries for primary, secondary and tertiary
104 {2%} <primary>{1}</primary>
106 # Primary and secondary.
108 {2#}{3%} <primary>{1}</primary><secondary>{2}</secondary>
111 {2#}{3%} <primary>{2}</primary>
113 # Primary, secondary and tertiary.
115 <primary>{1}</primary><secondary>{2}</secondary><tertiary>{3}</tertiary>
118 <primary>{2}</primary><secondary>{3}</secondary>
121 <primary>{3}</primary>
124 [indexterm2-inlinemacro]
126 # Single entry index term that is visible in the primary text flow.
127 <indexterm><primary>{1}</primary></indexterm>{1}
129 [footnote-inlinemacro]
131 <footnote><simpara>{0}</simpara></footnote>
133 [footnoteref-inlinemacro]
134 # Footnote reference.
135 {2#}<footnote id="{1}"><simpara>{2}</simpara></footnote>
136 {2%}<footnoteref linkend="{1}" />
138 [callout-inlinemacro]
144 list=<itemizedlist{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}{compact-option? spacing="compact"}>{unbreakable-option? <?dbfo keep-together="always"?>}{title?<title>{title}</title>}|</itemizedlist>
145 item=<listitem>|</listitem>
146 text=<simpara>|</simpara>
149 list=<orderedlist{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"} numeration="{style}"{compact-option? spacing="compact"}>{unbreakable-option? <?dbfo keep-together="always"?>}{title?<title>{title}</title>}{start?<?dbfo start="{start}"?><?dbhtml start="{start}"?>}|</orderedlist>
150 item=<listitem>|</listitem>
151 text=<simpara>|</simpara>
154 list=<variablelist{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>{title?<title>{title}</title>}|</variablelist>
155 entry=<varlistentry>|</varlistentry>
158 item=<listitem>|</listitem>
159 text=<simpara>|</simpara>
161 [listtags-horizontal]
162 # Horizontal labeled list (implemented with two column table).
163 # Hardwired column widths to 30%,70% because the current crop of PDF
164 # generators do not auto calculate column widths.
165 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}>
167 label=<entry>|</entry>
168 term=<simpara>|</simpara>
169 item=<entry>|</entry>
170 text=<simpara>|</simpara>
173 list=<calloutlist{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>{title?<title>{title}</title>}|</calloutlist>
174 item=<callout arearefs="{coids}">|</callout>
178 list=<qandaset{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>{title?<title>{title}</title>}|</qandaset>
179 entry=<qandaentry>|</qandaentry>
180 label=<question>|</question>
181 term=<simpara>|</simpara>
182 item=<answer>|</answer>
183 text=<simpara>|</simpara>
185 [listtags-bibliography]
186 list=<bibliodiv{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>{title?<title>{title}</title>}|</bibliodiv>
187 item=<bibliomixed>|</bibliomixed>
188 text=<bibliomisc>|</bibliomisc>
192 entry=<glossentry>|</glossentry>
194 term=<glossterm>|</glossterm>
195 item=<glossdef>|</glossdef>
196 text=<simpara>|</simpara>
200 emphasis=<emphasis>{1?<phrase role="{1}">}|{1?</phrase>}</emphasis>
201 strong=<emphasis role="strong">{1?<phrase role="{1}">}|{1?</phrase>}</emphasis>
202 monospaced=<literal>{1?<phrase role="{1}">}|{1?</phrase>}</literal>
203 singlequoted={lsquo}{1?<phrase role="{1}">}|{1?</phrase>}{rsquo}
204 doublequoted={ldquo}{1?<phrase role="{1}">}|{1?</phrase>}{rdquo}
205 unquoted={1?<phrase role="{1}">}|{1?</phrase>}
206 subscript=<subscript>{1?<phrase role="{1}">}|{1?</phrase>}</subscript>
207 superscript=<superscript>{1?<phrase role="{1}">}|{1?</phrase>}</superscript>
209 ifdef::deprecated-quotes[]
210 # Override with deprecated quote attributes.
211 emphasis={role?<phrase role="{role}">}<emphasis>|</emphasis>{role?</phrase>}
212 strong={role?<phrase role="{role}">}<emphasis role="strong">|</emphasis>{role?</phrase>}
213 monospaced={role?<phrase role="{role}">}<literal>|</literal>{role?</phrase>}
214 singlequoted={role?<phrase role="{role}">}{amp}#8216;|{amp}#8217;{role?</phrase>}
215 doublequoted={role?<phrase role="{role}">}{amp}#8220;|{amp}#8221;{role?</phrase>}
216 unquoted={role?<phrase role="{role}">}|{role?</phrase>}
217 subscript={role?<phrase role="{role}">}<subscript>|</subscript>{role?</phrase>}
218 superscript={role?<phrase role="{role}">}<superscript>|</superscript>{role?</phrase>}
219 endif::deprecated-quotes[]
223 <ulink url="{name}:{target}">{0={name}:{target}}</ulink>
225 <ulink url="{name}:{target}">{0={name}:{target}}</ulink>
227 <ulink url="{name}:{target}">{0={name}:{target}}</ulink>
229 <ulink url="{name}:{target}">{0={name}:{target}}</ulink>
231 <ulink url="{name}:{target}">{0={name}:{target}}</ulink>
233 <ulink url="mailto:{target}">{0={target}}</ulink>
235 <ulink url="{name}:{target}">{0={target}}</ulink>
237 <ulink url="{target}">{0={target}}</ulink>
240 <anchor id="{target}" xreflabel="{0=[{target}]}"/>
242 [anchor2-inlinemacro]
243 <anchor id="{1}" xreflabel="{2=[{1}]}"/>
245 [anchor3-inlinemacro]
246 <anchor id="{1}" xreflabel="[{1}]"/>[{1}]
249 <link linkend="{target}">{0}</link>
250 {0%}<xref linkend="{target}"/>
253 <link linkend="{1}">{2}</link>
254 {2%}<xref linkend="{1}"/>
256 [comment-inlinemacro]
257 {showcomments#}<remark>{passtext}</remark>
260 {showcomments#}<remark>{passtext}</remark>
262 [literal-inlinemacro]
264 <literal>{passtext}</literal>
266 # Special word macros
268 <emphasis>{words}</emphasis>
270 <literal>{words}</literal>
272 <emphasis role="strong">{words}</emphasis>
274 # Paragraph substitution.
276 <formalpara{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}><title>{title}</title><para>
277 {thumbnail#}<mediaobject>
278 {thumbnail#} <imageobject>
279 {thumbnail#} <imagedata fileref="images/{thumbnail}"{width? contentwidth="{width}"}{height? contentdepth="{height}"}{scale? scale="{scale}"}{scaledwidth? width="{scaledwidth}" scalefit="1"}{align? align="{align}"}/>
280 {thumbnail#} </imageobject>
281 {thumbnail#} <textobject><phrase>{alt={thumbnail}}</phrase></textobject>
282 {thumbnail#}</mediaobject>
283 {title%}<simpara{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
286 {title#}</para></formalpara>
289 [admonitionparagraph]
290 <{name}{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}><simpara>|</simpara></{name}>
294 <formalpara{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}><title>{title}</title><para>
295 {title#}<literallayout class="monospaced">
296 {title%}<literallayout{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"} class="monospaced">
299 {title#}</para></formalpara>
302 <formalpara{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}><title>{title}</title><para>
304 {title%}<screen{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
307 {title#}</para></formalpara>
310 <sidebar{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
311 <title>{title}</title>
317 template::[sidebarblock-open]
319 template::[sidebarblock-close]
322 template::[sidebarblock-open]
324 template::[sidebarblock-close]
327 <abstract{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
328 <title>{title}</title>
330 [abstractblock-close]
334 template::[abstractblock-open]
336 template::[abstractblock-close]
339 template::[abstractblock-open]
341 template::[abstractblock-close]
346 [partintroblock-open]
347 <partintro{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
348 <title>{title}</title>
350 [partintroblock-close]
354 template::[partintroblock-open]
356 template::[partintroblock-close]
359 template::[partintroblock-open]
361 template::[partintroblock-close]
364 # Common quote and verse element template.
365 <blockquote{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
366 <title>{title}</title>
367 # Include attribution only if either {attribution} or {citetitle} is defined.
368 {attribution#}<attribution>
369 {attribution%}{citetitle#}<attribution>
371 <citetitle>{citetitle}</citetitle>
372 {attribution#}</attribution>
373 {attribution%}{citetitle#}</attribution>
379 template::[quote-open]
381 template::[quote-close]
384 template::[quote-open]
385 <literallayout>|</literallayout>
386 template::[quote-close]
389 template::[quote-open]
391 template::[quote-close]
394 <{title?example}{title!informalexample}{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}{floatstyle? floatstyle="{floatstyle}"}>
395 # DocBook XSL Stylesheets custom processing instructions.
396 <?dbfo keep-together="{breakable-option#auto}"?>
397 <?dbfo keep-together="{unbreakable-option#always}"?>
398 <title>{title}</title>
401 </{title?example}{title!informalexample}>
404 template::[exampleblock-open]
406 template::[exampleblock-close]
409 template::[exampleblock-open]
411 template::[exampleblock-close]
414 <{name}{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
415 <title>{title}</title>
421 colspec=<colspec colname="col_{colnumber}" colwidth="{width!{colpcwidth}*}{width?{colabswidth}{pageunits}}"/>
423 headdata=<entry align="{halign}" valign="{valign}"{colspan@1:: namest="col_{colstart}" nameend="col_{colend}"}{morerows@0:: morerows="{morerows}"}>|</entry>
424 bodydata=<entry align="{halign}" valign="{valign}"{colspan@1:: namest="col_{colstart}" nameend="col_{colend}"}{morerows@0:: morerows="{morerows}"}>|</entry>
425 paragraph=<simpara>|</simpara>
428 paragraph=<simpara><emphasis>|</emphasis></simpara>
431 paragraph=<simpara><emphasis role="strong">|</emphasis></simpara>
434 paragraph=<simpara><emphasis role="strong">|</emphasis></simpara>
436 [tabletags-monospaced]
437 paragraph=<simpara><literal>|</literal></simpara>
440 bodydata=<entry align="{halign}" valign="{valign}"{colspan@1:: namest="col_{colstart}" nameend="col_{colend}"}{morerows@0:: morerows="{morerows}"}><literallayout>|</literallayout></entry>
444 bodydata=<entry align="{halign}" valign="{valign}"{colspan@1:: namest="col_{colstart}" nameend="col_{colend}"}{morerows@0:: morerows="{morerows}"}><literallayout class="monospaced">|</literallayout></entry>
451 <{title?table}{title!informaltable}{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}{floatstyle? floatstyle="{floatstyle}"}"}{pgwide-option? pgwide="1"}
453 {grid%rowsep="1" colsep="1"}
454 rowsep="{grid@none|cols:0:1}" colsep="{grid@none|rows:0:1}"
456 <title>{title}</title>
457 # DocBook XSL Stylesheets custom processing instructions.
458 <?dbhtml table-width="{width}"?>
459 <?dbfo table-width="{width}"?>
460 <?dblatex table-width="{width}"?>
461 <?dbfo keep-together="{breakable-option#auto}"?>
462 <?dbfo keep-together="{unbreakable-option#always}"?>
463 <tgroup cols="{colcount}">
475 </{title?table}{title!informaltable}>
477 #--------------------------------------------------------------------
478 # Deprecated old table definitions.
481 [old_tabledef-default]
483 colspec=<colspec colwidth="{colwidth}{pageunits}" align="{colalign}"/>
485 bodydata=<entry>|</entry>
488 <{title?table}{title!informaltable}{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"} pgwide="0"
489 frame="{frame=topbot}"
490 {grid%rowsep="0" colsep="0"}
491 rowsep="{grid@none|cols:0:1}" colsep="{grid@none|rows:0:1}"
493 <title>{title}</title>
494 <tgroup cols="{cols}">
506 </{title?table}{title!informaltable}>
508 # End of deprecated old table definitions.
509 #--------------------------------------------------------------------
513 <preface{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
514 <title>{title=}</title>
519 <index{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
520 <title>{title}</title>
525 <bibliography{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
526 <title>{title}</title>
531 <glossary{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
532 <title>{title}</title>
537 <appendix{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
538 <title>{title}</title>
543 <bridgehead{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"} renderas="sect{level}">{title}</bridgehead>
546 [header-declarations]
547 <?xml version="1.0" encoding="{encoding}"?>
548 <!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">
549 {toc#}<?asciidoc-toc?>
550 {numbered#}<?asciidoc-numbered?>
553 {notitle%} <title>{doctitle}</title>
554 <date>{revdate}</date>
555 # To ensure valid articleinfo/bookinfo when there is no AsciiDoc header.
556 {doctitle%}{revdate%}<date>{docdate}</date>
558 <firstname>{firstname}</firstname>
559 <othername>{middlename}</othername>
560 <surname>{lastname}</surname>
561 <email>{email}</email>
563 <authorinitials>{authorinitials}</authorinitials>
564 <revhistory><revision>{revnumber?<revnumber>{revnumber}</revnumber>}<date>{revdate}</date>{authorinitials?<authorinitials>{authorinitials}</authorinitials>}{revremark?<revremark>{revremark}</revremark>}</revision></revhistory>
565 {docinfo1,docinfo2#}{include:{docdir}/docinfo.xml}
566 {docinfo,docinfo2#}{include:{docdir}/{docname}-docinfo.xml}
567 # DEPRECATED: Use docinfo.
568 {revisionhistory#}{include:{docdir}/{docname}-revhistory.xml}
569 # DEPRECATED: Use orgname in preference to companyname.
570 <orgname>{companyname}</orgname>
571 # DEPRECATED: Use orgname in preference to corpname.
572 <orgname>{corpname}</orgname>
573 <orgname>{orgname}</orgname>
575 #-------------------------
576 # article document type
577 #-------------------------
578 ifdef::doctype-article[]
581 template::[header-declarations]
583 <article lang="{lang=en}">
592 # Untitled elements between header and first section title.
596 <abstract{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
601 <section{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
602 <title>{title}</title>
607 <section{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
608 <title>{title}</title>
613 <section{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
614 <title>{title}</title>
619 <section{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
620 <title>{title}</title>
625 <section{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
626 <title>{title}</title>
630 endif::doctype-article[]
632 #-------------------------
633 # manpage document type
634 #-------------------------
635 ifdef::doctype-manpage[]
638 # The roff format does not substitute special characters so just print them as
644 template::[header-declarations]
645 <refentry lang="{lang=en}">
650 <refentrytitle>{mantitle}</refentrytitle>
651 <manvolnum>{manvolnum}</manvolnum>
652 # Default source and manual to suppress DocBook XSL warnings.
653 <refmiscinfo class="source">{mansource= }</refmiscinfo>
654 <refmiscinfo class="manual">{manmanual= }</refmiscinfo>
655 <refmiscinfo class="version">{manversion={revnumber}}</refmiscinfo>
658 <refname>{manname1}</refname>
659 <refname>{manname2}</refname>
660 <refname>{manname3}</refname>
661 <refname>{manname4}</refname>
662 <refname>{manname5}</refname>
663 <refname>{manname6}</refname>
664 <refname>{manname7}</refname>
665 <refname>{manname8}</refname>
666 <refname>{manname9}</refname>
667 <refpurpose>{manpurpose}</refpurpose>
675 <refsynopsisdiv{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
680 <refsect1{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
681 <title>{title}</title>
686 <refsect2{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
687 <title>{title}</title>
692 <refsect3{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
693 <title>{title}</title>
697 # Proxmox: add custom section 4 level for manpages, as there is no refsect4 and
698 # the XML DTD schema does not allows nesting refsect3 (even if it would render
699 # OK). Use a formalpara, which is a paragraph with a title. As docbook always
700 # outputs a simpara (simple paragraph, very limited) for the inner content, we
701 # cannot nest that either, but rather just create an empty formalpara which can
702 # then be followed by whatever the original inner content is.
704 <formalpara{id? id="{id}"}{role? role="{role}"}><title>{title}</title><para></para></formalpara>
707 endif::doctype-manpage[]
709 #-------------------------
711 #-------------------------
712 ifdef::doctype-book[]
715 template::[header-declarations]
717 <book lang="{lang=en}">
726 # Preamble is not allowed in DocBook book so wrap it in a preface.
727 <preface{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
728 <title>{title=}</title>
733 <dedication{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
734 <title>{title}</title>
739 <colophon{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
740 <title>{title}</title>
745 <part{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
746 <title>{title}</title>
751 <chapter{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
752 <title>{title}</title>
757 <section{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
758 <title>{title}</title>
763 <section{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
764 <title>{title}</title>
769 <section{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
770 <title>{title}</title>
775 <section{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
776 <title>{title}</title>
780 endif::doctype-book[]
784 # Optional DocBook SGML.
786 # Most of the differences between DocBook XML and DocBook SGML boils
787 # down to the empty element syntax: SGML does not like the XML empty
788 # element <.../> syntax, use <...> instead.
793 [header-declarations]
794 <!DOCTYPE {doctype-article?article}{doctype-book?book}{doctype-manpage?refentry} PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
797 colspec=<colspec colwidth="{colabswidth}{pageunits}" align="{colalign}">
802 <imagedata fileref="{imagesdir=}{imagesdir?/}{target}"{width? width="{width}"}{height? depth="{height}"}>
804 <textobject><phrase>{alt={target}}</phrase></textobject>
808 <figure><title>{title}</title>
809 {title%}<informalfigure>
812 <imagedata fileref="{imagesdir=}{imagesdir?/}{target}"{width? width="{width}"}{height? depth="{height}"}>
814 <textobject><phrase>{alt={target}}</phrase></textobject>
817 {title%}</informalfigure>
821 <link linkend="{target}">{0}</link>
822 {2%}<xref linkend="{target}">
825 <link linkend="{1}">{2}</link>
826 {2%}<xref linkend="{1}">
828 <anchor id="{target}" xreflabel="{0=[{target}]}">
829 [anchor2-inlinemacro]
831 <anchor id="{1}" xreflabel="{2=[{1}]}">