RE: XFig and LyX (Was: Re: Is PDF the best graphic format for LyX?)

2009-05-25 Thread Vincent van Ravesteijn - TNW
Dear all, I have just (within the last week or so, using the 2.0.0 svn development code, which I've kept up with and compiled) started having problems using XFig figures within LyX. You should talk to developers for this. Is this going to be a long-term change to the code? It'll certainly

Re: XFig and LyX (Was: Re: Is PDF the best graphic format for LyX?)

2009-05-25 Thread Enrico Forestieri
On Mon, May 25, 2009 at 04:25:36PM +0200, Vincent van Ravesteijn - TNW wrote: Dear all, I have just (within the last week or so, using the 2.0.0 svn development code, which I've kept up with and compiled) started having problems using XFig figures within LyX. You should talk to

RE: XFig and LyX (Was: Re: Is PDF the best graphic format for LyX?)

2009-05-25 Thread Vincent van Ravesteijn - TNW
>Dear all, > >I have just (within the last week or so, using the 2.0.0 svn >development code, which I've kept up with and compiled) started >having problems using XFig figures within LyX. You should talk to developers for this. >Is this going to be a long-term change to the code? It'll

Re: XFig and LyX (Was: Re: Is PDF the best graphic format for LyX?)

2009-05-25 Thread Enrico Forestieri
On Mon, May 25, 2009 at 04:25:36PM +0200, Vincent van Ravesteijn - TNW wrote: > > >Dear all, > > > >I have just (within the last week or so, using the 2.0.0 svn > >development code, which I've kept up with and compiled) started > >having problems using XFig figures within LyX. > > You should

Re: xfig and LyX

2002-10-31 Thread Jean-Marc Lasgouttes
Nirmal == Nirmal Govind [EMAIL PROTECTED] writes: Nirmal Yes.. I downloaded the whole tree again today afternoon and Nirmal did a fresh compile in a different folder.. this time with qt Nirmal as the frontend.. now it crashes as soon as I try changing the Nirmal external material menu from chess

Re: xfig and LyX

2002-10-31 Thread John Levon
On Thu, Oct 31, 2002 at 11:41:01AM +0100, Jean-Marc Lasgouttes wrote: I will not propose a patch since I can't test it. John, could you have a quick look? fixed john -- Everyone needs a hobby. - Victor Yodaiken on pointless complaining

Re: xfig and LyX

2002-10-31 Thread Nirmal Govind
fixed john I recompiled.. this is what I get: frontends/.libs/libfrontends.a(QExternal.o):/opt/lyx-qt/lyx-devel/src/f rontends/qt2/QExternal.C:37: undefined reference to `QExternal::isValid()' collect2: ld returned 1 exit status make[3]: *** [lyx] Error 1 make[3]: Leaving directory

Re: xfig and LyX

2002-10-31 Thread John Levon
On Thu, Oct 31, 2002 at 06:51:45PM -0500, Nirmal Govind wrote: rontends/qt2/QExternal.C:37: undefined reference to `QExternal::isValid()' I didn't commit a file. fixed now thanks john -- Everyone needs a hobby. - Victor Yodaiken on pointless complaining

Re: xfig and LyX

2002-10-31 Thread Nirmal Govind
I didn't commit a file. fixed now thanks john Thanks John.. I recompiled and it works! The preview with the DVI also works.. Only one thing though.. earlier if I selected Xfig in the drop down menu, then if I browsed to a folder, it would only show me files of type .fig. Now it shows me

Re: xfig and LyX

2002-10-31 Thread John Levon
On Thu, Oct 31, 2002 at 08:39:45PM -0500, Nirmal Govind wrote: Also, I'd reported a problem with the fading characters in the earlier I have no idea what fading characters are. Small example file and screenshot please. Also, Qt version, -dbg font, etc. john -- My first thought was I don't

Re: xfig and LyX

2002-10-31 Thread Nirmal Govind
I have no idea what fading characters are. Small example file and screenshot please. Also, Qt version, -dbg font, etc. john I've attached a screenshot of what I mean by fading.. on the second line from the top (the Definition), I was keeping the letter a pressed while the screen was

Re: xfig and LyX

2002-10-31 Thread Nirmal Govind
Forgot.. I'm using QT version 3.0.5.. not sure how to get the font information you'd asked.. Thanks, nirmal

Re: xfig and LyX

2002-10-31 Thread Jean-Marc Lasgouttes
> "Nirmal" == Nirmal Govind <[EMAIL PROTECTED]> writes: Nirmal> Yes.. I downloaded the whole tree again today afternoon and Nirmal> did a fresh compile in a different folder.. this time with qt Nirmal> as the frontend.. now it crashes as soon as I try changing the Nirmal> external material

Re: xfig and LyX

2002-10-31 Thread John Levon
On Thu, Oct 31, 2002 at 11:41:01AM +0100, Jean-Marc Lasgouttes wrote: > > I will not propose a patch since I can't test it. John, could you have > a quick look? fixed john -- "Everyone needs a hobby." - Victor Yodaiken on pointless complaining

Re: xfig and LyX

2002-10-31 Thread Nirmal Govind
> > fixed > > john > I recompiled.. this is what I get: frontends/.libs/libfrontends.a(QExternal.o):/opt/lyx-qt/lyx-devel/src/f rontends/qt2/QExternal.C:37: undefined reference to `QExternal::isValid()' collect2: ld returned 1 exit status make[3]: *** [lyx] Error 1 make[3]: Leaving directory

Re: xfig and LyX

2002-10-31 Thread John Levon
On Thu, Oct 31, 2002 at 06:51:45PM -0500, Nirmal Govind wrote: > rontends/qt2/QExternal.C:37: undefined reference to > `QExternal::isValid()' I didn't commit a file. fixed now thanks john -- "Everyone needs a hobby." - Victor Yodaiken on pointless complaining

Re: xfig and LyX

2002-10-31 Thread Nirmal Govind
> > I didn't commit a file. fixed now > > thanks > john > Thanks John.. I recompiled and it works! The preview with the DVI also works.. Only one thing though.. earlier if I selected Xfig in the drop down menu, then if I browsed to a folder, it would only show me files of type .fig. Now it

Re: xfig and LyX

2002-10-31 Thread John Levon
On Thu, Oct 31, 2002 at 08:39:45PM -0500, Nirmal Govind wrote: > Also, I'd reported a problem with the fading characters in the earlier I have no idea what fading characters are. Small example file and screenshot please. Also, Qt version, -dbg font, etc. john -- "My first thought was I don't

Re: xfig and LyX

2002-10-31 Thread Nirmal Govind
> I have no idea what fading characters are. Small example file and > screenshot please. > > Also, Qt version, -dbg font, etc. > > john > I've attached a screenshot of what I mean by "fading".. on the second line from the top (the Definition), I was keeping the letter "a" pressed while the

Re: xfig and LyX

2002-10-31 Thread Nirmal Govind
Forgot.. I'm using QT version 3.0.5.. not sure how to get the font information you'd asked.. Thanks, nirmal

Re: xfig and LyX

2002-10-30 Thread Nirmal Govind
Anyway, I just commited the patch in cvs. Please tell me if it works now. JMarc I updated my cvs and tried to recompile.. the compile fails with the following errors: mathed/.libs/libmathed.a insets/.libs/libinsets.a frontends/.libs/libfrontends.a /usr/lib/libjpeg.so -lforms -lXpm

Re: xfig and LyX

2002-10-30 Thread Andre Poenitz
I updated my cvs and tried to recompile.. the compile fails with the following errors: mathed/.libs/libmathed.a insets/.libs/libinsets.a frontends/.libs/libfrontends.a /usr/lib/libjpeg.so -lforms -lXpm graphics/.libs/libgraphics.a support/.libs/libsupport.a

Re: xfig and LyX

2002-10-30 Thread Nirmal Govind
Is this still present after a 'make distclean' or a clean checkout (in that order...) Andre' Hmm.. I tried make distclean but get this: `cat -s GNUmakefile Makefile makefile | sed -n -e /No such file/d -e /^[^ #].*:/s/:.*//p`: No match. By a clean checkout, do you mean a completely

Re: xfig and LyX

2002-10-30 Thread Nirmal Govind
Is this still present after a 'make distclean' or a clean checkout (in that order...) Andre' Yes.. I downloaded the whole tree again today afternoon and did a fresh compile in a different folder.. this time with qt as the frontend.. now it crashes as soon as I try changing the external

Re: xfig and LyX

2002-10-30 Thread Nirmal Govind
> > Anyway, I just commited the patch in cvs. Please tell me if it works > now. > > JMarc I updated my cvs and tried to recompile.. the compile fails with the following errors: mathed/.libs/libmathed.a insets/.libs/libinsets.a frontends/.libs/libfrontends.a /usr/lib/libjpeg.so -lforms -lXpm

Re: xfig and LyX

2002-10-30 Thread Andre Poenitz
> I updated my cvs and tried to recompile.. the compile fails with the > following errors: > > mathed/.libs/libmathed.a insets/.libs/libinsets.a > frontends/.libs/libfrontends.a /usr/lib/libjpeg.so -lforms -lXpm > graphics/.libs/libgraphics.a support/.libs/libsupport.a >

Re: xfig and LyX

2002-10-30 Thread Nirmal Govind
> > Is this still present after a 'make distclean' or a clean checkout > (in that order...) > > Andre' Hmm.. I tried make distclean but get this: `cat -s GNUmakefile Makefile makefile |& sed -n -e "/No such file/d" -e "/^[^ #].*:/s/:.*//p"`: No match. By a clean checkout, do you mean a

Re: xfig and LyX

2002-10-30 Thread Nirmal Govind
> > Is this still present after a 'make distclean' or a clean checkout > (in that order...) > > Andre' Yes.. I downloaded the whole tree again today afternoon and did a fresh compile in a different folder.. this time with qt as the frontend.. now it crashes as soon as I try changing the

Re: xfig and LyX

2002-10-29 Thread Jean-Marc Lasgouttes
Nirmal == Nirmal Govind [EMAIL PROTECTED] writes: Nirmal I just applied the patch and recompiled.. it still crashes.. Nirmal as soon as I try to view the DVI... I do not see this? Do you have an example (and maybe a backtrace?) JMarc Nirmal I tried starting gdb on the existing lyx

Re: xfig and LyX

2002-10-29 Thread Nirmal Govind
Or maybe I do not understand what your problem is? Another thing you can try is to run lyx under valgrind. JMarc Thanks.. looks like I wasn't running gdb the right way.. anyways, below is the entire output from gdb.. it's pretty long but I hope it's useful... (gdb) run Starting program:

Re: xfig and LyX

2002-10-29 Thread Jean-Marc Lasgouttes
Nirmal == Nirmal Govind [EMAIL PROTECTED] writes: Or maybe I do not understand what your problem is? Another thing you can try is to run lyx under valgrind. JMarc Nirmal Thanks.. looks like I wasn't running gdb the right way.. Nirmal anyways, below is the entire output from gdb.. it's

Re: xfig and LyX

2002-10-29 Thread Nirmal Govind
You did not apply the following patch, did you? JMarc Is this the same as the last one you had posted on the devel list? If yes, then I did apply the patch.. or well, let me go over what I did.. In lyx-devel, I ran patch -p0 patch.diff (I think I was prompted if I wanted to force

Re: xfig and LyX

2002-10-29 Thread Jean-Marc Lasgouttes
Nirmal == Nirmal Govind [EMAIL PROTECTED] writes: You did not apply the following patch, did you? JMarc Nirmal Is this the same as the last one you had posted on the devel Nirmal list? If yes, then I did apply the patch.. or well, let me go Nirmal over what I did.. Nirmal In lyx-devel, I

Re: xfig and LyX

2002-10-29 Thread Jean-Marc Lasgouttes
> "Nirmal" == Nirmal Govind <[EMAIL PROTECTED]> writes: Nirmal> I just applied the patch and recompiled.. it still crashes.. Nirmal> as soon as I try to view the DVI... >> I do not see this? Do you have an example (and maybe a backtrace?) >> >> JMarc >> Nirmal> I tried starting gdb on the

Re: xfig and LyX

2002-10-29 Thread Nirmal Govind
> Or maybe I do not understand what your problem is? Another thing you > can try is to run lyx under valgrind. > > JMarc > Thanks.. looks like I wasn't running gdb the right way.. anyways, below is the entire output from gdb.. it's pretty long but I hope it's useful... (gdb) run Starting

Re: xfig and LyX

2002-10-29 Thread Jean-Marc Lasgouttes
> "Nirmal" == Nirmal Govind <[EMAIL PROTECTED]> writes: >> Or maybe I do not understand what your problem is? Another thing >> you can try is to run lyx under valgrind. >> >> JMarc >> Nirmal> Thanks.. looks like I wasn't running gdb the right way.. Nirmal> anyways, below is the entire

Re: xfig and LyX

2002-10-29 Thread Nirmal Govind
> > You did not apply the following patch, did you? > > JMarc Is this the same as the last one you had posted on the devel list? If yes, then I did apply the patch.. or well, let me go over what I did.. In lyx-devel, I ran patch -p0 < patch.diff (I think I was prompted if I wanted to force

Re: xfig and LyX

2002-10-29 Thread Jean-Marc Lasgouttes
> "Nirmal" == Nirmal Govind <[EMAIL PROTECTED]> writes: >> You did not apply the following patch, did you? >> >> JMarc Nirmal> Is this the same as the last one you had posted on the devel Nirmal> list? If yes, then I did apply the patch.. or well, let me go Nirmal> over what I did..

Re: xfig and LyX

2002-10-28 Thread Jean-Marc Lasgouttes
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre On Fri, Oct 25, 2002 at 03:35:48PM +0200, Jean-Marc Lasgouttes Andre wrote: OK, so the ReplaceEnvironmentPath thingie should be moved as last in the function. However, it strikes me that the command is called through system() and thus the

Re: xfig and LyX

2002-10-28 Thread Jean-Marc Lasgouttes
Nirmal == Nirmal Govind [EMAIL PROTECTED] writes: interpreted| correctly there (yes, I did check the fact). Therefore I propose the| following patch. | Lars? If you have checked that this work, then it is fine with me. Nirmal I just applied the patch and recompiled.. it still

Re: xfig and LyX

2002-10-28 Thread Nirmal Govind
Nirmal I just applied the patch and recompiled.. it still crashes.. Nirmal as soon as I try to view the DVI... I do not see this? Do you have an example (and maybe a backtrace?) JMarc I tried starting gdb on the existing lyx process.. once gdb attaches itself to lyx, the lyx window

Re: xfig and LyX

2002-10-28 Thread Andre Poenitz
On Mon, Oct 28, 2002 at 04:07:00PM -0500, Nirmal Govind wrote: I tried starting gdb on the existing lyx process.. once gdb attaches itself to lyx, the lyx window freezes and nothing more can be done.. so here is the backtrace even before I got to the xfig part (looks like some xforms problem):

Re: xfig and LyX

2002-10-28 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Fri, Oct 25, 2002 at 03:35:48PM +0200, Jean-Marc Lasgouttes Andre> wrote: >> OK, so the ReplaceEnvironmentPath thingie should be moved as last >> in the function. However, it strikes me that the command is called >> through

Re: xfig and LyX

2002-10-28 Thread Jean-Marc Lasgouttes
> "Nirmal" == Nirmal Govind <[EMAIL PROTECTED]> writes: >> interpreted| correctly there (yes, I did check the fact). Therefore >> I propose the| following patch. >> > >> | Lars? >> >> If you have checked that this work, then it is fine with me. >> Nirmal> I just applied the patch and

Re: xfig and LyX

2002-10-28 Thread Nirmal Govind
> Nirmal> I just applied the patch and recompiled.. it still crashes.. > Nirmal> as soon as I try to view the DVI... > > I do not see this? Do you have an example (and maybe a backtrace?) > > JMarc > I tried starting gdb on the existing lyx process.. once gdb attaches itself to lyx, the lyx

Re: xfig and LyX

2002-10-28 Thread Andre Poenitz
On Mon, Oct 28, 2002 at 04:07:00PM -0500, Nirmal Govind wrote: > I tried starting gdb on the existing lyx process.. once gdb attaches > itself to lyx, the lyx window freezes and nothing more can be done.. so > here is the backtrace even before I got to the xfig part (looks like > some xforms

Re: xfig and LyX

2002-10-27 Thread Andre Poenitz
On Fri, Oct 25, 2002 at 03:35:48PM +0200, Jean-Marc Lasgouttes wrote: OK, so the ReplaceEnvironmentPath thingie should be moved as last in the function. However, it strikes me that the command is called through system() and thus the environment variables will be interpreted correctly there

Re: xfig and LyX

2002-10-27 Thread Andre Poenitz
On Fri, Oct 25, 2002 at 03:35:48PM +0200, Jean-Marc Lasgouttes wrote: > OK, so the ReplaceEnvironmentPath thingie should be moved as last in > the function. However, it strikes me that the command is called through > system() and thus the environment variables will be interpreted > correctly there

Re: xfig and LyX

2002-10-26 Thread Nirmal Govind
interpreted| correctly there (yes, I did check the fact). Therefore I propose the| following patch. | Lars? If you have checked that this work, then it is fine with me. I just applied the patch and recompiled.. it still crashes.. as soon as I try to view the DVI... nirmal

Re: xfig and LyX

2002-10-26 Thread Nirmal Govind
> interpreted| correctly there (yes, I did check the fact). Therefore I > propose the| following patch. > > > | Lars? > > If you have checked that this work, then it is fine with me. > I just applied the patch and recompiled.. it still crashes.. as soon as I try to view the DVI... nirmal

Re: xfig and LyX

2002-10-25 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Andre == Andre Poenitz [EMAIL PROTECTED] writes: | Andre On Fri, Oct 25, 2002 at 02:47:35PM +0200, Jean-Marc Lasgouttes | Andre wrote: This problem should be fixed now. | Andre It is still crashing. Insert an ExternalInset in a new doc, | Andre

Re: xfig and LyX

2002-10-25 Thread Jean-Marc Lasgouttes
Nirmal == Nirmal Govind [EMAIL PROTECTED] writes: Maybe your problem is that you do not include the color package (\usepackage{color} in Preamble) Nirmal Yes, that was it!! Thanks a lot.. the problem with the crash Nirmal in 1.3.0cvs (when including a .fig directly using external Nirmal

Re: xfig and LyX

2002-10-25 Thread Andre Poenitz
On Fri, Oct 25, 2002 at 02:47:35PM +0200, Jean-Marc Lasgouttes wrote: This problem should be fixed now. It is still crashing. Insert an ExternalInset in a new doc, change type to Xfig, do not enter a name. Save, reload. Press Shift-End to mark everything, Press Del. Boom. #0 0x0841842d in

Re: xfig and LyX

2002-10-25 Thread Jean-Marc Lasgouttes
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre On Fri, Oct 25, 2002 at 02:47:35PM +0200, Jean-Marc Lasgouttes Andre wrote: This problem should be fixed now. Andre It is still crashing. Insert an ExternalInset in a new doc, Andre change type to Xfig, do not enter a name. Save, reload.

Re: xfig and LyX

2002-10-25 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > | Andre> On Fri, Oct 25, 2002 at 02:47:35PM +0200, Jean-Marc Lasgouttes | Andre> wrote: >>> This problem should be fixed now. > | Andre> It is still crashing. Insert an ExternalInset in

Re: xfig and LyX

2002-10-25 Thread Jean-Marc Lasgouttes
> "Nirmal" == Nirmal Govind <[EMAIL PROTECTED]> writes: >> Maybe your problem is that you do not include the color package >> (\usepackage{color} in Preamble) >> Nirmal> Yes, that was it!! Thanks a lot.. the problem with the crash Nirmal> in 1.3.0cvs (when including a .fig directly using

Re: xfig and LyX

2002-10-25 Thread Andre Poenitz
On Fri, Oct 25, 2002 at 02:47:35PM +0200, Jean-Marc Lasgouttes wrote: > This problem should be fixed now. It is still crashing. Insert an ExternalInset in a new doc, change type to Xfig, do not enter a name. Save, reload. Press Shift-End to mark "everything", Press . Boom. #0 0x0841842d in

Re: xfig and LyX

2002-10-25 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Fri, Oct 25, 2002 at 02:47:35PM +0200, Jean-Marc Lasgouttes Andre> wrote: >> This problem should be fixed now. Andre> It is still crashing. Insert an ExternalInset in a new doc, Andre> change type to Xfig, do not enter a name.

Re: xfig and LyX

2002-10-22 Thread Nirmal Govind
Where's the file? (.lyx and .fig) Incidentally, can you not use the Include inset for this? That way you can get a preview of the figure with 1.3.0cvs. Regards, Angus Here it is.. I posted this on the user's list but not here.. sorry.. an empty lyx file with just this fig file will

Re: xfig and LyX

2002-10-22 Thread Andre Poenitz
On Tue, Oct 22, 2002 at 12:22:01PM -0400, Nirmal Govind wrote: Here it is.. I posted this on the user's list but not here.. sorry.. an empty lyx file with just this fig file will crash when you try to view the DVI/PS output.. Here I get the crash even earlier: Insert-ExternalMaterial, select

Re: xfig and LyX

2002-10-22 Thread Nirmal Govind
Maybe your problem is that you do not include the color package (\usepackage{color} in Preamble) Yes, that was it!! Thanks a lot.. the problem with the crash in 1.3.0cvs (when including a .fig directly using external material) still remains.. so Wayan, I'm attaching a .fig file here and

Re: xfig and LyX

2002-10-22 Thread Angus Leeming
On Tuesday 22 October 2002 2:49 pm, Nirmal Govind wrote: Maybe your problem is that you do not include the color package (\usepackage{color} in Preamble) Yes, that was it!! Thanks a lot.. the problem with the crash in 1.3.0cvs (when including a .fig directly using external material) still

Re: xfig and LyX

2002-10-22 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Where's the file? (.lyx and .fig) Angus Incidentally, can you not use the Include inset for this? That Angus way you can get a preview of the figure with 1.3.0cvs. This is what he was doing before being advised to use external inset, I

Re: xfig and LyX

2002-10-22 Thread Nirmal Govind
> > Where's the file? (.lyx and .fig) > > Incidentally, can you not use the Include inset for this? > That way you can get a preview of the figure with 1.3.0cvs. > > Regards, > Angus > Here it is.. I posted this on the user's list but not here.. sorry.. an empty lyx file with just this fig

Re: xfig and LyX

2002-10-22 Thread Andre Poenitz
On Tue, Oct 22, 2002 at 12:22:01PM -0400, Nirmal Govind wrote: > Here it is.. I posted this on the user's list but not here.. sorry.. an > empty lyx file with just this fig file will crash when you try to view > the DVI/PS output.. Here I get the crash even earlier: Insert->ExternalMaterial,

Re: xfig and LyX

2002-10-22 Thread Nirmal Govind
> > Maybe your problem is that you do not include the color package > (\usepackage{color} in Preamble) > Yes, that was it!! Thanks a lot.. the problem with the crash in 1.3.0cvs (when including a .fig directly using external material) still remains.. so Wayan, I'm attaching a .fig file here and

Re: xfig and LyX

2002-10-22 Thread Angus Leeming
On Tuesday 22 October 2002 2:49 pm, Nirmal Govind wrote: > > Maybe your problem is that you do not include the color > > package (\usepackage{color} in Preamble) > > Yes, that was it!! Thanks a lot.. the problem with the crash > in 1.3.0cvs (when including a .fig directly using external >

Re: xfig and LyX

2002-10-22 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Where's the file? (.lyx and .fig) Angus> Incidentally, can you not use the Include inset for this? That Angus> way you can get a preview of the figure with 1.3.0cvs. This is what he was doing before being advised to use external