X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=asciidoc%2Fpve-docbook.conf;fp=asciidoc%2Fpve-docbook.conf;h=ade991cef32ec79a550edf7317f35f2f32432135;hp=8c557b6ace36490f3fb029e72e7a79e4b4b285ad;hb=c7a25e7c933d32c2928e80034856853d36da91d0;hpb=69b974d9d43b30e96ed3bcf8fc7fbf34af4ceac7
diff --git a/asciidoc/pve-docbook.conf b/asciidoc/pve-docbook.conf
index 8c557b6..ade991c 100644
--- a/asciidoc/pve-docbook.conf
+++ b/asciidoc/pve-docbook.conf
@@ -44,29 +44,29 @@ endif::asciidoc7compatible[]
[blockdef-pass]
-latexmath-style=template="latexmathblock",subs=()
+latexmath-style=template="latexmathblock",subs=(),posattrs=(),filter="unwraplatex.py"
[macros]
# math macros.
-(?su)[\\]?(?Platexmath):(?P\S*?)\[(?P.*?)(?latexmath)::(?P\S*?)(\[(?P.*?)\])$=#[]
+(?s)[\\]?(?Platexmath):(?P\S*?)\[(?:\$\s*)?(?P.*?)(?:\s*\$)?(?latexmath)::(?P\S*?)(\[(?:\\\[\s*)?(?P.*?)(?:\s*\\\])?\])$=#[]
[latexmath-inlinemacro]
-
+
[latexmath-blockmacro]
-
+
[latexmathblock]
-{title}
+{title}
{title%}
-
+
{title#}
{title%}
@@ -80,7 +80,7 @@ latexmath-style=template="latexmathblock",subs=()
[image-blockmacro]
-