3 # Usage: guiltlink: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 [guiltlink-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 [guiltlink-inlinemacro]
37 <a href="{target}.html">{target}{0?({0})}</a>
38 endif::backend-xhtml11[]