bug-texinfo
[Top][All Lists]
Advanced

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

Re: ambiguous @*table with argument missing formatter argument message


From: Raymond Toy
Subject: Re: ambiguous @*table with argument missing formatter argument message
Date: Thu, 8 Dec 2022 15:58:37 -0800



On Thu, Dec 8, 2022 at 2:59 PM Patrice Dumas <pertusus@free.fr> wrote:
Hello,

Not sure about that as I am not a native english speaker.  When a
@*table does not have an @-command formatter for the items, the error
message is

d.texi:2: table requires an argument: the formatter for @item

This message seems fine to me if there is no argument for @*table,
however, if there is an argument it seems ambiguous as there is already
an argument, only not of the good type.

For example the following case of @table with an incorrect argument
triggers the error message above:

@table foo
@end table

Maybe the message could be changed to something like

d.texi:2: table requires as argument the formatter for @item

What do you think?

Perhaps something like this would be clearer?

d.texi:2: Unrecognized @table argument for the formatter for @item: foo

I find error messages that give the offending value really helpful.  This also assumes that @table will only recognize a certain set of possible formatters.  I don't know if that is true.  IIRC, maxima was using @var as the formatter, but @var was redefined, so I don't know if that would count as a recognized formatter.  But it definitely didn't work.

--
Pat



--
Ray

reply via email to

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