Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-19 Thread Pavel Sanda
Jens Nöckel wrote: Another version of the patch is attached, this time hopefully readable by everyone... no its octet-stream now. next guess is .txt :) cant be this code: +// GUI_DONTSWAPCB_VISIBLE reveals checkbox for switching Ctrl and Meta on Mac:

Re: pref2pref

2010-09-19 Thread Pavel Sanda
Richard Heck wrote: I'm assuming that, as with layouts, LyX should only convert the file internally, leaving the original file as is. Unless, of course, you then make some modification (to shortcuts, say, or to preferences). Then LyX will have to write the file in the format of whatever

Re: Patch: Diagram inset

2010-09-19 Thread Pavel Sanda
Ronen Abravanel wrote: Pavel -- Thanks. I removed big portion of the code that was not needed. good news I can refactor both XYMatrix and Diagram class to have one common base class, but it will take me a while. How urgent things should be ready for 2.0? personally i would prefer not to

Re: When preview is on

2010-09-19 Thread Pavel Sanda
Ronen Abravanel wrote: Currently, in Lyx 2.0, there are 3 modes for preview: * On -- Preview is working for math and preview-inset * No math -- * Off My 1st question is what the different between no math and Off? what else is previewed other than math and preview inset? for example

Re: Thesaurus feature (trunk)

2010-09-19 Thread Jürgen Spitzmüller
Kornel Benko wrote: Yes, but this is not the point I meant. What is the point, then? Jürgen

Re: Please, verify the INSTALL on MacOSX document...

2010-09-19 Thread Stephan Witt
Am 19.09.2010 um 03:33 schrieb BH: On Mon, Sep 6, 2010 at 7:56 AM, Stephan Witt st.w...@gmx.net wrote: Am 06.09.2010 um 13:46 schrieb BH: I tried this out with a new Mac, and it works well. I did not compile aspell or test Tiger or 64-bit support. Thanks for your comments. A couple

Re: r35445 - lyx-devel/trunk

2010-09-19 Thread Pavel Sanda
sa...@lyx.org wrote: Author: sanda Date: Sun Sep 19 13:58:35 2010 New Revision: 35445 URL: http://www.lyx.org/trac/changeset/35445 Log: Allow autoconf 2.67, tested on linux. Juergen?

Re: Small glitch in spellchecker (trunk)

2010-09-19 Thread Stephan Witt
Am 18.09.2010 um 09:36 schrieb Stephan Witt: Am 18.09.2010 um 09:12 schrieb Kornel Benko: Am Freitag 17 September 2010 schrieb Kornel Benko: Am Freitag 17 September 2010 schrieb Kornel Benko: I attach a test-case. The spell-checker even marks the word as english after accepting ... Which

Re: Thesaurus feature (trunk)

2010-09-19 Thread Kornel Benko
Am Sonntag 19 September 2010 schrieb Jürgen Spitzmüller: Kornel Benko wrote: Yes, but this is not the point I meant. What is the point, then? Jürgen In a multilingual document it came handy to have the default language for thesaurus being that of the word instead of the document

Re: Small glitch in spellchecker (trunk)

2010-09-19 Thread Kornel Benko
Am Sonntag 19 September 2010 schrieb Stephan Witt: Am Freitag 17 September 2010 schrieb Kornel Benko: Am Freitag 17 September 2010 schrieb Kornel Benko: I attach a test-case. The spell-checker even marks the word as english after accepting ... Which word? There is this sentence in a a

Re: Small glitch in spellchecker (trunk)

2010-09-19 Thread Stephan Witt
Am 19.09.2010 um 14:36 schrieb Kornel Benko: Am Sonntag 19 September 2010 schrieb Stephan Witt: Am Freitag 17 September 2010 schrieb Kornel Benko: Am Freitag 17 September 2010 schrieb Kornel Benko: I attach a test-case. The spell-checker even marks the word as english after accepting ...

Re: r35369 - lyx-devel/trunk/src

2010-09-19 Thread Abdelrazak Younes
On 16/09/2010 17:31, Stephan Witt wrote: Am 14.09.2010 um 15:46 schrieb Abdelrazak Younes: On 09/14/2010 02:48 PM, sw...@lyx.org wrote: Author: switt Date: Tue Sep 14 14:48:03 2010 New Revision: 35369 URL: http://www.lyx.org/trac/changeset/35369 Log: reduce nesting levels in

