Re: ftp://ftp.devel.lyx.org

2005-09-19 Thread Lars Gullik Bjønnes
Bo Peng <[EMAIL PROTECTED]> writes: | > ftp.devel.lyx.org is still correct. The main ftp site is also still | > ftp.lyx.org | | Will ftp://ftp.devel.lyx.org/pub/lyx/snapshot actually be used? Depends... it will certainly not be used for daily snapshots (this might change when we get svn going)

Re: ftp://ftp.devel.lyx.org

2005-09-19 Thread Bo Peng
> ftp.devel.lyx.org is still correct. The main ftp site is also still > ftp.lyx.org Will ftp://ftp.devel.lyx.org/pub/lyx/snapshot actually be used? Bo

Re: ftp://ftp.devel.lyx.org

2005-09-19 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes: | I'm changing references on the wiki from www.devel.lyx.org to | www.lyx.org/devel. Now I wonder if ftp://ftp.devel.lyx.org is still | correct? Or should some other ftp site be used? ftp.devel.lyx.org is still correct. The main ftp site is also still ftp.lyx.org --

Re: [patch] fix bug 2031

2005-09-19 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | See http://bugzilla.lyx.org/show_bug.cgi?id=2031. | The conversion of lyxlines between formats 224 <-> 225 is still wrong. The | biggest problem can be seen in documents that have paragraph separation | 'skip'. | The attached patch fixes these problems. Con

ftp://ftp.devel.lyx.org

2005-09-19 Thread chr
I'm changing references on the wiki from www.devel.lyx.org to www.lyx.org/devel. Now I wonder if ftp://ftp.devel.lyx.org is still correct? Or should some other ftp site be used? /Christian -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr

Re: Python version of configure script (preview version)

2005-09-19 Thread chr
On Mon, 19 Sep 2005, Georg Baum wrote: > No, it is not (see the comments by Lars and Jean-Marc above). We'll have > the requirement of python 2.x anyway when configure.py finally replaces > configure.m4. Ok, I'll leave it then. /C -- Christian Ridderström, +46-8-768 39 44 http:/

Re: anoncvs?

2005-09-19 Thread chr
On Mon, 19 Sep 2005, Kayvan A. Sylvan wrote: > On Mon, Sep 19, 2005 at 05:17:40PM +0200, [EMAIL PROTECTED] wrote: > > On Mon, 19 Sep 2005, Kayvan A. Sylvan wrote: > > > > > On Mon, Sep 19, 2005 at 01:51:27PM +0200, Bernhard Reiter wrote: > > > > as bo peng earlier wrote, > > > > > > > > cvs -d

Re: The preview bug (1817)

2005-09-19 Thread Angus Leeming
Juergen Spitzmueller wrote: I digged a bit further into this, and it turned out that, if the previewed inset is empty (thus no png is generated), the value of ascent_fraction in the lyxpreview.metrics file is set to the rather ridiculous value of -2147483646.00 This leads, of course, to hug

Re: anoncvs?

2005-09-19 Thread Kayvan A. Sylvan
On Mon, Sep 19, 2005 at 05:17:40PM +0200, [EMAIL PROTECTED] wrote: > On Mon, 19 Sep 2005, Kayvan A. Sylvan wrote: > > > On Mon, Sep 19, 2005 at 01:51:27PM +0200, Bernhard Reiter wrote: > > > as bo peng earlier wrote, > > > > > > cvs -d :pserver:[EMAIL PROTECTED]:/var/cvs update > > > > Not quit

[patch] fix bug 2031

2005-09-19 Thread Georg Baum
See http://bugzilla.lyx.org/show_bug.cgi?id=2031. The conversion of lyxlines between formats 224 <-> 225 is still wrong. The biggest problem can be seen in documents that have paragraph separation 'skip'. The attached patch fixes these problems. Conversion is still not good for some lyxlines in lis

The preview bug (1817)

2005-09-19 Thread Juergen Spitzmueller
I digged a bit further into this, and it turned out that, if the previewed inset is empty (thus no png is generated), the value of ascent_fraction in the lyxpreview.metrics file is set to the rather ridiculous value of -2147483646.00 This leads, of course, to huge ascent() and descent() value

Re: [PATCH] bug 1927: Compile messages: PAPER_CUSTOM not handled in switch, etc.

2005-09-19 Thread Jose' Matos
On Monday 19 September 2005 16:09, Jean-Marc Lasgouttes wrote: > The following trivial patch fixes most of the compiler warnings I get > when building LyX. > > Committing soon. Thanks Jean-Marc. > JMarc -- José Abílio

