#
# html4.conf
#
# Asciidoc HTML 4.01 configuration file.
#
[miscellaneous]
outfilesuffix=.html
[attributes]
basebackend=html
basebackend-html=
basebackend-html4=
hr=
[replacements2]
# Line break.
(?m)^(.*)\s\+$=\1
[replacements]
ifdef::asciidoc7compatible[]
# Superscripts.
\^(.+?)\^=\1
# Subscripts.
~(.+?)~=\1
endif::asciidoc7compatible[]
[ruler-blockmacro]
[pagebreak-blockmacro]
[pi-blockmacro]
{target}{0? {0}}?>
[pi-inlinemacro]
template::[pi-blockmacro]
[image-inlinemacro]
# src attribute must be first attribute for blogpost compatibility.
{data-uri%}
{data-uri#}
{link#}
[image-blockmacro]
[unfloat-blockmacro]
[indexterm-inlinemacro]
# Index term.
{empty}
[indexterm2-inlinemacro]
# Index term.
# Single entry index term that is visible in the primary text flow.
{1}
[footnote-inlinemacro]
# footnote:[].
[{0}]
[footnoteref-inlinemacro]
# footnoteref:[], create reference to footnote.
{2%}
[{1}]
# footnoteref:[,], create footnote with ID.
{2#}
[{2}]
[callout-inlinemacro]
# Callout.
<{index}>
# Comment line macros.
[comment-inlinemacro]
{showcomments#}
{passtext}
[comment-blockmacro]
{showcomments#}{passtext}
[literal-inlinemacro]
# Inline literal.
{passtext}
# List tags.
[listtags-bulleted]
list={id?}{title?{title}
}
item=|
text=|
[listtags-numbered]
list={id?}{title?{title}
}|
item=|
text=|
[listtags-labeled]
list={id?}{title?{title}
}|
entry=
label=
term={strong-option?}|{strong-option?}
item=|
text=|
[listtags-horizontal]
list={id?}{title?{title}
}
entry=|
label={strong-option?}|{strong-option?} |
term=|
item=| |
text=|
[listtags-callout]
list={id?}{title?{title}
}|
item=|
text=|
[listtags-qanda]
list={id?}{title?{title}
}|
entry=|
label=
term=|
item=
text=|
[listtags-glossary]
list={id?}{title?{title}
}|
entry=
label=
term=|
item=|
text=|
[listtags-bibliography]
list={id?}{title?{title}
}
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?}
superscript={1?}|{1?}
subscript={1?}|{1?}
ifdef::deprecated-quotes[]
# Override with deprecated quote attributes.
emphasis={role?}|{role?}
strong={role?}|{role?}
monospaced={role?}|
{role?}
singlequoted={role?}{1,2,3?}{amp}#8216;|{amp}#8217;{1,2,3?}{role?}
doublequoted={role?}{1,2,3?}{amp}#8220;|{amp}#8221;{1,2,3?}{role?}
unquoted={role?}{1,2,3?}|{1,2,3?}{role?}
superscript={role?}|{role?}
subscript={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=[{target}]}
# <>
[xref2-inlinemacro]
{2=[{1}]}
# Special word substitution.
[emphasizedwords]
{words}
[monospacedwords]
{words}
[strongwords]
{words}
# Paragraph substitution.
[paragraph]
{id?}{title?{title}
}
|
[admonitionparagraph]
template::[admonitionblock]
# Delimited blocks.
[passthroughblock]
|
[listingblock]
{title}
[literalblock]
{title}
|
[sidebarblock]
[openblock]
[partintroblock]
template::[openblock]
[abstractblock]
template::[quoteblock]
[quoteblock]
{title}
|
{citetitle}{attribution?
}
— {attribution}
[verseblock]
{title}
# Font inheritance broken in IE6.
|
{citetitle}{attribution?
}
— {attribution}
[exampleblock]
{caption={example-caption} {counter:example-number}. }{title}
[admonitionblock]
{data-uri%}{icons#}
{data-uri#}{icons#}
{icons%} {caption}
|
{title}
|
|
[mathblock]
# Here to suppress missing block warning (html4 does not include math
# JavaScripts).
{title}
|
# Tables.
[tabletags-default]
bodyrow=|
headdata=| |
footdata=| |
bodydata=| |
paragraph=|
[tabletags-header]
paragraph=|
[tabletags-emphasis]
paragraph=|
[tabletags-strong]
paragraph=|
[tabletags-monospaced]
paragraph=|
[tabletags-verse]
bodydata=| |
paragraph=
[tabletags-literal]
bodydata=|
|
paragraph=
[tabletags-asciidoc]
bodydata=| |
paragraph=
[table]
{headrows#}
{headrows}
{headrows#}
{footrows#}
{footrows}
{footrows#}
{bodyrows}
{caption={table-caption} {counter:table-number}. }{title}
#--------------------------------------------------------------------
# Deprecated old table definitions.
#
[miscellaneous]
# Screen width in pixels.
pagewidth=800
pageunits=
[old_tabledef-default]
template=old_table
bodyrow=|
headdata=| |
footdata=| |
bodydata=| |
[old_table]
{caption={table-caption}}{title}
{headrows#}
{headrows}
{headrows#}
{footrows#}
{footrows}
{footrows#}
{bodyrows}
# End of deprecated old table definitions.
#--------------------------------------------------------------------
[floatingtitle]
{id?}{title}
[preamble]
# Untitled elements between header and first section title.
|
[sect0]
{doctype-manpage%}{hr}
{id?}{title}
|
[sect1]
{doctype-manpage%}{hr}
{id?}{numbered?{sectnum} }{title}
|
[sect2]
{id?}{numbered?{sectnum} }{title}
|
[sect3]
{id?}{numbered?{sectnum} }{title}
|
[sect4]
{id?}{title}
|
[appendix]
{hr}
{id?}{numbered?{sectnum} }{appendix-caption} {counter:appendix-number:A}: {title}
|
[footer]
template::[footer-text]