Re: Approaching LyX 1.5.3 [status update #3]

2007-12-10 Thread Andre Poenitz
On Tue, Dec 11, 2007 at 08:41:41AM +0100, Abdelrazak Younes wrote: > Andre Poenitz wrote: >> On Tue, Dec 11, 2007 at 07:49:52AM +0100, Jürgen Spitzmüller wrote: >>> Uwe Stöhr wrote: So I put the fix in. I furthermore also added the babel-only language stuff to assure that the curren

Re: Approaching LyX 1.5.3 [status update #3]

2007-12-10 Thread Jürgen Spitzmüller
Andre Poenitz wrote: > Well, to be honest I don't think tex2lyx is code-wise is such a bad > state that it needs a helping of Exceptionally Modern C++. There > are probably a few places that would benefit from char * -> std::string > changes but I don't really see the necessity of Singletons and bo

Re: compiling problem with rev 22029

2007-12-10 Thread Andre Poenitz
On Tue, Dec 11, 2007 at 09:36:01AM +0200, sebastian guttenberg wrote: > I made another update now (22076), and now I get a different error: > ... > make[5]: Entering directory `/home/basti/lyx-devel/src/frontends/qt4' > make[5]: *** No rule to make target `../ButtonPolicy.cpp', needed by > `ButtonP

Re: Recipe for reproducing paste problems in 1.6svn

2007-12-10 Thread Andre Poenitz
On Tue, Dec 11, 2007 at 08:26:41AM +0100, Abdelrazak Younes wrote: > Pavel Sanda wrote: >>> i have recently filled the bug 4394 (1.5 target). >>> is that recipe reproducible for you ? >> No. Middle-mouse-button-pasting keeps working. > It works for 1.5.x >>> for me debug of actions

Re: [patch] full babel support for tex2lyx

2007-12-10 Thread Angus Leeming
Andre Poenitz wrote: > Given that the plain C++ version > > char const *d[] = { "a", "b", "c" }; > vector v(d, d + sizeof(d) / sizeof(d[0])); > > is - taking the extra #include line into > account - not even longer to type than any boost based solution > I doubt the boost stuff would survive for

Re: System call problem?

2007-12-10 Thread Peter Kümmel
Bo Peng wrote: Does this patch help? No. I checked that QDir::currentPath is /tmp/lyx_tmpdir270589aB5uF/lyx_tmpbuf0, command is epstopdf --outfile='20_usr_local_share_lyx16_doc_clipart_escher-lsd.pdf' '20_usr_local_share_lyx16_doc_clipart_escher-lsd.eps' which runs fine outside of lyx. So th

Re: Approaching LyX 1.5.3 [status update #3]

2007-12-10 Thread Abdelrazak Younes
Andre Poenitz wrote: On Tue, Dec 11, 2007 at 07:49:52AM +0100, Jürgen Spitzmüller wrote: Uwe Stöhr wrote: So I put the fix in. I furthermore also added the babel-only language stuff to assure that the currently half language support becomes complete: http://www.lyx.org/trac/changeset/22073 I h

Re: compiling problem with rev 22029

2007-12-10 Thread sebastian guttenberg
I made another update now (22076), and now I get a different error: ... make[5]: Entering directory `/home/basti/lyx-devel/src/frontends/qt4' make[5]: *** No rule to make target `../ButtonPolicy.cpp', needed by `ButtonPolicy.lo'. Stop. make[5]: Leaving directory `/home/basti/lyx-devel/src/frontend

Re: Approaching LyX 1.5.3 [status update #3]

2007-12-10 Thread Andre Poenitz
On Tue, Dec 11, 2007 at 07:49:52AM +0100, Jürgen Spitzmüller wrote: > Uwe Stöhr wrote: > > So I put the fix in. I furthermore also added the babel-only language stuff > > to assure that the currently half language support becomes complete: > > http://www.lyx.org/trac/changeset/22073 > > > > I hope

Re: Recipe for reproducing paste problems in 1.6svn

2007-12-10 Thread Abdelrazak Younes
Pavel Sanda wrote: i have recently filled the bug 4394 (1.5 target). is that recipe reproducible for you ? No. Middle-mouse-button-pasting keeps working. It works for 1.5.x for me debug of actions looks like: point 3. (in bug 4394 recipe) LyXFunc::dispatch: cmd: action: 14 arg: 'paragraph' x

Re: [patch] full babel support for tex2lyx

2007-12-10 Thread Andre Poenitz
On Tue, Dec 11, 2007 at 03:26:41AM +, Angus Leeming wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > So maybe the macro is not the best idea after all. > > Maybe I'll dig into the boost preprocessor library to write something like: > > vector opts = LYX_INITIALIZE_VECTOR("a", "b", "c");

Re: System call problem?

2007-12-10 Thread Jürgen Spitzmüller
Peter Kümmel wrote: > I assume pdflatex. Here, everything is completely broken: every converter as well as edit->reconfigure. Jürgen

Re: [Cvslog] r22076 - /lyx-devel/trunk/src/frontends/qt4/GuiSelection.cpp

2007-12-10 Thread Jürgen Spitzmüller
Pavel Sanda wrote: > Juergen, can i put it in branch too ? ok. Jürgen

Re: Building LyX with Intel Mac Leopard/Xcode3.0

2007-12-10 Thread Roger Mc Murtrie
Once again, many thanks for your advice. I've just discovered the reason for what turns out to be my utter confusion! I had been looking at the file development/cmake/Install.cmake not INSTALL.cmake in the root directory! I remember looking in the root directory for a README.cmake but, (late-

Re: Approaching LyX 1.5.3 [status update #3]

2007-12-10 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > So I put the fix in. I furthermore also added the babel-only language stuff > to assure that the currently half language support becomes complete: > http://www.lyx.org/trac/changeset/22073 > > I hope this was OK. If not, then I'll revert this part, but as said, > withput this, th

Re: Building LyX with Intel Mac Leopard/Xcode3.0

2007-12-10 Thread Roger Mc Murtrie
Seems I've hit some sensitivity here. If so, I'm sorry. I was just looking for some help in response to a helpful email from Stefan who has also responded helpfully to mine of Tue, Dec 11, 2007 at 08:22:59AM +1100. To me, the README and INSTALL files in the LyX root directories are excellent

Re: [patch] full babel support for tex2lyx

2007-12-10 Thread Angus Leeming
Andre Poenitz <[EMAIL PROTECTED]> writes: > So maybe the macro is not the best idea after all. Maybe I'll dig into the boost preprocessor library to write something like: vector opts = LYX_INITIALIZE_VECTOR("a", "b", "c"); Compile times would surely make you smile. SCNR backly, Angus

Re: [patch] tex2lyx support for the otherlanguage environment

2007-12-10 Thread Angus Leeming
Andre Poenitz <[EMAIL PROTECTED]> writes: > [Btw, this is one of the cases were I do not see actual benefits over > global variables. If we had several instances or needed complicated > construction/destruction matters would be different...] Several instances? Your confused me ol' china. Neither e

Re: [Cvslog] r22076 - /lyx-devel/trunk/src/frontends/qt4/GuiSelection.cpp

2007-12-10 Thread Pavel Sanda
Juergen, can i put it in branch too ? > Author: sanda > Date: Tue Dec 11 02:38:40 2007 > New Revision: 22076 > > URL: http://www.lyx.org/trac/changeset/22076 > Log: > Add selection dbg output. > > Modified: > lyx-devel/trunk/src/frontends/qt4/GuiSelection.cpp > > Modified: lyx-devel/trunk/

Re: Recipe for reproducing paste problems in 1.6svn

2007-12-10 Thread Pavel Sanda
> > > > > i have recently filled the bug 4394 (1.5 target). > > > > > is that recipe reproducible for you ? > > > > > > > > No. Middle-mouse-button-pasting keeps working. > > > > > > It works for 1.5.x > > for me debug of actions looks like: > point 3. (in bug 4394 recipe) > > LyXFunc::dispatch:

Re: Approaching LyX 1.5.3 [status update #3]

2007-12-10 Thread Uwe Stöhr
> Done. My fix to this is correct, but Angus has a better method to get it more > efficient. The fix has been approved to be correct. About the optimization I'm unsure: we only have maximal documentclass 10 options to parse and Angus agreed that it is then not absolutely necessary to optimize t

Re: Recipe for reproducing paste problems in 1.6svn

2007-12-10 Thread Pavel Sanda
> > > > i have recently filled the bug 4394 (1.5 target). > > > > is that recipe reproducible for you ? > > > > > > No. Middle-mouse-button-pasting keeps working. > > > > It works for 1.5.x for me debug of actions looks like: point 3. (in bug 4394 recipe) LyXFunc::dispatch: cmd: action: 14 arg:

Re: Patch for scope semantics + serious master/child support for math macros

2007-12-10 Thread Andre Poenitz
On Tue, Dec 11, 2007 at 12:00:10AM +0100, Stefan Schimanski wrote: >>> + /// Create lazy MacroData which only queries the macro template when >>> needed >>> + MacroData(Buffer const & buf, DocIterator const & pos); >>> >> >> This works? >> > Why shouldn't it? What exactly is your doubt

Re: Patch for scope semantics + serious master/child support for math macros

2007-12-10 Thread Stefan Schimanski
/// class MacroData { public: - /// + /// Constructor to make STL containers happy MacroData(); + /// Create lazy MacroData which only queries the macro template when needed + MacroData(Buffer const & buf, DocIterator const & pos); This works? Why s

Re: System call problem?

2007-12-10 Thread Bo Peng
> Does this patch help? No. I checked that QDir::currentPath is /tmp/lyx_tmpdir270589aB5uF/lyx_tmpbuf0, command is epstopdf --outfile='20_usr_local_share_lyx16_doc_clipart_escher-lsd.pdf' '20_usr_local_share_lyx16_doc_clipart_escher-lsd.eps' which runs fine outside of lyx. So the problem seems

Re: url-insert.png

2007-12-10 Thread Peter Kümmel
Andre Poenitz wrote: On Mon, Dec 10, 2007 at 10:28:54PM +0100, Peter Kümmel wrote: There is not url-insert.png in trunk, but it is referenced from the user guide. Thanks for spotting. Could you please re-try? ok, the the png error is gone but there are still errors becouse of extra }, in the

Re: Patch for scope semantics + serious master/child support for math macros

2007-12-10 Thread Andre Poenitz
On Mon, Dec 10, 2007 at 11:02:22PM +0100, Stefan Schimanski wrote: > Jean-Marc Lasgouttes schrieb: >> Stefan Schimanski <[EMAIL PROTECTED]> writes: >> >> >>> For insets you are right, I assume they open an environment, which is >>> not correct in general. Have to check how to do this properly. T

Re: url-insert.png

2007-12-10 Thread Andre Poenitz
On Mon, Dec 10, 2007 at 10:28:54PM +0100, Peter Kümmel wrote: > There is not url-insert.png in trunk, > but it is referenced from the user guide. Thanks for spotting. Could you please re-try? Andre'

Re: [patch] implement \slash and \nobreakdash

2007-12-10 Thread Pavel Sanda
> I don't have any experience with > * doxygen doxygen is a program for making documentation from particular comments in the source code. you don't need any specific experience, just looking into the few already documented lfuns will give you an idea how to proceed. > * trunk trunk is not a

Re: Building LyX with Intel Mac Leopard/Xcode3.0

2007-12-10 Thread Peter Kümmel
Roger Mc Murtrie wrote: Correction to previous post. install.cmake doesn't look like a README. I got the impression that it was off an internet search. There doesn't seem to be a README.cmake file in LyX 1.5 or 1.6 versions. H'm, looks like it was renamed because it really isn't a README file o

Re: Building LyX with Intel Mac Leopard/Xcode3.0

2007-12-10 Thread Andre Poenitz
On Tue, Dec 11, 2007 at 08:22:59AM +1100, Roger Mc Murtrie wrote: > Correction to previous post. > install.cmake doesn't look like a README. [Well, your email doesn't look like a reply to an email either, yet I suppose most people somehow manage to cope with it. *sigh*] > I got the impression tha

Re: System call problem?

2007-12-10 Thread Peter Kümmel
Bo Peng wrote: On Dec 11, 2007 10:21 AM, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote: Bo Peng wrote: So no one can reproduce this problem? I can. Peter, I suspect that the process is not run under the /tmp/blah directory, could you please check this? Does this patch help? -- Peter Kümme

Re: Building LyX with Intel Mac Leopard/Xcode3.0

2007-12-10 Thread Stefan Schimanski
Yes, INSTALL.cmake is the name. I always added some paragraphs for Xcode there some time ago. It also works with Xcode 3 from Leopard. Roger Mc Murtrie schrieb: Correction to previous post. install.cmake doesn't look like a README. I got the impression that it was off an internet search. Ther

Re: Recipe for reproducing paste problems in 1.6svn

2007-12-10 Thread Pavel Sanda
> > Pavel Sanda wrote: > > > i have recently filled the bug 4394 (1.5 target). > > > is that recipe reproducible for you ? > > > > No. Middle-mouse-button-pasting keeps working. > > It works for 1.5.x but not for 1.6.x. I asked around immediately after > I noticed this but nobody claimed responsib

Re: [Cvslog] r21327 - in /lyx-devel/trunk: lib/bind/math.bind lib/ui/s...

2007-12-10 Thread Stefan Schimanski
Jean-Marc Lasgouttes schrieb: Martin Vermeer <[EMAIL PROTECTED]> writes: I am looking into this now. As I said, it is not complicated. But in InsetMathNest there is already an implementation: case LFUN_INSET_TOGGLE: cur.recordUndo(); lock(!lock()); cur.popForw

url-insert.png

2007-12-10 Thread Peter Kümmel
There is not url-insert.png in trunk, but it is referenced from the user guide. Peter

Re: Building LyX with Intel Mac Leopard/Xcode3.0

2007-12-10 Thread Roger Mc Murtrie
Correction to previous post. install.cmake doesn't look like a README. I got the impression that it was off an internet search. There doesn't seem to be a README.cmake file in LyX 1.5 or 1.6 versions. H'm, looks like it was renamed because it really isn't a README file or an INSTALL instructi

Re: lyx-devel Digest 10 Dec 2007 11:50:36 -0000 Issue 5495

2007-12-10 Thread Roger Mc Murtrie
Quick note. README.cmake has been renamed Install.cmake Roger On 10/12/2007, at 8:35 PM, Stefan Schimanski wrote: Have you tried the cmake build system? It has a Xcode target, i.e. it creates a native Xcode project for LyX. Use it all the time, works perfectly. Look in the README.cmake file

Re: [patch] implement \slash and \nobreakdash

2007-12-10 Thread Hellmut Weber
Hi Pavel, my intention is to put the documentation into doxygen. please look in the file lfuns.h (from trunk, not branch) and the lfun LFUN_BUFFER_WRITE_AS, LFUN_PARAGRAPH_PARAMS(_APPLY) where i put the sample documentation. I don't have any experience with * doxygen * trunk So I have to as

Re: System call problem?

2007-12-10 Thread Peter Kümmel
Bo Peng wrote: Hi, I compiled the latest trunk, open UserGuid.lyx, view->pdf gives me: I assume pdflatex. BTW, the current English User Guide is broken. Error: Cannot convert file An error occurred whilst running epstopdf --outfile='16_usr_local_sh

Re: System call problem?

2007-12-10 Thread Peter Kümmel
Bo Peng wrote: On Dec 11, 2007 10:21 AM, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote: Bo Peng wrote: So no one can reproduce this problem? I can. Peter, I suspect that the process is not run under the /tmp/blah directory, could you please check this? Hi Bo, Qt docs say: void QProcess::

Re: Recipe for reproducing paste problems in 1.6svn

2007-12-10 Thread Bo Peng
On Dec 10, 2007 12:08 PM, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote: > Pavel Sanda wrote: > > i have recently filled the bug 4394 (1.5 target). > > is that recipe reproducible for you ? > > No. Middle-mouse-button-pasting keeps working. It works for 1.5.x but not for 1.6.x. I asked around immed

Re: [patch] full babel support for tex2lyx

2007-12-10 Thread Andre Poenitz
On Mon, Dec 10, 2007 at 06:16:05AM +, Angus Leeming wrote: > You might define a preprocessor macro to perform the drudgery for you. > Perhaps > something like: > > #define LYX_BUILD_VECTOR(LYX_CARRAY, LYX_VECTOR) \ > { \ > if (LYX_CARRAY != 0 && LYX_CARRAY[0] != 0) \ > { \ >

Re: [Cvslog] r21327 - in /lyx-devel/trunk: lib/bind/math.bind lib/ui/s...

2007-12-10 Thread Andre Poenitz
On Mon, Dec 10, 2007 at 03:11:13AM +0200, Martin Vermeer wrote: > On Mon, Dec 10, 2007 at 12:46:18AM +0100, Stefan Schimanski wrote: > > Jean-Marc Lasgouttes schrieb: > > > Stefan Schimanski <[EMAIL PROTECTED]> writes: > > > > > > > > >> If the cursor is in the cell with 42, the unfold command

Re: [patch] tex2lyx support for the otherlanguage environment

2007-12-10 Thread Andre Poenitz
On Sun, Dec 09, 2007 at 11:46:48PM +, Angus Leeming wrote: > // I see that LyX.h defines "ref" and "cref" static functions > // to return reference and const reference views on the global > // instance_. It's probably best to do the same here... > static Tex2Lyx & Instance() >

Re: [Cvslog] r21327 - in /lyx-devel/trunk: lib/bind/math.bind lib/ui/s...

2007-12-10 Thread Andre Poenitz
On Mon, Dec 10, 2007 at 12:46:18AM +0100, Stefan Schimanski wrote: > Jean-Marc Lasgouttes schrieb: >> Stefan Schimanski <[EMAIL PROTECTED]> writes: >> >> >>> If the cursor is in the cell with 42, the unfold command will unfold >>> the \bar macro. Another press will unfold the \foo macro. Then a

Re: Recipe for reproducing paste problems in 1.6svn

2007-12-10 Thread Pavel Sanda
> Pavel Sanda wrote: > > i have recently filled the bug 4394 (1.5 target). > > is that recipe reproducible for you ? > > No. Middle-mouse-button-pasting keeps working. what a pity ! :)) p

Re: lyx2lyx failure

2007-12-10 Thread José Matos
On Monday 10 December 2007 07:47:33 Jürgen Spitzmüller wrote: > José Matos wrote: > > Jürgen may I commit the patch that fixes the crash? > > Yes, go ahead. Done. > Jürgen -- José Abílio

Re: Recipe for reproducing paste problems in 1.6svn

2007-12-10 Thread Jürgen Spitzmüller
Pavel Sanda wrote: > i have recently filled the bug 4394 (1.5 target). > is that recipe reproducible for you ? No. Middle-mouse-button-pasting keeps working. Jürgen

Re: Recipe for reproducing paste problems in 1.6svn

2007-12-10 Thread Pavel Sanda
> > The external pasting itself works fine, but it is "disallowed". > > This is also what I see with lyx 1.5.3svn. I have to say that it is a > real pain! > > JMarc > Jean-Marc Lasgouttes wrote: > > This is also what I see with lyx 1.5.3svn. > > I don't. > > Jürgen i have recently filled the

Re: [Cvslog] r22049 - in /lyx-devel/trunk/src/frontends/qt4: Dialog.cp...

2007-12-10 Thread Abdelrazak Younes
Richard Heck wrote: [EMAIL PROTECTED] wrote: Added: lyx-devel/trunk/src/frontends/qt4/DialogView.cpp URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/frontends/qt4/DialogView.cpp?rev=22049 == --- lyx-devel/tru

Re: System call problem?

2007-12-10 Thread Bo Peng
On Dec 11, 2007 10:21 AM, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote: > Bo Peng wrote: > > So no one can reproduce this problem? > > I can. Peter, I suspect that the process is not run under the /tmp/blah directory, could you please check this? Bo

[Ex-Bug 3920] Timing Data

2007-12-10 Thread Richard Heck
As I said in my post to bugzilla, this bug seems as if it might be gone. My office machine has seen it fairly reliably, and now I do not see it with latest 1.5.svn. I haven't recently tried 1.6.svn, but I expect the fix is there now, too. That said, in investigating this bug, I acquired some

Re: System call problem?

2007-12-10 Thread Jürgen Spitzmüller
Bo Peng wrote: > So no one can reproduce this problem? I can. Jürgen

Re: System call problem?

2007-12-10 Thread Bo Peng
On Dec 9, 2007 9:32 PM, Bo Peng <[EMAIL PROTECTED]> wrote: > Hi, > > I compiled the latest trunk, open UserGuid.lyx, view->pdf gives me: > > Error: Cannot convert file So no one can reproduce this problem? Bo

Re: [patch] tex2lyx support for the otherlanguage environment

2007-12-10 Thread Jean-Marc Lasgouttes
Uwe Stöhr <[EMAIL PROTECTED]> writes: > Jean-Marc Lasgouttes schrieb: > >> Uwe, please have a look at how fonts are handled using the Context >> object and try to do the same thing for the language stuff... > > The font handling is my code and I've used the same method as for > \selectlanguage etc

Re: [Cvslog] r22049 - in /lyx-devel/trunk/src/frontends/qt4: Dialog.cp...

2007-12-10 Thread Richard Heck
[EMAIL PROTECTED] wrote: Added: lyx-devel/trunk/src/frontends/qt4/DialogView.cpp URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/frontends/qt4/DialogView.cpp?rev=22049 == --- lyx-devel/trunk/src/frontends/qt4/Dialo

Re: [patch] tex2lyx support for the otherlanguage environment

2007-12-10 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: Uwe, please have a look at how fonts are handled using the Context object and try to do the same thing for the language stuff... The font handling is my code and I've used the same method as for \selectlanguage etc. for this patch too. In the patch the context ob

Can't see long formula, and no horizontal scroll!

2007-12-10 Thread Neal Becker
I imported an (overly long) tex equation. In mathed, I can't see the end of the formula, and there is no horizontal scroll. This is 1.5.2.

Re: Patch for scope semantics + serious master/child support for math macros

2007-12-10 Thread Stefan Schimanski
Jean-Marc Lasgouttes schrieb: Stefan Schimanski <[EMAIL PROTECTED]> writes: For insets you are right, I assume they open an environment, which is not correct in general. Have to check how to do this properly. The InsetBranch is on my list anyway. Haven't looked into that. The best is

Re: [patch] tex2lyx support for the otherlanguage environment

2007-12-10 Thread Enrico Forestieri
On Mon, Dec 10, 2007 at 01:13:45PM +0100, Jürgen Spitzmüller wrote: > Enrico Forestieri wrote: > > Yes, I think I got that after your first mail in this thread and a 2+2 > > aithmetic, and already bashed you for that. However, I now regret having > > done that. My only excuse is the bad mood I was

Re: [patch] tex2lyx support for the otherlanguage environment

2007-12-10 Thread Enrico Forestieri
On Mon, Dec 10, 2007 at 02:05:37AM +0100, Uwe Stöhr wrote: > > Uwe, the problem is that you happily bash others with harsh manners, > > so you should not be surprised when you are paid with the same money. > > Please, don't give me lessons about gentlemanliness when there are > > posts in the

Re: Patch for scope semantics + serious master/child support for math macros

2007-12-10 Thread Jean-Marc Lasgouttes
Stefan Schimanski <[EMAIL PROTECTED]> writes: > For insets you are right, I assume they open an environment, which is > not correct in general. Have to check how to do this properly. The > InsetBranch is on my list anyway. Haven't looked into that. The best is probably a virtual method for insets

Re: Patch for scope semantics + serious master/child support for math macros

2007-12-10 Thread Stefan Schimanski
Jean-Marc Lasgouttes schrieb: Stefan Schimanski <[EMAIL PROTECTED]> writes: Hi! I was working on the lookup logic of math macros for the last few weeks in a private branch. Here is the resulting patch. It basically transforms the macro context into a DocIterator instead of a basic paragrap

Re: [patch] tex2lyx support for the otherlanguage environment

2007-12-10 Thread Jürgen Spitzmüller
Enrico Forestieri wrote: > Yes, I think I got that after your first mail in this thread and a 2+2 > aithmetic, and already bashed you for that. However, I now regret having > done that. My only excuse is the bad mood I was in. Please, accept my > apologies. No problem. I can take bashing ;-) Jürg

Re: [patch] tex2lyx support for the otherlanguage environment

2007-12-10 Thread Enrico Forestieri
On Mon, Dec 10, 2007 at 08:45:02AM +0100, Jürgen Spitzmüller wrote: > Enrico Forestieri wrote: > > That said, I am not a C++ master and don't feel to give lessons to > > anyone. Anyway, the following code appears amusing even to me: > > I am the one to receive this lesson. I proposed this "code"

Re: Approaching LyX 1.5.3 [status update #3]

2007-12-10 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > I applied a different patch, actually. It is much safer than the > previous one. This one looks better indeed. Thanks. Jürgen

Re: Patch for scope semantics + serious master/child support for math macros

2007-12-10 Thread Jean-Marc Lasgouttes
Stefan Schimanski <[EMAIL PROTECTED]> writes: > Hi! > > I was working on the lookup logic of math macros for the last few > weeks in a private branch. Here is the resulting patch. > > It basically transforms the macro context into a DocIterator instead > of a basic paragraph number. Every macro de

Re: [patch] tex2lyx support for the otherlanguage environment

2007-12-10 Thread Jean-Marc Lasgouttes
Uwe Stöhr <[EMAIL PROTECTED]> writes: > The attached patch by Jürgen and me adds support for the > otherlanguage environment. Uwe, please have a look at how fonts are handled using the Context object and try to do the same thing for the language stuff... JMarc

Re: Approaching LyX 1.5.3 [status update #3]

2007-12-10 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] (Jürgen Spitzmüller) writes: > Jean-Marc Lasgouttes wrote: >> - last.diff is just documenting the fact that last files are not kept >>   when upgrading (forgot the bug number) > > OK. Done. > >> - here.diff fixes the case where Here placement of floats s required >>   only at g

Re: Building LyX with Intel Mac Leopard/Xcode3.0

2007-12-10 Thread Roger Mc Murtrie
Sounds interesting. I had thought, obviously incorrectly, that cmake was for building windows applications. I'll certainly give it a try. Also sounds like it might be useful for another project that I have been having trouble with. Many thanks Roger On 10/12/2007, at 8:35 PM, Stefan Schimans

Re: Approaching LyX 1.5.3 [status update #3]

2007-12-10 Thread Jean-Marc Lasgouttes
Sven Hoexter <[EMAIL PROTECTED]> writes: >> - last.diff is just documenting the fact that last files are not kept >> when upgrading (forgot the bug number) > > #4387 Thanks. Jmarc

Re: [Cvslog] r21327 - in /lyx-devel/trunk: lib/bind/math.bind lib/ui/s...

2007-12-10 Thread Jean-Marc Lasgouttes
Stefan Schimanski <[EMAIL PROTECTED]> writes: > But then why are math insets so special here? Only InsetBranch, > InsetCollapsable and InsetMathNest have an implementation. InsetCollapsable covers all text insets that can collapse. Math inset is the only other kind of inset that is highly editab

Re: [Cvslog] r21327 - in /lyx-devel/trunk: lib/bind/math.bind lib/ui/s...

2007-12-10 Thread Stefan Schimanski
Martin Vermeer schrieb: On Mon, Dec 10, 2007 at 12:46:18AM +0100, Stefan Schimanski wrote: Jean-Marc Lasgouttes schrieb: Stefan Schimanski <[EMAIL PROTECTED]> writes: If the cursor is in the cell with 42, the unfold command will unfold the \bar macro. Another press will unf

Re: Building LyX with Intel Mac Leopard/Xcode3.0

2007-12-10 Thread Stefan Schimanski
Roger Mc Murtrie schrieb: Item of possible interest to Mac users. I recently had to do a clean install of Mac OSX 10.5 Leopard on my Intel Mac. Following this I found that building LyX required qt-mac-opensource-src-4.3.3 as LyX builds using previous qt versions resulted in a LyX that crashed.

Re: [Cvslog] r21327 - in /lyx-devel/trunk: lib/bind/math.bind lib/ui/s...

2007-12-10 Thread Jean-Marc Lasgouttes
Martin Vermeer <[EMAIL PROTECTED]> writes: >> I am looking into this now. As I said, it is not complicated. But in >> InsetMathNest there is already an implementation: >> >> case LFUN_INSET_TOGGLE: >> cur.recordUndo(); >> lock(!lock()); >> cur.popForward(); >>

Re: r22055 - /lyx-devel/trunk/src/frontends/qt4/Dialog.cpp

2007-12-10 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: Author: sanda Date: Mon Dec 10 01:11:22 2007 New Revision: 22055 URL: http://www.lyx.org/trac/changeset/22055 Log: Fix compilation error. Modified: lyx-devel/trunk/src/frontends/qt4/Dialog.cpp Modified: lyx-devel/trunk/src/frontends/qt4/Dialog.cpp URL: http://www.

Re: [patch] tex2lyx support for the otherlanguage environment

2007-12-10 Thread Abdelrazak Younes
José Matos wrote: On Sunday 09 December 2007 23:46:48 Angus Leeming wrote: I agree with Abdel that this binary is very C-ish in structure. It would be a reasonable cleanup (IMO) to introduce a Tex2Lyx singleton class and access all global state through that. I agree, last time I had to work wi

Re: [patch] tex2lyx support for the otherlanguage environment

2007-12-10 Thread Abdelrazak Younes
Angus Leeming wrote: I agree with Abdel that this binary is very C-ish in structure. It would be a reasonable cleanup (IMO) to introduce a Tex2Lyx singleton class and access all global state through that. While you are definitely right, at this point I think Uwe is starting to get scared at t