Re: A real prblem with XFig images

2004-10-21 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus Hmmm. I don't think I am suggesting 'too smart'. I'm suggesting Angus that we augment these tokens understood by the converters Angus string const token_from($$i); string const Angus token_base($$b); string const token_to($$o); string const Angus

Re: A real prblem with XFig images

2004-10-21 Thread Georg Baum
Angus Leeming wrote: I therefore suggest a new token '$$orig_i', being the name of the original file from which '$$i' was copied into the temp directory. Ok? For me, yes. Now, Georg, could you expand on your ideas for when this magic should and should not be invoked? I'm afraid I don't see

Re: A real prblem with XFig images

2004-10-21 Thread Angus Leeming
Georg Baum wrote: Angus Leeming wrote: I therefore suggest a new token '$$orig_i', being the name of the original file from which '$$i' was copied into the temp directory. Ok? For me, yes. Now, Georg, could you expand on your ideas for when this magic should and should not be invoked?

Re: A real prblem with XFig images

2004-10-21 Thread Georg Baum
Angus Leeming wrote: Let me try and get my head around the various possibilities. Let's store the .fig file in the lyx document as 'images/img1.fig'. In turn, this .fig file references 'raw.eps', so the path to 'raw.eps' from the document directory is 'images/raw.eps' and the absolute path is

Re: A real prblem with XFig images

2004-10-21 Thread Angus Leeming
Georg Baum wrote: Angus Leeming wrote: Let me try and get my head around the various possibilities. Let's store the .fig file in the lyx document as 'images/img1.fig'. In turn, this .fig file references 'raw.eps', so the path to 'raw.eps' from the document directory is 'images/raw.eps' and

Re: A real prblem with XFig images

2004-10-21 Thread Georg Baum
Angus Leeming wrote: Georg Baum wrote: Angus Leeming wrote: 2. Export-Latex buffer.tex will include the snippet: \input{images/img.pstex_t} It is the user's responsibility to generate 'images/img.pstex_t' correctly. No. This is 1.3 behaviour, 1.4 creates

Re: A real prblem with XFig images

2004-10-21 Thread Angus Leeming
Georg Baum wrote: Angus Leeming wrote: Georg Baum wrote: Angus Leeming wrote: 2. Export-Latex buffer.tex will include the snippet: \input{images/img.pstex_t} It is the user's responsibility to generate 'images/img.pstex_t' correctly. No. This is 1.3 behaviour, 1.4

Re: A real prblem with XFig images

2004-10-21 Thread Georg Baum
Am Donnerstag, 21. Oktober 2004 20:38 schrieb Angus Leeming: Georg Baum wrote: Angus Leeming wrote: Georg Baum wrote: No. This is 1.3 behaviour, 1.4 creates 'images/img.pstex_t' and 'images/img.eps.' This is alo a case where the converter is called on the original file and

Re: A real prblem with XFig images

2004-10-21 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> Hmmm. I don't think I am suggesting 'too smart'. I'm suggesting > Angus> that we augment these tokens understood by the converters > > Angus> string const token_from("$$i"); string const > Angus> token_base("$$b"); string const token_to("$$o"); string

Re: A real prblem with XFig images

2004-10-21 Thread Georg Baum
Angus Leeming wrote: > I therefore suggest a new token '$$orig_i', being the name of the original > file from which '$$i' was copied into the temp directory. Ok? For me, yes. > Now, Georg, could you expand on your ideas for when this magic should and > should not be invoked? I'm afraid I don't

Re: A real prblem with XFig images

2004-10-21 Thread Angus Leeming
Georg Baum wrote: > Angus Leeming wrote: > >> I therefore suggest a new token '$$orig_i', being the name of the >> original file from which '$$i' was copied into the temp directory. Ok? > > For me, yes. > >> Now, Georg, could you expand on your ideas for when this magic should >> and should

Re: A real prblem with XFig images

2004-10-21 Thread Georg Baum
Angus Leeming wrote: > Let me try and get my head around the various possibilities. Let's store > the .fig file in the lyx document as 'images/img1.fig'. In turn, this .fig > file references 'raw.eps', so the path to 'raw.eps' from the document > directory is 'images/raw.eps' and the absolute

Re: A real prblem with XFig images

2004-10-21 Thread Angus Leeming
Georg Baum wrote: > Angus Leeming wrote: > >> Let me try and get my head around the various possibilities. Let's store >> the .fig file in the lyx document as 'images/img1.fig'. In turn, this >> .fig file references 'raw.eps', so the path to 'raw.eps' from the >> document directory is

