Apparently, this extra check is not necessary as the first one works

whatever the TeX engine.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38918 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2011-06-01 15:21:16 +00:00
parent 82d6524298
commit ae361aff19

View File

@ -1305,8 +1305,6 @@ def checkTeXAllowSpaces():
if LATEX != '':
if os.name == 'nt' or sys.platform == 'cygwin':
latex_out = cmdOutput(LATEX + r""" "\nonstopmode\input{\"a b\"}" """)
if not 'working' in latex_out:
latex_out = cmdOutput(LATEX + r' "\nonstopmode\input{a b}"')
else:
latex_out = cmdOutput(LATEX + r""" '\nonstopmode\input{"a b"}' """)
else: