]> git.lyx.org Git - features.git/commitdiff
* configure.py:
authorJürgen Spitzmüller <spitz@lyx.org>
Tue, 16 Jun 2009 08:06:12 +0000 (08:06 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Tue, 16 Jun 2009 08:06:12 +0000 (08:06 +0000)
- change eLyXer command and copier to copy images
  to the appropriate places on view and export
  (requires eLyXer 0.27).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30132 a592a061-630c-0410-9148-cb99ea01b6c8

lib/configure.py

index bebcc0f2aabe33949a5d93df0cb2655c74ab1fca..86491ac0d7a12bdabb7a296f09e186ce86279ce5 100644 (file)
@@ -465,10 +465,10 @@ def checkConverterEntries():
     checkProg('an MS Word -> LaTeX converter', ['wvCleanLatex $$i $$o'],
         rc_entry = [ r'\converter word       latex      "%%"   ""' ])
     #
-    path, elyxer = checkProg('a LyX -> HTML converter', ['elyxer.py $$i $$o'],
+    path, elyxer = checkProg('a LyX -> HTML converter', ['elyxer.py --directory $$r $$i $$o'],
       rc_entry = [ r'\converter lyx      html       "%%"       ""' ])
     if elyxer.find('elyxer.py') >= 0:
-      addToRC(r'''\copier    html       "python -tt $$s/scripts/ext_copy.py -e html,png,css $$i $$o"''')
+      addToRC(r'''\copier    html       "python -tt $$s/scripts/ext_copy.py -e html,png,jpg,jpeg,css $$i $$o"''')
     else:
       # On SuSE the scripts have a .sh suffix, and on debian they are in /usr/share/tex4ht/
       path, htmlconv = checkProg('a LaTeX -> HTML converter', ['htlatex $$i', 'htlatex.sh $$i', \