2 (?su)[\\]?(?P<name>manpage):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
4 ifdef::backend-docbook[]
8 {0#<refentrytitle>{target}</refentrytitle><manvolnum>{0}</manvolnum>}
10 endif::backend-docbook[]
12 ifdef::backend-xhtml11[]
14 <a href="{target}{0?.{0}}.html">{target}{0?({0})}</a>
15 endif::backend-xhtml11[]
17 ifdef::doctype-manpage[]
18 ifdef::backend-docbook[]
20 template::[header-declarations]
23 <refentrytitle>{mantitle}</refentrytitle>
24 <manvolnum>{manvolnum}</manvolnum>
25 <refmiscinfo class="source">Tig</refmiscinfo>
26 <refmiscinfo class="version">{version}</refmiscinfo>
27 <refmiscinfo class="manual">Tig Manual</refmiscinfo>
30 <refname>{manname}</refname>
31 <refpurpose>{manpurpose}</refpurpose>
34 # The following two small workarounds insert a simple paragraph after screen
38 <example><title>{title}</title>
41 </screen><simpara></simpara>
45 <formalpara{id? id="{id}"}><title>{title}</title><para>
46 {title%}<literallayout{id? id="{id}"}>
47 {title#}<literallayout>
49 </literallayout><simpara></simpara>
50 {title#}</para></formalpara>
51 endif::backend-docbook[]
52 endif::doctype-manpage[]
55 # No header or footers for README.html
57 <div style="font-family: sans-serif;">
64 (^|[^-\\])--($|[^-])=\1--\2