Dear angus, rob and luiz and all people here,

after invoking lyx from command line using -dbg graphics, I obtained a
list of graphic file types that can be used directly:

BMP
PBM
PGM
PNG
PPM
XBM
XPM

So till I review slowly Rob Saunders' document, at least my people can
use graphics mainly in PNG - which is also a good thing, since it help
to use PNG instead of gif

anyway, I guess that migration is not going to be totally painless,
but it is a good improvement from Ms Word. Indeed, I renounced to use
Ms Word because of template corruptions and other wonders, but
OpenOffice has its own bugs and I felt increasingly unsatisfied about
document generation... I don't know, it seems to be quite hard to
change users  preferences (towards WYSIWYG), but I am going to see if
in a little research department of sociology there can be fundamental
changes about it

AL> On Friday 23 April 2004 12:08 pm, Juan Luis UPSAM wrote:
>> Let's see,
>>
>> First of all, thank you Angus! It has been a ton of time since I
>> worked with Ms-Dos and I forgot all about paths. Indeed, I started
>> to look for config.sys till I saw that I had to use control panel
>> :P
>>
>> Now lyx can find where ImageMagick is... but as you can see in the
>> screenshot, the library doesn't handle the conversion. Meanwhile,
>> the console screen shows a long list of possibilities of (I guess)
>> convert.exe, but don't work with the graphic file (see console
>> screenshot).

AL> Ok. So now we need to ascertain why 'convert' failed. Or if, indeed,
AL> it was run.

AL> Three things to do:
AL> 1. Check that your postscript file is valid.

AL> 2. Invoke lyx from the console as
PROMPT>> lyx -dbg graphics

AL> This will spew out a whole heap of noise, some of which may be useful.

AL> 3. The actual converter you use to go from ps->png format (or any 
AL> other format loadable by the GUI frontend library in fact) can be 
AL> specified 'by hand'. See the Preferences dialog, Converter pane.

AL> I suspect that nothing is listed, meaning that lyx falls back on the
AL> convertDefault.sh script to be found in 
AL> $PREFIX/share/lyx/scripts/convertDefault.sh

AL> ($PREFIX/bin/lyx is where the lyx executable is to be found.)

AL> This script is a wrapper for ImageMagick's convert. To check that it
AL> is indeed being invoked, add these lines to it:

AL> echo
AL> echo CONVERTDEFAULT.SH
AL> echo
AL> echo $@
AL> echo

AL> which will print out the arguments used to invoke it.

AL> Angus



AL> 



-- 
Best regards,
 Juan                            mailto:[EMAIL PROTECTED]


Reply via email to