From: Pavel Sanda Date: Wed, 24 Jun 2009 19:09:33 +0000 (+0000) Subject: Search for both elyxer and elyxer.py. X-Git-Tag: 2.0.0~6212 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=533d0c2a9f660adde67f7d3a0b6d4f788eae0dd6;p=features.git Search for both elyxer and elyxer.py. Patch from Sven Hoexter. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30251 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/configure.py b/lib/configure.py index f2b7b8b28f..395e29a12b 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -465,9 +465,9 @@ def checkConverterEntries(): checkProg('an MS Word -> LaTeX converter', ['wvCleanLatex $$i $$o'], rc_entry = [ r'\converter word latex "%%" ""' ]) # - path, elyxer = checkProg('a LyX -> HTML converter', ['elyxer.py --directory $$r $$i $$o'], + path, elyxer = checkProg('a LyX -> HTML converter', ['elyxer.py --directory $$r $$i $$o','elyxer --directory $$r $$i $$o'], rc_entry = [ r'\converter lyx html "%%" ""' ]) - if elyxer.find('elyxer.py') >= 0: + if elyxer.find('elyxer') >= 0: addToRC(r'''\copier html "python -tt $$s/scripts/ext_copy.py -e html,png,jpg,jpeg,css $$i $$o"''') else: # On SuSE the scripts have a .sh suffix, and on debian they are in /usr/share/tex4ht/