Re: Small glitch in spellchecker (trunk)

2010-09-19 Thread Kornel Benko
Am Sonntag 19 September 2010 schrieb Stephan Witt: while ggf. was marked as english now. Sorry, I cannot confirm that. Neither on Mac nor on Linux. I was describing the behaviour which I _had_. Now I don't see it also. Kornel signature.asc Description: This is a digitally signed

Re: Please, verify the INSTALL on MacOSX document...

2010-09-19 Thread BH
On Sun, Sep 19, 2010 at 6:43 AM, Stephan Witt st.w...@gmx.net wrote: Am 19.09.2010 um 03:33 schrieb BH: ... 2. The version of automake macports installed is 2.67, which autogen.sh rejected. (It wants only automake 2.65.) So I had to edit autogen.sh to allow 2.67, which worked fine. Do you

Re: #6906: GNU/Hurd build failure because of PATH_MAX usage

2010-09-19 Thread Samuel Thibault
LyX Ticket Tracker, le Sun 19 Sep 2010 13:12:51 -, a écrit : i'm no expert on glibc, but man pages explicitly states that realpath shouldn't be used at all. Please update your manpages. “The resolved_path == NULL feature, not standardized in POSIX.1-2001, but standardized in

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-19 Thread Jens Nöckel
On Sep 19, 2010, at 12:02 AM, Pavel Sanda wrote: Jens Nöckel wrote: Another version of the patch is attached, this time hopefully readable by everyone... no its octet-stream now. next guess is .txt :) Or using a different mailer, sigh. cant be this code: +// GUI_DONTSWAPCB_VISIBLE

Re: #6906: GNU/Hurd build failure because of PATH_MAX usage

2010-09-19 Thread Pavel Sanda
Samuel Thibault wrote: LyX Ticket Tracker, le Sun 19 Sep 2010 13:12:51 -, a écrit : i'm no expert on glibc, but man pages explicitly states that realpath shouldn't be used at all. Please update your manpages. why not if you give me root access on that box ;) what is the correct

Re: Patch: Diagram inset

2010-09-19 Thread Ronen Abravanel
On Sun, Sep 19, 2010 at 3:35 AM, Pavel Sanda sa...@lyx.org wrote: Ronen Abravanel wrote: Pavel -- Thanks. I removed big portion of the code that was not needed. good news I can refactor both XYMatrix and Diagram class to have one common base class, but it will take me a while. How

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-19 Thread Pavel Sanda
Jens Nöckel wrote: + connect(dontswapCB, SIGNAL(toggled(bool)), + this, SIGNAL(changed())); + dontswapCB-setVisible(false); +#ifdef Q_WS_MACX +#if QT_VERSION 0x040600

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-19 Thread Jens Nöckel
On Sep 19, 2010, at 8:25 AM, Pavel Sanda wrote: Jens Nöckel wrote: + connect(dontswapCB, SIGNAL(toggled(bool)), + this, SIGNAL(changed())); + dontswapCB-setVisible(false); +#ifdef Q_WS_MACX

Re: #6906: GNU/Hurd build failure because of PATH_MAX usage

2010-09-19 Thread Samuel Thibault
Pavel Sanda, le Sun 19 Sep 2010 16:59:52 +0200, a écrit : Samuel Thibault wrote: LyX Ticket Tracker, le Sun 19 Sep 2010 13:12:51 -, a écrit : i'm no expert on glibc, but man pages explicitly states that realpath shouldn't be used at all. Please update your manpages. why not

Re: #6906: GNU/Hurd build failure because of PATH_MAX usage

2010-09-19 Thread Pavel Sanda
Samuel Thibault wrote: And when I say ages, I mean it: it was added in 1996... ok, thanks for responses. i will commit this for 2.0. pavel

Re: Patch: Diagram inset

2010-09-19 Thread Richard Heck
On 9/19/10 11:19 AM, Ronen Abravanel wrote: +def revert_diagram(document): + i = 0 + re_diagram = re.compile(r'\\begin_inset Formula .*\\Diagram', re.DOTALL) + while True: +i = find_token(document.body, '\\begin_inset Formula', i) +if i == -1: + return +j =

