Closed Omikhleia closed 1 year ago
Stripping positions from ToC entries avoids a mere text change that would not affect the ToC (same title, same page, only some inner character position changed) to be seen as a difference.
Implemented as a resilient "hack", but see also SILE https://github.com/sile-typesetter/sile/issues/1732 for the more general context.
(The "problem" occurs when some ToC entries contain commands, e.g. an emphasis etc.)
Stripping positions from ToC entries avoids a mere text change that would not affect the ToC (same title, same page, only some inner character position changed) to be seen as a difference.
Implemented as a resilient "hack", but see also SILE https://github.com/sile-typesetter/sile/issues/1732 for the more general context.
(The "problem" occurs when some ToC entries contain commands, e.g. an emphasis etc.)