commit 52978f94d28a8f5f731e4c394b225f1a2927d3a6
Author: Georg Baum <[email protected]>
Date: Mon Dec 7 21:17:33 2015 +0100
Explain why rsvg_convert is in front of inkscape
Otherwise it could easily happen that the order is changed, since
rsvg_convert
seems to be more picky about invalid files (see
http://www.lyx.org/trac/ticket/9891)
diff --git a/lib/configure.py b/lib/configure.py
index 16c9844..3b88041 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -1003,6 +1003,7 @@ def checkConverterEntries():
checkProg('an OpenDocument -> EPS converter', ['libreoffice -headless
-nologo -convert-to eps $$i', 'unoconv -f eps --stdout $$i > $$o'],
rc_entry = [ r'\converter odg eps2 "%%" ""'])
# Only define a converter to pdf6 for graphics
+ # Prefer rsvg-convert over inkscape since it is faster (see
http://www.lyx.org/trac/ticket/9891)
checkProg('a SVG -> PDF converter', ['rsvg-convert -f pdf -o $$o $$i',
inkscape_name + ' --file=$$i --export-area-drawing --without-gui
--export-pdf=$$o'],
rc_entry = [ r'\converter svg pdf6 "%%" ""'],
path = ['', inkscape_path])