configure.py: fix detection of LaTeX (bug 4397)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21982 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-12-05 22:26:48 +00:00
parent 55a9524e99
commit 93c7c89beb

View File

@ -198,7 +198,7 @@ def checkDTLtools():
def checkLatex(dtl_tools): def checkLatex(dtl_tools):
''' Check latex, return lyx_check_config ''' ''' Check latex, return lyx_check_config '''
path, LATEX = checkProg('a Latex2e program', ['platex $$i', 'latex $$i', 'latex2e $$i']) path, LATEX = checkProg('a Latex2e program', ['latex $$i', 'platex $$i', 'latex2e $$i'])
path, PPLATEX = checkProg('a DVI postprocessing program', ['pplatex $$i']) path, PPLATEX = checkProg('a DVI postprocessing program', ['pplatex $$i'])
# use LATEX to convert from latex to dvi if PPLATEX is not available # use LATEX to convert from latex to dvi if PPLATEX is not available
if PPLATEX == '': if PPLATEX == '':