Re: Python version of configure script (preview version)

2005-09-19 Thread Jose' Matos
On Monday 19 September 2005 16:46, Georg Baum wrote: > No, it is not (see the comments by Lars and Jean-Marc above). We'll have > the requirement of python 2.x anyway when configure.py finally replaces > configure.m4. Since we call python trough lyx we could easily have a defined variable to sa

Re: lyx: Error detected by libpthread: Destroying locked mutex.

2005-09-19 Thread Jeremy C. Reed
On Mon, 11 Jul 2005, Angus Leeming wrote: NetBSD 2.0.2 running lyx built with qt errored at exit with: lyx: Error detected by libpthread: Destroying locked mutex. Detected by file I've always hated this myself, although at least on linux it doesn't result in a core dump. Anyway, I went digg

Re: Python version of configure script (preview version)

2005-09-19 Thread Georg Baum
[EMAIL PROTECTED] wrote: > On Mon, 19 Sep 2005, Jean-Marc Lasgouttes wrote: > >> > "Lars" == Lars Gullik Bjønnes >> > <[EMAIL PROTECTED]> writes: >> >> Lars> This script is not for 1.4 anyway. >> >> Lars> leave 1.5 as requirement for 1.4 , go for 2.x for 1.5. >> >> Note that we may wan

Re: anoncvs?

2005-09-19 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes: | Logging in to :pserver:anoncvs'AT'public.gmane.org:2401/var/cvs/lyx | CVS password: | /var/cvs/lyx: no such repository | | /Christian | | PS. 'AT' should be '@' of course... I do not think public.gmane.org is the correct server to use. Or did you

Re: anoncvs?

2005-09-19 Thread chr
On Mon, 19 Sep 2005, Kayvan A. Sylvan wrote: > On Mon, Sep 19, 2005 at 01:51:27PM +0200, Bernhard Reiter wrote: > > as bo peng earlier wrote, > > > > cvs -d :pserver:[EMAIL PROTECTED]:/var/cvs update > > Not quite correct. > > export CVSROOT=:pserver:[EMAIL PROTECTED]:/var/cvs/lyx > cvs login

Re: [patch] math cursor positioning (bug 1918)

2005-09-19 Thread Martin Vermeer
On Mon, 2005-09-19 at 16:22 +0200, Juergen Spitzmueller wrote: > Martin Vermeer wrote: > > Here's the explanation: > > Thanks. I still don't fully get it. I understand what you are doing, but I > don't understand why this is necessary (even though I see *that* it is > apparently necessary). Sam

Re: Python version of configure script (preview version)

