bug-texinfo
[Top][All Lists]
Advanced

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

Re: @enumerate does not support start numbers ≥ 10


From: Karl Berry
Subject: Re: @enumerate does not support start numbers ≥ 10
Date: Tue, 9 Jul 2013 23:01:30 GMT

    -          if (!defined($arg->{'text'}) or $arg->{'text'} !~ 
/^[[:alnum:]]$/) {
    +          if (!defined($arg->{'text'}) or ($arg->{'text'} !~ 
/^[[:alnum:]]$/ and
    +              $arg->{'text'} !~ /^[0-9]+$/)) {

Thanks, but it appears to be insufficient.  For me, running the patched
makeinfo results on this:

\input texinfo
@setfilename enum10.info
@enumerate 10
@item
Tenth item.
@end enumerate
@bye

Results in:

  .  Tenth item.

It was not immediately apparent to me where it's getting mixed up.
$arg->{'text'} and hence $spec are indeed "10" ...
If Patrice doesn't get it in the next couple of days, I'll look further.

k



reply via email to

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