Re: lyxconvert script

2002-07-23 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> On Tue, Jul 23, 2002 at 04:59:43PM +0200, Jean-Marc Lasgouttes Dekel> wrote: >> > "Jos?" == Jos? Ab?lio Oliveira Matos >> <[EMAIL PROTECTED]> writes: >> >> Jos?> As Jean-Marc suggested --with-included-string fixes the Jos?> >> pr

Re: lyxconvert script

2002-07-23 Thread Dekel Tsur
On Tue, Jul 23, 2002 at 04:59:43PM +0200, Jean-Marc Lasgouttes wrote: > > "Jos?" == Jos? Ab?lio Oliveira Matos <[EMAIL PROTECTED]> writes: > > Jos?> As Jean-Marc suggested --with-included-string fixes the > Jos?> problem. How can I compile lyx with another g++? I have version > Jos?> 3.0.2

Re: lyxconvert script

2002-07-23 Thread José Abílio Oliveira Matos
On Tuesday 23 July 2002 15:59, Jean-Marc Lasgouttes wrote: > > CC=gcc3 CXX=g++3 ./configure ... I am now compiling 1.1.4 where CXX is respected but not CC. > JMarc I have problems with src/support/DebugStream.C, both with 2.96 and with 3.0.2. I will investigate further... -- José Abílio

Re: lyxconvert script

2002-07-23 Thread Jean-Marc Lasgouttes
> "José" == José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: José> As Jean-Marc suggested --with-included-string fixes the José> problem. How can I compile lyx with another g++? I have version José> 3.0.2 that is called g++3. CC=gcc3 CXX=g++3 ./configure ... JMarc

Re: lyxconvert script

2002-07-23 Thread José Abílio Oliveira Matos
On Tuesday 23 July 2002 15:26, Lars Gullik Bjønnes wrote: > > add a const_cast: const_cast(var) Ok, that fix solves it. > | lstrings.C:119: Unable to find a register to spill in class `AREG'. > | lstrings.C:119: confused by earlier errors, bailing out > | > | The function in question is: > |

Re: lyxconvert script

2002-07-23 Thread Lars Gullik Bjønnes
José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: | On Tuesday 23 July 2002 14:47, Jean-Marc Lasgouttes wrote: >> >> I guess >> wc -l `find src/ -name \*.[Cch]` >> is good enough. We do not want to count libsigc++ or boost as ours. Of >> course this counts also the gnome/qt2 frontends for

Re: lyxconvert script

2002-07-23 Thread Jean-Marc Lasgouttes
> "José" == José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: José> Status of compilation until now: José> * The 1.0.x compiled ok, with x=0..4 Good. José> * I get this errors for (the next in stable series): José> make[3]: Entering directory José> `/home/jamatos/lyx/lyx-1.1.2

Re: lyxconvert script

2002-07-23 Thread José Abílio Oliveira Matos
On Tuesday 23 July 2002 14:47, Jean-Marc Lasgouttes wrote: > > I guess > wc -l `find src/ -name \*.[Cch]` > is good enough. We do not want to count libsigc++ or boost as ours. Of > course this counts also the gnome/qt2 frontends for recent versions, > but the impact is IMO not very important > A

Re: lyxconvert script

