X-Git-Url: https://git.distorted.org.uk/~mdw/tig/blobdiff_plain/a643fbd72dc16eb863c4a564c23e7a54a5e9dd73..accccb2b9d89e13e5b86ac7af7160446a65349ab:/asciidoc.conf diff --git a/asciidoc.conf b/asciidoc.conf index a23a8f4..61b2d93 100644 --- a/asciidoc.conf +++ b/asciidoc.conf @@ -6,25 +6,52 @@ ifdef::backend-docbook[] {0#} endif::backend-docbook[] +ifdef::backend-xhtml11[] +[gitlink-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 [header] -
+

{doctitle}

[footer]