Getting link destination errors with index

Mark Summerfield <[email protected]> Wed, 27 Jun 2018 11:19:29 +0100
Newsgroups gmane.comp.type-setting.lout
Organization Qtrac Ltd.
Message-ID <20180627111929.14741b65@suki>
Hi,

I have created a symbol @X which uses @Pipe{} to return index entries.

For example:
    @X{"lx Classes/Inheritance/Mixins"}
returns this to lout (as one line) with no spaces between:

{"classes"}@RawIndex{Classes}
{"classes!inheritance"}@RawSubIndex{Inheritance}
{"classes!inheritance!mixins"}@SubSubIndex{Mixins}

In a small test file when I use the example once, it is fine.

But when I use it twice, I get multiple errors:

lout1:1:108: cross reference @Index&&23.4637.lout1.1 used previously, at
"main.lout" 78,1 / "lout1" 1,108 lout1:1:108: cross reference
@PageMarker&&23.4637.lout1.1 used previously, at "main.lout" 78,1 /
"lout1" 1,108 lout1:1:108: link destination 23.4637.lout1.1 ignored (there
is already one at "main.lout" 78,1 / "lout1" 1,108) lout1:1:108: cross
reference @Index&&23.4637.lout1.1 used previously, at "main.lout" 78,1 /
"lout1" 1,108 lout1:1:108: cross reference @PageMarker&&23.4637.lout1.1
used previously, at "main.lout" 78,1 / "lout1" 1,108 lout1:1:108: link
destination 23.4637.lout1.1 ignored (there is already one at "main.lout"
78,1 / "lout1" 1,108) lout1:1:108: cross reference @Index&&23.4637.lout1.1
used previously, at "main.lout" 78,1 / "lout1" 1,108 lout1:1:108: cross
reference @PageMarker&&23.4637.lout1.1 used previously, at "main.lout"
78,1 / "lout1" 1,108 lout1:1:108: link destination 23.4637.lout1.1 ignored
(there is already one at "main.lout" 78,1 / "lout1" 1,108)

Can anyone shed any light on this please?

-- 
Mark Summerfield, Qtrac Ltd.
    ComparePDF - easy to use fast PDF comparison tool
        http://www.qtrac.eu/comparepdf.html