bug-groff
[Top][All Lists]
Advanced

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

Re: \s[] gives syntax error (should restore previous size)


From: Jim Avera
Subject: Re: \s[] gives syntax error (should restore previous size)
Date: Tue, 05 Mar 2013 10:02:20 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2

Thanks for fixing the docs.

I'm curious, though, why \s can not support the no-argument form
in the same way that \f and \F do.

-Jim

On 03/05/2013 12:07 AM, Werner LEMBERG wrote:
# \s[] causes a syntax error.  According to 'info groff'
# \s with no argument should restore the previous point size
Ah, this is badly formulated in the info manual.  The groff(7) manpage
documents it correctly.

`\s' *always* needs an numeric argument.  So the valid forms to return
to the previous size are

   \s0
   \s(00
   \s[0]
   \s'0'

It's the `.ps' request which can be called without an argument.

Fixed in CVS, thanks.


     Werner




reply via email to

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