[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] explicit and implicit spacing in eqn
From: |
Doug McIlroy |
Subject: |
Re: [Groff] explicit and implicit spacing in eqn |
Date: |
Tue, 19 Apr 2016 08:47:31 -0400 |
User-agent: |
Heirloom mailx 12.5 7/5/10 |
>> But it is not unnoticeable in case of unary minus.
>> Groff eqn treats
>> a~=~-b
>> as if it were binary, and inserts extra space between
>> the - and b.
>
> It does work with the following patch--for the mentioned cases.
> In case of a=c~-b then there is only space before the '-',
> so either c-b or c~-~b must be used then.
Good sleuthing. I'd say the fix is robust if the example of
a=c~-b is the worst anomaly left--I can't guess what anyone
writing that really might want. I hope the fix is adopted.
Doug