Re: Arabic\Farsi and XeTeX, testing a patch

2012-07-30 Thread Ronen Abravanel
...@lyx.org wrote: 2012/7/28 Ronen Abravanel ron...@gmail.com: When I'm typing Hebrew, I want to open braces by typing Shift+0 and close by Shift+9 When I'm typing English, I want to open braces with Shift+0 and close with Shift+0 I'm not sure what you mean by correct input . I suppose

Re: Arabic\Farsi and XeTeX, testing a patch

2012-07-30 Thread Ronen Abravanel
ill be a long way to carry it. Ronen. On Sun, Jul 29, 2012 at 12:32 PM, Jürgen Spitzmüller <sp...@lyx.org> wrote: > 2012/7/28 Ronen Abravanel <ron...@gmail.com>: > > When I'm typing Hebrew, I want to open braces by typing Shift+0 and > close > > by Shift+9 > >

Re: LyX, XeTeX, bidi and Hebrew

2012-07-19 Thread Ronen Abravanel
On Thu, Jul 19, 2012 at 11:17 AM, Guenter Milde mi...@users.sf.net wrote: On 2012-07-18, Ronen Abravanel wrote: On Wed, Jul 18, 2012 at 11:09 AM, Guenter Milde mi...@users.sf.net wrote: On 2012-07-16, Ronen Abravanel wrote: ... * What do you get if the example is written as שלום

Re: LyX, XeTeX, bidi and Hebrew

2012-07-19 Thread Ronen Abravanel
On Thu, Jul 19, 2012 at 11:17 AM, Guenter Milde <mi...@users.sf.net> wrote: > On 2012-07-18, Ronen Abravanel wrote: > > On Wed, Jul 18, 2012 at 11:09 AM, Guenter Milde <mi...@users.sf.net> > wrote: > >> On 2012-07-16, Ronen Abravanel wrote: > > ...

Re: LyX, XeTeX, bidi and Hebrew

2012-07-18 Thread Ronen Abravanel
On Wed, Jul 18, 2012 at 11:09 AM, Guenter Milde mi...@users.sf.net wrote: On 2012-07-16, Ronen Abravanel wrote: [-- Type: text/plain, Encoding: quoted-printable --] These files produced directly by the GIT version of LyX. As you can see, the braces are the inverted in both the PDF

Re: LyX, XeTeX, bidi and Hebrew

2012-07-18 Thread Ronen Abravanel
On Wed, Jul 18, 2012 at 11:09 AM, Guenter Milde <mi...@users.sf.net> wrote: > On 2012-07-16, Ronen Abravanel wrote: > > > [-- Type: text/plain, Encoding: quoted-printable --] > > > These files produced directly by the GIT version of LyX. > > As you can see, th

Re: LyX, XeTeX, bidi and Hebrew

2012-07-16 Thread Ronen Abravanel
These files produced directly by the GIT version of LyX. As you can see, the braces are the inverted in both the PDF and the TeX files. Ronen. On Fri, Jul 13, 2012 at 9:38 PM, Ronen Abravanel ron...@gmail.com wrote: 1. you are right. one can do that, and it would be a nice workaround. But I

Re: LyX, XeTeX, bidi and Hebrew

2012-07-16 Thread Ronen Abravanel
Abravanel ron...@gmail.com wrote: These files produced directly by the GIT version of LyX. As you can see, the braces are the inverted in both the PDF and the TeX files. Ronen. On Fri, Jul 13, 2012 at 9:38 PM, Ronen Abravanel ron...@gmail.com wrote: 1. you are right. one can do that, and it would

Re: LyX, XeTeX, bidi and Hebrew

2012-07-16 Thread Ronen Abravanel
These files produced directly by the GIT version of LyX. As you can see, the braces are the inverted in both the PDF and the TeX files. Ronen. On Fri, Jul 13, 2012 at 9:38 PM, Ronen Abravanel <ron...@gmail.com> wrote: > 1. you are right. one can do that, and it would be a nice w

Re: LyX, XeTeX, bidi and Hebrew

