On Wed, Nov 11, 2009 at 11:00 PM, Pavel Sanda <[email protected]> wrote:
> i double checked this and couldn't find such a thing.
> maybe the "-tt scripts/" is added somewhere else in the code.

Nope, it is right there in trunk:
  http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/configure.py#L623
With this patch it is not used anymore:
  http://www.mail-archive.com/[email protected]/msg155651.html
By the by, a similar patch (using eLyXer as an executable file instead
of as a Python script) is still missing from branch:
  
http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_6_X/lib/configure.py#L409
Please find it enclosed. 1.6.4 worked this way too, but without module
detection:
  http://www.lyx.org/trac/browser/lyx-devel/tags/lyx-1_6_4/lib/configure.py#L392

Ticket 6317 was created, the patches have also been attached there.

Thanks,

Alex.
Index: lib/configure.py
===================================================================
--- lib/configure.py	(revisión: 31947)
+++ lib/configure.py	(copia de trabajo)
@@ -405,8 +405,8 @@
     if elyxerfound:
       addToRC(r'''\converter lyx      html       "python -m elyxer --directory $$r $$i $$o"	""''')
     else:
-      path, elyxer = checkProg('a LyX -> HTML converter', ['elyxer.py', 'elyxer'],
-        rc_entry = [ r'\converter lyx      html       "python -tt 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') >= 0:
         elyxerfound = True
 

Reply via email to