configure.py: fix the calling of eLyXer. Now also files with spaces in the path can be handled correctly. This makes it possible to convert files on Windows like our documentation files when you open them via the Help menu.

To use now eLyXer, you only need to copy it to LyX's scripts folder.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31265 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2009-09-03 22:36:48 +00:00
parent 14c27bcea6
commit 4aa442a9b0

View File

@ -465,8 +465,8 @@ 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','elyxer --directory $$r $$i $$o'],
rc_entry = [ r'\converter lyx html "%%" ""' ])
path, elyxer = checkProg('a LyX -> HTML converter', ['elyxer.py', 'elyxer'],
rc_entry = [ r'\converter lyx html "python -tt $$s/scripts/elyxer.py --directory $$r $$i $$o" ""' ])
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: