summaryrefslogtreecommitdiff
path: root/tmac/an-old.tmac
diff options
context:
space:
mode:
authorwlemb <wlemb>2004-07-03 12:46:54 +0000
committerwlemb <wlemb>2004-07-03 12:46:54 +0000
commit312065e97893f691bdce357b1aeacf2d64c1e9cc (patch)
treea43a15c39b1c473ad2ad9c2ac8aa595b28b1e963 /tmac/an-old.tmac
parent3b9aa46bb67602a46cb2c73c722fe63c9bae0384 (diff)
downloadgroff-312065e97893f691bdce357b1aeacf2d64c1e9cc.tar.gz
* tmac/an-old.tmac (RI): Always start with font `R'.
(RI, IR): Properly end with font `R'. * man/ditroff.man, man/groff_font.man, man/groff_out.man, src/devices/grohtml/grohtml.man, src/preproc/grn/grn.man, src/preproc/pic/pic.man, tmac/groff_man.man, tmac/groff_ms.man: Don't pass more than six arguments to .R, .I, .B, etc., for compatibility with traditional troff macros.
Diffstat (limited to 'tmac/an-old.tmac')
-rw-r--r--tmac/an-old.tmac8
1 files changed, 5 insertions, 3 deletions
diff --git a/tmac/an-old.tmac b/tmac/an-old.tmac
index 6b75be20..1fd7866f 100644
--- a/tmac/an-old.tmac
+++ b/tmac/an-old.tmac
@@ -1,6 +1,6 @@
.\" an-old.tmac
.\"
-.\" Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002, 2003
+.\" Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002, 2003, 2004
.\" Free Software Foundation, Inc.
.\" Written by James Clark (jjc@jclark.com)
.\"
@@ -456,14 +456,15 @@
.
.de1 RI
. if \\n[.$] \{\
-. ds an-result \&\\$1
+. ds an-result \&\f[R]\\$1
. shift
. while (\\n[.$] >= 2) \{\
. as an-result \,\f[I]\\$1\f[R]\/\\$2\\*[an-empty]
. shift 2
. \}
-. if \\n[.$] .as an-result \,\f[I]\\$1\f[R]
+. if \\n[.$] .as an-result \,\f[I]\\$1
\\*[an-result]
+. ft R
. \}
..
.
@@ -477,6 +478,7 @@
. \}
. if \\n[.$] .as an-result \/\\$1
\\*[an-result]
+. ft R
. \}
..
.