bug-groff
[Top][All Lists]
Advanced

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

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


From: Jim Avera
Subject: \s[] gives syntax error (should restore previous size)
Date: Mon, 04 Mar 2013 14:53:25 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2

#!/bin/sh
# \s[] causes a syntax error.  According to 'info groff'
# \s with no argument should restore the previous point size
# Such behavior would be consistent with \m \f and \F, so this seems likely to be a bug

# (using groff 1.22.2 build from cvs)

groff -Tps <<'EOF' >/dev/null
.warn
.ps 10
.tm Before: .s=\n[.s]
original size \s[20] larger \s[] previous size
.tm After: .s=\n[.s]
.if !\n[.s]=10 .ab bug .s=\n[.s] -- \\s[] did not restore previous point size




reply via email to

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