Paul A. Rubin wrote:
Stephen Harris wrote:
"The MATLAB Component Runtime (MCR) 7.0 and 7.1 do not contain a
copy of the GhostScript program included with MATLAB. Therefore,
applications deployed on a target machine rely on a locally-
installed version of GhostScript, if one exists, for exporting
some graphics. Since the version of GhostScript installed on the
target machine may be different than the one included with MATLAB,
the command line parameters potentially may be different as well.
This difference causes an error in some instances."
----------------------------------------------------------------
I think this supports the possibility of a Ghostscript conflict and that
Matlab comes with its own version of Gs.
It does indeed. So I agree that hypothetically Leo's MATLAB
installation could be generating PS files (using it's own copy of GS)
that would be indigestible to LyX->ImageMagick->GS (using a different
copy of GS in the last step).
That still raises the question of why those images would be
successfully displayed in LyX (same LyX->ImageMagick->GS sequence) if
an environment variable is deleted ... unless deletion of the
environment variable affected which copy of GS was used (both on the
command path?) ... in which case the bug would disappear, not switch
to a different image.
All that said, this bug is clearly not playing fair, so it would be a
good idea for Leo to check into this just to rule it out.
/Paul
Yes there has to be another dimension to this. Recall he reinstalled LyX to
C:\Lyx\lyx14 and the original problem files, I think it was test.ps,
displayed
Ok, but then another figure reared its ugly wolverine head. I would think
that means that only some files are produced with the problem--either the
same gs executable produces files which vary in compatibility or maybe
system gs is producing the eps and it sometimes can't be read by an
older matlab gs executable. Well, that is getting pretty thin.
Maybe he could use the 1.4.1 lyx.bat and put Python at the beginning
of the Path_prefix and try it and if it doesn't work, then try ghostscript
at the beginning of Path_prefix also, but I think it is already. It would
seem that the set variables in lyx1.4.2 batfile would have to part of it,
but I don't know what they mean and they don't show up LC_ALL
I will google one more time matlab and aikasaurus but I think that
is just for Aspell. I'm not feeling well and can't concentrate. I've been
up for two days fighting with a virus and am tired and have lost one
partition on my hard drive. I guess its a trojan. Nope, I got a hit on
allosaurus and matlab, but no aikasaurus. It's a Linux critter anyway.
Regards,
Stephen