Re: When preview is on

2010-09-19 Thread Ronen Abravanel
It seems that that simple patch do the trick (Preview is rendered on Instant Preview - On OR No math..) On Sun, Sep 19, 2010 at 3:48 AM, Pavel Sanda sa...@lyx.org wrote: Ronen Abravanel wrote: Currently, in Lyx 2.0, there are 3 modes for preview: * On -- Preview is working for math and

Re: Patch: Diagram inset

2010-09-19 Thread Ronen Abravanel
On Sun, Sep 19, 2010 at 11:46 AM, Richard Heck rgh...@comcast.net wrote: On 9/19/10 11:19 AM, Ronen Abravanel wrote: +def revert_diagram(document): + i = 0 + re_diagram = re.compile(r'\\begin_inset Formula .*\\Diagram', re.DOTALL) + while True: +i = find_token(document.body,

Re: Patch: Diagram inset

2010-09-19 Thread Pavel Sanda
Ronen Abravanel wrote: (The only part changes now: The comment in Buffer.cpp) i'll wait day more if somebody else has comments and then commit. also post the example file... good work, pavel

Re: Thesaurus feature (trunk)

2010-09-19 Thread Jürgen Spitzmüller
Kornel Benko wrote: In a multilingual document it came handy to have the default language for thesaurus being that of the word instead of the document Probably my previous answer was unclear. I meant that this is how it works here. If the cursor is in a French word in a German document, the

Re: r35445 - lyx-devel/trunk

2010-09-19 Thread Jürgen Spitzmüller
Pavel Sanda wrote: Log: Allow autoconf 2.67, tested on linux. Juergen? OK. Jürgen

Re: ANNOUNCE: LyX version 2.0.0 (alpha 6)

2010-09-19 Thread Tommaso Cucinotta
Il 16/09/2010 15:23, Pavel Sanda ha scritto: Pavel Sanda wrote: Public release of LyX version 2.0.0 (alpha 6) = We are pleased to announce the sixth alpha release of LyX 2.0.0. some additional notes: - since we are close to to beta -

Re: Thesaurus feature (trunk)

2010-09-19 Thread Kornel Benko
Am Sonntag 19 September 2010 schrieb Jürgen Spitzmüller: Kornel Benko wrote: In a multilingual document it came handy to have the default language for thesaurus being that of the word instead of the document Probably my previous answer was unclear. I meant that this is how it works here.

Re: Reference to LyX's examples and templates [Was: Beta plans (again, again)]

2010-09-19 Thread Jean-Marc Lasgouttes
Le 17/09/2010 17:21, Stephan Witt a écrit : I'll investigate later. I had a short look already... ...one has to avoid use of QFileDialog::getOpenFileName - which is currently used. So it is a little bit more work. Hmm, you mean we cannot have side urls in this case? Probably reading Qt

Re: Beta plans (again, again)

2010-09-19 Thread Jean-Marc Lasgouttes
Le 17/09/2010 22:42, Gregor GORJANC a écrit : I do not know what is the current status with direct Sweave support in LyX. It is some time since I used LyX with Sweave - there was no need in the last year (had to finnish PhD). I can provide testing, but can someone point me in the right

Re: When preview is on

2010-09-19 Thread Pavel Sanda
Ronen Abravanel wrote: It seems that that simple patch do the trick (Preview is rendered on Instant Preview - On OR No math..) yes i was expecting it... pavel

Re: When preview is on

2010-09-19 Thread Ronen Abravanel
Is there a good reason no to do that change? On Sun, Sep 19, 2010 at 4:09 PM, Pavel Sanda sa...@lyx.org wrote: Ronen Abravanel wrote: It seems that that simple patch do the trick (Preview is rendered on Instant Preview - On OR No math..) yes i was expecting it... pavel

Re: Bugs

2010-09-19 Thread Jean-Marc Lasgouttes
Le 18/09/2010 13:57, Pavel Sanda a écrit : Pavel Sanda wrote: i'm just going to be little bit aggressive about the bugs in trac because its impossible to fullfill the whole list for 2.0. JMarc, could you add new keyword inside trac? something like test for the automatical tests from John. I

Re: pref2pref

2010-09-19 Thread Jean-Marc Lasgouttes
Le 19/09/2010 00:12, Richard Heck a écrit : I'm assuming that, as with layouts, LyX should only convert the file internally, leaving the original file as is. Unless, of course, you then make some modification (to shortcuts, say, or to preferences). Then LyX will have to write the file in the

Re: When preview is on

2010-09-19 Thread Pavel Sanda
Ronen Abravanel wrote: Is there a good reason no to do that change? i planned to commit it... pavel

Re: ANNOUNCE: LyX version 2.0.0 (alpha 6)

2010-09-19 Thread Pavel Sanda
Tommaso Cucinotta wrote: its the best time to contribute user's stuff (like modules) you consider worthy for lyx 2.0. what is the expected timeline for the beta and final release ? basically when #6417 is fixed and i hope it happens within few weeks. final approx december. i'm

Re: Bugs

2010-09-19 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: JMarc, could you add new keyword inside trac? something like test for the automatical tests from John. I added keytest. Is it OK now? great, thanks. pavel

Re: pref2pref

2010-09-19 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: And later we should have a function for updating layouts, rc and ui files on disk. unless i misunderstood what you mean by updating on disk i tried to say its not good idea to do it at least for rc. pavel

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-19 Thread Pavel Sanda
Jens Nöckel wrote: That's perfect - please feel free to modify my patch this way. its in. perhaps you want to add oneliner into misc section of newinlyx20 wiki... pavel

Re: Patch: Diagram inset

2010-09-19 Thread Pavel Sanda
Pavel Sanda wrote: Ronen Abravanel wrote: (The only part changes now: The comment in Buffer.cpp) everything is in now. most probably you want to put some bullet into latex section of newinlyx20 wiki. also post the example file... pave

Re: Patch: Diagram inset

2010-09-19 Thread Ronen Abravanel
I'll need a password for the wiki.. Thanks, Ronen. On Sun, Sep 19, 2010 at 6:46 PM, Pavel Sanda sa...@lyx.org wrote: Pavel Sanda wrote: Ronen Abravanel wrote: (The only part changes now: The comment in Buffer.cpp) everything is in now. most probably you want to put some bullet into

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-19 Thread Jens Nöckel
On Sep 19, 2010, at 3:03 PM, Pavel Sanda wrote: Jens Nöckel wrote: That's perfect - please feel free to modify my patch this way. its in. perhaps you want to add oneliner into misc section of newinlyx20 wiki... pavel Great! Could someone send me the WIki password? Then I'll add a line

Re: Patch: Diagram inset

2010-09-19 Thread Uwe Stöhr
Hello Ronen, thanks for your cool new feature! As you know an undocumented feature won't be used - that's why we have e.g. the Math manual. There already exists in sec. 21 Diagrams a description of amscd and a link to the xymatrix description. Can you do me a favor and write either -

Re: Patch: Diagram inset

2010-09-19 Thread Richard Heck
While playing with your feature i noticed that the export to the LyX 1.6 fileformat via lyx2lyx is not working. I now fixed the bug that the LyX 1.6.x files were not compilable. But there are still some issues: Take your example file and export it to LyX 1.6.x format. Then open this with LyX

Re: Patch: Diagram inset

2010-09-19 Thread Uwe Stöhr
Am 20.09.2010 03:54, schrieb Richard Heck: Take your example file and export it to LyX 1.6.x format. Then open this with LyX 1.6.7 and you can see that the PDF output is completely different from that in LyX 2.0. can you please have a look? What is the difference between the LaTeX that is

Re: Patch: Diagram inset

2010-09-19 Thread Uwe Stöhr
Am 20.09.2010 04:52, schrieb Ronen Abravanel: Added few paragraphs to the Math manual (the full manual attached. note that the file version changed to 401). It won't compile for me even before the change, so I'll appreciate if someone will make sure it's compiles properly. What errors do you

Re: Patch: Diagram inset

2010-09-19 Thread Uwe Stöhr
Am 20.09.2010 04:52, schrieb Ronen Abravanel: Added few paragraphs to the Math manual (the full manual attached. note that the file version changed to 401). Your attached file doesn't contain any feyn-related stuff and is in format 345. regards Uwe

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-19 Thread Pavel Sanda
Jens Nöckel wrote: > Another version of the patch is attached, this time hopefully readable by > everyone... no its octet-stream now. next guess is .txt :) cant be this code: +// GUI_DONTSWAPCB_VISIBLE reveals checkbox for switching Ctrl and Meta on Mac:

