Fixes to PDF paging and transliteration rules