From 4aa442a9b0c9f585b3bb7bf13558af211b600b6c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Thu, 3 Sep 2009 22:36:48 +0000 Subject: [PATCH] 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 --- lib/configure.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/configure.py b/lib/configure.py index fecf2ab952..97cd0a2418 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -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: -- 2.39.2