For traceability purposes I want to output a list showing where the snippets are used in my main output (a pdf user guide).
Not in which topic they are used (I know about the "View links" option), but in which sections and pages of my user guide.
This is why I am thinking about having crossrefs, with a style that embeds the nearest heading and page number.
But crossreferencing a snippet is not possible via the "Insert Cross-Reference" pop-up and inserting a manual crossref does not allow to display any info.
Same for crossref to a bookmark inside a snippet, the crossref has to be inserted manually.
Having a bookmark above the snippets could work but it would be an additional step after the insertion of the snippet and therefore a step prone to errors and omissions.
I also thought about an auto-index, using the text of my snippets as index entries. This would work but that would also be very manual and would require a lot of effort to maintain.
Do you see a clean way to crossreference snippets ? The alternative methods I've tried all have their own drawbacks.
Have someone encountered this kind of problematic?
Thank you
