From: Julien Rioux Date: Tue, 25 Oct 2011 23:33:35 +0000 (+0000) Subject: Convert odg to (cropped) eps without external script. X-Git-Tag: 2.1.0beta1~2488 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=69c17f11ae884a69ae0b6301af579ab6d386bd54;p=features.git Convert odg to (cropped) eps without external script. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39986 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/configure.py b/lib/configure.py index 63ab867a34..40e53b14d3 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -748,7 +748,9 @@ def checkConverterEntries(): rc_entry = [ r'\converter ps text3 "%%" ""' ]) # checkProg('a PS to EPS converter', ['ps2eps $$i'], - rc_entry = [ r'\converter ps eps "%%" ""' ]) + rc_entry = [ r'''\Format eps2 eps "EPS (ps2eps)" "" "" "" "vector" +\converter ps eps "%%" "" +\converter eps2 eps "%%" "resultfile=$$b.eps.eps"''' ]) # checkProg('a PDF to PS converter', ['pdf2ps $$i $$o', 'pdftops $$i $$o'], rc_entry = [ r'\converter pdf ps "%%" ""' ]) @@ -822,8 +824,8 @@ def checkConverterEntries(): checkProg('a Dia -> EPS converter', ['dia -e $$o -t eps $$i'], rc_entry = [ r'\converter dia eps "%%" ""']) # - checkProg('an OpenOffice -> EPS converter', ['libreoffice'], - rc_entry = [ r'\converter odg eps "python -tt $$s/scripts/libreoffice2eps.py $$i $$o" ""']) + checkProg('an OpenOffice -> EPS converter', ['libreoffice -headless -nologo -convert-to eps $$i'], + rc_entry = [ r'\converter odg eps2 "%%" ""']) # checkProg('a SVG -> PDF converter', ['rsvg-convert -f pdf -o $$o $$i', 'inkscape --file=$$i --export-area-drawing --without-gui --export-pdf=$$o'], rc_entry = [ r'\converter svg pdf "%%" ""'])