#
# docbook45.conf
#
# Asciidoc DocBook 4.5 configuration file.
#
[miscellaneous]
outfilesuffix=.xml
# Printable page width and units.
# Used to calculate DocBook CALS tables absolute column and table widths.
pagewidth=425
pageunits=*
[attributes]
basebackend=docbook
basebackend-docbook=
basebackend-docbook45=
# For backward compatibility (docbook backend was renamed to docbook45 at 8.6.2)
backend-docbook=
# toc and numbered are set to maintain original default behavior.
toc=
numbered=
[replacements2]
# Line break markup. Custom processing instruction in fo.xsl.
(?m)^(.*)\s\+$=\1
[replacements]
ifdef::asciidoc7compatible[]
# Superscripts.
\^(.+?)\^=\1
# Subscripts.
~(.+?)~=\1
endif::asciidoc7compatible[]
[ruler-blockmacro]
# Uses custom processing instructions in fo.xsl and asciidoc-dblatex.xsl.
[pagebreak-blockmacro]
# Uses custom processing instructions in fo.xsl and asciidoc-dblatex.xsl.
[blockdef-pass]
latexmath-style=template="latexmathblock",subs=()
[macros]
# math macros.
(?su)[\\]?(?Platexmath):(?P\S*?)\[(?P.*?)(?latexmath)::(?P\S*?)(\[(?P.*?)\])$=#[]
[latexmath-inlinemacro]
[latexmath-blockmacro]
[latexmathblock]
{title}
{title%}
{title#}
{title%}
[image-inlinemacro]
{alt={target}}
[image-blockmacro]
{title%}
[indexterm-inlinemacro]
# Index term.
# Generate separate index entries for primary, secondary and tertiary
# descriptions.
# Primary only.
{2%}
{2%} {1}
{2%}
# Primary and secondary.
{2#}{3%}
{2#}{3%} {1}{2}
{2#}{3%}
{2#}{3%}
{2#}{3%} {2}
{2#}{3%}
# Primary, secondary and tertiary.
{3#}{1}{2}{3}
{3#}
{3#}{2}{3}
{3#}
{3#}{3}
{3#}
[indexterm2-inlinemacro]
# Index term.
# Single entry index term that is visible in the primary text flow.
{1}{1}
[footnote-inlinemacro]
# Footnote.
{0}
[footnoteref-inlinemacro]
# Footnote reference.
{2#}{2}
{2%}
[callout-inlinemacro]
# Callout.
# List tags.
[listtags-bulleted]
list={unbreakable-option? }{title?{title}}|
item=|
text=|
[listtags-numbered]
list={unbreakable-option? }{title?{title}}{start?}|
item=|
text=|
[listtags-labeled]
list={title?{title}}|
entry=|
label=
term=|
item=|
text=|
[listtags-horizontal]
# Horizontal labeled list (implemented with two column table).
# Hardwired column widths to 30%,70% because the current crop of PDF
# generators do not auto calculate column widths.
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?/table}{title!/informaltable}>
entry=|
label=|
term=|
item=|
text=|
[listtags-callout]
list={title?{title}}|
item=|
text=|
[listtags-qanda]
list={title?{title}}|
entry=|
label=|
term=|
item=|
text=|
[listtags-bibliography]
list={title?{title}}|
item=|
text=|
[listtags-glossary]
list=
entry=|
label=
term=|
item=|
text=|
[tags]
# Quoted text
emphasis={1?}|{1?}
strong={1?}|{1?}
monospaced={1?}|{1?}
singlequoted={lsquo}{1?}|{1?}{rsquo}
doublequoted={ldquo}{1?}|{1?}{rdquo}
unquoted={1?}|{1?}
subscript={1?}|{1?}
superscript={1?}|{1?}
ifdef::deprecated-quotes[]
# Override with deprecated quote attributes.
emphasis={role?}|{role?}
strong={role?}|{role?}
monospaced={role?}|{role?}
singlequoted={role?}{amp}#8216;|{amp}#8217;{role?}
doublequoted={role?}{amp}#8220;|{amp}#8221;{role?}
unquoted={role?}|{role?}
subscript={role?}|{role?}
superscript={role?}|{role?}
endif::deprecated-quotes[]
# Inline macros
[http-inlinemacro]
{0={name}:{target}}
[https-inlinemacro]
{0={name}:{target}}
[ftp-inlinemacro]
{0={name}:{target}}
[file-inlinemacro]
{0={name}:{target}}
[irc-inlinemacro]
{0={name}:{target}}
[mailto-inlinemacro]
{0={target}}
[callto-inlinemacro]
{0={target}}
[link-inlinemacro]
{0={target}}
# anchor:id[text]
[anchor-inlinemacro]
# [[id,text]]
[anchor2-inlinemacro]
# [[[id]]]
[anchor3-inlinemacro]
[{1}]
# xref:id[text]
[xref-inlinemacro]
{0}
{2%}
# <>
[xref2-inlinemacro]
{2}
{2%}
# // comment line
[comment-inlinemacro]
{showcomments#}{passtext}
[comment-blockmacro]
{showcomments#}{passtext}
[literal-inlinemacro]
# Inline literal.
{passtext}
# Special word macros
[emphasizedwords]
{words}
[monospacedwords]
{words}
[strongwords]
{words}
# Paragraph substitution.
[paragraph]
{title}
{title%}
|
{title%}
{title#}
{empty}
[admonitionparagraph]
<{name}{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>|{name}>
# Delimited blocks.
[literalblock]
{title}
{title#}
{title%}
|
{title#}
[listingblock]
{title}
{title#}
{title%}
|
{title#}
[sidebarblock-open]
{title}
[sidebarblock-close]
[sidebarblock]
template::[sidebarblock-open]
|
template::[sidebarblock-close]
[sidebarparagraph]
template::[sidebarblock-open]
|
template::[sidebarblock-close]
[abstractblock-open]
{title}
[abstractblock-close]
[abstractblock]
template::[abstractblock-open]
|
template::[abstractblock-close]
[abstractparagraph]
template::[abstractblock-open]
|
template::[abstractblock-close]
[openblock]
|
[partintroblock-open]
{title}
[partintroblock-close]
[partintroblock]
template::[partintroblock-open]
|
template::[partintroblock-close]
[partintroparagraph]
template::[partintroblock-open]
|
template::[partintroblock-close]
[quote-open]
# Common quote and verse element template.
{title}
# Include attribution only if either {attribution} or {citetitle} is defined.
{attribution#}
{attribution%}{citetitle#}
{attribution}
{citetitle}
{attribution#}
{attribution%}{citetitle#}
[quote-close]
[quoteblock]
template::[quote-open]
|
template::[quote-close]
[verseblock]
template::[quote-open]
|
template::[quote-close]
[quoteparagraph]
template::[quote-open]
|
template::[quote-close]
[exampleblock-open]
<{title?example}{title!informalexample}{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
# DocBook XSL Stylesheets custom processing instructions.
{title}
[exampleblock-close]
{title?example}{title!informalexample}>
[exampleblock]
template::[exampleblock-open]
|
template::[exampleblock-close]
[exampleparagraph]
template::[exampleblock-open]
|
template::[exampleblock-close]
[admonitionblock]
<{name}{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
{title}
|
{name}>
# Tables.
[tabletags-default]
colspec=
bodyrow=|
headdata=|
bodydata=|
paragraph=|
[tabletags-emphasis]
paragraph=|
[tabletags-header]
paragraph=|
[tabletags-strong]
paragraph=|
[tabletags-monospaced]
paragraph=|
[tabletags-verse]
bodydata=|
paragraph=
[tabletags-literal]
bodydata=|
paragraph=
[tabletags-asciidoc]
paragraph=
[table]
<{title?table}{title!informaltable}{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}{pgwide-option? pgwide="1"}
frame="{frame=all}"
{grid%rowsep="1" colsep="1"}
rowsep="{grid@none|cols:0:1}" colsep="{grid@none|rows:0:1}"
>
{title}
# DocBook XSL Stylesheets custom processing instructions.
{colspecs}
{headrows#}
{headrows}
{headrows#}
{footrows#}
{footrows}
{footrows#}
{bodyrows}
{title?table}{title!informaltable}>
#--------------------------------------------------------------------
# Deprecated old table definitions.
#
[old_tabledef-default]
template=old_table
colspec=
bodyrow=|
bodydata=|
[old_table]
<{title?table}{title!informaltable}{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"} pgwide="0"
frame="{frame=topbot}"
{grid%rowsep="0" colsep="0"}
rowsep="{grid@none|cols:0:1}" colsep="{grid@none|rows:0:1}"
>
{title}
{colspecs}
{headrows#}
{headrows}
{headrows#}
{footrows#}
{footrows}
{footrows#}
{bodyrows}
{title?table}{title!informaltable}>
# End of deprecated old table definitions.
#--------------------------------------------------------------------
# Special sections.
[preface]
{title=}
|
[index]
{title}
|
[bibliography]
{title}
|
[glossary]
{title}
|
[appendix]
{title}
|
[floatingtitle]
{title}
[header-declarations]
{toc#}
{numbered#}
[+docinfo]
{notitle%} {doctitle}{revdate}
# To ensure valid articleinfo/bookinfo when there is no AsciiDoc header.
{doctitle%}{revdate%}{docdate}
{authored#}{firstname}{middlename}{lastname}{email}
{authored#}{authorinitials}{revnumber?{revnumber}}{revdate}{authorinitials?{authorinitials}}{revremark?{revremark}}
{docinfo1,docinfo2#}{include:{docdir}/docinfo.xml}
{docinfo,docinfo2#}{include:{docdir}/{docname}-docinfo.xml}
# DEPRECATED: Use docinfo.
{revisionhistory#}{include:{docdir}/{docname}-revhistory.xml}
# DEPRECATED: Use orgname in preference to companyname.
{companyname}
# DEPRECATED: Use orgname in preference to corpname.
{corpname}{orgname}
#-------------------------
# article document type
#-------------------------
ifdef::doctype-article[]
[header]
template::[header-declarations]
template::[docinfo]
[footer]
[preamble]
# Untitled elements between header and first section title.
|
[abstract]
|
[sect1]
{title}
|
[sect2]
{title}
|
[sect3]
{title}
|
[sect4]
{title}
|
endif::doctype-article[]
#-------------------------
# manpage document type
#-------------------------
ifdef::doctype-manpage[]
[replacements]
# The roff format does not substitute special characters so just print them as
# text.
\(C\)=(C)
\(TM\)=(TM)
[header]
template::[header-declarations]
template::[docinfo]
{mantitle}{manvolnum}
# Default source and manual to suppress DocBook XSL warnings.
{mansource= }{manmanual= }{manversion={revnumber}}{manname1}{manname2}{manname3}{manname4}{manname5}{manname6}{manname7}{manname8}{manname9}{manpurpose}
[footer]
# Section macros
[synopsis]
|
[sect1]
{title}
|
[sect2]
{title}
|
[sect3]
{title}
|
endif::doctype-manpage[]
#-------------------------
# book document type
#-------------------------
ifdef::doctype-book[]
[header]
template::[header-declarations]
template::[docinfo]
[footer]
[preamble]
# Preamble is not allowed in DocBook book so wrap it in a preface.
{title=}
|
[dedication]
{title}
|
[colophon]
{title}
|
[sect0]
{title}
|
[sect1]
{title}
|
[sect2]
{title}
|
[sect3]
{title}
|
[sect4]
{title}
|
endif::doctype-book[]
ifdef::sgml[]
#
# Optional DocBook SGML.
#
# Most of the differences between DocBook XML and DocBook SGML boils
# down to the empty element syntax: SGML does not like the XML empty
# element <.../> syntax, use <...> instead.
#
[miscellaneous]
outfilesuffix=.sgml
[header-declarations]
[tabledef-default]
colspec=
[image-inlinemacro]
{alt={target}}
[image-blockmacro]
{title%}
# Inline macros
[xref-inlinemacro]
{0}
{2%}
[xref2-inlinemacro]
# <>
{2}
{2%}
[anchor-inlinemacro]
[anchor2-inlinemacro]
# [[id,text]]
endif::sgml[]