[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 http://209.32.157.181/groff-em.html.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (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
wrong.
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!
Cheers,
Ted.
--------------------------------------------------------------------
E-Mail: (Ted Harding) <address@hidden>
Date: 25-Jan-00 Time: 19:58:01
------------------------------ XFMail ------------------------------
- Re: [Groff] new grohtml: white space problem., (continued)
- Re: [Groff] new grohtml: white space problem., Gaius Mulley, 2000/01/23
- Re: [Groff] new grohtml: white space problem., Werner LEMBERG, 2000/01/23
- Re: [Groff] new grohtml: white space problem., Gaius Mulley, 2000/01/23
- Re: [Groff] new grohtml: white space problem., Werner LEMBERG, 2000/01/24
- Re: [Groff] new grohtml: white space problem., Eddie Maddox, 2000/01/24
- Re: [Groff] new grohtml: white space problem., Gaius Mulley, 2000/01/24
- Re: [Groff] new grohtml: white space problem., Eddie Maddox, 2000/01/24
- Re: [Groff] new grohtml: white space problem., Werner LEMBERG, 2000/01/25
- Re: [Groff] new grohtml: white space problem., Eddie Maddox, 2000/01/25
- [Groff] Max of 9 macro parameters., Eddie Maddox, 2000/01/25
- RE: [Groff] Max of 9 macro parameters.,
Ted Harding <=
- RE: [Groff] Max of 9 macro parameters., Eddie Maddox, 2000/01/25
- [Groff] Macro params getting split, leading "="., Eddie Maddox, 2000/01/26
- RE: [Groff] Macro params getting split, leading "="., Ted Harding, 2000/01/26
- RE: [Groff] Macro params getting split, leading "="., Eddie Maddox, 2000/01/26
- RE: [Groff] Max of 9 macro parameters., Eddie Maddox, 2000/01/30
- [Groff] new grohtml: .TLs and .SHs., Eddie Maddox, 2000/01/15
- Re: [Groff] new grohtml: .TLs and .SHs., Gaius Mulley, 2000/01/16
- Re: [Groff] new grohtml: .TLs and .SHs., Eddie Maddox, 2000/01/16
Re: [Groff] Groff Gems, Werner LEMBERG, 2000/01/31