Re: pref2pref

2010-09-19 Thread Pavel Sanda
Richard Heck wrote: > I'm assuming that, as with layouts, LyX should only convert the file > "internally", leaving the original file as is. Unless, of course, you then > make some modification (to shortcuts, say, or to preferences). Then LyX > will have to write the file in the format of

Re: Patch: Diagram inset

2010-09-19 Thread Pavel Sanda
Ronen Abravanel wrote: > Pavel -- Thanks. I removed big portion of the code that was not needed. good news > I can refactor both XYMatrix and Diagram class to have one common base > class, but it will take me a while. How urgent things should be ready for > 2.0? personally i would prefer not to

Re: When preview is on

2010-09-19 Thread Pavel Sanda
Ronen Abravanel wrote: > Currently, in Lyx 2.0, there are 3 modes for preview: > * On -- Preview is working for math and preview-inset > * No math -- > * Off > > My 1st question is what the different between "no math" and Off? what else > is previewed other than math and preview inset? for

Re: Thesaurus feature (trunk)

2010-09-19 Thread Jürgen Spitzmüller
Kornel Benko wrote: > Yes, but this is not the point I meant. What is the point, then? Jürgen

Re: Please, verify the INSTALL on MacOSX document...

2010-09-19 Thread Stephan Witt
Am 19.09.2010 um 03:33 schrieb BH: > On Mon, Sep 6, 2010 at 7:56 AM, Stephan Witt wrote: >> Am 06.09.2010 um 13:46 schrieb BH: >> > > I tried this out with a new Mac, and it works well. I did not compile > aspell or test Tiger or 64-bit support. > Thanks for your comments.

