[BACK]Return to basic.out_ascii CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / man / MR

File: [cvsweb.bsd.lv] / mandoc / regress / man / MR / basic.out_ascii (download)

Revision 1.1, Tue Oct 24 20:53:14 2023 UTC (8 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD

Implement the man(7) .MR macro, a 2023 GNU extension.
The syntax and semantics is almost identical to mdoc(7) .Xr.

This will be needed for reading the groff manual pages once our port
will be updated to 1.23, and the Linux Manual Pages Project is also
determined to start using it sooner or later.  I did not advocate for
this new macro, but since we want to remain able to read all manual
pages found in the wild, there is little choice but to support it.
At least it is easy to do, they basically copied .Xr.

MR-BASIC(1)                 General Commands Manual                MR-BASIC(1)

NNAAMMEE
     MR-basic - manual page cross references

DDEESSCCRRIIPPTTIIOONN
     empty: () prints empty name and parentheses

     single argument: name() prints empty parentheses

     two arguments: test(1) normal use

     three arguments: test(1)suffix with suffix

     four arguments: test(1)suffix warning

     five arguments: test(1)suffix warning

     after setting bboolldd ffoonntt:: test(1)suffix not bold

     in bold next-line scope: test(1)suffix not bold

     first tag
          first body

     test(1)tag
          test body

OpenBSD                        October 24, 2023                    MR-BASIC(1)