…for TOC entries pointing at hidden elements.
(I guess this might have to wait until the DOM style property is implemented in v8.1, but I’ll ask anyway. :mrgreen:)
If you automatically generate a table of contents out of all the headers in your document (h1,…,h6) via JavaScript and, say, one of them is “hidden”, when you output the page counter with your CSS, you get a 0 (zero) as the corresponding page number (and a broken link in the PDF document).
Is there a way to avoid these headers from showing in the TOC (apart, of course, from knowing which ones they are at the outset, and explicitly exclude them one by one with JavaScript)?
Many thanks.
(I guess this might have to wait until the DOM style property is implemented in v8.1, but I’ll ask anyway. :mrgreen:)
If you automatically generate a table of contents out of all the headers in your document (h1,…,h6) via JavaScript and, say, one of them is “hidden”, when you output the page counter with your CSS, you get a 0 (zero) as the corresponding page number (and a broken link in the PDF document).
Is there a way to avoid these headers from showing in the TOC (apart, of course, from knowing which ones they are at the outset, and explicitly exclude them one by one with JavaScript)?
Many thanks.