X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=asciidoc.conf;h=90fdb6ad71cc437f0cce15d77d879fd2ba200cb3;hb=e2a1e4713a33a5ef971f241add9af111896aebba;hp=a23a8f49090f338af38f33a7e403032d19da4704;hpb=511147de010477fc7808df7fc535a32dd59fae31;p=tig.git
diff --git a/asciidoc.conf b/asciidoc.conf
index a23a8f4..90fdb6a 100644
--- a/asciidoc.conf
+++ b/asciidoc.conf
@@ -1,25 +1,52 @@
ifdef::backend-docbook[]
-[gitlink-inlinemacro]
+[manpage-inlinemacro]
{0%{target}}
{0#}
{0#{target}{0}}
{0#}
endif::backend-docbook[]
+ifdef::backend-xhtml11[]
+[manpage-inlinemacro]
+{target}{0?({0})}
+endif::backend-xhtml11[]
+
+ifdef::doctype-manpage[]
ifdef::backend-docbook[]
-# "unbreak" docbook-xsl v1.68 for manpages. v1.69 works with or without this.
+[header]
+template::[header-declarations]
+
+
+{mantitle}
+{manvolnum}
+Tig
+{version}
+Tig Manual
+
+
+ {manname}
+ {manpurpose}
+
+
+# The following two small workarounds insert a simple paragraph after screen
+#
+
[listingblock]
{title}
-
+
|
-
+
{title#}
-endif::backend-docbook[]
-ifdef::backend-xhtml11[]
-[gitlink-inlinemacro]
-{target}{0?({0})}
-endif::backend-xhtml11[]
+[verseblock]
+{title}
+{title%}
+{title#}
+|
+
+{title#}
+endif::backend-docbook[]
+endif::doctype-manpage[]
ifdef::readme[]
# No header or footers for README.html
@@ -29,4 +56,7 @@ ifdef::readme[]
[footer]
+
+[replacements]
+(^|[^-\\])--($|[^-])=\1--\2
endif::readme[]