2005-09-19 Thread chr
On Mon, 19 Sep 2005, Jean-Marc Lasgouttes wrote: > > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > > Lars> This script is not for 1.4 anyway. > > Lars> leave 1.5 as requirement for 1.4 , go for 2.x for 1.5. > > Note that we may want to go to the python version for some 1.4.x (

[PATCH] bug 1927: Compile messages: PAPER_CUSTOM not handled in switch, etc.

2005-09-19 Thread Jean-Marc Lasgouttes
The following trivial patch fixes most of the compiler warnings I get when building LyX. Committing soon. JMarc Index: src/ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v retrieving revision 1.2283 diff -u

Re: From the ashes www.lyx.org/devel (formely www.devel.lyx.org)

2005-09-19 Thread Kayvan A. Sylvan
On Mon, Sep 19, 2005 at 04:15:22PM +0200, Lars Gullik Bjønnes wrote: > Bo Peng <[EMAIL PROTECTED]> writes: > > | > Please tell about broken links etc. (especially internal links, or > | > links that make mirroring harder than necessary) > | > > | > | please update the cvs information. > | > |

Re: anoncvs?

2005-09-19 Thread Kayvan A. Sylvan
On Mon, Sep 19, 2005 at 01:51:27PM +0200, Bernhard Reiter wrote: > as bo peng earlier wrote, > > cvs -d :pserver:[EMAIL PROTECTED]:/var/cvs update Not quite correct. export CVSROOT=:pserver:[EMAIL PROTECTED]:/var/cvs/lyx cvs login (password "lyx") cvs update -- Kayvan A. Sylvan | Pro

Re: [patch] bug 1945: setAutobreakRows asserts

2005-09-19 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Go for that. Done. Jürgen

Re: From the ashes www.lyx.org/devel (formely www.devel.lyx.org)

2005-09-19 Thread Lars Gullik Bjønnes
Bo Peng <[EMAIL PROTECTED]> writes: | > Please tell about broken links etc. (especially internal links, or | > links that make mirroring harder than necessary) | > | | please update the cvs information. | | /cvs/lyx, no such repository. I'll leave that to the ones that know what the correct p

Re: [patch] math cursor positioning (bug 1918)

2005-09-19 Thread Juergen Spitzmueller
Martin Vermeer wrote: > Here's the explanation: Thanks. I still don't fully get it. I understand what you are doing, but I don't understand why this is necessary (even though I see *that* it is apparently necessary). > (Actually this is relevant only for positioning *inside* this inset, > i.e.,

Re: [patch] bug 1945: setAutobreakRows asserts

2005-09-19 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> since the problem is that cur.pos() can become > Juergen> cur.lastpos() after the removal of newline insets (by Juergen> setAutoBreakRows), the simplest fix is to set the cursor to Juergen> lastpos in such a case. This is

Re: LyX/Mac 1.4.0 Crash

2005-09-19 Thread Bennett Helm
On Sep 19, 2005, at 9:53 AM, Jean-Marc Lasgouttes wrote: Bennett> Only when there's no document open. Good. Does the following patch help? Bennett> Doesn't seem to. (See below.) The problem seems to be with the new locale code that has been written in Paris. What messages do you get on co

Re: Python version of configure script (preview version)

2005-09-19 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> This script is not for 1.4 anyway. Lars> leave 1.5 as requirement for 1.4 , go for 2.x for 1.5. Note that we may want to go to the python version for some 1.4.x (x>0) version, especially since it will help packaging on windows

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: gettext update?

2005-09-19 Thread Jean-Marc Lasgouttes
> "Michael" == Michael Gerz <[EMAIL PROTECTED]> writes: Michael> Hello, last time I checked LyX/Win 1.4-MinGW, it crashed Michael> right after the start. The debugger pointed to some Michael> gettext-related problem. Could we see the backtrace? Michael> Yesterday, I tried to recompile the wh

Re: From the ashes www.lyx.org/devel (formely www.devel.lyx.org)

2005-09-19 Thread Bo Peng
> Please tell about broken links etc. (especially internal links, or > links that make mirroring harder than necessary) > please update the cvs information. /cvs/lyx, no such repository. Bo

Re: From the ashes www.lyx.org/devel (formely www.devel.lyx.org)

2005-09-19 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Www.devel.lyx.org is dead (learn to live with it) Lars> Long live www.lyx.org/devel Thanks! JMarc

From the ashes www.lyx.org/devel (formely www.devel.lyx.org)

2005-09-19 Thread Lars Gullik Bjønnes
Www.devel.lyx.org is dead (learn to live with it) Long live www.lyx.org/devel same contents different wrapping. Please tell about broken links etc. (especially internal links, or links that make mirroring harder than necessary) -- Lgb

Re: Python version of configure script (preview version)

2005-09-19 Thread Lars Gullik Bjønnes
Bo Peng <[EMAIL PROTECTED]> writes: | > Um.. I think the info I need is a bit more basic than so... For instance, | > can I just run the script with some arguments? Where can I get the | > script (can I use the CVS browser)? | | You need to get the latest cvs. configure.py is under the lib | dir

Re: LyX/Mac 1.4.0 Crash

2005-09-19 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> On Sep 19, 2005, at 8:36 AM, Jean-Marc Lasgouttes wrote: >>> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: >>> >> Bennett> On Sep 15, 2005, at 10:05 AM, Jean-Marc Lasgouttes wrote: >> A question: does the cr

Re: [PATCH] bug 1941: toolbars disabled after dialog action

2005-09-19 Thread Bennett Helm
On Sep 19, 2005, at 8:40 AM, Jean-Marc Lasgouttes wrote: "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> This mostly works, but there are a few anomalies. Selecting Bennett> File > Open brings down the open file sheet from the main Bennett> document window (as it should), howe

Re: Python version of configure script (preview version)

2005-09-19 Thread Bo Peng
> Um.. I think the info I need is a bit more basic than so... For instance, > can I just run the script with some arguments? Where can I get the > script (can I use the CVS browser)? You need to get the latest cvs. configure.py is under the lib directory. You can run it without any argument. If

Re: Python version of configure script (preview version)

2005-09-19 Thread chr
On Mon, 19 Sep 2005, Bo Peng wrote: > > I run RH 7.3 on a laptop at home. If you'd like I could test it (just let > > me know what to do). > > You first need to replace all A += B to A = A + B, and replace any > str.count(), str.replace() with something equivalent in 1.5.2. (I do > not know what

Re: LyX/Mac 1.4.0 Crash

2005-09-19 Thread Bennett Helm
On Sep 19, 2005, at 8:36 AM, Jean-Marc Lasgouttes wrote: "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> On Sep 15, 2005, at 10:05 AM, Jean-Marc Lasgouttes wrote: A question: does the crash only happen when there is no document open, or all the time? Bennett> Only when th

Re: Python version of configure script (preview version)

2005-09-19 Thread Bo Peng
> I run RH 7.3 on a laptop at home. If you'd like I could test it (just let > me know what to do). > You first need to replace all A += B to A = A + B, and replace any str.count(), str.replace() with something equivalent in 1.5.2. (I do not know what they are since I never used them.) Since you d

Re: Bugs in 1.4.0CVS for Mac OS X

2005-09-19 Thread Jean-Marc Lasgouttes
> "Mike" == Mike Meyer <[EMAIL PROTECTED]> writes: Mike> In , Jean-Marc Lasgouttes <[EMAIL PROTECTED]> typed: >> > "Mike" == Mike Meyer <[EMAIL PROTECTED]> writes: Mike> "configure --help" says that won't work >> What do you mean? Mike> "configure --help" gives lists of the subdirectories

Re: [PATCH] bug 1941: toolbars disabled after dialog action

2005-09-19 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> This mostly works, but there are a few anomalies. Selecting Bennett> File > Open brings down the open file sheet from the main Bennett> document window (as it should), however: [...] Bennett> I don't remember these options being

Re: LyX/Mac 1.4.0 Crash

2005-09-19 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> On Sep 15, 2005, at 10:05 AM, Jean-Marc Lasgouttes wrote: >> A question: does the crash only happen when there is no document >> open, or all the time? Bennett> Only when there's no document open. Good. Does the following patc

Re: Bugs in 1.4.0CVS for Mac OS X

2005-09-19 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> typed: > > "Mike" == Mike Meyer <[EMAIL PROTECTED]> writes: > Mike> "configure --help" says that won't work > What do you mean? "configure --help" gives lists of the subdirectories- "--bindir", "--datadir", etc. - with defaults t

anoncvs?

2005-09-19 Thread Bernhard Reiter
as bo peng earlier wrote, cvs -d :pserver:[EMAIL PROTECTED]:/var/cvs update Fatal error, aborting. anoncvs: no such user there seems to be no anoncvs user at your new cvs server yet. could you create such an account for people like me to peek into lyx deveopment? --bernie

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: Python version of configure script (preview version)

2005-09-19 Thread Angus Leeming
[EMAIL PROTECTED] wrote: > On Sun, 18 Sep 2005, Bo Peng wrote: > >> > I know, we have decided to proceed since this code is supposed to be >> > only >> > run in windows and there the above argument does not apply. I would >> > guess that every new install will have at least python 2.3 install

Re: [Patch] RtL space width bug fix

2005-09-19 Thread Martin Vermeer
On Mon, 2005-09-19 at 11:48 +0200, Jean-Marc Lasgouttes wrote: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> The displayed width of a space on-screen is taken from the > Martin> wrong position in the row... but only for RtL text. And thus > Martin> the row display is m

Re: Python version of configure script (preview version)

2005-09-19 Thread chr
On Sun, 18 Sep 2005, Bo Peng wrote: > > I know, we have decided to proceed since this code is supposed to be only > > run in windows and there the above argument does not apply. I would guess > > that every new install will have at least python 2.3 installed. :-) > > > > This solves the proble

