Code: Select all
content: target-counter(attr(href), page);
However, this also adds a page number after any element that contains an @href. For instance, I have figure/table links throughout the document, this will add a page number after that link (which I don't want and looks pretty bad):
AGIL, shown in Figure 2.123 - The figure is 2.1 and "23" is the page number.
Can I only output the page numbers for the Index links and suppress them for the figure/table links?