groff
[Top][All Lists]
Advanced

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

Re: [Groff] bug in macro '.IR' (was ASCII Minus Sign in man Pages).


From: Bjarni Ingi Gislason
Subject: Re: [Groff] bug in macro '.IR' (was ASCII Minus Sign in man Pages).
Date: Thu, 27 Apr 2017 19:11:29 +0000
User-agent: Mutt/1.5.20 (2009-12-10)

On Wed, Apr 26, 2017 at 11:54:21AM -0400, G. Branden Robinson wrote:
> At 2017-04-26T15:50:26+0100, Ralph Corderoy wrote:

[...]

> >   ??? .IR being is just a shorthand for `\f' and `\^' that can be done
> >     manually when needed, e.g. `.TH'.
> 
> FYI, .IR does not give you this "italic correction" in groff 1.22.3:
> 
>       .de1 IR
>       .  if \\n[.$] \{\
>       .    ds an-result \&\f[I]\\$1\f[R]\"
>       .    shift
>       .    while (\\n[.$] >= 2) \{\
>       .      as an-result \/\\$1\f[I]\,\\$2\f[R]\"
>       .      shift 2
>       .    \}
>       .    if \\n[.$] .as an-result \/\\$1\"
>       \\*[an-result]
>       .    ft R
>       .  \}
>       ..
> 

  I reported this bug (and in '.IB') in August 2014, #42906

-- 
Bjarni I. Gislason



reply via email to

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