mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
configure.py: revert r31950 because
- Richard removed a valid comment - Richard's change introduced a regression, see my mail on the list git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31955 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ea806d510c
commit
5af21dd2ab
@ -616,14 +616,16 @@ def checkConverterEntries():
|
||||
#
|
||||
checkProg('an MS Word -> LaTeX converter', ['wvCleanLatex $$i $$o'],
|
||||
rc_entry = [ r'\converter word latex "%%" ""' ])
|
||||
# eLyXer: search as a Python module and then as an executable (elyxer.py, elyxer)
|
||||
elyxerfound = checkModule('elyxer')
|
||||
if elyxerfound:
|
||||
addToRC(r'''\converter lyx html "python -m elyxer --directory $$r $$i $$o" ""''')
|
||||
else:
|
||||
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 = '')
|
||||
if elyxer.find('elyxer') >= 0:
|
||||
elyxerfound = True
|
||||
addToRC(r'''\converter lyx html "python -tt elyxer.py --directory $$r $$i $$o" ""''')
|
||||
|
||||
if elyxerfound:
|
||||
addToRC(r'''\copier html "python -tt $$s/scripts/ext_copy.py -e html,png,jpg,jpeg,css $$i $$o"''')
|
||||
|
Loading…
Reference in New Issue
Block a user