3 # Usage: linkguilt:command[manpage-section]
5 # Note, {0} is the manpage section, while {target} is the command.
7 # Show guilt link as: <command>(<section>); if section is defined, else just show
16 ifdef::backend-docbook[]
17 [linkguilt-inlinemacro]
20 {0#<refentrytitle>{target}</refentrytitle><manvolnum>{0}</manvolnum>}
22 endif::backend-docbook[]
25 ifdef::backend-docbook[]
26 # "unbreak" docbook-xsl v1.68 for manpages. v1.69 works with or without this.
28 <example><title>{title}</title>
33 endif::backend-docbook[]
35 ifdef::backend-xhtml11[]
36 [linkguilt-inlinemacro]
37 <a href="{target}.html">{target}{0?({0})}</a>
38 endif::backend-xhtml11[]
40 ifdef::doctype-manpage[]
41 ifdef::backend-docbook[]
43 template::[header-declarations]
46 <refentrytitle>{mantitle}</refentrytitle>
47 <manvolnum>{manvolnum}</manvolnum>
48 <refmiscinfo class="source">Guilt</refmiscinfo>
49 <refmiscinfo class="version">{version}</refmiscinfo>
50 <refmiscinfo class="manual">Guilt Manual</refmiscinfo>
53 <refname>{manname}</refname>
54 <refpurpose>{manpurpose}</refpurpose>
56 endif::backend-docbook[]
57 endif::doctype-manpage[]