mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Update for LyXBlogger detection.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36684 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
bbbd0d6597
commit
69b228f9af
@ -657,12 +657,11 @@ def checkConverterEntries():
|
||||
else:
|
||||
addToRC(r'''\copier html "python -tt $$s/scripts/ext_copy.py $$i $$o"''')
|
||||
|
||||
# Check if LyxBlogger is installed.
|
||||
path, lyxblogger = checkProg('A LyX to WordPress Blog Publishing Tool',
|
||||
['lyxblogger $$i'], rc_entry = [])
|
||||
if lyxblogger.find('lyxblogger') >= 0:
|
||||
addToRC(r'\Format blog blog "LyxBlogger" "" "" "" "document"')
|
||||
addToRC(r'\converter xhtml blog "lyxblogger $$i" ""')
|
||||
# Check if LyXBlogger is installed
|
||||
lyxblogger_found = checkModule('lyxblogger')
|
||||
if lyxblogger_found:
|
||||
addToRC(r'\Format blog blog "LyXBlogger" "" "" "" "document"')
|
||||
addToRC(r'\converter xhtml blog "python -m lyxblogger $$i" ""')
|
||||
|
||||
if elyxerfound:
|
||||
addToRC(r'''\converter lyx wordhtml "python -m elyxer --html --directory $$r $$i $$o" ""''')
|
||||
|
Loading…
Reference in New Issue
Block a user