Re: [patch] math cursor positioning (bug 1918)

2005-09-19 Thread Martin Vermeer
On Mon, 2005-09-19 at 11:47 +0200, Juergen Spitzmueller wrote: > Another day, another patch... > > The attached fixes the cursor positioning problems almost completely. The > main > fix is that nested math insets are now added to the cache. > > The change in Martins code in x2pos (which I don't

Re: Top labels are not printed correctly

2005-09-19 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > "michael" == michael gerz <[EMAIL PROTECTED]> writes: michael> Hello, in a "g-brief-de" document, the top label "Brieftext" michael> (letter text) is printed too low (BUG!). Yesterday, I looked michael> at the LyX code and

Re: [PATCH] mathed cut crashes (1960, 1981)

2005-09-19 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Thanks. Juergen, feel free to apply it. Done so. Thanks. Jürgen

Re: [PATCH] bug 1987: Crash when switching to different document class

2005-09-19 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> So, finally, I came up with the simpler Jean-Marc> simple-classcrash.diff which also fixes the bug. Lars, am I Jean-Marc> right that you prefer this one? I committed that. JMarc

Re: [PATCH] mathed cut crashes (1960, 1981)

2005-09-19 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> It's the proper fix. Thanks. Juergen, feel free to apply it. JMarc

Re: [patch] documentation update

2005-09-19 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Juergen> Can I apply these? > > Yes. Thanks. It's in. Jürgen

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] RtL space width bug fix

