## linktep: macro # # Usage: linktep:command[manpage-section] # # Note, {0} is the manpage section, while {target} is the command. # # Show TEP link as: (
); if section is defined, else just show # the command. [macros] (?su)[\\]?(?Plinktep):(?P\S*?)\[(?P.*?)\]= [attributes] asterisk=* plus=+ caret=^ startsb=[ endsb=] tilde=~ ifdef::backend-docbook[] [linktep-inlinemacro] {0%{target}} {0#} {0#{target}{0}} {0#} endif::backend-docbook[] ifdef::backend-docbook[] ifndef::tep-asciidoc-no-roff[] # "unbreak" docbook-xsl v1.68 for manpages. v1.69 works with or without this. # v1.72 breaks with this because it replaces dots not in roff requests. [listingblock] {title} ifdef::doctype-manpage[] .ft C endif::doctype-manpage[] | ifdef::doctype-manpage[] .ft endif::doctype-manpage[] {title#} endif::tep-asciidoc-no-roff[] ifdef::tep-asciidoc-no-roff[] ifdef::doctype-manpage[] # The following two small workarounds insert a simple paragraph after screen [listingblock] {title} | {title#} [verseblock] {title} {title%} {title#} | {title#} {title%} endif::doctype-manpage[] endif::tep-asciidoc-no-roff[] endif::backend-docbook[] ifdef::doctype-manpage[] ifdef::backend-docbook[] [header] template::[header-declarations] {mantitle} {manvolnum} libtraceevent {libtraceevent_version} libtraceevent Manual {manname1} {manname2} {manname3} {manname4} {manname5} {manname6} {manname7} {manname8} {manname9} {manname10} {manname11} {manname12} {manname13} {manname14} {manname15} {manname16} {manname17} {manname18} {manname19} {manname20} {manname21} {manname22} {manname23} {manname24} {manname25} {manname26} {manname27} {manname28} {manname29} {manname30} {manpurpose} endif::backend-docbook[] endif::doctype-manpage[] ifdef::backend-xhtml11[] [linktep-inlinemacro] {target}{0?({0})} endif::backend-xhtml11[]