--xetex option in markdown2pdf seems to cause "Invalid or incomplete multibyte or wide character" errors
--- a/src/cm/converters/pandoc_converters.py Mon Jun 06 10:08:10 2011 +0200
+++ b/src/cm/converters/pandoc_converters.py Thu Jun 09 11:41:04 2011 +0200
@@ -119,7 +119,9 @@
temp_file.write(content.encode(_PANDOC_ENCODING))
temp_file.close()
- cust_tex = " --xetex "
+ # xetex seems to cause "Invalid or incomplete multibyte or wide character" errors
+ #cust_tex = " --xetex "
+ cust_tex = ''
# use markdown2pdf
retcode = call(MARKDOWN2PDF_BIN + cust_tex + ' ' + input_temp_name, shell=True, stderr=fp_error)