We are trying to generate a table of contents using the following rule
/* Style the table of contents */
div.tableofcontents ul a:after {
content: leader('.') target-counter(attr(href), page);
Unfortunately the page numbers are all 0 because the hyperlinks are to a location outside of the generated document.
The pdf bookmarks are fine however. Therefore I am wondering if it is possible to modify the rule to use the pdf bookmarks?
This would be helpful to other Deki developers using the makebook template btw.
/* Style the table of contents */
div.tableofcontents ul a:after {
content: leader('.') target-counter(attr(href), page);
Unfortunately the page numbers are all 0 because the hyperlinks are to a location outside of the generated document.
The pdf bookmarks are fine however. Therefore I am wondering if it is possible to modify the rule to use the pdf bookmarks?
This would be helpful to other Deki developers using the makebook template btw.