groff
[Top][All Lists]
Advanced

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

Re: weird \s


From: Tadziu Hoffmann
Subject: Re: weird \s
Date: Tue, 31 Mar 2020 15:30:27 +0200
User-agent: Mutt/1.11.4 (2019-03-13)

> [...] at the expense of obvious clarity to anyone writing
> content today [...]

If you want clarity, choose the modern syntax: \s[40].
(By the way, groff also allows \s'40'.)

The old syntax will always be inconsistent or ambiguous, unless
you are willing to give up on the \s0 shortcut for returning
to the previous size.  E.g., what should \s0000010 mean?
Should this behave differently from \s10?  Why or why not?
Should we allow leading zeros in numbers?  They are perfectly
okay in the rest of groff.

(Note that the C syntax of using a leading zero to denote an
octal number is similarly misleading and should have been
abolished long ago.)





reply via email to

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