Re: @enumerate does not support start numbers ≥ 10

2013-07-09 Thread Norbert Preining
On Di, 09 Jul 2013, Karl Berry wrote: > . Tenth item. Indeed. Interestingly, the XML and PDF output is correct, but plaintext and info is wrong. > $arg->{'text'} and hence $spec are indeed "10" ... The bug is somewhere else, namely in Texinfo/Common.pm:2530: sub enumerate_item_representation(

Re: @enumerate does not support start numbers ≥ 10

2013-07-09 Thread Karl Berry
- 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 ma

Re: @enumerate does not support start numbers ≥ 10

2013-07-09 Thread Dmitry Shachnev
Please consider this patch, which fixes the issue: --- texinfo/Texinfo/Parser.pm +++ texinfo/Texinfo/Parser.pm @@ -2973,7 +2973,8 @@ $current->{'cmdname'}); } my $arg = $current->{'extra'}->{'block_command_line_contents'}->[0]->[0]; - if (!