bug-texinfo
[Top][All Lists]
Advanced

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

Re: macro args broken


From: Karl Berry
Subject: Re: macro args broken
Date: Fri, 7 Feb 2003 11:38:15 -0500

    test.texi:12: Macro `imbox' called on line 12 with too many args.
    ...
    @address@hidden,,,Feelings}, -.5cm}

Unfortunately makeinfo disregards braces when computing macro arguments,
so every one of those commas is treated as separating arguments.
Obviously a bug...

You can escape the commas for makeinfo:
    @address@hidden,\,\,Feelings}, -.5cm}
But then TeX doesn't like it.  Argh.

It might work to test the brace depth at line 197 of makeinfo/macro.c,
i.e., something like:
      else if ((character == ',' && !quote_single && depth <= 1) ||
but I fear that such a change would involve lots of testing and possible
incompatibilities.

I don't see any other easy workaround, either.  Except to change your
images in the first place so you don't have to smash them down to zero :)?




reply via email to

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