Closed ruilvo closed 9 months ago
PS: Seems like that my editor trimmed trailing space. If you don't want to accept as-is, I can revert that, I think.
Please remove the changes related to the trimmed trailing space.
Please remove the changes related to the trimmed trailing space.
It's fixed now.
Rebased from latest upstream/HEAD to ease merge.
When you use any kind of page referencing, eg. when using
backref=true,
on thebiblatex
package, the PDF links to the wrong place.What currently happens:
Reference says "(cit. on p. 1)." When clicking the "1", the PDF goes to the first page, instead of page 1.
Why?
The document starts with arab page numbering.
\includepdf[pages=-]{cover.pdf}
actually increments this counter, which is then reset after the ToCs. While the page numbering looks correct on the typeset document, the references are wrong.The fix
The workaround works by setting
\pagenumbering{Alph}
first thing in the document. This makes so the cover pages are numbered in theAlph
style (A, B, C, D, etc), preventing the "corruption" on the arabic-style counter. This does show in the PDF document as "A (1/50)", but nothing is displayed cosmetically.