[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eqn anomaly
From: |
Ralph Corderoy |
Subject: |
Re: eqn anomaly |
Date: |
Tue, 03 Mar 2020 13:16:16 +0000 |
Hi,
> With that in mind, GNU eqn produces the output I expect.
>
> .EQ
> define f % $1 %
> f("a,b")
> .EN
> .
> .EQ
> "a
> .EN
>
> I get the same diagnostic twice.
Returning to Doug's aim, does avoiding using a literal comma suffice?
$ cat eqn.tr
.EQ
define f % $1 %
f("a\N'44'b")
.EN
$
$ eqn -Tascii eqn.tr | troff -Tascii | grotty -c | grep .
a,b
$
$ eqn -Tascii eqn.tr | grep -w 10
.ds 10
.ds 10
.as1 10 \&\E*[0sfont]\f[I]\s'\En[0ssize]u'a\N'44'b\E*[0rfont]
.if !\n[0x] .if \n[0h0]>85M .as1 10 \x'-(\n[0h0]u-85M)'
.if !\n[0x] .if \n[0d0]>35M .as1 10 \x'\n[0d0]u-35M'
\*(10
$
--
Cheers, Ralph.