diff --git a/doc/asciidoc.conf b/doc/asciidoc.conf index 1b5c0434..3e892aaa 100644 --- a/doc/asciidoc.conf +++ b/doc/asciidoc.conf @@ -28,6 +28,13 @@ squote=@squote@ {0#{target}{0}} {0#} +# No interlinking between elinks manpages +[otherman-inlinemacro] +{0%{target}} +{0#} +{0#{target}{0}} +{0#} + # For manpages use less verbose linking ifdef::doctype-manpage[] [link-inlinemacro] @@ -54,7 +61,9 @@ squote=' # Use the man:[] macro to link between elinks manpages [man-inlinemacro] -{eval:re.match("elinks", "{target}") != None}{target}({0}) -{eval:re.match("elinks", "{target}") == None}{target}({0}) +{target}({0}) + +[otherman-inlinemacro] +{target}({0}) endif::backend-xhtml11[] diff --git a/doc/elinks.1.txt b/doc/elinks.1.txt index 237176d2..493eb79f 100644 --- a/doc/elinks.1.txt +++ b/doc/elinks.1.txt @@ -78,7 +78,7 @@ HOME:: WWW_HOME:: - Homepage location (as in man:lynx[1]). + Homepage location (as in otherman:lynx[1]). FILES ----- @@ -167,8 +167,8 @@ was done by Jonas Fonseca mailto:fonseca@diku.dk[]. SEE ALSO -------- -man:elinkskeys[5], man:elinks.conf[5], man:links[1], man:lynx[1], man:w3m[1], -man:wget[1] +man:elinkskeys[5], man:elinks.conf[5], otherman:links[1], otherman:lynx[1], +otherman:w3m[1], otherman:wget[1] //////////////////////////////////////////////////////////////////////////// # vim: tabstop=4 shiftwidth=4 textwidth=76