mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
* configure.py:
- properly separate platex and latex. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35125 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
59fb67164f
commit
891e858ac1
@ -378,7 +378,7 @@ def checkDTLtools():
|
||||
|
||||
def checkLatex(dtl_tools):
|
||||
''' Check latex, return lyx_check_config '''
|
||||
path, LATEX = checkProg('a Latex2e program', ['latex $$i', 'platex $$i', 'latex2e $$i'])
|
||||
path, LATEX = checkProg('a Latex2e program', ['latex $$i', 'latex2e $$i'])
|
||||
path, PPLATEX = checkProg('a DVI postprocessing program', ['pplatex $$i'])
|
||||
#-----------------------------------------------------------------
|
||||
path, PLATEX = checkProg('pLaTeX, the Japanese LaTeX', ['platex $$i'])
|
||||
@ -392,7 +392,6 @@ def checkLatex(dtl_tools):
|
||||
if cmdOutput(PLATEX + ' chklatex.ltx').find('pLaTeX2e') != -1:
|
||||
# We have the Japanese pLaTeX2e
|
||||
addToRC(r'\converter platex dvi "%s" "latex"' % PLATEX)
|
||||
LATEX = PLATEX
|
||||
else:
|
||||
PLATEX = ''
|
||||
removeFiles(['chklatex.ltx', 'chklatex.log'])
|
||||
|
Loading…
Reference in New Issue
Block a user