2012-07-16 Thread Ronen Abravanel
Abravanel <ron...@gmail.com> wrote: > These files produced directly by the GIT version of LyX. > As you can see, the braces are the inverted in both the PDF and the TeX > files. > > Ronen. > > > On Fri, Jul 13, 2012 at 9:38 PM, Ronen Abravanel <ron...@gmail.com> wrot

Re: LyX, XeTeX, bidi and Hebrew

2012-07-13 Thread Ronen Abravanel
...@users.sf.net wrote: On 2012-07-12, Ronen Abravanel wrote: as the Hebrew support of LaTeX is not developed for the last several years, I decided to try and export Hebrew document to PDF using XeTeX, Are there problems that did not get solved for years, or is there no development because it just

Re: LyX, XeTeX, bidi and Hebrew

2012-07-13 Thread Ronen Abravanel
;mi...@users.sf.net> wrote: > On 2012-07-12, Ronen Abravanel wrote: > > > as the Hebrew support of LaTeX is not developed for the last several > > years, I decided to try and export Hebrew document to PDF using XeTeX, > > Are there problems that did not get solved for years, or is

LyX, XeTeX, bidi and Hebrew

2012-07-12 Thread Ronen Abravanel
this part is outside . בחוץ It all looks OK when rendering using pdflatex, but using XeTeX, it appears wrong. I couldn't find the part in LyX that handle that part. I will be happy for directions regarding where to look. Thanks, Ronen Abravanel remove_L.diff Description: Binary data

LyX, XeTeX, bidi and Hebrew

