various tweaks to allow additional characters in titles, add a pdf export method (works with prince)