Uwe St�hr wrote:
> This is correct, because in convertDefault.sh the command is
> convert -depth 8 $1 $2
> and this invokes the command line of ghostscript.
> The correct command would be
> convert -depth 8 $1 pdf:$2

Interesting, but wrong (I believe ;-)

The "pdf:" prefix is passd to convertDefault.sh as part of $2. 
Witness the stuff that appears immediately after the call to convert:

# It appears that convert succeeded, but we know better 
# than to trust it ;-) convert is passed strings in 
# the form "FMT:FILENAME", so use the ':' to delimit
# the two parts.
# Note that Win32 filenames have the form 'C:\my\file',
# so use everything from the first ':' to the end of the line.
FILE=`echo $2 | cut -d ':' -f 2-`

Just add
        echo "$2"
if you want to see for yourself.

> (btw. you can omit the parameter -depth 8)

In your personal copy. Not in the version that ships with LyX. 
Other's have other problems.

-- 
Angus

Reply via email to