On 20/09/2011 12:05 AM, Tommaso Cucinotta wrote:
Il 19/09/2011 23:15, Julien Rioux ha scritto:
Sorry, not much time. Don't you also get this behavior?
Not of course: for me, it works like a charm! I can insert dia files (as
graphics) and odg files (as graphics), and they show up on the screen,
are properly included in generated DVI, PS, PDF.
You have to click on the figure to open the graphics dialog. Then you
get these error messages. Hint: It occurs in readBB_from_PSFile.
Only now, I'm noticing that export to XHTML has problems: it says it
cannot convert from ODG to PNG.
Adding this line to my lyxrc.defaults, makes it work just fine:
\converter eps png "convert $$i $$o" ""
("convert" is the ImageMagick tool -- I thought LyX already knew all the
possible usages of that!)
LyX does uses convert by default, so it's a mystery that it didn't work.
What was the actual error message?
If I use the libreoffice --export-to png, then the PNG includes the
whole page (similarly to the EPS with the wrong bounding box).
Is it safe to add the above "\converter..." line to lib/configure.py ?
Or, what is the right way ?
Thanks,
T.
--
Julien