Apply different page counter styles after resetting the page counter
The rule counter-reset: page
has no effect on the page numbering.
It is useful when we apply different styles. For instance:
- the front matter pages are numbered in roman style
- the main pages are numbered in decimal style after using
counter-reset: page
Moreover, the generated content by target-counter(attr(href), page)
should apply the style of the counter on the referenced page.
HTML: issue-74.html
Result: issue-74-wrong.pdf
The result we should get: issue-74-correct.pdf