[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] Support 2-digit \sNN only in compatibility mode.
From: |
Dave Kemper |
Subject: |
Re: [PATCH v2] Support 2-digit \sNN only in compatibility mode. |
Date: |
Sat, 04 Apr 2020 04:18:44 -0500 |
One issue in this patch:
> --- a/doc/groff.texi
> +++ b/doc/groff.texi
> @@ -10051,8 +10051,13 @@ and the text begins. Any of the following forms are
> valid:
>
> @table @code
> @item \s@var{n}
> -Set the point size to @var{n}@tie{}points. @var{n}@tie{}must be either
> -0 or in the range 4 to@tie{}39.
> +Set the point size to @var{n}@tie{}points. @var{n}@tie{}must be a
> +single digit.
> +
> +In compatibility mode only, @var{n}@tie{}may also be a two-digit value
> +in the range range 10 to@tie{}39.
This correctly states that in normal mode, any single digit is now legal, but
removes from the documentation the statement that in compatibility mode, the
single digits 1-3 are disallowed (or rather, that they always signal a
two-digit font size, making something such as "\s2tiny type" a syntax error).
Similarly, the ChangeLog entry states "only values in the range 10-39 are
handled specially," although in fact the single digits 1-3 are also handled
specially.
One issue that has apparently existed in doc/groff.texi since time immemorial
(and should perhaps be a separate patch, since it's independent of this change):
The \s[NNN] form is completely undocumented in the \s section.