diff options
author | G. Branden Robinson <g.branden.robinson@gmail.com> | 2020-11-14 13:22:36 +1100 |
---|---|---|
committer | G. Branden Robinson <g.branden.robinson@gmail.com> | 2020-11-14 13:51:00 +1100 |
commit | 5d2d67ad53af3aa960c0a29a40928e54bc248507 (patch) | |
tree | 6a9269f22cb8834ee380e0ede99e265e16170f09 /contrib/hdtbl | |
parent | 39547c537425830f2ebb9a3fba414af4cb7a69ab (diff) | |
download | groff-git-5d2d67ad53af3aa960c0a29a40928e54bc248507.tar.gz |
[man pages]: Use good style in page-local macros.
* contrib/hdtbl/groff_hdtbl.7.man (XAA):
* man/groff.7.man (request, esc, register): Stop calling two-font macros
with only one argument; instead, check the number of arguments
supplied and call appopriate macro.
Page-local macros are discouraged for portability reasons; the ones seen
here are technical debt.
Diffstat (limited to 'contrib/hdtbl')
-rw-r--r-- | contrib/hdtbl/groff_hdtbl.7.man | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/hdtbl/groff_hdtbl.7.man b/contrib/hdtbl/groff_hdtbl.7.man index 15a9b28bb..762624167 100644 --- a/contrib/hdtbl/groff_hdtbl.7.man +++ b/contrib/hdtbl/groff_hdtbl.7.man @@ -129,7 +129,10 @@ groff_hdtbl \- Heidelberger table macros for GNU roff . .de XAA . TQ -. CRI \\$@ +. ie (\\n[.$] < 2) \ +. CR \\$@ +. el \ +. CRI \\$@ .. . . |