Re: r35445 - lyx-devel/trunk

2010-09-19 Thread Pavel Sanda
sa...@lyx.org wrote: > Author: sanda > Date: Sun Sep 19 13:58:35 2010 > New Revision: 35445 > URL: http://www.lyx.org/trac/changeset/35445 > > Log: > Allow autoconf 2.67, tested on linux. Juergen?

Re: Small glitch in spellchecker (trunk)

2010-09-19 Thread Stephan Witt
Am 18.09.2010 um 09:36 schrieb Stephan Witt: > Am 18.09.2010 um 09:12 schrieb Kornel Benko: > >> Am Freitag 17 September 2010 schrieb Kornel Benko: >>> Am Freitag 17 September 2010 schrieb Kornel Benko: I attach a test-case. The spell-checker even marks the word as english after

Re: Thesaurus feature (trunk)

2010-09-19 Thread Kornel Benko
Am Sonntag 19 September 2010 schrieb Jürgen Spitzmüller: > Kornel Benko wrote: > > Yes, but this is not the point I meant. > > What is the point, then? > > Jürgen In a multilingual document it came handy to have the default language for thesaurus being that of the word instead of the document

Re: Small glitch in spellchecker (trunk)

2010-09-19 Thread Kornel Benko
Am Sonntag 19 September 2010 schrieb Stephan Witt: > >> Am Freitag 17 September 2010 schrieb Kornel Benko: > >>> Am Freitag 17 September 2010 schrieb Kornel Benko: > I attach a test-case. The spell-checker even marks the word as english > after accepting ... > > Which word? There is

Re: Small glitch in spellchecker (trunk)

2010-09-19 Thread Stephan Witt
Am 19.09.2010 um 14:36 schrieb Kornel Benko: > Am Sonntag 19 September 2010 schrieb Stephan Witt: Am Freitag 17 September 2010 schrieb Kornel Benko: > Am Freitag 17 September 2010 schrieb Kornel Benko: >> I attach a test-case. The spell-checker even marks the word as english >>

Re: r35369 - lyx-devel/trunk/src

2010-09-19 Thread Abdelrazak Younes
On 16/09/2010 17:31, Stephan Witt wrote: Am 14.09.2010 um 15:46 schrieb Abdelrazak Younes: On 09/14/2010 02:48 PM, sw...@lyx.org wrote: Author: switt Date: Tue Sep 14 14:48:03 2010 New Revision: 35369 URL: http://www.lyx.org/trac/changeset/35369 Log: reduce nesting levels in

