Fix a couple of unicode issues.

One of these changes relates to #74 (and undoes 21d9e69). I’m not sure
if this is okay… @codecleaner, can you re-test?
If a pdf is specified, use that (& don’t generate)
Add a minimal ar-EG language definition