Re: A real prblem with XFig images

2004-10-21 Thread Georg Baum
Angus Leeming wrote: > Georg Baum wrote: > >> Angus Leeming wrote: >>> 2. Export->Latex >>> buffer.tex will include the snippet: >>> \input{images/img.pstex_t} >>> It is the user's responsibility to generate 'images/img.pstex_t' >>> correctly. >> >> No. This is 1.3 behaviour,

Re: A real prblem with XFig images

2004-10-21 Thread Angus Leeming
Georg Baum wrote: > Angus Leeming wrote: > >> Georg Baum wrote: >> >>> Angus Leeming wrote: 2. Export->Latex buffer.tex will include the snippet: \input{images/img.pstex_t} It is the user's responsibility to generate 'images/img.pstex_t' correctly. >>>

Re: A real prblem with XFig images

2004-10-21 Thread Georg Baum
Am Donnerstag, 21. Oktober 2004 20:38 schrieb Angus Leeming: > Georg Baum wrote: > > > Angus Leeming wrote: > > > >> Georg Baum wrote: > >> > >>> No. This is 1.3 behaviour, 1.4 creates 'images/img.pstex_t' and > >>> 'images/img.eps.' This is alo a case where the converter is called on > >>>

A real prblem with XFig images

2004-10-19 Thread Angus Leeming
What to do if the XFig picture *includes* an EPS figure? Our new, improved handling of the conversion of such XFig files to EPS,PSTEX_T in the tmp directory doesn't work as it did in LyX 1.3.x, because the included EPS figure is not moved. One solution is to reference the EPS figure in the

Re: A real prblem with XFig images

2004-10-19 Thread Andreas Vox
Angus Leeming [EMAIL PROTECTED] writes: What to do if the XFig picture *includes* an EPS figure? Our new, improved handling of the conversion of such XFig files to EPS,PSTEX_T in the tmp directory doesn't work as it did in LyX 1.3.x, because the included EPS figure is not moved. ... If

Re: A real prblem with XFig images

2004-10-19 Thread Angus Leeming
Andreas Vox wrote: Angus Leeming [EMAIL PROTECTED] writes: What to do if the XFig picture *includes* an EPS figure? Our new, improved handling of the conversion of such XFig files to EPS,PSTEX_T in the tmp directory doesn't work as it did in LyX 1.3.x, because the included EPS

Re: A real prblem with XFig images

2004-10-19 Thread Jean-Marc Lasgouttes
Andreas == Andreas Vox [EMAIL PROTECTED] writes: Andreas Is such a strategy possible? Thoughts? Andreas Looks like this is getting a mess. This looks as if LyX has Andreas to outsmart all possible converters ... Yes, I really think we should not try to be too smart (and I am guilty of that

Re: A real prblem with XFig images

2004-10-19 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Andreas Is such a strategy possible? Thoughts? Andreas Looks like this is getting a mess. This looks as if LyX has Andreas to outsmart all possible converters ... Yes, I really think we should not try to be too smart (and I am guilty of that sometimes).

Re: A real prblem with XFig images

2004-10-19 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Jean-Marc Lasgouttes wrote: Andreas Is such a strategy possible? Thoughts? Andreas Looks like this is getting a mess. This looks as if LyX has Andreas to outsmart all possible converters ... Yes, I really think we should not try to be

Re: A real prblem with XFig images

2004-10-19 Thread Andreas Vox
Angus Leeming [EMAIL PROTECTED] writes: Alternative A) Leave the xfig file where it is and force all converters to understand a '-d' flag for the output directory. Nope. Bad idea for all sorts of reasons. The main one being that you are using the directory in which your important files

Re: A real prblem with XFig images

2004-10-19 Thread Angus Leeming
Andreas Vox wrote: Angus Leeming [EMAIL PROTECTED] writes: Alternative A) Leave the xfig file where it is and force all converters to understand a '-d' flag for the output directory. Nope. Bad idea for all sorts of reasons. The main one being that you are using the directory in

Re: A real prblem with XFig images

2004-10-19 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus Hmmm. I don't think I am suggesting 'too smart'. I'm suggesting Angus that we augment these tokens understood by the converters Angus string const token_from($$i); string const Angus token_base($$b); string const token_to($$o); string const Angus

Re: A real prblem with XFig images

