From: Richard Heck Date: Tue, 30 Mar 2010 13:54:52 +0000 (+0000) Subject: Add lyxblogger to configure.py. We're still thinking about what to do X-Git-Tag: 2.0.0~3628 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=37529a3b92dfe3dbc6a1b8d74e08bc9eb3ae0558;p=features.git Add lyxblogger to configure.py. We're still thinking about what to do about the elyxer path. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33952 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/configure.py b/lib/configure.py index e09ac80a66..4a041efef0 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -646,6 +646,13 @@ 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" ""') + # On SuSE the scripts have a .sh suffix, and on debian they are in /usr/share/tex4ht/ path, htmlconv = checkProg('a LaTeX -> MS Word converter', ["htlatex $$i 'html,word' 'symbol/!' '-cvalidate'", \ "htlatex.sh $$i 'html,word' 'symbol/!' '-cvalidate'", \