groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] inconsistency between .R and \*R in man.tmac


From: Werner LEMBERG
Subject: Re: [Groff] inconsistency between .R and \*R in man.tmac
Date: Sat, 22 Dec 2001 20:51:59 +0100 (CET)

> > > Have \*R be (Reg) as God intended.  But also trap any arguments
> > > being passed to .R and error else they'll otherwise disappear as
> > > we saw with mkisofs.  The use of just `.R' on a line to affect
> > > the next line won't work but the next line of text won't
> > > disappear so it's not too bad.
> 
> I've tried and failed  :-(

What about this:

----------------------------------------------------------------------

.de1 R
\c
.ie \\n[.$] \{\
.  tm `R' is a string (producing the copyright sign), not a function.
.  nop \\$*
.\}
.el \{\
.  ie c\[rg] \
.    nop \[rg]\c
.  el \
.    nop (Reg.)\c
.\}
..
.
This is
.R a test.
.br
This is a test with the \*R sign.

----------------------------------------------------------------------

I haven't tested it fully, though.


    Werner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]