Version
Package: reledmac 2025/04/13 v2.40.4 typesetting critical editions
TeX Engine
lualatex; no difference with pdflatex or xelates
Regression
unknown
Description
When I have the same index entry in (familiar and critical) footnotes on the same line, the index is not generated as expected.
I'm using indextools; problem occurs both while using makeindex and upmendex (with different error messages).
makeindex:
This is makeindex, version 2.17 [TeX Live 2025] (kpathsea + Thai support).
Scanning input file 2-indexing-2-indexing.idx....done (12 entries accepted, 0 rejected).
Sorting entries....done (42 comparisons).
Generating output file 2-indexing-2-indexing.ind....
## Warning (input = 2-indexing-2-indexing.idx, line = 7; output = 2-indexing-2-indexing.ind, line = 3):
-- Conflicting entries: multiple encaps for the same page under same key.
## Warning (input = 2-indexing-2-indexing.idx, line = 11; output = 2-indexing-2-indexing.ind, line = 5):
-- Conflicting entries: multiple encaps for the same page under same key.
## Warning (input = 2-indexing-2-indexing.idx, line = 3; output = 2-indexing-2-indexing.ind, line = 10):
-- Conflicting entries: multiple encaps for the same page under same key.
done (13 lines written, 3 warnings).
Output written in 2-indexing-2-indexing.ind.
Transcript written in 2-indexing-2-indexing.ilg.
upmendex:
This is upmendex version 1.11 [ICU 76.1] (TeX Live 2025).
Scanning input file 2-indexing-2-indexing.idx....done (12 entries accepted, 0 rejected).
12 entries accepted, 0 rejected.
Sorting index....done(5 comparisons).
Sorting pages....done(27 comparisons).
Making index file.Warning: Unmatched range opening operator '(',note.
Warning: Unmatched range closing operator ')',note.
Warning: Unmatched range opening operator '(',nulla.
Warning: Unmatched range closing operator ')',nulla.
Warning: Unmatched range opening operator '(',ulla.
Warning: Unmatched range closing operator ')',ulla.
...done.
6 warnings, written in 2-indexing-2-indexing.ilg.
Output written in 2-indexing-2-indexing.ind.
Does the problem happen both in parallel typesetting and normal typesetting?
It happens both in parallel and in normal typesetting
Minimal Working Example
\documentclass{article}
\usepackage{hyperref}
\usepackage[upmendex,splitindex]{indextools}
\usepackage[series={A,B},parapparatus,noeledsec,noend,noledgroup]{reledmac}
\makeindex
\makeindex[title=Index Nominum,name=name]
\begin{document}
\date{}
\title{Indexing with reledmac}
\maketitle
\begin{abstract}
This file provides a MWE of indexing with reledmac, referencing to line number.
The \verb+\edindex+ command is used. The package indextools is used, to have multiple index.
\end{abstract}
\beginnumbering
\pstart
Pellentesque non orci dui. Donec a \edtext{libero}{\Afootnote{Note\edindex{note}}} eu \edtext{nisl}{\Afootnote{Another note\edindex{note}}} sollicitudin lobortis eget nec lacus. \edtext{Nulla pellentesque, neque ut tincidunt vestibulum, ante mi varius purus, nec cursus\footnoteB{First comment\edindex{ulla}.} neque orci ut orci}{\lemma{Nulla\ldots orci}\Afootnote{Some comment\edindex{nulla}.}}. Donec bibendum\footnoteB{Some other comment\edindex{ulla}.} \edtext{Nulla pellentesque, neque ut tincidunt vestibulum, ante mi varius purus, nec cursus\footnoteB{Third comment\edindex[name]{ulla}.} neque orci ut orci}{\lemma{Nulla\ldots orci}\Afootnote{Some comment\edindex{nulla}.}}. Donec bibendum\footnoteB{Last comment\edindex[name]{ulla}.} ligula bibendum nisl aliquet auctor. Nam luctus lorem mauris, ac venenatis felis posuere non. Quisque ultricies ante magna, facilisis pellentesque nibh placerat at. Aliquam sit amet ante varius, vestibulum augue condimentum, scelerisque turpis. Proin\footnoteA{In the same line\edindex[name]{test}} at nibh\footnoteA{In the same line\edindex[name]{test}} vulputate, tincidunt tellus vel, vehicula libero. Praesent venenatis, turpis nec feugiat sodales, risus sapien tempus odio, at vehicula ipsum nisl a nisl. Nunc pretium elit tellus, ultrices facilisis odio interdum non. Donec et condimentum quam, id ullamcorper nisl.
\pend
\endnumbering
\newpage
\printindex
\printindex[name]
\end{document}
Workaround
unfortunately none
Version
Package: reledmac 2025/04/13 v2.40.4 typesetting critical editions
TeX Engine
lualatex; no difference with pdflatex or xelates
Regression
unknown
Description
When I have the same index entry in (familiar and critical) footnotes on the same line, the index is not generated as expected.
I'm using indextools; problem occurs both while using makeindex and upmendex (with different error messages).
makeindex:
upmendex:
It happens both in parallel and in normal typesetting
Minimal Working Example
Workaround
unfortunately none