Re: [patch] fix broken documents in lib/doc

2005-09-28 Thread Georg Baum
Jean-Marc Lasgouttes wrote: >> "Georg" == Georg Baum >> <[EMAIL PROTECTED]> >> writes: > > Georg> - remove *TOC.lyx from CVS - add Makefile.depend to CVS (not > Georg> needed for GNU make, but might be needed for other flavours of > Georg> make) - apply the patch > > Georg> Is this O

Re: [patch] fix broken documents in lib/doc

2005-09-28 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Here is an updated patch. It fixes the problem that the TOC Georg> files were not automatically generated for the distribution. Georg> The Makefile now works both for srcdir=builddir and Georg> srcdir!=builddir. Georg> I plan to do th

Re: [patch] fix broken documents in lib/doc

2005-09-28 Thread Georg Baum
Jose' Matos wrote: > On Wednesday 21 September 2005 14:54, Georg Baum wrote: >> Jose' Matos wrote: >> > Passing as destination dir as argument is enough to fix this, right? >> >> No, it was a bit more. >> The attached patch should fix bug 2027 and does the following: >> - fix wrong syntax in de_

Re: [patch] fix broken documents in lib/doc

2005-09-22 Thread Jose' Matos
On Wednesday 21 September 2005 14:54, Georg Baum wrote: > Jose' Matos wrote: > > Passing as destination dir as argument is enough to fix this, right? > > No, it was a bit more. > The attached patch should fix bug 2027 and does the following: > - fix wrong syntax in de_Userguide and it_Userguide

Re: [patch] fix broken documents in lib/doc

2005-09-21 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | | | > "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: | | | | Georg> python is now required if building from CVS, because I included | | Georg> Makefile.depend in Makefile.am. | | | | Wha

Re: [patch] fix broken documents in lib/doc

2005-09-21 Thread Jose' Matos
On Wednesday 21 September 2005 15:24, Georg Baum wrote: > Jose' Matos wrote: > > I need this patch to run doc_toc.py with several documents. Haven't you > > noticed it? > > No. What does happen without the patch? It does not work. :-) Because the table that holds the relation is reversed, each

Re: [patch] fix broken documents in lib/doc

2005-09-21 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Hmm... I don't think we want this Makefile.depend thingie at Lars> all. So, how would you do that? Is there some way to reuse automake's dependency tracking code?

Re: [patch] fix broken documents in lib/doc

2005-09-21 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: | | Georg> python is now required if building from CVS, because I included | Georg> Makefile.depend in Makefile.am. | | What happens at the beginning when Makefile.depend does not exist? H

Re: [patch] fix broken documents in lib/doc

2005-09-21 Thread Georg Baum
Jose' Matos wrote: > I need this patch to run doc_toc.py with several documents. Haven't you > noticed it? No. What does happen without the patch? Georg

Re: [patch] fix broken documents in lib/doc

2005-09-21 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > What happens at the beginning when Makefile.depend does not exist? GNU make issues a warning that it does not exist and creates it. > How > do you bootstrap? Shouldn't we distribute this file in CVS? I don't know if the behaviour of GNU make is standard. If not we

Re: [patch] fix broken documents in lib/doc

2005-09-21 Thread Jose' Matos
On Wednesday 21 September 2005 14:54, Georg Baum wrote: > > Comments? I need this patch to run doc_toc.py with several documents. Haven't you noticed it? Index: LyX.py === RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/lyx2lyx/LyX.p

Re: [patch] fix broken documents in lib/doc

2005-09-21 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> python is now required if building from CVS, because I included Georg> Makefile.depend in Makefile.am. What happens at the beginning when Makefile.depend does not exist? How do you bootstrap? Shouldn't we distribute this file in CVS?

Re: [patch] fix broken documents in lib/doc

