[tex-k] bug report for makeindex

Paulo Ney de Souza pauloney at gmail.com
Sat Aug 3 00:01:18 CEST 2024


Hi Karl,

Well ... I see you point now -- to report the consecutive numbers
in a different format, so to give "nomencl" the opportunity to
typeset the two consecutive pages with an \emdash. ... so
makeindex outputs both formats, which is nice.

"nomencl" is capable of dealing with the format:

     \nompageref{2, 3}

but not with the format:

     \nompageref{2}, \nompageref{4}

which is definitely a bug on "nomencl".

Well done! Thank you.
Paulo Ney

On Fri, Aug 2, 2024 at 2:43 PM Karl Berry <karl at freefriends.org> wrote:

> Hi Paulo,
>
>       \item [{M}]\begingroup conjugate\nomeqref {0}\nompageref{2},
>     \nompageref{4}
>
> Not that I know the ins and outs of everything makeindex does, but this
> result does not seem completely surprising to me, since 2,3 is
> consecutive and 2,4 isn't. So different output doesn't seem like a bug,
> necessarily. What happens with 2,5?
>
>     This is a problem because packages like "nomencl" expect the output
>     format in a particular way.
>
> It expects all references to be within one \nompageref command?
> Maybe that needs to be changed, if reliability is desired.
> Or maybe there is some easy makeindex configuration parameter that can
> be set to force that? I don't know without researching, which you can do
> just as well as me :).
>
> I see that Boris is one of the nomencl maintainers, so cc-ing him so he
> can weigh in and what should change here.
> Boris, Paulo's original msg is here:
> https://tug.org/pipermail/tex-k/2024-August/004093.html
>
> Thanks,
> Karl
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-k/attachments/20240802/841497d2/attachment.htm>


More information about the tex-k mailing list.