Fix LaTeX issues in dictionary export

* Fix quoting of special characters, fixes #3, #6 and #27
* Add support for CJK fonts, fixes #17