equal
deleted
inserted
replaced
117 fp_error, error_temp_name = get_filetemp('w', 'err') |
117 fp_error, error_temp_name = get_filetemp('w', 'err') |
118 |
118 |
119 temp_file.write(content.encode(_PANDOC_ENCODING)) |
119 temp_file.write(content.encode(_PANDOC_ENCODING)) |
120 temp_file.close() |
120 temp_file.close() |
121 |
121 |
122 cust_tex = " --xetex " |
122 # xetex seems to cause "Invalid or incomplete multibyte or wide character" errors |
|
123 #cust_tex = " --xetex " |
|
124 cust_tex = '' |
123 |
125 |
124 # use markdown2pdf |
126 # use markdown2pdf |
125 retcode = call(MARKDOWN2PDF_BIN + cust_tex + ' ' + input_temp_name, shell=True, stderr=fp_error) |
127 retcode = call(MARKDOWN2PDF_BIN + cust_tex + ' ' + input_temp_name, shell=True, stderr=fp_error) |
126 fp_error.close() |
128 fp_error.close() |
127 |
129 |