Uwe Stöhr schrieb:

No it is not. What we have now in branch doesn't work. The correct solution is http://www.lyx.org/trac/changeset/31949.

Here's the patch for branch that also works on Windows, please test.

regards Uwe
Index: configure.py
===================================================================
--- configure.py	(revision 31955)
+++ configure.py	(working copy)
@@ -405,10 +405,11 @@
     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"''')

Reply via email to