Uwe Stöhr schrieb:

The attached patch runs elyer.py from the bin folder of LyX (the folder where the lyx.exe resides). Does the patch work also on Linux?

Alex?

Attached is a better version that copies the image files to the correct temp 
sub folder.

p.s. I think I found the ext_copy.py problem: ext_copy.py works correct, the problem are the converter setting in LyX. I'll try to find a fix.

Now that ext_copy.py is fixed there is only one bug left: eLyXer fails for LyX files where images are taken from different folders.

regards Uwe
Index: configure.py
===================================================================
--- configure.py	(revision 31691)
+++ configure.py	(working copy)
@@ -390,7 +390,7 @@
         rc_entry = [ r'\converter word       latex      "%%"	""' ])
     #
     path, elyxer = checkProg('a LyX -> HTML converter', ['elyxer.py', 'elyxer'],
-      rc_entry = [ r'\converter lyx      html       "python -tt $$s/scripts/elyxer.py --directory $$r $$i $$o"	""' ])
+      rc_entry = [ r'\converter lyx      html       "python -tt $$s/../bin/elyxer.py --destdirectory $$o --directory $$r $$i $$o"	""' ])
     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:

Reply via email to