##// END OF EJS Templates
[NBConvert] Bug Fix: PDF from Latex for Windows/Py2 change to or from and.
AnneTheAgile -
Show More
@@ -59,7 +59,7 b' class PDFExporter(LatexExporter):'
59 command = [c.format(filename=filename) for c in command_list]
59 command = [c.format(filename=filename) for c in command_list]
60 #In windows and python 2.x there is a bug in subprocess.Popen and
60 #In windows and python 2.x there is a bug in subprocess.Popen and
61 # unicode commands are not supported
61 # unicode commands are not supported
62 if sys.platform == 'win32' and sys.version_info < (3,0):
62 if sys.platform == 'win32' or sys.version_info < (3,0):
63 #We must use cp1252 encoding for calling subprocess.Popen
63 #We must use cp1252 encoding for calling subprocess.Popen
64 #Note that sys.stdin.encoding and encoding.DEFAULT_ENCODING
64 #Note that sys.stdin.encoding and encoding.DEFAULT_ENCODING
65 # could be different (cp437 in case of dos console)
65 # could be different (cp437 in case of dos console)
General Comments 0
You need to be logged in to leave comments. Login now