On 05/08/2013 11:18 AM, Stephen Brooking wrote:
Which doesn't seem to show any error.
Any other suggestions of what I could try? Am I doing the right thing in
trying to get the console output in the command prompt?
Sorry - I wasn't looking high enough up in the debug output. If I just
select 'Graphics conversion and loading' messages I see this:
..\..\src\Format.cpp (147): will guess format from file extension: vsd ->
Visio
..\..\..\src\graphics\GraphicsCacheItem.cpp (385):
The file contains Visio format data.
..\..\..\src\graphics\GraphicsCacheItem.cpp (340): Unable to convert from
Visio to bmp
..\..\..\src\graphics\GraphicsCacheItem.cpp (340): Unable to convert from
Visio to pbm
..\..\..\src\graphics\GraphicsCacheItem.cpp (340): Unable to convert from
Visio to pgm
..\..\..\src\graphics\GraphicsCacheItem.cpp (340): Unable to convert from
Visio to png
..\..\..\src\graphics\GraphicsCacheItem.cpp (340): Unable to convert from
Visio to ppm
..\..\..\src\graphics\GraphicsCacheItem.cpp (340): Unable to convert from
Visio to xbm
..\..\..\src\graphics\GraphicsCacheItem.cpp (340): Unable to convert from
Visio to xpm
..\..\..\src\graphics\GraphicsConverter.cpp (127): Converter c-tor:
from_file: <file>.vsd
to_file_base: <temp>/CacheItem.nf5008
from_format: Visio
to_format: ppm
..\..\..\src\graphics\GraphicsConverter.cpp (264): build_script ...
..\..\..\src\graphics\GraphicsConverter.cpp (330): No converter defined! I
use convertDefault.py
So I need to specify another converter. I thought that LyX would take the
to-pdf converter I've specified, and then convert the PDF to something it
could preview; is this not the case?
There may not be any pdf->png converter defined, though one could use
ImageMagick to define one. A better solution might be to modify the
script you have to export something other than PDF. This is probably
fairly easy to do.
rh