2012-07-12 Thread Ronen Abravanel
עוד טקסט ( בחוץ this part is outside . בחוץ It all looks OK when rendering using pdflatex, but using XeTeX, it appears wrong. I couldn't find the part in LyX that handle that part. I will be happy for directions regarding where to look. Thanks, Ronen Abravanel remove_L.diff Description: Binary data

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-27 Thread Ronen Abravanel
BTW, can I get privileges to open track-tickets? (username: ronen) On Sat, May 26, 2012 at 5:24 PM, Ronen Abravanel ron...@gmail.com wrote: Patch for LyXAction.cpp attached. (i also added example for inserting graphics using inset-inset On Fri, May 25, 2012 at 3:42 PM, Jean-Marc Lasgouttes

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-27 Thread Ronen Abravanel
BTW, can I get privileges to open track-tickets? (username: ronen) On Sat, May 26, 2012 at 5:24 PM, Ronen Abravanel <ron...@gmail.com> wrote: > Patch for LyXAction.cpp attached. (i also added example for inserting > graphics using inset-inset > > > On Fri, May 25, 2012

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-26 Thread Ronen Abravanel
Patch for LyXAction.cpp attached. (i also added example for inserting graphics using inset-inset On Fri, May 25, 2012 at 3:42 PM, Jean-Marc Lasgouttes lasgout...@lyx.orgwrote: Le 25/05/2012 13:21, Ronen Abravanel a écrit : I added an optional set argument to LFUN_LANGUAGE and fixed the menu

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-26 Thread Ronen Abravanel
Patch for LyXAction.cpp attached. (i also added example for inserting graphics using inset-inset On Fri, May 25, 2012 at 3:42 PM, Jean-Marc Lasgouttes <lasgout...@lyx.org>wrote: > Le 25/05/2012 13:21, Ronen Abravanel a écrit : > > I added an optional "set" argument t

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-25 Thread Ronen Abravanel
the optional argument set for internal API use. This has to be used by the context menu code. Stephan Am 23.05.2012 um 20:59 schrieb Ronen Abravanel: So, which one of the suggestions should I implement? On Mon, May 7, 2012 at 1:39 PM, Ronen Abravanel ron...@gmail.com wrote

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-25 Thread Ronen Abravanel
he "traditional" behavior and add the optional > argument "set" for internal API use. > This has to be used by the context menu code. > > Stephan > > Am 23.05.2012 um 20:59 schrieb Ronen Abravanel: > > > So, which one of the suggestions should I

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-23 Thread Ronen Abravanel
So, which one of the suggestions should I implement? On Mon, May 7, 2012 at 1:39 PM, Ronen Abravanel ron...@gmail.com wrote: If there are only few such commands, the 1st options seems best. If there are many, the last.. Ronen On Wed, May 2, 2012 at 11:58 AM, Jean-Marc Lasgouttes lasgout

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-23 Thread Ronen Abravanel
So, which one of the suggestions should I implement? On Mon, May 7, 2012 at 1:39 PM, Ronen Abravanel <ron...@gmail.com> wrote: > If there are only few such commands, the 1st options seems best. > If there are many, the last.. > > Ronen > > > On Wed, May 2, 2012 at 11:

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-07 Thread Ronen Abravanel
If there are only few such commands, the 1st options seems best. If there are many, the last.. Ronen On Wed, May 2, 2012 at 11:58 AM, Jean-Marc Lasgouttes lasgout...@lyx.orgwrote: Le 29/04/2012 14:13, Vincent van Ravesteijn a écrit : I think it is a bug. I would vote for disabling the LFUN

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-07 Thread Ronen Abravanel
If there are only few such commands, the 1st options seems best. If there are many, the last.. Ronen On Wed, May 2, 2012 at 11:58 AM, Jean-Marc Lasgouttes wrote: > Le 29/04/2012 14:13, Vincent van Ravesteijn a écrit : > > I think it is a bug. I would vote for disabling the

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-29 Thread Ronen Abravanel
Presumably, the orginal (prior to 2.02) behavior is a bug. But it's very usable bug. Specifically, all the how to use LyX in Hebrew manuals on the Internet (and there are many of these) use it, and will have to change. So, it will make sense to use the toggle-method, but it will annoy many

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-29 Thread Ronen Abravanel
This will also require many instructions/ definition change, but it will be simpler change. Ronen On Sun, Apr 29, 2012 at 6:02 PM, Jean-Marc Lasgouttes lasgout...@lyx.orgwrote: Le 29/04/12 16:55, Ronen Abravanel a écrit : Presumably, the orginal (prior to 2.02) behavior is a bug. But it's

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-29 Thread Ronen Abravanel
Presumably, the "orginal" (prior to 2.02) behavior is a bug. But it's very usable bug. Specifically, all the "how to use LyX in Hebrew" manuals on the Internet (and there are many of these) use it, and will have to change. So, it will make sense to use the toggle-method, but it will annoy many

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-29 Thread Ronen Abravanel
This will also require many instructions/ definition change, but it will be simpler change. Ronen On Sun, Apr 29, 2012 at 6:02 PM, Jean-Marc Lasgouttes <lasgout...@lyx.org>wrote: > Le 29/04/12 16:55, Ronen Abravanel a écrit : > > Presumably, the "orginal" (prior t

annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-27 Thread Ronen Abravanel
-devel/trunk/src/Text3.cpp But it it so simple, I can only assume that this behavior was deliberated. If so, please, reconsider. Thanks, Ronen Abravanel

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-27 Thread Ronen Abravanel
language hebrew; language english Which will switch the the other language. (if I understood correctly the manual, I assume one can check waht is the current language and then if (*lang == *cur_lang) {enable = false; break;} will do the work) On Fri, Apr 27, 2012 at 5:49 PM, Ronen Abravanel ron

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-27 Thread Ronen Abravanel
And a patch that perform my suggestion is attachted. Ronen Abravanel On Fri, Apr 27, 2012 at 6:04 PM, Ronen Abravanel ron...@gmail.com wrote: It seems the change was done in order to fix: http://www.lyx.org/trac/ticket/7778 possible solution which will enbale to toggle languages and keep

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-27 Thread Ronen Abravanel
Even better! On Fri, Apr 27, 2012 at 8:10 PM, Stephan Witt st.w...@gmx.net wrote: Am 27.04.2012 um 17:33 schrieb Ronen Abravanel: And a patch that perform my suggestion is attachted. Ronen Abravanel On Fri, Apr 27, 2012 at 6:04 PM, Ronen Abravanel ron...@gmail.com wrote

annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-27 Thread Ronen Abravanel
/changeset/39735/lyxsvn/lyx-devel/trunk/src/Text3.cpp But it it so simple, I can only assume that this behavior was deliberated. If so, please, reconsider. Thanks, Ronen Abravanel

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-27 Thread Ronen Abravanel
language hebrew; language english Which will switch the the "other" language. (if I understood correctly the manual, I assume one can check waht is the current language and then "if (*lang == *cur_lang) {enable = false; break;} " will do the work) On Fri, Apr 27, 2012 at 5:49

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-27 Thread Ronen Abravanel
And a patch that perform my suggestion is attachted. Ronen Abravanel On Fri, Apr 27, 2012 at 6:04 PM, Ronen Abravanel <ron...@gmail.com> wrote: > It seems the change was done in order to fix: > > http://www.lyx.org/trac/ticket/7778 > > possible solution which will enbal

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-27 Thread Ronen Abravanel
Even better! On Fri, Apr 27, 2012 at 8:10 PM, Stephan Witt <st.w...@gmx.net> wrote: > Am 27.04.2012 um 17:33 schrieb Ronen Abravanel: > > > And a patch that perform my suggestion is attachted. > > > > Ronen Abravanel > > > > > > > >

Re: tutorials / slides for seminars or workshops (was: 'Re: LyX Promotion')

2011-03-24 Thread Ronen Abravanel
Translated my stuff to english: http://technion.ac.il/~ronen/lyxlecture2/en/ probably there are some grammar problems. use freely. On Wed, Mar 23, 2011 at 8:51 PM, Liviu Andronic landronim...@gmail.comwrote: On Wed, Mar 23, 2011 at 7:45 PM, Ronen Abravanel ron...@gmail.com wrote: department

Re: tutorials / slides for seminars or workshops (was: 'Re: LyX Promotion')

2011-03-24 Thread Ronen Abravanel
Translated my stuff to english: http://technion.ac.il/~ronen/lyxlecture2/en/ probably there are some grammar problems. use freely. On Wed, Mar 23, 2011 at 8:51 PM, Liviu Andronic <landronim...@gmail.com>wrote: > On Wed, Mar 23, 2011 at 7:45 PM, Ronen Abravanel <ron...@gmai

Re: tutorials / slides for seminars or workshops (was: 'Re: LyX Promotion')

2011-03-23 Thread Ronen Abravanel
On Tue, Mar 22, 2011 at 11:49 PM, Liviu Andronic landronim...@gmail.comwrote: On Tue, Mar 22, 2011 at 10:23 PM, Ronen Abravanel ron...@gmail.com wrote: How long should it be? A year ago I had one hour workshop on LyX in my I highly doubt that it would exceed an hour. department, and I

Re: tutorials / slides for seminars or workshops (was: 'Re: LyX Promotion')

2011-03-23 Thread Ronen Abravanel
On Tue, Mar 22, 2011 at 11:49 PM, Liviu Andronic <landronim...@gmail.com>wrote: > On Tue, Mar 22, 2011 at 10:23 PM, Ronen Abravanel <ron...@gmail.com> > wrote: > > How long should it be? A year ago I had one hour workshop on LyX in my > > > I highly d

Re: tutorials / slides for seminars or workshops (was: 'Re: LyX Promotion')

2011-03-22 Thread Ronen Abravanel
How long should it be? A year ago I had one hour workshop on LyX in my department, and I started with very short into on LaTeX and in what scene LyX is different from word, and then about 40 minutes of demonstration of what can I do and how can I do that. If there is nothing better, I can

Re: tutorials / slides for seminars or workshops (was: 'Re: LyX Promotion')

2011-03-22 Thread Ronen Abravanel
How long should it be? A year ago I had one hour workshop on LyX in my department, and I started with very short into on LaTeX and "in what scene LyX is different from word", and then about 40 minutes of demonstration of what can I do and how can I do that. If there is nothing better, I can

Bug in 2.0RC1? language changing change the language of already written text.

2011-03-08 Thread Ronen Abravanel
Hello, I started using LyX 2.0RC1, and by now, there is only one thing that bothers me: While I'm typing a document in one language, and then, when the cursor is right after the last word (with no space), I'm typing language hebrew in the minibuffer (or: using predefined shortcuts that commits

Re: Bug in 2.0RC1? language changing change the language of already written text.

2011-03-08 Thread Ronen Abravanel
the closing parentheses is english Thanks, Ronen. On Tue, Mar 8, 2011 at 6:18 PM, Stephan Witt st.w...@gmx.net wrote: Am 08.03.2011 um 16:51 schrieb Ronen Abravanel: Hello, I started using LyX 2.0RC1, and by now, there is only one thing that bothers me: While I'm typing a document in one

Re: Bug in 2.0RC1? language changing change the language of already written text.

2011-03-08 Thread Ronen Abravanel
Works grate for me... On Tue, Mar 8, 2011 at 10:54 PM, Stephan Witt st.w...@gmx.net wrote: Am 08.03.2011 um 17:36 schrieb Ronen Abravanel: My most common situation in which this is a problem is the following Hebrew text (English translation) more hebrew.. For most language, you

Bug in 2.0RC1? language changing change the language of already written text.

2011-03-08 Thread Ronen Abravanel
Hello, I started using LyX 2.0RC1, and by now, there is only one thing that bothers me: While I'm typing a document in one language, and then, when the cursor is right after the last word (with no space), I'm typing "language hebrew" in the minibuffer (or: using predefined shortcuts that

Re: Bug in 2.0RC1? language changing change the language of already written text.

2011-03-08 Thread Ronen Abravanel
ת. -- here the closing parentheses is english Thanks, Ronen. On Tue, Mar 8, 2011 at 6:18 PM, Stephan Witt <st.w...@gmx.net> wrote: > Am 08.03.2011 um 16:51 schrieb Ronen Abravanel: > > > Hello, > > > > I started using LyX 2.0RC1, and by now, there is only one thing

Re: Bug in 2.0RC1? language changing change the language of already written text.

2011-03-08 Thread Ronen Abravanel
Works grate for me... On Tue, Mar 8, 2011 at 10:54 PM, Stephan Witt <st.w...@gmx.net> wrote: > Am 08.03.2011 um 17:36 schrieb Ronen Abravanel: > > > My most common situation in which this is a problem is the following > > > > Hebrew text (English translation)

Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-12 Thread Ronen Abravanel
from the list. Crash almost every time. Any more details I can supply? Ronen. On Tue, Oct 12, 2010 at 1:09 AM, Stephan Witt st.w...@gmx.net wrote: Am 12.10.2010 um 03:16 schrieb Ronen Abravanel: Starting program: /home/ronen/dev/lyx/svn/lyx-devel/src/lyx [Thread debugging using libthread_db

Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-12 Thread Ronen Abravanel
Awesome. Works for me perfectly. Thanks! On Tue, Oct 12, 2010 at 3:09 PM, Stephan Witt st.w...@gmx.net wrote: Am 12.10.2010 um 19:00 schrieb John McCabe-Dansted: On Tue, Oct 12, 2010 at 10:43 PM, Ronen Abravanel ron...@mit.edu wrote: Any more details I can supply? No, I got

Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-12 Thread Ronen Abravanel
andom word from the list. Crash almost every time. Any more details I can supply? Ronen. On Tue, Oct 12, 2010 at 1:09 AM, Stephan Witt <st.w...@gmx.net> wrote: > Am 12.10.2010 um 03:16 schrieb Ronen Abravanel: > > > Starting program: /home/ronen/dev/lyx/svn/lyx-devel/src/lyx

Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-12 Thread Ronen Abravanel
Awesome. Works for me perfectly. Thanks! On Tue, Oct 12, 2010 at 3:09 PM, Stephan Witt <st.w...@gmx.net> wrote: > Am 12.10.2010 um 19:00 schrieb John McCabe-Dansted: > > > On Tue, Oct 12, 2010 at 10:43 PM, Ronen Abravanel <ron...@mit.edu> > wrote: > >> Any

LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-11 Thread Ronen Abravanel
Hi, I'm using SVN version from recent days, but this problem also accord in older versions: Sometime, when I'm right-clicking misspelled word with wiggly-red-line beneath, and then choose the correct word from the context menu, LyX crash. The output in the console is:

Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-11 Thread Ronen Abravanel
) at GuiApplication.cpp:1921 #73 0x081fedf3 in lyx::LyX::exec (this=0xb3b8, ar...@0xb3e0, argv=0xb484) at LyX.cpp:383 #74 0x08076dd0 in main (argc=1, argv=0xb484) at main.cpp:43 On Mon, Oct 11, 2010 at 5:57 PM, Pavel Sanda sa...@lyx.org wrote: Ronen Abravanel wrote: What can I do in order

LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-11 Thread Ronen Abravanel
Hi, I'm using SVN version from recent days, but this problem also accord in older versions: Sometime, when I'm right-clicking misspelled word with wiggly-red-line beneath, and then choose the correct word from the context menu, LyX crash. The output in the console is:

Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-11 Thread Ronen Abravanel
de in lyx::frontend::GuiApplication::exec (this=0x8c512c0) at GuiApplication.cpp:1921 #73 0x081fedf3 in lyx::LyX::exec (this=0xb3b8, ar...@0xb3e0, argv=0xb484) at LyX.cpp:383 #74 0x08076dd0 in main (argc=1, argv=0xb484) at main.cpp:43 On Mon, Oct 11, 2010 at 5:57 PM, Pavel Sa

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: 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

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: 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: 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

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

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 -- Pre

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

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: 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.

Patch: Diagram inset

2010-09-18 Thread Ronen Abravanel
://www.technion.ac.il/~ronen/latex/lyx_quantum.pdf http://www.technion.ac.il/~ronen/latex/lyx_quantum.lyx The patch is based on 2.0 Alpha 6, and based mostly on copied code from XYMatrix inset. I will appreciate comments regarding the patch. Is it too late to include it in 2.0? Thanks, Ronen Abravanel diff -rupN lyx

Re: Patch: Diagram inset

2010-09-18 Thread Ronen Abravanel
+ * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * \author Ronen Abravanel +* + * Full author contact details are available in file CREDITS. + */ + +#include config.h + +#include InsetMathDiagram.h + +#include

When preview is on

2010-09-18 Thread Ronen Abravanel
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? My second concern is the reason this mail is on

Patch: Diagram inset

2010-09-18 Thread Ronen Abravanel
ment: http://www.technion.ac.il/~ronen/latex/lyx_quantum.pdf http://www.technion.ac.il/~ronen/latex/lyx_quantum.lyx The patch is based on 2.0 Alpha 6, and based mostly on copied code from XYMatrix inset. I will appreciate comments regarding the patch. Is it too late to include it in 2.0? Thanks, Ronen Abravanel

Re: Patch: Diagram inset

2010-09-18 Thread Ronen Abravanel
ram.h \ mathed/MathAtom.h \ mathed/MathAutoCorrect.h \ mathed/MathData.h \ diff -rupN lyx-2.0.0alpha6/src/mathed/InsetMathDiagram.cpp lyx-2.0.0alpha6_feynFinal/src/mathed/InsetMathDiagram.cpp --- lyx-2.0.0alpha6/src/mathed/InsetMathDiagram.cpp 1969-12-31 19:00:00.0 -0500 +++

When preview is on

2010-09-18 Thread Ronen Abravanel
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? My second concern is the reason this mail is

Re: English section names in a Hebrew article: TOC bug

2010-05-30 Thread Ronen Abravanel
On Sun, May 30, 2010 at 2:14 AM, Enrico Forestieri for...@lyx.org wrote: On Sat, May 29, 2010 at 09:37:15PM +0300, Amir Rachum wrote: This works, and I already use this sort of workaround (only with an empty math-mode). However, when I do this, it prints the section header (in the section

Re: English section names in a Hebrew article: TOC bug

2010-05-30 Thread Ronen Abravanel
On Sun, May 30, 2010 at 2:14 AM, Enrico Forestieri wrote: > On Sat, May 29, 2010 at 09:37:15PM +0300, Amir Rachum wrote: > > > This works, and I already use this sort of workaround (only with an empty > > math-mode). > > However, when I do this, it prints the section header (in

Re: I want to add Feyn support to LyX, and I need some guidance

2009-12-09 Thread Ronen Abravanel
On Wed, Dec 9, 2009 at 1:13 AM, Pavel Sanda sa...@lyx.org wrote: Ronen Abravanel wrote: One case: \feyn{fs f gl f glu f fs} I can't add spaces.. And they are important argh.. and ctrl+space can't be used? is suppose no :( in any case this looks like that you want to enhance math inset

Re: I want to add Feyn support to LyX, and I need some guidance

2009-12-09 Thread Ronen Abravanel
On Wed, Dec 9, 2009 at 1:13 AM, Pavel Sanda <sa...@lyx.org> wrote: > Ronen Abravanel wrote: > > One case: > > \feyn{fs f gl f glu f fs} > > > > I can't add spaces.. And they are important > > argh.. and ctrl+space can't be used? is suppose no :( >

Re: I want to add Feyn support to LyX, and I need some guidance

2009-12-08 Thread Ronen Abravanel
wrote: Ronen Abravanel wrote: One of the fun thing about this package, is that it's enable you to add your diagrams as part of an equation. So, if I want to write, like \frac{Diagram...}{Other Diagram} + ... and stuff, It will be much more continent In math-mode. i still dont

Re: I want to add Feyn support to LyX, and I need some guidance

2009-12-08 Thread Ronen Abravanel
: Ronen Abravanel wrote: It would be, If I could insert ERT *inside* math mode, like $\frac{\sqrt{ put my diagrams or inset or ERT or somethig here.. }}{6} \\A lot more math,,$ can you show me the code, which you are not able to put into math? all those latex \macros can be typed

Re: I want to add Feyn support to LyX, and I need some guidance

2009-12-08 Thread Ronen Abravanel
It would be, If I could insert ERT *inside* math mode, like $\frac{\sqrt{ }}{6} \\A lot more math,,$ I can put all my math as ERT. But I can also write all my document in plain LaTeX... On Tue, Dec 8, 2009 at 10:26 PM, Pavel Sanda <sa...@lyx.org> wrote: > Ronen Abravanel wrote

Re: I want to add Feyn support to LyX, and I need some guidance

2009-12-08 Thread Ronen Abravanel
, Pavel Sanda <sa...@lyx.org> wrote: > Ronen Abravanel wrote: > > It would be, If I could insert ERT *inside* math mode, like > > $\frac{\sqrt{ }}{6} > > \\A lot more math,,$ > > can you show me the code, which you are not able to put into math? > all those latex \macros can be typed there. > > pavel >

I want to add Feyn support to LyX, and I need some guidance

2009-12-05 Thread Ronen Abravanel
Feyn is a Feynman diagram package for latex. (Feynman diagrams: http://en.wikipedia.org/wiki/Feynman_diagram, Feyn: http://nxg.me.uk/dist/feyn/. Here is some examples: http://ctan.org/tex-archive/fonts/feyn/feyn.pdf) Basically, it's a font and several macros, that allow the user to type some

Re: I want to add Feyn support to LyX, and I need some guidance

2009-12-05 Thread Ronen Abravanel
instant preview instead of replacing fonts. But the name-changed text inset can not be too complicated, as it works just fine with \renewcommand{\text}{\Feyn} Aside of the fact it disable my \text inset.. On Sun, Dec 6, 2009 at 1:29 AM, Pavel Sanda sa...@lyx.org wrote: Ronen Abravanel wrote: I'll

I want to add Feyn support to LyX, and I need some guidance

2009-12-05 Thread Ronen Abravanel
Feyn is a Feynman diagram package for latex. (Feynman diagrams: http://en.wikipedia.org/wiki/Feynman_diagram, Feyn: http://nxg.me.uk/dist/feyn/. Here is some examples: http://ctan.org/tex-archive/fonts/feyn/feyn.pdf) Basically, it's a font and several macros, that allow the user to type some

Re: I want to add Feyn support to LyX, and I need some guidance

2009-12-05 Thread Ronen Abravanel
-- Yo use instant preview instead of replacing fonts. But the "name-changed text inset" can not be too complicated, as it works just fine with "\renewcommand{\text}{\Feyn}" Aside of the fact it disable my "\text" inset.. On Sun, Dec 6, 2009 at 1:29 AM, Pavel Sanda &