X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=asciidoc.conf;h=90fdb6ad71cc437f0cce15d77d879fd2ba200cb3;hb=2ae980f4dec0c8f239fa00544c29a4869117db7c;hp=8343a86cbb75f43f3df1c54f17a22191f6ca7a0b;hpb=f8a36a6b36fc62d41cca33659f85b7737311e592;p=tig.git diff --git a/asciidoc.conf b/asciidoc.conf index 8343a86..90fdb6a 100644 --- a/asciidoc.conf +++ b/asciidoc.conf @@ -1,32 +1,62 @@ 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 [header] -
+

{doctitle}

[footer]
+ +[replacements] +(^|[^-\\])--($|[^-])=\1--\2 endif::readme[]