Am 28.11.2015 um 11:15 schrieb Georg Baum:
If there are problems with the installation then please ask on the list for help and opinions.
I am the only Win developer here. My spare time is limited and the installer consumes a lot of time. The installer is there to provide a fully functional LyX, no matter if installed with admin privileges or not. Metafile2eps was not available without admin privileges.
Besides this, why should I invest my time to get this program working while it is not part of LyX and not under development for 7 years now? If emf conversion is important why is metafile2eps not developed anymore. If the creator doesn't have time, he could contribute his code to e.g. ImageMagick that this program is able to convert keeping the vector information.
But to keeping the vector information is easy: Inkscape Attached is a patch
To my knowledge, there was no development needed, and it simply works also for newer windows versions, but Enrico can certainly tell more.
It never "simply" worked. It was not available for those who install LyX without admin permissions and made troubles when LyX was uninstalled.
Yes, I can decide for myself, this is not the problem. My point is that it is not up to you alone to decide that windows LyX users are no longer offered a good quality emf->eps conversion,
With the attached patch this would be offered.
especially since emf is the standard vector graphics format on windows.
Interestingly I could not find a single emf file on my PC. I also never stumbled over this image format at work. I downloaded now one and it appears that no browser can display this file format. So I am wondering what program created emf natively.
regards Uwe
diff --git "a/C:\\Users\\Usti\\AppData\\Local\\Temp\\TortoiseGit\\con8416.tmp\\configure-7aeab53-left.py" "b/D:\\LyXGit\\Master\\lib\\configure.py" index dcf34c9..16c9844 100644 --- "a/C:\\Users\\Usti\\AppData\\Local\\Temp\\TortoiseGit\\con8416.tmp\\configure-7aeab53-left.py" +++ "b/D:\\LyXGit\\Master\\lib\\configure.py" @@ -957,11 +957,17 @@ def checkConverterEntries(): \converter tgif png "tgif -print -color -png -o $$d $$i" "" \converter tgif pdf6 "tgif -print -color -pdf -stdout $$i > $$o" ""''']) # - checkProg('a WMF -> EPS converter', ['metafile2eps $$i $$o', 'wmf2eps -o $$o $$i'], + checkProg('a WMF -> EPS converter', ['metafile2eps $$i $$o', 'wmf2eps -o $$o $$i', inkscape_name + ' --file=$$i --export-area-drawing --without-gui --export-eps=$$o'], rc_entry = [ r'\converter wmf eps "%%" ""']) # - checkProg('an EMF -> EPS converter', ['metafile2eps $$i $$o', 'wmf2eps -o $$o $$i'], + checkProg('an EMF -> EPS converter', ['metafile2eps $$i $$o', 'wmf2eps -o $$o $$i', inkscape_name + ' --file=$$i --export-area-drawing --without-gui --export-eps=$$o'], rc_entry = [ r'\converter emf eps "%%" ""']) + # + checkProg('a WMF -> PDF converter', [inkscape_name + ' --file=$$i --export-area-drawing --without-gui --export-pdf=$$o'], + rc_entry = [ r'\converter wmf pdf6 "%%" ""']) + # + checkProg('an EMF -> PDF converter', [inkscape_name + ' --file=$$i --export-area-drawing --without-gui --export-pdf=$$o'], + rc_entry = [ r'\converter emf pdf6 "%%" ""']) # Only define a converter to pdf6 for graphics checkProg('an EPS -> PDF converter', ['epstopdf'], rc_entry = [ r'\converter eps pdf6 "epstopdf --outfile=$$o $$i" ""'])