Am 11.09.2017 um 20:55 schrieb Pavel Sanda <sa...@lyx.org>: > > Stephan Witt wrote: >>> If it's not easily possible we should at least make clear to newcomers that >>> lyx without tex & imagemagick will have lot of problems. >> >> LyX without TeX is a problem. This can be solved by a newcomer by installing >> MacTeX. Easy. >> LyX without ImageMagick shouldn???t be a problem for a user who is working >> with PNG, EPS and PDF images only, IMHO. >> >> To install ImageMagick on a Mac you have to install Xcode and MacPorts (or >> HoweBrew) and use the terminal to get a running ImageMagick. >> >> What is the fundamental problem I have without ImageMagick? What graphics >> capabilities of LyX do you refer to? > > We use convert pretty much as default except when explicit converter is > defined so besides few formats and precisely selected output routes you'll > get in troubles. > > I doubt even your PNG/EPS/PDF selection will be without problems. If I insert > png image and select postscript as output format will it work? > Will html generation work? Will instant preview work? (didn't check, these > just randomly pop in my mind).
HTML generation works. With LyXHTML I’m not sure - my systems tries to open it in iPhone simulator :) PDF with pdflatex works. PDF with XeTeX works. DVI doesn’t work - missing PNG to EPS converter. (Perhaps possible to solve with existing command line tool „sips“.) OpenDocument (texht) works. PDF (dvipdfm) doesn’t work (of course). PDF (LuaTeX) works. Postscript doesn’t work - missing PNG to EPS converter. Instant preview works. I think the most requested format is PDF - this works in various ways. HTML and OpenDocument is working too. Not bad, IMHO. > Isn't it possible just to grab some statically linked convert and push it > into dmg package…? Perhaps, I didn’t try it because I see it as a last resort. I don’t want to provide binaries grabbed from somewhere and I even don’t know if it works. Even the route of providing self-made utilities isn’t attractive. We have to provide bug-fixes for them, IMO. This is not good. Stephan > Anyway my point was that current svgz info-inset problem is not likely big > deal or even showstopper because my guess is that bunch of other lyx > documents we distribute won't compile for various output formats without > convert. Yes, that’s the problem exactly. BTW, I didn’t say the installation of ImageMagick is useless. My point is: LyX shouldn’t present error messages on preview of the documentation as a PDF-document. That’s why I’m trying to establish a conversion path from LyX+SVG-icons to PDF-output via PNG. I don’t know how to do this. I suspect convertDefault.py should simply be avoided if there is no usable „convert“ or „magick“ program is available. Stephan > But its guess, I did not spent time to investigate. > > Pavel