2005-09-19 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> The displayed width of a space on-screen is taken from the Martin> wrong position in the row... but only for RtL text. And thus Martin> the row display is messed up if it contains spaces. Patch Martin> fixes this. Martin> I beli

Re: [PATCH] mathed cut crashes (1960, 1981)

2005-09-19 Thread Juergen Spitzmueller
Andre Poenitz wrote: > > Can this go in? > > It's the proper fix. OK then? Jürgen

Re: [patch] documentation update

2005-09-19 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> attached two patches with updates that I have in the pipe for Juergen> quite a while now. - UserGuide: document new space inset; Juergen> document new handling of single vs. double quotation marks. - Juergen> Extended: do

[patch] math cursor positioning (bug 1918)

2005-09-19 Thread Juergen Spitzmueller
Another day, another patch... The attached fixes the cursor positioning problems almost completely. The main fix is that nested math insets are now added to the cache. The change in Martins code in x2pos (which I don't really understand -- the code, that is) assures that pos 0 of an inset is ac

Re: Obsolete code?

2005-09-19 Thread Andre Poenitz
On Thu, Sep 15, 2005 at 12:03:27AM +0200, Michael Gerz wrote: > Hi, > > is the following code needed any longer? AFAICS we do not have error > insets anymore... > >case LFUN_GOTOERROR: >bv_funcs::gotoInset(bv_, InsetBase::ERROR_CODE, false); >break; > > W

Re: Cut & Paste in tables is broken!

2005-09-19 Thread Andre Poenitz
On Tue, Sep 06, 2005 at 12:05:32PM +0300, Martin Vermeer wrote: > On Tue, 2005-09-06 at 09:45 +0200, Juergen Spitzmueller wrote: > > Martin Vermeer wrote: > > > I may be missing something, but wouldn't it be simpler to just > > > empty/invalidate the tabular paste buffer whenever the text paste buf

Re: [PATCH] mathed cut crashes (1960, 1981)

2005-09-19 Thread Andre Poenitz
On Fri, Sep 16, 2005 at 12:46:12PM +0200, Juergen Spitzmueller wrote: > Martin, > what is this fix for bug 1981 supposed to do? > case LFUN_CUT: > + cur.pos() = 0; // Prevent stale position >= size crash > cutSelection(cur, true, true); > cur.message(_(

Re: Bugs in 1.4.0CVS for Mac OS X

2005-09-19 Thread Jean-Marc Lasgouttes
> "Mike" == Mike Meyer <[EMAIL PROTECTED]> writes: Mike> "configure --help" says that won't work What do you mean? JMarc

Re: Python version of configure script (preview version)

2005-09-19 Thread Jean-Marc Lasgouttes
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: >> Not if you use "start" as viewer of any file that is supported by >> windows (the problem is to discover that). Bo> start is a DOS command (as far as I know). In a cmd windows, start Bo> can open a file using its associated application. However

Re: converter for layout files

2005-09-19 Thread Georg Baum
Bo Peng wrote: > Then why do we need to 'convert' a layout file? Why can not we simply > handle two versions internally? Because that would make the parsing code too complicated (not now, but if the changes become bigger). Look at the tabular or graphics inset of older versions of LyX to see an e

Re: Python version of configure script (preview version)

2005-09-19 Thread Lars Gullik Bjønnes
"Jose' Matos" <[EMAIL PROTECTED]> writes: | On Thursday 15 September 2005 20:58, Bo Peng wrote: | > Dear list, | > | > Attached is a Python version of the configure script. I currently do | > not have access to a windows machine with lyx on so I can not test it | > on windows. On my linux machine,

Re: converter for layout files

2005-09-19 Thread Bo Peng
> > I forgot that configure.py scans the layout files. I thought that you wanted > to define a converter. > Regarding Angus' concern of 'in-place modification' and the version signature problem, a quick solution may be a.layout -> a.layout2 during configuration. Lyx then need to check a.layout2

Re: converter for layout files

2005-09-19 Thread Georg Baum
Bo Peng wrote: > I still do not get it. configure/configure.py will scan through all > layout files. If some of them are 1.3, we can convert them to 1.4 in > place. It does not make sense to check the version of a layout file > whenever it is called. I forgot that configure.py scans the layout fi