From 341d1890e1eeaaa880a9d24d7515d01250e14c46 Mon Sep 17 00:00:00 2001 From: Tommaso Cucinotta Date: Thu, 29 Sep 2011 14:04:02 +0000 Subject: [PATCH] Make export to XHTML work when there are included ODG pictures, 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/configure.py b/lib/configure.py index 40977810c7..703287029c 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -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 -- 2.39.2