groff
[Top][All Lists]
Advanced

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

Re: [PATCH] Support 2-digit \sNN only in compatibility mode.


From: G. Branden Robinson
Subject: Re: [PATCH] Support 2-digit \sNN only in compatibility mode.
Date: Wed, 1 Apr 2020 04:50:08 +1100
User-agent: NeoMutt/20180716

At 2020-03-31T18:17:52+0100, Ralph Corderoy wrote:
> This is not acceptable.  My muscles know to write \s14foo\s0 bar and
> don't like changing, my eyes know how to read it.

What text editor do you use?

> I don't see why you should force this side issue on us when the topic
> is whether \s42foo\s0 sets the point size to 42.

It doesn't.  Groff doesn't (before or after my patch).  Heirloom troff
doesn't:

$ cd ~/heirloom && printf '\\s39A' | ./bin/troff >| 39 \
&& printf '\\s40A' | ./bin/troff >| 40 && diff -u 39 40
--- 39  2020-04-01 04:40:31.486451241 +1100
+++ 40  2020-04-01 04:40:31.502451234 +1100
@@ -13,7 +13,7 @@
 x font 8 HX /home/branden/heirloom/lib/doctools/font/devps/HX.afm 4
 x font 9 S1 /home/branden/heirloom/lib/doctools/font/devps/S1.afm 516
 x font 10 S /home/branden/heirloom/lib/doctools/font/devps/S.afm 1028
-s-23 39
+s4
 f1
 x X LC_CTYPE en_US.UTF-8
 H72000

Regards,
Branden

Attachment: signature.asc
Description: PGP signature


reply via email to

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