Re: Small glitch in spellchecker (trunk)

2010-09-19 Thread Kornel Benko
Am Sonntag 19 September 2010 schrieb Stephan Witt: > > while "ggf." was marked as english now. > > Sorry, I cannot confirm that. Neither on Mac nor on Linux. I was describing the behaviour which I _had_. Now I don't see it also. Kornel signature.asc Description: This is a digitally

Re: Please, verify the INSTALL on MacOSX document...

2010-09-19 Thread BH
On Sun, Sep 19, 2010 at 6:43 AM, Stephan Witt wrote: > Am 19.09.2010 um 03:33 schrieb BH: ... >> 2. The version of automake macports installed is 2.67, which >> autogen.sh rejected. (It wants only automake < 2.65.) So I had to edit >> autogen.sh to allow 2.67, which worked

Re: #6906: GNU/Hurd build failure because of PATH_MAX usage

2010-09-19 Thread Samuel Thibault
LyX Ticket Tracker, le Sun 19 Sep 2010 13:12:51 -, a écrit : > i'm no expert on glibc, but man pages explicitly states that realpath > shouldn't be used at all. Please update your manpages. “The resolved_path == NULL feature, not standardized in POSIX.1-2001, but standardized in

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-19 Thread Jens Nöckel
On Sep 19, 2010, at 12:02 AM, Pavel Sanda wrote: > Jens Nöckel wrote: >> Another version of the patch is attached, this time hopefully readable by >> everyone... > > no its octet-stream now. next guess is .txt :) > Or using a different mailer, sigh. > cant be this code: > > +//

Re: #6906: GNU/Hurd build failure because of PATH_MAX usage

2010-09-19 Thread Pavel Sanda
Samuel Thibault wrote: > LyX Ticket Tracker, le Sun 19 Sep 2010 13:12:51 -, a écrit : > > i'm no expert on glibc, but man pages explicitly states that realpath > > shouldn't be used at all. > > Please update your manpages. why not if you give me root access on that box ;) > > what is the

Re: Patch: Diagram inset

2010-09-19 Thread Ronen Abravanel
On Sun, Sep 19, 2010 at 3:35 AM, Pavel Sanda wrote: > Ronen Abravanel wrote: > > Pavel -- Thanks. I removed big portion of the code that was not needed. > > good news > > > I can refactor both XYMatrix and Diagram class to have one common base > > class, but it will take me a

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-19 Thread Pavel Sanda
Jens Nöckel wrote: > + connect(dontswapCB, SIGNAL(toggled(bool)), > + this, SIGNAL(changed())); > + dontswapCB->setVisible(false); > +#ifdef Q_WS_MACX > +#if QT_VERSION > 0x040600

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-19 Thread Jens Nöckel
On Sep 19, 2010, at 8:25 AM, Pavel Sanda wrote: > Jens Nöckel wrote: >> + connect(dontswapCB, SIGNAL(toggled(bool)), >> + this, SIGNAL(changed())); >> + dontswapCB->setVisible(false); >> +#ifdef Q_WS_MACX

Re: #6906: GNU/Hurd build failure because of PATH_MAX usage

2010-09-19 Thread Samuel Thibault
Pavel Sanda, le Sun 19 Sep 2010 16:59:52 +0200, a écrit : > Samuel Thibault wrote: > > LyX Ticket Tracker, le Sun 19 Sep 2010 13:12:51 -, a écrit : > > > i'm no expert on glibc, but man pages explicitly states that realpath > > > shouldn't be used at all. > > > > Please update your

Re: #6906: GNU/Hurd build failure because of PATH_MAX usage

2010-09-19 Thread Pavel Sanda
Samuel Thibault wrote: > And when I say "ages", I mean it: it was added in 1996... ok, thanks for responses. i will commit this for 2.0. pavel

Re: Patch: Diagram inset

2010-09-19 Thread Richard Heck
On 9/19/10 11:19 AM, Ronen Abravanel wrote: +def revert_diagram(document): + i = 0 + re_diagram = re.compile(r'\\begin_inset Formula .*\\Diagram', re.DOTALL) + while True: +i = find_token(document.body, '\\begin_inset Formula', i) +if i == -1: + return +j =

