mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
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:
parent
14c27bcea6
commit
4aa442a9b0
@ -465,8 +465,8 @@ def checkConverterEntries():
|
|||||||
checkProg('an MS Word -> LaTeX converter', ['wvCleanLatex $$i $$o'],
|
checkProg('an MS Word -> LaTeX converter', ['wvCleanLatex $$i $$o'],
|
||||||
rc_entry = [ r'\converter word latex "%%" ""' ])
|
rc_entry = [ r'\converter word latex "%%" ""' ])
|
||||||
#
|
#
|
||||||
path, elyxer = checkProg('a LyX -> HTML converter', ['elyxer.py --directory $$r $$i $$o','elyxer --directory $$r $$i $$o'],
|
path, elyxer = checkProg('a LyX -> HTML converter', ['elyxer.py', 'elyxer'],
|
||||||
rc_entry = [ r'\converter lyx html "%%" ""' ])
|
rc_entry = [ r'\converter lyx html "python -tt $$s/scripts/elyxer.py --directory $$r $$i $$o" ""' ])
|
||||||
if elyxer.find('elyxer') >= 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"''')
|
addToRC(r'''\copier html "python -tt $$s/scripts/ext_copy.py -e html,png,jpg,jpeg,css $$i $$o"''')
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user