Why don't you make the Matlab copy of GS the same as the system?
I tried that unsuccessfully already.
Matlab generates the ps file even when I remove its GS directory completely.
When I substitute Matlab GS with "official" GS, the figures still misbehave
after I regenerate them from scratch
TechTonics wrote:
LB wrote:
This problem with preview is still not 100% gone. I have to change
the PATH to point to a different copy of GS (Matlab copy or "official"
copy) depending on which Lyx document I open. At this time, only the
document that first exhibit this problem needs PATH to
LB wrote:
Which would not explain why futzing with the environment variables
cured (or at least moved) the bug. Then again, perhaps I'm asking too
much of the bug as far as consistency goes.
This brings me back to my thesis that somewhere there is a buffer
overflow. How/why it would involve
Which would not explain why futzing with the environment variables cured
(or at least moved) the bug. Then again, perhaps I'm asking too much of
the bug as far as consistency goes.
This brings me back to my thesis that somewhere there is a buffer
overflow. How/why it would involve both the f
TechTonics wrote:
LB wrote:
I have changed the names (decreased by one character) of the figures
that were given me problems and they are now previewing fine!!!
Great! One of the great Presidents said persistence is a
far better quality than talent or genius. Still seems like
a surprising way
LB wrote:
I have changed the names (decreased by one character) of the figures
that were given me problems and they are now previewing fine!!!
Thanks
Leo
Great! One of the great Presidents said persistence is a
far better quality than talent or genius. Still seems like
a surprising way to f
I have changed the names (decreased by one character) of the figures that
were given me problems and they are now previewing fine!!!
Clarification: it works when Lyx path points to Matlab gs. When I change
path to the "official" gs the preview stops working.
I have installed matlab after
I have changed the names (decreased by one character) of the figures that
were given me problems and they are now previewing fine!!!
Thanks
Leo
Your starting idea seems the easiest place to start.
LyX was configured with the system GS. It is now going
to use the matlab gs. Does the matlab gs need to be put
in the beginning of Path_prefix? Reconfigure/Restart?
[SET LC_ALL=en_EN] I think that stands for Locale.
I suggested changing that e
On Aug 9, 2006, at 2:28 PM, TechTonics wrote:
LB wrote:
Having already generated the image files in MATLAB, try temporarily
hiding all the Cygwin and Matlab copies of the GS executable (say by
adding a $ to the start of their names, which is easy to undo
afterward). Then run LyX and see if t
LB wrote:
Having already generated the image files in MATLAB, try temporarily
hiding all the Cygwin and Matlab copies of the GS executable (say by
adding a $ to the start of their names, which is easy to undo
afterward). Then run LyX and see if the images load properly.
No they don't.
Leo
Paul A. Rubin wrote:
LB wrote:
I think this supports the possibility of a Ghostscript conflict and
that
Matlab comes with its own version of Gs.
I actually have three versions of gs.exe. Cygwin has two. One in
cygwin\bin directory and one in cygwin\usr\X11R6\bin directory.
Matlab has its own
Having already generated the image files in MATLAB, try temporarily
hiding all the Cygwin and Matlab copies of the GS executable (say by
adding a $ to the start of their names, which is easy to undo
afterward). Then run LyX and see if the images load properly.
No they don't.
Leo
LB wrote:
I think this supports the possibility of a Ghostscript conflict and
that
Matlab comes with its own version of Gs.
I actually have three versions of gs.exe. Cygwin has two. One in
cygwin\bin directory and one in cygwin\usr\X11R6\bin directory.
Matlab has its own version as well. My i
LB wrote:
I think this supports the possibility of a Ghostscript conflict and
that
Matlab comes with its own version of Gs.
I actually have three versions of gs.exe. Cygwin has two. One in
cygwin\bin directory and one in cygwin\usr\X11R6\bin directory.
Matlab has its own version as well. My i
LB wrote:
I think this supports the possibility of a Ghostscript conflict and
that
Matlab comes with its own version of Gs.
I actually have three versions of gs.exe. Cygwin has two. One in
cygwin\bin directory and one in cygwin\usr\X11R6\bin directory.
Matlab has its own version as well. My i
I think this supports the possibility of a Ghostscript conflict and that
Matlab comes with its own version of Gs.
I actually have three versions of gs.exe. Cygwin has two. One in cygwin\bin
directory and one in cygwin\usr\X11R6\bin directory.
Matlab has its own version as well. My install of gs
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 exportin
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
Paul A. Rubin wrote:
LB wrote:
Ok, it tried this. I commented out SET LC_ALL=en_EN. This resulted
in a different image having the preview problem.
I placed SET XX=Y in lyx.bat and the preview problem moved
back to the original image. The same happens when I comment out the
other l
LB wrote:
Ok, it tried this. I commented out SET LC_ALL=en_EN. This resulted in
a different image having the preview problem.
I placed SET XX=Y in lyx.bat and the preview problem moved back
to the original image. The same happens when I comment out the other
line in the lyx.bat.
LB wrote:
One more little experiment, if you don't mind, just to confirm
symptoms: if you comment out one of the SET commands in lyx.bat, but
replace it with a line of equal length (SET
XXX=Y... with enough Xs and Ys to match the line
you commented out), does the bug move t
One more little experiment, if you don't mind, just to confirm symptoms:
if you comment out one of the SET commands in lyx.bat, but replace it with
a line of equal length (SET XXX=Y... with enough Xs
and Ys to match the line you commented out), does the bug move to a
differe
LB wrote:
I want to make sure I'm understanding this correctly: in a single
document with multiple images, GS will get stuck on image with the
original lyx.bat file, then process that image correctly but get stuck
on a later one if you comment something out of lyx.bat? (And how far
it gets d
I want to make sure I'm understanding this correctly: in a single
document with multiple images, GS will get stuck on image with the
original lyx.bat file, then process that image correctly but get stuck
on a later one if you comment something out of lyx.bat? (And how far it
gets depends on w
LB wrote:
Lyx (or GS) gets "stuck" at different figures depending on what I
comment out in lyx.bat.
I want to make sure I'm understanding this correctly: in a single
document with multiple images, GS will get stuck on image with the
original lyx.bat file, then process that image correctl
Does it display the same old symptoms; it works with lyx.exe
or if you delete one of the "set" commands in lyx.bat?
Lyx (or GS) gets "stuck" at different figures depending on what I comment
out in lyx.bat.
If the figure doesn't work with lyx.exe then it is the file.
Try it with both (the old
LB wrote:
I uninstalled Lyx and reinstalled it into c:\lyx\lyx14. This solved
my figure problem!!!
Thank you. I can now use 1.4.2
Looks like I spoke too soon. Now a different figure does not want to be
displayed.
Leo
Does it display the same old symptoms; it works with lyx.exe
or if
On 8/1/06, LB <[EMAIL PROTECTED]> wrote:
> I uninstalled Lyx and reinstalled it into c:\lyx\lyx14. This solved my
> figure problem!!!
>
> Thank you. I can now use 1.4.2
Looks like I spoke too soon. Now a different figure does not want to be
displayed.
I do not know what have gone wrong, just
LB wrote:
I uninstalled Lyx and reinstalled it into c:\lyx\lyx14. This solved
my figure problem!!!
Thank you. I can now use 1.4.2
Looks like I spoke too soon. Now a different figure does not want to be
displayed.
Leo
But the original one does display, even when loaded from its origin
I uninstalled Lyx and reinstalled it into c:\lyx\lyx14. This solved my
figure problem!!!
Thank you. I can now use 1.4.2
Looks like I spoke too soon. Now a different figure does not want to be
displayed.
Leo
LB wrote:
When I start lyx1.4.2 I see two black windows (shell windows???) pop-up
and dissapear before Lyx actually appears. Lyx1.4.1 only flashes one
black window.
Does that mean anything?
Normal behavior. The first window is lyx.bat; as soon as it starts
lyx.exe, it exits. The second w
Hi Stephen
I uninstalled Lyx and reinstalled it into c:\lyx\lyx14. This solved my
figure problem!!!
Thank you. I can now use 1.4.2
Leo
LB wrote:
The paths are not supposed to be the same. LyX 1.4.1 did not
install a python directory under LyX. Also the batfiles are
not the same. This usua
LB wrote:
The paths are not supposed to be the same. LyX 1.4.1 did not
install a python directory under LyX. Also the batfiles are
not the same. This usually happens when the preferences
files under c:\documents and settings\yourusername~~~\~
are not deleted during the uninstall. Then the next
ve
The paths are not supposed to be the same. LyX 1.4.1 did not
install a python directory under LyX. Also the batfiles are
not the same. This usually happens when the preferences
files under c:\documents and settings\yourusername~~~\~
are not deleted during the uninstall. Then the next
version picks
LB wrote:
Hi
one more idea: if this is really a PATH problem and things worked
normally under lyx 1.4.1, then I would do the following simple steps
(unless you already tried this and I didn't see it in the earlier
messages):
(a)
Revert to LyX 1.4.1 and open the Preferences dialog to find out
When I start lyx1.4.2 I see two black windows (shell windows???) pop-up and
dissapear before Lyx actually appears. Lyx1.4.1 only flashes one black
window.
Does that mean anything?
Leo
Hi
one more idea: if this is really a PATH problem and things worked
normally under lyx 1.4.1, then I would do the following simple steps
(unless you already tried this and I didn't see it in the earlier
messages):
(a)
Revert to LyX 1.4.1 and open the Preferences dialog to find out EXACTLY
Hello
I didn't have any bright ideas. But since it seems you are close
to giving up, I thought I would toss out some longshots.
" PROGRA~1\MENTOR~1\PADS\2005_1\Programs;c:\lyx\ly "
(from 7/28/2006 12:03 pm, PATH report)
SH: Maybe that is a typo the "ly" looks wrong.
This was not a typo. Tha
On Jul 29, 2006, at 9:09 PM, Stephen Harris wrote:
LB wrote:
When you added the GS path in lyx.bat, did you add the path to
the lib
directory as well as to the bin directory?
Yes I did.
I'm giving up and going back to use version 1.4.1.
Well, I can't say I blame you ... 1.4.1 worked pretty
LB wrote:
When you added the GS path in lyx.bat, did you add the path to the lib
directory as well as to the bin directory?
Yes I did.
I'm giving up and going back to use version 1.4.1.
Well, I can't say I blame you ... 1.4.1 worked pretty well for me. I
just hope this problem does not recu
> When you added the GS path in lyx.bat, did you add the path to the lib
> directory as well as to the bin directory?
Yes I did.
> > I'm giving up and going back to use version 1.4.1.
>
> Well, I can't say I blame you ... 1.4.1 worked pretty well for me. I
> just hope this problem does not recur
LB wrote:
Thank you Paul for all your help.
Adding path to GS in lyx.bat did not solved the problem.
I have this feeling that the problem is somehow related to the
postscript commands inside the figure...
I don't know much about Postscript, but I looked in your test.ps file a
few days ago a
Thank you Paul for all your help.
Adding path to GS in lyx.bat did not solved the problem.
I have this feeling that the problem is somehow related to the postscript
commands inside the figure...
I'm giving up and going back to use version 1.4.1.
Cheers
Leo
One other difference I notices is
LB wrote:
Yes, moving the file test.lyx to C:\ solves the problem. The path to
test.lyx is fairly long. It's located five directories deep.
The path consists of 68 characters, including C: and "\", plus the file
name. I have changed figure name to be only one character long, but
that did not h
BTW, Lyx 1.4.1 displays the figure correctly.
Leo
LB wrote:
I mentioned that editing out aiksaurus line in lyx.bat fixed the
problem. It turns out that removing "SET LC_ALL=en_EN" also fixes the
problem.
Renaming aiksaurus directory however does not fix it. Starting Lyx.exe
directly als
Yes, moving the file test.lyx to C:\ solves the problem. The path to
test.lyx is fairly long. It's located five directories deep.
The path consists of 68 characters, including C: and "\", plus the file
name. I have changed figure name to be only one character long, but that
did not help.
This
LB wrote:
I mentioned that editing out aiksaurus line in lyx.bat fixed the
problem. It turns out that removing "SET LC_ALL=en_EN" also fixes the
problem.
Renaming aiksaurus directory however does not fix it. Starting Lyx.exe
directly also fixes the problem. It the lyx.bat that causes this
Hi
Other than that one missing separator, everything looked good right up to
the point where Ghostscript went stupid on you. I'm assuming that the
path is correct (i.e., that C:\\test.ps is really where test.ps is
located). I don't know enough about ImageMagick and Ghostscript to know
if th
LB wrote:
Hello
I added the "echo" line in convertDefault.sh script. The following are
the error message that I see:
filetools(getFormatFromContents)
File type not recognised before EOF!
filetools(getFormatFromContents)
Couldn't find a known format!
filetools(getFormatFromConte
Hello
I added the "echo" line in convertDefault.sh script. The following are the
error message that I see:
filetools(getFormatFromContents)
File type not recognised before EOF!
filetools(getFormatFromContents)
Couldn't find a known format!
filetools(getFormatFromContents)
LB wrote:
Hi
When the image does not preview, the last a few lines in the debug
window are:
ForkedCallQueue: waking up
LoaderQueue: I'm going to sleep
AFPL Ghostscript 8.14 (2004-02-20)
Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: s
Hi
When the image does not preview, the last a few lines in the debug window
are:
ForkedCallQueue: waking up
LoaderQueue: I'm going to sleep
AFPL Ghostscript 8.14 (2004-02-20)
Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file
LB wrote:
I tried that with no success. When starting LyX.exe without the lyx.bat,
the figure works every time though.
How do I display the shell windows that shows the debug messages? So I
can see if there are any.
Make a copy of lyx.bat, change the last line to
lyx.exe -dbg graphics
and
OTECTED]>
To:
Sent: Wednesday, July 26, 2006 6:42 PM
Subject: Re: Postscript preview
LB wrote:
I think I'm getting somewhere with this. It turns out that when I start
lyx by using lyx.bat file from bin directory I get the problem with the
figure. However if I run lyx.exe the problem
LB wrote:
I think I'm getting somewhere with this. It turns out that when I start
lyx by using lyx.bat file from bin directory I get the problem with the
figure. However if I run lyx.exe the problem disappears.
This is what my lyx.bat looks like:
@echo off
SET LC_ALL=en_EN
SET AIK_DATA_DIR=C:
I think I'm getting somewhere with this. It turns out that when I start lyx
by using lyx.bat file from bin directory I get the problem with the figure.
However if I run lyx.exe the problem disappears.
This is what my lyx.bat looks like:
@echo off
SET LC_ALL=en_EN
SET AIK_DATA_DIR=C:\LyX\LyX1.4
LB wrote:
Ok, this means it has something to do with my setup. I'm just surprised
that this one particular figure causes the problem while all others
figures work just fine.
How can I run Lyx in debug mode to see what is happening?
Leo
From a command shell (either in the LyX bin directory
Am Mittwoch, 26. Juli 2006 15:51 schrieb LB:
> Ok, this means it has something to do with my setup. I'm just surprised
> that this one particular figure causes the problem while all others figures
> work just fine.
> How can I run Lyx in debug mode to see what is happening?
export a .tex file and
Ok, this means it has something to do with my setup. I'm just surprised
that this one particular figure causes the problem while all others figures
work just fine.
How can I run Lyx in debug mode to see what is happening?
Leo
Bo Peng wrote:
The Lyx document and the postscript file are atta
Bo Peng wrote:
The Lyx document and the postscript file are attached.
I can view the figure (converted successfully) under windows, using lyx
1.4.2.
Bo
Same here (LyX 1.4.2, WinXP). It takes a couple of seconds on my laptop
for the image to convert, but convert it does.
/Paul
The Lyx document and the postscript file are attached.
I can view the figure (converted successfully) under windows, using lyx 1.4.2.
Bo
Hello
I have been inserting figures in Lyx (1.4.2 Windows XP) dozens of times and
never had any problems with their previews. Until this time... I created a
PostScript figure in Matlab ( the same procedure as I always use) and this
figure would not get displayed in Lyx. The place holder for t
aller".
In DVI preview I can see very fine those long lines but when I want to
see the Postscript preview the lines are cut ar 75% (I cannot see the
whole line).
It's not a Lyx problem, it's a dvips problem but can you help me somehow
?
Please cc:me to [EMAIL PROTECTED]
I someone
64 matches
Mail list logo