2004-10-19 Thread Georg Baum
Am Dienstag, 19. Oktober 2004 13:56 schrieb Angus Leeming: What to do if the XFig picture *includes* an EPS figure? Our new, improved handling of the conversion of such XFig files to EPS,PSTEX_T in the tmp directory doesn't work as it did in LyX 1.3.x, because the included EPS figure is not

Re: A real prblem with XFig images

2004-10-19 Thread Angus Leeming
Georg Baum wrote: Is such a strategy possible? Thoughts? As I understand it, this means that fig2pstex.sh, which is supposed to convert from fig to pstex, modifies its input. I don't like that. Please enlighten me if this is a misunderstanding. No, you understand right. The alternative is

A real prblem with XFig images

2004-10-19 Thread Angus Leeming
What to do if the XFig picture *includes* an EPS figure? Our new, improved handling of the conversion of such XFig files to EPS,PSTEX_T in the tmp directory doesn't work as it did in LyX 1.3.x, because the included EPS figure is not moved. One solution is to reference the EPS figure in the

Re: A real prblem with XFig images

2004-10-19 Thread Andreas Vox
Angus Leeming <[EMAIL PROTECTED]> writes: < What to do if the XFig picture *includes* an EPS figure? Our new, < improved handling of the conversion of such XFig files to EPS,PSTEX_T < in the tmp directory doesn't work as it did in LyX 1.3.x, because the < included EPS figure is not moved.

Re: A real prblem with XFig images

2004-10-19 Thread Angus Leeming
Andreas Vox wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > > > < What to do if the XFig picture *includes* an EPS figure? Our new, > < improved handling of the conversion of such XFig files to > EPS,PSTEX_T < in the tmp directory doesn't work as it did in LyX > 1.3.x, because the <

Re: A real prblem with XFig images

2004-10-19 Thread Jean-Marc Lasgouttes
> "Andreas" == Andreas Vox <[EMAIL PROTECTED]> writes: Andreas> < Is such a strategy possible? Thoughts? Andreas> Looks like this is getting a mess. This looks as if LyX has Andreas> to outsmart all possible converters ... Yes, I really think we should not try to be too smart (and I am

Re: A real prblem with XFig images

2004-10-19 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Andreas> < Is such a strategy possible? Thoughts? > > Andreas> Looks like this is getting a mess. This looks as if LyX has > Andreas> to outsmart all possible converters ... > > Yes, I really think we should not try to be too smart (and I am > guilty of that

Re: A real prblem with XFig images

2004-10-19 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Jean-Marc Lasgouttes wrote: Andreas> < Is such a strategy possible? Thoughts? >> Andreas> Looks like this is getting a mess. This looks as if LyX has Andreas> to outsmart all possible converters ... >> Yes, I really think we

Re: A real prblem with XFig images

2004-10-19 Thread Andreas Vox
Angus Leeming <[EMAIL PROTECTED]> writes: < > Alternative A) < > Leave the xfig file where it is and force all converters to < > understand a '-d' flag for the output directory. < < Nope. Bad idea for all sorts of reasons. The main one being that you < are using the directory in which your

Re: A real prblem with XFig images

2004-10-19 Thread Angus Leeming
Andreas Vox wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > > < > Alternative A) > < > Leave the xfig file where it is and force all converters to > < > understand a '-d' flag for the output directory. > < > < Nope. Bad idea for all sorts of reasons. The main one being that > you < are

Re: A real prblem with XFig images

2004-10-19 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> Hmmm. I don't think I am suggesting 'too smart'. I'm > suggesting Angus> that we augment these tokens understood by the > converters > > Angus> string const token_from("$$i"); string const > Angus> token_base("$$b"); string const token_to("$$o");

Re: A real prblem with XFig images

2004-10-19 Thread Georg Baum
Am Dienstag, 19. Oktober 2004 13:56 schrieb Angus Leeming: > What to do if the XFig picture *includes* an EPS figure? Our new, > improved handling of the conversion of such XFig files to EPS,PSTEX_T > in the tmp directory doesn't work as it did in LyX 1.3.x, because the > included EPS figure is

Re: A real prblem with XFig images

2004-10-19 Thread Angus Leeming
Georg Baum wrote: >> Is such a strategy possible? Thoughts? > > As I understand it, this means that fig2pstex.sh, which is supposed to > convert from fig to pstex, modifies its input. I don't like that. Please > enlighten me if this is a misunderstanding. No, you understand right. The