]> git.lyx.org Git - features.git/commitdiff
Make export to XHTML work when there are included ODG pictures,
authorTommaso Cucinotta <tommaso@lyx.org>
Thu, 29 Sep 2011 14:04:02 +0000 (14:04 +0000)
committerTommaso Cucinotta <tommaso@lyx.org>
Thu, 29 Sep 2011 14:04:02 +0000 (14:04 +0000)
or any other graphic format that:
- is exportable to EPS
- could not be explicitly exported to PNG yet (i.e., source to PNG was not reachable on the converters graph)
Now, adding the EPS to PNG conversion explicitly allows LyX to find the conversion path.

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

lib/configure.py

index 40977810c71b18a92fc70ba751667189c730aebc..703287029c16f34cce1d020b13cc2f6b2aa04188 100644 (file)
@@ -795,6 +795,9 @@ def checkConverterEntries():
     checkProg('an EPS -> PDF converter', ['epstopdf'],
         rc_entry = [ r'\converter eps        pdf        "epstopdf --outfile=$$o $$i"   ""', ''])
     #
+    checkProg('an EPS -> PNG converter', ['convert $$i $$o'],
+        rc_entry = [ r'\converter eps        png        "%%"   ""', ''])
+    #
     # no agr -> pdf converter, since the pdf library used by gracebat is not
     # free software and therefore not compiled in in many installations.
     # Fortunately, this is not a big problem, because we will use epstopdf to