Re: When preview is on

2010-09-19 Thread Ronen Abravanel
It seems that that simple patch do the trick (Preview is rendered on Instant Preview -> On OR No math..) On Sun, Sep 19, 2010 at 3:48 AM, Pavel Sanda wrote: > Ronen Abravanel wrote: > > Currently, in Lyx 2.0, there are 3 modes for preview: > > * On -- Preview is working for math

Re: Patch: Diagram inset

2010-09-19 Thread Ronen Abravanel
On Sun, Sep 19, 2010 at 11:46 AM, Richard Heck wrote: > On 9/19/10 11:19 AM, Ronen Abravanel wrote: > >> >> +def revert_diagram(document): >> + i = 0 >> + re_diagram = re.compile(r'\\begin_inset Formula .*\\Diagram', >> re.DOTALL) >> + while True: >> +i =

Re: Patch: Diagram inset

2010-09-19 Thread Pavel Sanda
Ronen Abravanel wrote: > (The only part changes now: The comment in Buffer.cpp) i'll wait day more if somebody else has comments and then commit. also post the example file... good work, pavel

Re: Thesaurus feature (trunk)

2010-09-19 Thread Jürgen Spitzmüller
Kornel Benko wrote: > In a multilingual document it came handy to have the default language for > thesaurus being that of the word instead of the document Probably my previous answer was unclear. I meant that this is how it works here. If the cursor is in a French word in a German document, the

Re: r35445 - lyx-devel/trunk

2010-09-19 Thread Jürgen Spitzmüller
Pavel Sanda wrote: > > Log: > > Allow autoconf 2.67, tested on linux. > > Juergen? OK. Jürgen

Re: ANNOUNCE: LyX version 2.0.0 (alpha 6)

2010-09-19 Thread Tommaso Cucinotta
Il 16/09/2010 15:23, Pavel Sanda ha scritto: Pavel Sanda wrote: Public release of LyX version 2.0.0 (alpha 6) = We are pleased to announce the sixth alpha release of LyX 2.0.0. some additional notes: - since we are close to to beta -

Re: Thesaurus feature (trunk)

2010-09-19 Thread Kornel Benko
Am Sonntag 19 September 2010 schrieb Jürgen Spitzmüller: > Kornel Benko wrote: > > In a multilingual document it came handy to have the default language for > > thesaurus being that of the word instead of the document > > Probably my previous answer was unclear. I meant that this is how it works

Re: Reference to LyX's examples and templates [Was: Beta plans (again, again)]

2010-09-19 Thread Jean-Marc Lasgouttes
Le 17/09/2010 17:21, Stephan Witt a écrit : I'll investigate later. I had a short look already... ...one has to avoid use of QFileDialog::getOpenFileName - which is currently used. So it is a little bit more work. Hmm, you mean we cannot have side urls in this case? Probably reading Qt

Re: Beta plans (again, again)

2010-09-19 Thread Jean-Marc Lasgouttes
Le 17/09/2010 22:42, Gregor GORJANC a écrit : I do not know what is the current status with direct Sweave support in LyX. It is some time since I used LyX with Sweave - there was no need in the last year (had to finnish PhD). I can provide testing, but can someone point me in the right

Re: When preview is on

2010-09-19 Thread Pavel Sanda
Ronen Abravanel wrote: > It seems that that simple patch do the trick (Preview is rendered on Instant > Preview -> On OR No math..) yes i was expecting it... pavel

Re: When preview is on

2010-09-19 Thread Ronen Abravanel
Is there a good reason no to do that change? On Sun, Sep 19, 2010 at 4:09 PM, Pavel Sanda wrote: > Ronen Abravanel wrote: > > It seems that that simple patch do the trick (Preview is rendered on > Instant > > Preview -> On OR No math..) > > yes i was expecting it... > pavel >

Re: Bugs

2010-09-19 Thread Jean-Marc Lasgouttes
Le 18/09/2010 13:57, Pavel Sanda a écrit : Pavel Sanda wrote: i'm just going to be little bit aggressive about the bugs in trac because its impossible to fullfill the whole list for 2.0. JMarc, could you add new keyword inside trac? something like "test" for the automatical tests from John.

Re: pref2pref

