Partial fix for PDFs that resolves broken links to chapters, front and back matter. Links to anchors within chapters are still broken. (#1019)