# AsciiDoc configuration file # Copyright (c) Jonas Fonseca , 2006 # This file sets the following ELinks specific AsciiDoc macros: # # General purpose: # - man:page[section]: which is used for linking between ELinks manpages. # # API Doc: # - id:[] # - enum:[] # - func:[] # - struct:[] # - macro:[] # - typedef:[] # - ref:[] # Some macros can have optional {0} value, that is what # the {0%...} and {0#...} handles. ############################################################################# # DocBook ifdef::backend-docbook[] # No interlinking between elinks manpages [man-inlinemacro] {0%{target}} {0#} {0#{target}{0}} {0#} # For manpages use less verbose linking ifdef::doctype-manpage[] [link-inlinemacro] {0%<{target}>} {0#{0} <{target}>} [http-inlinemacro] {0%<http:{target}>} {0#{0} <http:{target}>} [mailto-inlinemacro] <{target}> endif::doctype-manpage[] endif::backend-docbook[] ############################################################################# # XHTML11 ifdef::backend-xhtml11[] # Use the man:[] macro to link between elinks manpages [man-inlinemacro] {target}({0}) # API Doc macros [id-inlinemacro] {0} [enum-inlinemacro] enum {target}: {0} [func-inlinemacro] {target}(): {0} [struct-inlinemacro] struct {target}: {0} [macro-inlinemacro] struct {target}: {0} [typedef-inlinemacro] typedef {target}: {0} [ref-inlinemacro] {0} endif::backend-xhtml11[]