Add map driven page-sequence generation to PDF #1685