finally got the page numbering right with PrinceXML