> My final HELP of the day (I'm off home).
Thanks, it *is* very much appreciated. As is the help from everyone else.
Just to reiterate, I'm really not having a go at anyone.
> So, if your graphics file is in one of the above formats, it'll just load.
>
> If, however, it ain't, then you'll need to convert it to one of the above.
> That's where convert comes in. Here I have deleted all ???->XPM converters
> because my version of "convert" can produce "nasty" XPM files. Instead I
> convert EPS files to PPM format and load that. I believe I've explained how
> to set LyX up to do that earlier.
>
> Hope that this helps your understanding.
Indeed it does. It's almost crystal clear. So it really comes down to a
"nasty" xpm files, produced by convert.
Thanks for that.
Regards,
Rod
> Have a good weekend,
> Angus
>
> For what it's worth, that same "lyx -dbx graphics" will also display the
> conversion script used by any converting process. Here's what LyX used to
> convert time_40.eps to ppm format here:
>
> The file contains eps format data.
> Converting it to ppm format.
> Conversion script:
>
> #!/bin/sh
> infile='/usr/users/aleem/docs/Calgary2002/time_40.eps'
> infile_base='/usr/users/aleem/docs/Calgary2002/time_40'
> outfile='/tmp/lyx_tmpdir24933aaylfa/gconvert024933aaylfa.ppm'
>
> convert ${infile} PPM:${outfile}
>
> if [ $? -ne 0 ]; then
> 'rm' -f ${outfile}
> exit 1
> fi
>
> if [ ! -f ${outfile} ]; then
> if [ -f ${outfile}.0 ]; then
> 'mv' -f ${outfile}.0 ${outfile}
> 'rm' -f ${outfile}.?
> else
> exit 1
> fi
> fi
>
> fromfile=${outfile}
> tofile='/tmp/lyx_tmpdir24933aaylfa/time_4024933aaylfa.ppm'
>
> 'mv' -f ${fromfile} ${tofile}
> if [ $? -ne 0 ]; then
> 'cp' -f ${fromfile} ${tofile}
> if [ $? -ne 0 ]; then
> exit 1
> fi
> 'rm' -f ${fromfile}
> fi
>
> Angus
>
_________________________________________________________________________
rpinna |"Zoeggeler denies Hackl four straight luge golds"
@civil.uwa|
.edu.au | ABC news headline, 2002