diff options
author | G. Branden Robinson <g.branden.robinson@gmail.com> | 2021-10-08 00:46:41 +1100 |
---|---|---|
committer | G. Branden Robinson <g.branden.robinson@gmail.com> | 2021-10-08 00:51:58 +1100 |
commit | 2ab0dacb95863a2e347d06cf970676c74c784ce2 (patch) | |
tree | 511787f16400b5cef47d1a0f1616a60b2c8b1887 /man/groff_font.5.man | |
parent | b1bea70174bc470d6c7f37cfb58190e813871946 (diff) | |
download | groff-git-2ab0dacb95863a2e347d06cf970676c74c784ce2.tar.gz |
[man pages]: Migrate man(7) cross refs to `MR`.
# Handle simplest case: ".IR foo (1)".
s/^.[BI]R \(\\%\)*\([@_[:alnum:]\\-]\+\) (\(@MAN[157]EXT@\))$/.MR \2 \3/
s/^.[BI]R \(\\%\)*\([@_[:alnum:]\\-]\+\) (\([1-8a-z]\+\))$/.MR \2 \3/
# Handle case: trailing puncutation, e.g., ".IR foo (1),".
s/^.[BI]R \(\\%\)*\([@_[:alnum:]\\-]\+\) (\(@MAN[157]EXT@\))\([^[:space:]]\+\)/.MR \2 \3 \4/
s/^.[BI]R \(\\%\)*\([@_[:alnum:]\\-]\+\) (\([1-8a-z]\+\))\([^[:space:]]\+\)/.MR \2 \3 \4/
# Handle case: 3rd+ arguments or trailing comments. This case is rare
# and will require manual fixup if there are 4+ arguments to MR. Use
# groff -man -rCHECKSTYLE=1 to have them automatically reported.
s/^.[BI]R \(\\%\)*\([@_[:alnum:]\\-]\+\) (\(@MAN[157]EXT@\))\( .*\)/.MR \2 \3\4/
s/^.[BI]R \(\\%\)*\([@_[:alnum:]\\-]\+\) (\([1-8a-z]\+\))\( .*\)/.MR \2 \3\4/
Diffstat (limited to 'man/groff_font.5.man')
-rw-r--r-- | man/groff_font.5.man | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/man/groff_font.5.man b/man/groff_font.5.man index 39847a205..a54885e3f 100644 --- a/man/groff_font.5.man +++ b/man/groff_font.5.man @@ -161,13 +161,13 @@ to generate PNG images from PostScript input. . Under GNU/Linux, this is usually -.IR gs (1), +.MR gs 1 , but under other systems (notably Cygwin) it might be set to another name. . The -.IR \%grohtml (@MAN1EXT@) +.MR grohtml @MAN1EXT@ driver uses this directive. . . @@ -838,7 +838,7 @@ escape sequence. The code can be any integer (that is, any integer parsable by the C standard library's -.IR strtol (3) +.MR strtol 3 function). . . @@ -980,7 +980,7 @@ and device-independent output format. . .P Section \[lq]See also\[rq] of -.IR groff (@MAN1EXT@) +.MR groff @MAN1EXT@ lists utilities available for preparing font files in a variety of formats for use with .I groff @@ -988,9 +988,9 @@ output drivers. . . .P -.IR groff_out (@MAN5EXT@), -.IR \%@g@troff (@MAN1EXT@), -.IR \%addftinfo (@MAN1EXT@) +.MR groff_out @MAN5EXT@ , +.MR @g@troff @MAN1EXT@ , +.MR addftinfo @MAN1EXT@ . . .\" Restore compatibility mode (for, e.g., Solaris 10/11). |