mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
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
This commit is contained in:
parent
c8218c119a
commit
533d0c2a9f
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user