Hi Denis,

Denis Fondras wrote on Thu, Sep 10, 2020 at 10:09:14PM +0200:

> I can't see where these two lines are printed.

Not OK, please do not commit that diff.

You are correct that these two macros produce no output to the
terminal, but they do produce output to the ctags(1) file and they
also produce output in -T html mode.


In a shell, please try the following command:

  $ man -O tag=destination route

For documentation about what .Tg does, type

  $ man -O tag=Tg mdoc

to get a brief one-line summry,
then press the key "t" once for a complete description.

Also see:

  $ man -O tag=MANPAGER man
  $ man -O tag=tag mandoc

I admit the documentation is somewhat scattered, but given that
many components must work in concert for this - mdoc(7) language,
mandoc(1) formatter, man(1) viewer, less(1) pager, ctags(1) file
format - i'm not sure how to document it better.  Fresh ideas are
certainly welcome.

I also admit the commit message is somewhat short,
contrary to my habits:

  revision 1.91
  date: 2020/01/19 18:22:31;  author: schwarze;  state: Exp;
    lines: +27 -2;  commitid: 4187beoLSE9wGXJc;
  add some explicit tagging macros; OK kn@ on a previous version

Yours,
  Ingo


> Index: route.8
> ===================================================================
> RCS file: /cvs/src/sbin/route/route.8,v
> retrieving revision 1.91
> diff -u -p -r1.91 route.8
> --- route.8   19 Jan 2020 18:22:31 -0000      1.91
> +++ route.8   10 Sep 2020 20:06:52 -0000
> @@ -197,8 +197,6 @@ If the priority is negative, then routes
>  priority are shown.
>  .El
>  .Pp
> -.Tg destination
> -.Tg gateway
>  The other commands relating to adding, changing, or deleting routes
>  have the syntax:
>  .Pp

Reply via email to