Allow print-preview

needs pygments and the directory needs to be writeable for that.