# HG changeset patch # User gibus # Date 1307612464 -7200 # Node ID 52569110fb3488600b64d1c57b0d321f696a29f2 # Parent c926868cf7e6babf766249104ac5420ca721adf1 --xetex option in markdown2pdf seems to cause "Invalid or incomplete multibyte or wide character" errors diff -r c926868cf7e6 -r 52569110fb34 src/cm/converters/pandoc_converters.py --- 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)