2010-09-19 Thread Jean-Marc Lasgouttes
Le 19/09/2010 00:12, Richard Heck a écrit : I'm assuming that, as with layouts, LyX should only convert the file "internally", leaving the original file as is. Unless, of course, you then make some modification (to shortcuts, say, or to preferences). Then LyX will have to write the file in the

Re: When preview is on

2010-09-19 Thread Pavel Sanda
Ronen Abravanel wrote: > Is there a good reason no to do that change? i planned to commit it... pavel

Re: ANNOUNCE: LyX version 2.0.0 (alpha 6)

2010-09-19 Thread Pavel Sanda
Tommaso Cucinotta wrote: >>its the best time to contribute user's stuff (like modules) you >> consider >>worthy for lyx 2.0. >> > what is the expected timeline for the beta and final release ? basically when #6417 is fixed and i hope it happens within few weeks. final approx

Re: Bugs

2010-09-19 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: >> JMarc, could you add new keyword inside trac? something like "test" >> for the automatical tests from John. > > I added "keytest". Is it OK now? great, thanks. pavel

Re: pref2pref

2010-09-19 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > And later we should have a function for > updating layouts, rc and ui files on disk. unless i misunderstood what you mean by updating on disk i tried to say its not good idea to do it at least for rc. pavel

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-19 Thread Pavel Sanda
Jens Nöckel wrote: > That's perfect - please feel free to modify my patch this way. its in. perhaps you want to add oneliner into misc section of newinlyx20 wiki... pavel

Re: Patch: Diagram inset

2010-09-19 Thread Pavel Sanda
Pavel Sanda wrote: > Ronen Abravanel wrote: > > > (The only part changes now: The comment in Buffer.cpp) everything is in now. most probably you want to put some bullet into latex section of newinlyx20 wiki. > also post the example file... >pave

Re: Patch: Diagram inset

2010-09-19 Thread Ronen Abravanel
I'll need a password for the wiki.. Thanks, Ronen. On Sun, Sep 19, 2010 at 6:46 PM, Pavel Sanda wrote: > Pavel Sanda wrote: > > Ronen Abravanel wrote: > > > > > (The only part changes now: The comment in Buffer.cpp) > > everything is in now. > most probably you want to put some

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-19 Thread Jens Nöckel
On Sep 19, 2010, at 3:03 PM, Pavel Sanda wrote: > Jens Nöckel wrote: >> That's perfect - please feel free to modify my patch this way. > > its in. perhaps you want to add oneliner into misc section of newinlyx20 > wiki... > pavel Great! Could someone send me the WIki password? Then I'll add a

Re: Patch: Diagram inset

2010-09-19 Thread Uwe Stöhr
Hello Ronen, thanks for your cool new feature! As you know an undocumented feature won't be used - that's why we have e.g. the Math manual. There already exists in sec. 21 "Diagrams" a description of amscd and a link to the xymatrix description. Can you do me a favor and write either -

Re: Patch: Diagram inset

2010-09-19 Thread Richard Heck
While playing with your feature i noticed that the export to the LyX 1.6 fileformat via lyx2lyx is not working. I now fixed the bug that the LyX 1.6.x files were not compilable. But there are still some issues: Take your example file and export it to LyX 1.6.x format. Then open this with LyX

Re: Patch: Diagram inset

2010-09-19 Thread Uwe Stöhr
Am 20.09.2010 03:54, schrieb Richard Heck: Take your example file and export it to LyX 1.6.x format. Then open this with LyX 1.6.7 and you can see that the PDF output is completely different from that in LyX 2.0. can you please have a look? What is the difference between the LaTeX that is

Re: Patch: Diagram inset

2010-09-19 Thread Uwe Stöhr
Am 20.09.2010 04:52, schrieb Ronen Abravanel: Added few paragraphs to the Math manual (the full manual attached. note that the file version changed to 401). It won't compile for me even before the change, so I'll appreciate if someone will make sure it's compiles properly. What errors do you

Re: Patch: Diagram inset

2010-09-19 Thread Uwe Stöhr
Am 20.09.2010 04:52, schrieb Ronen Abravanel: Added few paragraphs to the Math manual (the full manual attached. note that the file version changed to 401). Your attached file doesn't contain any feyn-related stuff and is in format 345. regards Uwe