commit faf0e9ee1396decee9351d3ea8a4bbd362290c79
Author: Thibaut Cuvelier <[email protected]>
Date: Sat Feb 19 03:11:55 2022 +0100
configure: for EPS to PNG, ask ImageMagick to only consider the first image.
Issue discussed in the mailing list: when the EPS contains several images
(Adobe Photoshop exports two of them, one being a low-quality TIFF for
preview), two files are generated, none with the existing name (prefix: -0 and
-1). Hence, LyX thought that there was an error.
---
lib/configure.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/configure.py b/lib/configure.py
index 17ef38f..f81aa3a 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -1174,7 +1174,7 @@ def checkConverterEntries():
checkProg('an EPS -> PDF converter', ['epstopdf'],
rc_entry = [ r'\converter eps pdf6 "epstopdf
--outfile=$$o $$i" ""'])
#
- checkProg('an EPS -> PNG converter', ['magick $$i $$o', 'convert $$i $$o'],
+ checkProg('an EPS -> PNG converter', ['magick $$i[0] $$o', 'convert $$i[0]
$$o'],
rc_entry = [ r'\converter eps png "%%" ""'])
#
# no agr -> pdf6 converter, since the pdf library used by gracebat is not
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs