update docbook config

sync over from /etc/asciidoc/docbook45.conf shipped by asciidoc.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-06-22 13:53:25 +02:00
parent 69b974d9d4
commit c7a25e7c93

View File

@ -44,29 +44,29 @@ endif::asciidoc7compatible[]
<simpara><?asciidoc-pagebreak?></simpara> <simpara><?asciidoc-pagebreak?></simpara>
[blockdef-pass] [blockdef-pass]
latexmath-style=template="latexmathblock",subs=() latexmath-style=template="latexmathblock",subs=(),posattrs=(),filter="unwraplatex.py"
[macros] [macros]
# math macros. # math macros.
(?su)[\\]?(?P<name>latexmath):(?P<subslist>\S*?)\[(?P<passtext>.*?)(?<!\\)\]=[] (?s)[\\]?(?P<name>latexmath):(?P<subslist>\S*?)\[(?:\$\s*)?(?P<passtext>.*?)(?:\s*\$)?(?<!\\)\]=[]
(?u)^(?P<name>latexmath)::(?P<subslist>\S*?)(\[(?P<passtext>.*?)\])$=#[] ^(?P<name>latexmath)::(?P<subslist>\S*?)(\[(?:\\\[\s*)?(?P<passtext>.*?)(?:\s*\\\])?\])$=#[]
[latexmath-inlinemacro] [latexmath-inlinemacro]
<inlineequation> <inlineequation>
<alt><![CDATA[{passtext}]]></alt> <alt><![CDATA[${passtext}$]]></alt>
<inlinemediaobject><textobject><phrase></phrase></textobject></inlinemediaobject> <inlinemediaobject><textobject><phrase></phrase></textobject></inlinemediaobject>
</inlineequation> </inlineequation>
[latexmath-blockmacro] [latexmath-blockmacro]
<informalequation> <informalequation>
<alt><![CDATA[{passtext}]]></alt> <alt><![CDATA[{backslash}[{passtext}{backslash}]]]></alt>
<mediaobject><textobject><phrase></phrase></textobject></mediaobject> <mediaobject><textobject><phrase></phrase></textobject></mediaobject>
</informalequation> </informalequation>
[latexmathblock] [latexmathblock]
<equation{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}><title>{title}</title> <equation{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}{floatstyle? floatstyle="{floatstyle}"}><title>{title}</title>
{title%}<informalequation{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}> {title%}<informalequation{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
<alt><![CDATA[|]]></alt> <alt><![CDATA[\[|\]]]></alt>
<mediaobject><textobject><phrase></phrase></textobject></mediaobject> <mediaobject><textobject><phrase></phrase></textobject></mediaobject>
{title#}</equation> {title#}</equation>
{title%}</informalequation> {title%}</informalequation>
@ -80,7 +80,7 @@ latexmath-style=template="latexmathblock",subs=()
</inlinemediaobject> </inlinemediaobject>
[image-blockmacro] [image-blockmacro]
<figure{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}{pgwide-option? pgwide="1"}><title>{title}</title> <figure{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}{floatstyle? floatstyle="{floatstyle}"}{pgwide-option? pgwide="1"}><title>{title}</title>
{title%}<informalfigure{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>{pgwide-option?<?dbfo pgwide="1"?>} {title%}<informalfigure{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>{pgwide-option?<?dbfo pgwide="1"?>}
# DocBook XSL Stylesheets custom processing instructions. # DocBook XSL Stylesheets custom processing instructions.
<?dbfo keep-together="{breakable-option#auto}"?> <?dbfo keep-together="{breakable-option#auto}"?>
@ -246,7 +246,7 @@ endif::deprecated-quotes[]
# xref:id[text] # xref:id[text]
[xref-inlinemacro] [xref-inlinemacro]
<link linkend="{target}">{0}</link> <link linkend="{target}">{0}</link>
{2%}<xref linkend="{target}"/> {0%}<xref linkend="{target}"/>
# <<id,text>> # <<id,text>>
[xref2-inlinemacro] [xref2-inlinemacro]
<link linkend="{1}">{2}</link> <link linkend="{1}">{2}</link>
@ -390,7 +390,7 @@ template::[quote-open]
template::[quote-close] template::[quote-close]
[exampleblock-open] [exampleblock-open]
<{title?example}{title!informalexample}{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}> <{title?example}{title!informalexample}{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}{floatstyle? floatstyle="{floatstyle}"}>
# DocBook XSL Stylesheets custom processing instructions. # DocBook XSL Stylesheets custom processing instructions.
<?dbfo keep-together="{breakable-option#auto}"?> <?dbfo keep-together="{breakable-option#auto}"?>
<?dbfo keep-together="{unbreakable-option#always}"?> <?dbfo keep-together="{unbreakable-option#always}"?>
@ -447,7 +447,7 @@ paragraph=
paragraph= paragraph=
[table] [table]
<{title?table}{title!informaltable}{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}{pgwide-option? pgwide="1"} <{title?table}{title!informaltable}{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}{floatstyle? floatstyle="{floatstyle}"}"}{pgwide-option? pgwide="1"}
frame="{frame=all}" frame="{frame=all}"
{grid%rowsep="1" colsep="1"} {grid%rowsep="1" colsep="1"}
rowsep="{grid@none|cols:0:1}" colsep="{grid@none|rows:0:1}" rowsep="{grid@none|cols:0:1}" colsep="{grid@none|rows:0:1}"