[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: weird \s
From: |
Clarke Echols |
Subject: |
Re: weird \s |
Date: |
Mon, 30 Mar 2020 17:35:46 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
I've used troff since the 1980s, and I've NEVER used that form for
defining point size.
Instead, I used .ps to establish the point size, then \s+nn where I've
used values up to 15
or perhaps more -- don't recall for sure.
I then us \s0 to return to the original value before the change.
Same applies when I use \s-2 or \s-5, etc., then \s+n to get back to
where I want
to be or some other value.
Clarke
On 3/30/20 5:16 PM, Doug McIlroy wrote:
Does anyone else see the following behavior?
Version 1.22.4 handles \s correctly up to \s39, but
truncates a size of 40 or greater to its first
digit. Here are two screen shots, with ^D edited in
to show where input ends and output begins.
groff | tail -5
\s39 hello
^D
%%EndPageSetup
/F0 39/Times-Roman@0 SF(hello)81.75 12 Q 0 Cg EP
%%Trailer
end
%%EOF
groff |tail -5
\s40 hello
^D
%%EndPageSetup
/F0 4/Times-Roman@0 SF 1(0h)72 12 S(ello)-1 E 0 Cg EP
%%Trailer
end
%%EOF
The second example takes "0" as text, not part of the number 40.
I met the behavior with \s48. It continues at least
through \s50.
Doug
--
Clarke Echols
B2B Commercial Writer
and Marketing Communications Specialist
"Freedom comes from seeing the ignorance
of your critics and discovering the
emptiness of their virtue" - Ayn Rand -
(as quoted by Robert Ringer)
Re: weird \s, Mike Bianchi, 2020/03/31