2005-09-21 Thread Georg Baum
Jose' Matos wrote: > Passing as destination dir as argument is enough to fix this, right? No, it was a bit more. The attached patch should fix bug 2027 and does the following: - fix wrong syntax in de_Userguide and it_Userguide - change the build system so that the TOC files are generated autom

Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Jose' Matos
On Tuesday 20 September 2005 19:16, Georg Baum wrote: > Am Dienstag, 20. September 2005 19:37 schrieb Jose' Matos: > > That is fair, I will take a look into it and I will try to see what > > can be > > > done. > > I already did it - patch follows later after some testing. Passing as destinatio

Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Georg Baum
Am Dienstag, 20. September 2005 19:37 schrieb Jose' Matos: > That is fair, I will take a look into it and I will try to see what can be > done. I already did it - patch follows later after some testing. Georg

Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Jose' Matos
On Tuesday 20 September 2005 14:15, Georg Baum wrote: > > > Why? I am not opposing it, I am simply surprised why we need it. > > Some people (including me) like to build outside the source tree... That is fair, I will take a look into it and I will try to see what can be done. > Georg -- J

Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Georg Baum
Jose' Matos wrote: > On Tuesday 20 September 2005 14:01, Jean-Marc Lasgouttes wrote: >> Thanks. It would be nice to make it work when building outside of the >> source tree, but I guess this is optional. > > Why? I am not opposing it, I am simply surprised why we need it. Some people (includin

Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Jose' Matos
On Tuesday 20 September 2005 14:01, Jean-Marc Lasgouttes wrote: > Thanks. It would be nice to make it work when building outside of the > source tree, but I guess this is optional. Why? I am not opposing it, I am simply surprised why we need it. > JMarc -- José Abílio

Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Jean-Marc Lasgouttes wrote: >> 5. Remove the TOC docs from the repository and create them at "make >> dist" time >> >> This would avoid python for installation. Georg> This is the best solution IMO if the premise is to have no Georg>

Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > 5. Remove the TOC docs from the repository and create them at "make dist" > time > > This would avoid python for installation. This is the best solution IMO if the premise is to have no python build dependency. I'll prepare a patch. Georg

Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Jose' Matos
On Tuesday 20 September 2005 12:52, Jean-Marc Lasgouttes wrote: > 5. Remove the TOC docs from the repository and create them at "make dist" >  time > > This would avoid python for installation. Now, it is your choice. :-) At least for 1.4 that is probably a good thing to do. > JMarc -- Jos

Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Georg Baum
Jose' Matos wrote: > On Monday 19 September 2005 12:51, Georg Baum wrote: >> What shall we do with the original patch? I did some further research and >> found out that the *_TOC.lyx documents in the repository are not >> generated by doc_toc.py. > > As I told bellow this was done to avoid a ru

Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Jean-Marc Lasgouttes
> "Jose'" == Jose' Matos <[EMAIL PROTECTED]> writes: >> 4. Remove the TOC docs from the repository and create them at build >> time Jose'> This option implies that you have to use python for Jose'> installation. Certainly I don't mind. ;-) or 5. Remove the TOC docs from the repository and

Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Jose' Matos
On Monday 19 September 2005 12:51, Georg Baum wrote: > What shall we do with the original patch? I did some further research and > found out that the *_TOC.lyx documents in the repository are not generated > by doc_toc.py. As I told bellow this was done to avoid a run time dependency on python.

Re: [patch] fix broken documents in lib/doc

2005-09-19 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Jean-Marc Lasgouttes wrote: This patch fixes them, can it go Georg> in? >> I think it can. Georg> It is in now. What shall we do with the original patch? I did Georg> some further research and found out that the *_TOC.lyx Georg> docu

Re: [patch] fix broken documents in lib/doc

2005-09-19 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > Georg> This patch fixes them, can it go in? > > I think it can. It is in now. What shall we do with the original patch? I did some further research and found out that the *_TOC.lyx documents in the repository are not generated by doc_toc.py. doc_toc.py puts the sect

Re: [patch] fix broken documents in lib/doc

2005-09-19 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Am Freitag, 16. September 2005 16:31 schrieb Jean-Marc Georg> Lasgouttes: >> Nevertheless, the bug you are looking for is in lib/doc/doc_toc.py. Georg> Yes, doc_toc.py does not include the english versions of the Georg> documents that

Re: [patch] fix broken documents in lib/doc

2005-09-18 Thread Jose' Matos
On Sunday 18 September 2005 19:55, Bo Peng wrote: > > For me that is a burden, the absence of the extended operators in > > python (+=, -=, ... op=) makes the code dull, the fact that string were > > made a first class type only in python 2.0 does not help either. > > What? += and string class is

Re: [patch] fix broken documents in lib/doc

2005-09-18 Thread Bo Peng
> For me that is a burden, the absence of the extended operators in python > (+=, -=, ... op=) makes the code dull, the fact that string were made a first > class type only in python 2.0 does not help either. What? += and string class is not in 1.5.2? I use it a lot in configure.py. > If you

Re: [patch] fix broken documents in lib/doc

2005-09-18 Thread Jose' Matos
On Sunday 18 September 2005 10:18, Angus Leeming wrote: > > I understand that string.strip(foo) is deprecated in favour of foo.strip(). > Ditto with string.split(foo). > > http://docs.python.org/lib/node110.html > > José, why do we continue to use the deprecated versions? Support for > ancient Pyth

Re: [patch] fix broken documents in lib/doc

2005-09-18 Thread Angus Leeming
Georg Baum wrote: >> Nevertheless, the bug you are looking for is in lib/doc/doc_toc.py. > Yes, doc_toc.py does not include the english versions of the documents > that are not yet translated, but there are also two bugs in lyx2lyx. > This patch fixes them, can it go in? I understand that string.

Re: [patch] fix broken documents in lib/doc

2005-09-18 Thread Georg Baum
Am Freitag, 16. September 2005 16:31 schrieb Jean-Marc Lasgouttes: > Nevertheless, the bug you are looking for is in lib/doc/doc_toc.py. Yes, doc_toc.py does not include the english versions of the documents that are not yet translated, but there are also two bugs in lyx2lyx. This patch fixes t

Re: [patch] fix broken documents in lib/doc

2005-09-16 Thread Georg Baum
Jean-Marc Lasgouttes wrote: >> "Georg" == Georg Baum >> <[EMAIL PROTECTED]> >> writes: > > Georg> Due to a lyx2lyx bug we have broken documents in lib/doc. See > Georg> http://bugzilla.lyx.org/show_bug.cgi?id=2027 for details. This > Georg> patch repairs the documents, but does not fi

Re: [patch] fix broken documents in lib/doc

2005-09-16 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Due to a lyx2lyx bug we have broken documents in lib/doc. See Georg> http://bugzilla.lyx.org/show_bug.cgi?id=2027 for details. This Georg> patch repairs the documents, but does not fix the original Georg> lyx2lyx bug. Georg> OK to app