[Top][All Lists]

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

RE: [Groff] Max of 9 macro parameters.

From: Ted Harding
Subject: RE: [Groff] Max of 9 macro parameters.
Date: Tue, 25 Jan 2000 19:58:02 -0000 (GMT)

On 25-Jan-00 Eddie Maddox wrote:
> Max of 9 macro parameters.
> I believe this is a bug. It can certainly hurt when doing HTML related
> macros. 
> I have posted two files, bug1.txt, bug1.html,
> at
>    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (you may need to enter this
> whole
> string, or your wonderful pet browser may not find it)
> Thanks yet again.
> ------------------
> Eddie Maddox
> address@hidden

I'm pretty sure this is not a bug. Certainly your source code looks

First, groff (more precisely gtroff) can definitely take unlimited
numbers of macros.

Second, to refer to a macro argument whose number nn or nnn needs more
than 1 digit (i.e. other than \\$0 ... \\$9) you should use \\S(nn of
\\$[nnn]. Your html source probably needs this.

Thirdly, you invoke .bug1 with 20 arguments. The definition of .bug1
refers to \\$0 ... \\$9 in the first line, \\$10 in the second line
and then \\$23 and so on; you don't have a \\$23 in tthe call!


E-Mail: (Ted Harding) <address@hidden>
Date: 25-Jan-00                                       Time: 19:58:01
------------------------------ XFMail ------------------------------

reply via email to

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