2002-07-23 Thread Jean-Marc Lasgouttes
> "José" == José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: >> Also, since you are compiling all these versions, what about doing >> a nice plot over time of - number of line of code José> IIRC you have (had?) a script that did these calculations. I guess wc -l `find src/ -name \

Re: lyxconvert script

2002-07-23 Thread José Abílio Oliveira Matos
On Tuesday 23 July 2002 14:00, Jean-Marc Lasgouttes wrote: > > José> I will revert that code, it easier for me. :-) > > The correct fix has been added in 1.0.4. So you will have to do the > same for 1.0[23] too. It would probably be a good idea to keep > somewhere the patch you needed to apply.

Re: lyxconvert script

2002-07-23 Thread Jean-Marc Lasgouttes
> "José" == José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: José> On Tuesday 23 July 2002 12:58, Jean-Marc Lasgouttes wrote: >> > "José" == José Abílio Oliveira Matos >> <[EMAIL PROTECTED]> The macros are broken in autoconf 2.13, >> and recent lyx versions use our own fixed LYX_FUN

Re: lyxconvert script

2002-07-23 Thread José Abílio Oliveira Matos
On Tuesday 23 July 2002 12:58, Jean-Marc Lasgouttes wrote: > > "José" == José Abílio Oliveira Matos <[EMAIL PROTECTED]> > The macros are broken in autoconf 2.13, and recent lyx versions use > our own fixed LYX_FUNC_SELECT_ARGTYPES (in lyxinclude.m4). You may > want to use that, or use the old

Re: lyxconvert script

2002-07-23 Thread Jean-Marc Lasgouttes
> "José" == José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: José> Should I revert this patch? Why does it fails? I was expecting José> it to be safer with those macros, but here g++ (2.96-110) José> doesn't complain with 1.0.0. The macros are broken in autoconf 2.13, and recent lyx

Re: lyxconvert script

2002-07-23 Thread José Abílio Oliveira Matos
On Tuesday 23 July 2002 12:35, Lars Gullik Bjønnes wrote: > > Ok... can you try to describe how you plan to do all this, so that we > can have a small discussion before you begin? Ok, in a different thread and after the lunch. :-) > >> _how_ can that be... > | > | The time or the fact that i

Re: lyxconvert script

2002-07-23 Thread Lars Gullik Bjønnes
José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: | On Tuesday 23 July 2002 12:18, Lars Gullik Bjønnes wrote: >> José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: >> | On Tuesday 23 July 2002 11:50, Lars Gullik Bjønnes wrote: >> >> Are you planning to do the conversion with pipes and ch

Re: lyxconvert script

2002-07-23 Thread José Abílio Oliveira Matos
On Tuesday 23 July 2002 12:18, Lars Gullik Bjønnes wrote: > José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: > | On Tuesday 23 July 2002 11:50, Lars Gullik Bjønnes wrote: > >> Are you planning to do the conversion with pipes and chaining of > >> pipes? > >> I'd prefere that solution. > | > |

Re: lyxconvert script

2002-07-23 Thread Jean-Marc Lasgouttes
> "José" == José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: José> Regarding other distributions I know that mandrake 8.2 ships José> with python 2.2, the previous version of debian probably also José> did only have 1.5.2 and the new version has 2.1.3. Mandrake 8.1 has python 2.1.2.

Re: lyxconvert script

2002-07-23 Thread Lars Gullik Bjønnes
José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: | On Tuesday 23 July 2002 11:50, Lars Gullik Bjønnes wrote: >> >> Are you planning to do the conversion with pipes and chaining of >> pipes? >> I'd prefere that solution. > | Not with pipes, but in several stages, each one related with that

Re: lyxconvert script

2002-07-23 Thread José Abílio Oliveira Matos
On Tuesday 23 July 2002 11:50, Lars Gullik Bjønnes wrote: > > Are you planning to do the conversion with pipes and chaining of > pipes? > I'd prefere that solution. Not with pipes, but in several stages, each one related with that version. From one version till the next one and so on. > To w

Re: lyxconvert script

2002-07-23 Thread José Abílio Oliveira Matos
On Tuesday 23 July 2002 11:39, Jean-Marc Lasgouttes wrote: > > "José" == José Abílio Oliveira Matos <[EMAIL PROTECTED]> > > writes: > > José> Oh yes, but for example the default instalation of python in > José> rh 7.3 is still 1.5.2, and that applies for all the previous > José> versions

Re: lyxconvert script

2002-07-23 Thread Lars Gullik Bjønnes
José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: | On Tuesday 23 July 2002 11:38, Lars Gullik Bjønnes wrote: >> >> What version are you planning to start with? >> (I'd say no earlier than 1.0) > | Since those are the ones that are present in ftp.lyx.org in stable I will | start from ther

Re: lyxconvert script

2002-07-23 Thread José Abílio Oliveira Matos
On Tuesday 23 July 2002 11:38, Lars Gullik Bjønnes wrote: > > What version are you planning to start with? > (I'd say no earlier than 1.0) Since those are the ones that are present in ftp.lyx.org in stable I will start from there. Later if this suceeds we should try earlier versions (but not

Re: lyxconvert script

2002-07-23 Thread Lars Gullik Bjønnes
José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: | On Tuesday 23 July 2002 11:00, Jean-Marc Lasgouttes wrote: >> >> José> I have the time, so I will start to work on this. >> >> Excellent news. I began to be worried about the situation. >> >> José> What do you think is a good version of

Re: lyxconvert script

2002-07-23 Thread Jean-Marc Lasgouttes
> "José" == José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: José> Oh yes, but for example the default instalation of python in José> rh 7.3 is still 1.5.2, and that applies for all the previous José> versions of rh that people are using. Oh. I'm afraid you have to stick to 1.5.2, t

Re: lyxconvert script

2002-07-23 Thread José Abílio Oliveira Matos
On Tuesday 23 July 2002 11:00, Jean-Marc Lasgouttes wrote: > > José> I have the time, so I will start to work on this. > > Excellent news. I began to be worried about the situation. > > José> What do you think is a good version of python to start? > > José> 1.5.2 would be a very conservative

Re: lyxconvert script

2002-07-23 Thread Jean-Marc Lasgouttes
> "José" == José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: José> On Tuesday 23 July 2002 10:46, Jean-Marc Lasgouttes wrote: >> Does this mean that python will be required for future lyx >> versions? Which version? >> >> Also having #!/usr/bin/python in the script is not really an >>

Re: lyxconvert script

2002-07-23 Thread José Abílio Oliveira Matos
On Tuesday 23 July 2002 10:46, Jean-Marc Lasgouttes wrote: > > Does this mean that python will be required for future lyx versions? > Which version? > > Also having #!/usr/bin/python in the script is not really an option, > since python may be in /usr/local/bin in many non-linux systems. > Wouldn'

Re: lyxconvert script

2002-07-23 Thread Jean-Marc Lasgouttes
>>>>> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> On Mon, Jul 22, 2002 at 06:31:52PM +0100, John Levon wrote: >> > 2) I am not sure about where to put it. > I think that the >> lyxconvert script should be installed in /usr/bin/ &g

Re: lyxconvert script

2002-07-22 Thread John Levon
On Mon, Jul 22, 2002 at 10:05:29PM +0300, Dekel Tsur wrote: > It can be run by the user, but what is the point ? > (though the same can be said on relyx) for i in `ls lotsoflyxfiles/*.lyx`; do lyxconvert $i; done ? > It currently doesn't convert everything, but this can be added cool. A good

Re: lyxconvert script

2002-07-22 Thread Dekel Tsur
On Mon, Jul 22, 2002 at 06:31:52PM +0100, John Levon wrote: > > 2) I am not sure about where to put it. > > I think that the lyxconvert script should be installed in /usr/bin/ > > (the other option is to keep it in LYXDIR/scripts). > > If it's runnable by the user

Re: lyxconvert script

2002-07-22 Thread John Levon
On Mon, Jul 22, 2002 at 08:17:21PM +0300, Dekel Tsur wrote: > 1) I am not sure about the name for this script. I think lyxconvert is just fine ... > 2) I am not sure about where to put it. > I think that the lyxconvert script should be installed in /usr/bin/ > (the other option i

Re: lyxconvert script

2002-07-22 Thread Angus Leeming
On Monday 22 July 2002 6:17 pm, Dekel Tsur wrote: > I did not put the lyxconvert script in CVS since > 1) I am not sure about the name for this script. > 2) I am not sure about where to put it. > I think that the lyxconvert script should be installed in /usr/bin/ > (the other optio

lyxconvert script

2002-07-22 Thread Dekel Tsur
/: ChangeLog buffer.C > lyx-devel/src/support/: ChangeLog filetools.C filetools.h > > Log message: > Use lyxconvert script for reading old files I did not put the lyxconvert script in CVS since 1) I am not sure about the name for this script. 2) I am not sure about where to pu