Re: How to avoid Macro pop-up?

2007-11-06 Thread Abdelrazak Younes

sebastian guttenberg wrote:
How are you going to modify the macro argument if the macro is not 
expanded? And what do you mean by there seems to be a way to avoid

 that? Abdel.


Hi Abdel. I just want to modify the arguments and not the macro
itself and therefore it is enough that the arguments are visible and
modifiable.


OK, I understand your argumentation but I am not sure what you describe 
is possible in all cases.


Disclaimer: I am far from an expert WRT macro so what I say below might 
not be correct.


The problem, AFAIU, is that sometimes the argument is hidden within the 
macro and you cannot easily access it your suggested way. Anyway, the 
math macro architecture has been basically rewritten in the development 
version; it is now much more powerful thanks to Stefan Schimanski. So I 
encourage you to try this version and provide us with comments on the 
devel list.


Thanks,
Abdel.



Re: How to avoid Macro pop-up?

2007-11-06 Thread Abdelrazak Younes

sebastian guttenberg wrote:


Anyway, the math macro architecture has been basically rewritten in
the development version; it is now much more powerful thanks to Stefan
Schimanski. So I encourage you to try this version and provide us with
comments on the devel list.


That's very interesting information! I am a bit hesitating, because I am
a bit afraid of working with unstable versions with the danger of
loosing data, but I might give it a try.


Stefan has a personal version of 1.5 with the macro rework if you prefer 
that. It's available in:


svn://svn.lyx.org/lyx/lyx-devel/branches/personal/sts/dynmacro

But I don't know if this has all the fixes of current 1.5 branch.

Abdel.



Re: How to avoid Macro pop-up?

2007-11-06 Thread sebastian guttenberg
Hi Abdel
Thanks for your reply!

 The problem, AFAIU, is that sometimes the argument is hidden within
 the macro and you cannot easily access it your suggested way.

Hm. I would probably agree that there might be problems, if I didn't
know that it was different in earlier versions (and Andre has confirmed
that). Also I really thought that in version 1.5.2. one can switch the
behaviour... strange that nobody can confirm this...

 Anyway, the math macro architecture has been basically rewritten in
 the development version; it is now much more powerful thanks to Stefan
 Schimanski. So I encourage you to try this version and provide us with
 comments on the devel list.

That's very interesting information! I am a bit hesitating, because I am
a bit afraid of working with unstable versions with the danger of
loosing data, but I might give it a try.
Thanks again! Sebastian


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How to avoid Macro pop-up?

2007-11-06 Thread sebastian guttenberg
 Stefan has a personal version of 1.5 with the macro rework if you 
 prefer that. It's available in:
 svn://svn.lyx.org/lyx/lyx-devel/branches/personal/sts/dynmacro

Thanks again! Unfortunately I have no support for the protocoll svn. 
Do I need to install all the subversion packages to make that work?


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How to avoid Macro pop-up?

2007-11-06 Thread James Sutherland
If you are using linux or mac, svn is typically installed.

On windows, the best SVN client I have seen by far is
http://tortoisesvn.tigris.org/

This has a natural interface through windows explorer.

James



On 11/6/07 8:07 AM, sebastian guttenberg [EMAIL PROTECTED]
wrote:

 Stefan has a personal version of 1.5 with the macro rework if you
 prefer that. It's available in:
 svn://svn.lyx.org/lyx/lyx-devel/branches/personal/sts/dynmacro
 
 Thanks again! Unfortunately I have no support for the protocoll svn.
 Do I need to install all the subversion packages to make that work?
 


Re: How to avoid Macro pop-up?

2007-11-06 Thread sebastian guttenberg
Hi James!

 If you are using linux or mac, svn is typically installed.

I am using linux (Ubuntu Feisty Fawn), and my Firefox complains:
Firefox doesn't know how to open this address, because the protocoll
(svn) isn't associated with any program
Of course I then had a look which packages are related with svn (or
subversion), but there are plenty and I am wondering what is the minimum
I need to install?



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How to avoid Macro pop-up?

2007-11-06 Thread James Sutherland
svn is driven at the command line.

Command syntax to check out code:
svn checkout URL dest
Where you should replace URL by the location (server) where you want to
check out from and dest is where you want it put on your machine.

Look at http://svnbook.red-bean.com/ for more helpful information.

James


On 11/6/07 9:38 AM, sebastian guttenberg [EMAIL PROTECTED]
wrote:

 Hi James!
 
 If you are using linux or mac, svn is typically installed.
 
 I am using linux (Ubuntu Feisty Fawn), and my Firefox complains:
 Firefox doesn't know how to open this address, because the protocoll
 (svn) isn't associated with any program
 Of course I then had a look which packages are related with svn (or
 subversion), but there are plenty and I am wondering what is the minimum
 I need to install?
 
 


Re: How to avoid Macro pop-up?

2007-11-06 Thread Andre Poenitz
On Tue, Nov 06, 2007 at 09:42:26AM +0200, sebastian guttenberg wrote:
  Guess what, the possibility was there all the time. It was called
  'locking' and usually accessed by typing Ctrl-I.
 
 Hi Andre! Very nice that you reply! I was aware of Ctrl-I (actually I
 mentioned it just in my last post of this thread
 http://www.mail-archive.com/lyx-users@lists.lyx.org/msg59864.html , at
 the very end of it).  I learned about Ctrl-I from you three years ago,
 when you answered to a long list of suggestions of mine in
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg70338.html .
 But Ctrl-I is not what I mean, because I want to navigate through the
 arguments. And now I am really puzzled that even you don't know about
 the possibility to switch off the pop-up-feature while still being
 able to enter the argument. The reason why I am so insisting is only
 that my lyx 1.5.2 was for a while behaving exactly in this way!! I
 want this back! It's like knowing there is free beer around, and
 nobody tells you, where! ;-) Sorry, perhaps you will tell me that I
 was just halluzinating, when I believed to see this behaviour, but in
 case there is a chance to switch this behaviour, could you please find
 out for me? It is really important for me.  Thanks for reading,
 Sebastian
 
 P.S.: If you don't see why this is so important for me, I can send you
 a sample file...

Try recent svn. There has been a complete overhaul of the macro stuff
by Stefan Schimanski that was recently merged into the current
development version.

Andre'


Re: How to avoid Macro pop-up?

2007-11-06 Thread Andre Poenitz
On Tue, Nov 06, 2007 at 05:07:37PM +0200, sebastian guttenberg wrote:
  Stefan has a personal version of 1.5 with the macro rework if you 
  prefer that. It's available in:
  svn://svn.lyx.org/lyx/lyx-devel/branches/personal/sts/dynmacro
 
 Thanks again! Unfortunately I have no support for the protocoll svn. 
 Do I need to install all the subversion packages to make that work?

A client is enough.

Andre'


Re: How to avoid Macro pop-up?

2007-11-06 Thread Stefan Schimanski

Hello!

First about the popups: I think in 1.5.x, if they don't appear it's a  
bug in the rendering code in fact because the math mode does not  
detect the cursor correctly going into the macro.


The behaviour that macros popup was the starting point for me to think  
about redoing the LyX macro code. In my thesis I define terms with a  
lot of macros and moreover a lot of macro nesting. With the macro  
editing bahaviour in 1.5.x the vertical space grows exponentially with  
the nesting depth. So you need a very big screen if you want to nest  
them more than a few times.


The new approach is discussed on http://wiki.lyx.org/Devel/Macros.  
Meanwhile the option D is implemented in the development version. Some  
time ago I did a screencast at http://www.youtube.com/watch?v=68Gys4rp3u4 
 . You can see there how the macros are looking and bahaving now in  
the svn repository.


It seems that there is still interest in the old list-like editing  
bahaviour by some people. So probably you will have the choice between  
both.


As Abdel pointed out there is the branch of the 1.5 version where I  
developed all this. It's not very up to date. In fact I am not even  
sure that it compiles because I tried the merge to the 1.6 version  
there at the beginning. Not sure whether I reverted properly.


If you have suggestions for improvements, please tell me. Now is the  
time to think about how to get it right. I use the code frequently in  
my work and I am mostly happy with them. But there is certainly room  
for improvements.


Regards,
  Stefan

Am 02.11.2007 um 19:25 schrieb sebastian guttenberg:


Hi lyx-team (Or others)!
Thanks for the great work! I was about to post a couple of bug-reports
and suggestions about the 1.4-version, and discovered yesterday that  
my
system is out of date and that 1.5 has fixed a lot of problems and  
added

very nice features! Nevertheless, I guess I will contribute frequently
now feedbacks and perhaps bug-reports to these formus. So hope you  
will

appreciate ;-)
But for now, I have only one silly question: I was absolutely happy to
see that math-macros do not any longer pop up automatically when one
navigates through them  (something that annoyed me very much in the
past). But by chance I have changed this feature (don't know how), and
the macros are popping up again :-(
Please, can anybody tell me, how to switch this off???
Thanks a lot, Sebastian


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





Re: How to avoid Macro pop-up?

2007-11-06 Thread sebastian guttenberg
Hi Stefan! 
Thanks a lot for this great news! First of all, it's a great relief to
hear that I am probably not driving crazy, because you consider the
possibility of a bug in 1.5.2 being responsible for the behaviour that I
would like to have. Just a pitty that this nice bug disappeared ;-)
Apart from that I had a look at your you-tube video and I really find it
great! Thanks also for the link to the lyx-wiki entry. I had not found
it before, although I was looking in the lyx-wiki for
math-macro (though not for macros).
So what can I do now to make further suggestions. As far as I could see,
all what I had in mind (about macros) is already implemented, but to
really see that, it would be fine to use it.
What is your advice. Shall I compile the development version, or try to
compile your own branch? Or shall I wait for the next release?
And in case I have suggestions. Where shall I post them? At the wiki or
at the dev-mailing list?
Regards, Sebastian

P.S.: Greetings to Theresienstrasse (have done my diploma thesis in
physics there).



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How to avoid Macro pop-up?

2007-11-06 Thread Stefan Schimanski

Hallo!

So what can I do now to make further suggestions. As far as I could  
see,

all what I had in mind (about macros) is already implemented, but to
really see that, it would be fine to use it.
What is your advice. Shall I compile the development version, or try  
to

compile your own branch? Or shall I wait for the next release?


The branch was only for 1.5. I don't use it anymore. I do development  
now in the trunk, i.e. the 1.6 development version.


I use the 1.6 trunk for my thesis, but you should backup often. It's  
not so stable sometimes. But for testing the new features compiling is  
the only way.


And in case I have suggestions. Where shall I post them? At the wiki  
or

at the dev-mailing list?
Regards, Sebastian


I would prefer the mailing list, with cc to me. Then others can join  
the discussion.



P.S.: Greetings to Theresienstrasse (have done my diploma thesis in
physics there).


the world is small :)

Stefan


Re: How to avoid Macro pop-up?

2007-11-06 Thread Abdelrazak Younes

sebastian guttenberg wrote:
How are you going to modify the macro argument if the macro is not 
expanded? And what do you mean by there seems to be a way to avoid

 that? Abdel.


Hi Abdel. I just want to modify the arguments and not the macro
itself and therefore it is enough that the arguments are visible and
modifiable.


OK, I understand your argumentation but I am not sure what you describe 
is possible in all cases.


Disclaimer: I am far from an expert WRT macro so what I say below might 
not be correct.


The problem, AFAIU, is that sometimes the argument is hidden within the 
macro and you cannot easily access it your suggested way. Anyway, the 
math macro architecture has been basically rewritten in the development 
version; it is now much more powerful thanks to Stefan Schimanski. So I 
encourage you to try this version and provide us with comments on the 
devel list.


Thanks,
Abdel.



Re: How to avoid Macro pop-up?

2007-11-06 Thread Abdelrazak Younes

sebastian guttenberg wrote:


Anyway, the math macro architecture has been basically rewritten in
the development version; it is now much more powerful thanks to Stefan
Schimanski. So I encourage you to try this version and provide us with
comments on the devel list.


That's very interesting information! I am a bit hesitating, because I am
a bit afraid of working with unstable versions with the danger of
loosing data, but I might give it a try.


Stefan has a personal version of 1.5 with the macro rework if you prefer 
that. It's available in:


svn://svn.lyx.org/lyx/lyx-devel/branches/personal/sts/dynmacro

But I don't know if this has all the fixes of current 1.5 branch.

Abdel.



Re: How to avoid Macro pop-up?

2007-11-06 Thread sebastian guttenberg
Hi Abdel
Thanks for your reply!

 The problem, AFAIU, is that sometimes the argument is hidden within
 the macro and you cannot easily access it your suggested way.

Hm. I would probably agree that there might be problems, if I didn't
know that it was different in earlier versions (and Andre has confirmed
that). Also I really thought that in version 1.5.2. one can switch the
behaviour... strange that nobody can confirm this...

 Anyway, the math macro architecture has been basically rewritten in
 the development version; it is now much more powerful thanks to Stefan
 Schimanski. So I encourage you to try this version and provide us with
 comments on the devel list.

That's very interesting information! I am a bit hesitating, because I am
a bit afraid of working with unstable versions with the danger of
loosing data, but I might give it a try.
Thanks again! Sebastian


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How to avoid Macro pop-up?

2007-11-06 Thread sebastian guttenberg
 Stefan has a personal version of 1.5 with the macro rework if you 
 prefer that. It's available in:
 svn://svn.lyx.org/lyx/lyx-devel/branches/personal/sts/dynmacro

Thanks again! Unfortunately I have no support for the protocoll svn. 
Do I need to install all the subversion packages to make that work?


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How to avoid Macro pop-up?

2007-11-06 Thread James Sutherland
If you are using linux or mac, svn is typically installed.

On windows, the best SVN client I have seen by far is
http://tortoisesvn.tigris.org/

This has a natural interface through windows explorer.

James



On 11/6/07 8:07 AM, sebastian guttenberg [EMAIL PROTECTED]
wrote:

 Stefan has a personal version of 1.5 with the macro rework if you
 prefer that. It's available in:
 svn://svn.lyx.org/lyx/lyx-devel/branches/personal/sts/dynmacro
 
 Thanks again! Unfortunately I have no support for the protocoll svn.
 Do I need to install all the subversion packages to make that work?
 


Re: How to avoid Macro pop-up?

2007-11-06 Thread sebastian guttenberg
Hi James!

 If you are using linux or mac, svn is typically installed.

I am using linux (Ubuntu Feisty Fawn), and my Firefox complains:
Firefox doesn't know how to open this address, because the protocoll
(svn) isn't associated with any program
Of course I then had a look which packages are related with svn (or
subversion), but there are plenty and I am wondering what is the minimum
I need to install?



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How to avoid Macro pop-up?

2007-11-06 Thread James Sutherland
svn is driven at the command line.

Command syntax to check out code:
svn checkout URL dest
Where you should replace URL by the location (server) where you want to
check out from and dest is where you want it put on your machine.

Look at http://svnbook.red-bean.com/ for more helpful information.

James


On 11/6/07 9:38 AM, sebastian guttenberg [EMAIL PROTECTED]
wrote:

 Hi James!
 
 If you are using linux or mac, svn is typically installed.
 
 I am using linux (Ubuntu Feisty Fawn), and my Firefox complains:
 Firefox doesn't know how to open this address, because the protocoll
 (svn) isn't associated with any program
 Of course I then had a look which packages are related with svn (or
 subversion), but there are plenty and I am wondering what is the minimum
 I need to install?
 
 


Re: How to avoid Macro pop-up?

2007-11-06 Thread Andre Poenitz
On Tue, Nov 06, 2007 at 09:42:26AM +0200, sebastian guttenberg wrote:
  Guess what, the possibility was there all the time. It was called
  'locking' and usually accessed by typing Ctrl-I.
 
 Hi Andre! Very nice that you reply! I was aware of Ctrl-I (actually I
 mentioned it just in my last post of this thread
 http://www.mail-archive.com/lyx-users@lists.lyx.org/msg59864.html , at
 the very end of it).  I learned about Ctrl-I from you three years ago,
 when you answered to a long list of suggestions of mine in
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg70338.html .
 But Ctrl-I is not what I mean, because I want to navigate through the
 arguments. And now I am really puzzled that even you don't know about
 the possibility to switch off the pop-up-feature while still being
 able to enter the argument. The reason why I am so insisting is only
 that my lyx 1.5.2 was for a while behaving exactly in this way!! I
 want this back! It's like knowing there is free beer around, and
 nobody tells you, where! ;-) Sorry, perhaps you will tell me that I
 was just halluzinating, when I believed to see this behaviour, but in
 case there is a chance to switch this behaviour, could you please find
 out for me? It is really important for me.  Thanks for reading,
 Sebastian
 
 P.S.: If you don't see why this is so important for me, I can send you
 a sample file...

Try recent svn. There has been a complete overhaul of the macro stuff
by Stefan Schimanski that was recently merged into the current
development version.

Andre'


Re: How to avoid Macro pop-up?

2007-11-06 Thread Andre Poenitz
On Tue, Nov 06, 2007 at 05:07:37PM +0200, sebastian guttenberg wrote:
  Stefan has a personal version of 1.5 with the macro rework if you 
  prefer that. It's available in:
  svn://svn.lyx.org/lyx/lyx-devel/branches/personal/sts/dynmacro
 
 Thanks again! Unfortunately I have no support for the protocoll svn. 
 Do I need to install all the subversion packages to make that work?

A client is enough.

Andre'


Re: How to avoid Macro pop-up?

2007-11-06 Thread Stefan Schimanski

Hello!

First about the popups: I think in 1.5.x, if they don't appear it's a  
bug in the rendering code in fact because the math mode does not  
detect the cursor correctly going into the macro.


The behaviour that macros popup was the starting point for me to think  
about redoing the LyX macro code. In my thesis I define terms with a  
lot of macros and moreover a lot of macro nesting. With the macro  
editing bahaviour in 1.5.x the vertical space grows exponentially with  
the nesting depth. So you need a very big screen if you want to nest  
them more than a few times.


The new approach is discussed on http://wiki.lyx.org/Devel/Macros.  
Meanwhile the option D is implemented in the development version. Some  
time ago I did a screencast at http://www.youtube.com/watch?v=68Gys4rp3u4 
 . You can see there how the macros are looking and bahaving now in  
the svn repository.


It seems that there is still interest in the old list-like editing  
bahaviour by some people. So probably you will have the choice between  
both.


As Abdel pointed out there is the branch of the 1.5 version where I  
developed all this. It's not very up to date. In fact I am not even  
sure that it compiles because I tried the merge to the 1.6 version  
there at the beginning. Not sure whether I reverted properly.


If you have suggestions for improvements, please tell me. Now is the  
time to think about how to get it right. I use the code frequently in  
my work and I am mostly happy with them. But there is certainly room  
for improvements.


Regards,
  Stefan

Am 02.11.2007 um 19:25 schrieb sebastian guttenberg:


Hi lyx-team (Or others)!
Thanks for the great work! I was about to post a couple of bug-reports
and suggestions about the 1.4-version, and discovered yesterday that  
my
system is out of date and that 1.5 has fixed a lot of problems and  
added

very nice features! Nevertheless, I guess I will contribute frequently
now feedbacks and perhaps bug-reports to these formus. So hope you  
will

appreciate ;-)
But for now, I have only one silly question: I was absolutely happy to
see that math-macros do not any longer pop up automatically when one
navigates through them  (something that annoyed me very much in the
past). But by chance I have changed this feature (don't know how), and
the macros are popping up again :-(
Please, can anybody tell me, how to switch this off???
Thanks a lot, Sebastian


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





Re: How to avoid Macro pop-up?

2007-11-06 Thread sebastian guttenberg
Hi Stefan! 
Thanks a lot for this great news! First of all, it's a great relief to
hear that I am probably not driving crazy, because you consider the
possibility of a bug in 1.5.2 being responsible for the behaviour that I
would like to have. Just a pitty that this nice bug disappeared ;-)
Apart from that I had a look at your you-tube video and I really find it
great! Thanks also for the link to the lyx-wiki entry. I had not found
it before, although I was looking in the lyx-wiki for
math-macro (though not for macros).
So what can I do now to make further suggestions. As far as I could see,
all what I had in mind (about macros) is already implemented, but to
really see that, it would be fine to use it.
What is your advice. Shall I compile the development version, or try to
compile your own branch? Or shall I wait for the next release?
And in case I have suggestions. Where shall I post them? At the wiki or
at the dev-mailing list?
Regards, Sebastian

P.S.: Greetings to Theresienstrasse (have done my diploma thesis in
physics there).



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How to avoid Macro pop-up?

2007-11-06 Thread Stefan Schimanski

Hallo!

So what can I do now to make further suggestions. As far as I could  
see,

all what I had in mind (about macros) is already implemented, but to
really see that, it would be fine to use it.
What is your advice. Shall I compile the development version, or try  
to

compile your own branch? Or shall I wait for the next release?


The branch was only for 1.5. I don't use it anymore. I do development  
now in the trunk, i.e. the 1.6 development version.


I use the 1.6 trunk for my thesis, but you should backup often. It's  
not so stable sometimes. But for testing the new features compiling is  
the only way.


And in case I have suggestions. Where shall I post them? At the wiki  
or

at the dev-mailing list?
Regards, Sebastian


I would prefer the mailing list, with cc to me. Then others can join  
the discussion.



P.S.: Greetings to Theresienstrasse (have done my diploma thesis in
physics there).


the world is small :)

Stefan


Re: How to avoid Macro pop-up?

2007-11-06 Thread Abdelrazak Younes

sebastian guttenberg wrote:
How are you going to modify the macro argument if the macro is not 
expanded? And what do you mean by "there seems to be a way to avoid

 that"? Abdel.


Hi Abdel. I just want to modify the arguments and not the macro
itself and therefore it is enough that the arguments are visible and
modifiable.


OK, I understand your argumentation but I am not sure what you describe 
is possible in all cases.


Disclaimer: I am far from an expert WRT macro so what I say below might 
not be correct.


The problem, AFAIU, is that sometimes the argument is hidden within the 
macro and you cannot easily access it your suggested way. Anyway, the 
math macro architecture has been basically rewritten in the development 
version; it is now much more powerful thanks to Stefan Schimanski. So I 
encourage you to try this version and provide us with comments on the 
devel list.


Thanks,
Abdel.



Re: How to avoid Macro pop-up?

2007-11-06 Thread Abdelrazak Younes

sebastian guttenberg wrote:


Anyway, the math macro architecture has been basically rewritten in
the development version; it is now much more powerful thanks to Stefan
Schimanski. So I encourage you to try this version and provide us with
comments on the devel list.


That's very interesting information! I am a bit hesitating, because I am
a bit afraid of working with unstable versions with the danger of
loosing data, but I might give it a try.


Stefan has a personal version of 1.5 with the macro rework if you prefer 
that. It's available in:


svn://svn.lyx.org/lyx/lyx-devel/branches/personal/sts/dynmacro

But I don't know if this has all the fixes of current 1.5 branch.

Abdel.



Re: How to avoid Macro pop-up?

2007-11-06 Thread sebastian guttenberg
Hi Abdel
Thanks for your reply!

> The problem, AFAIU, is that sometimes the argument is hidden within
> the macro and you cannot easily access it your suggested way.

Hm. I would probably agree that there might be problems, if I didn't
know that it was different in earlier versions (and Andre has confirmed
that). Also I really thought that in version 1.5.2. one can switch the
behaviour... strange that nobody can confirm this...

> Anyway, the math macro architecture has been basically rewritten in
> the development version; it is now much more powerful thanks to Stefan
> Schimanski. So I encourage you to try this version and provide us with
> comments on the devel list.

That's very interesting information! I am a bit hesitating, because I am
a bit afraid of working with unstable versions with the danger of
loosing data, but I might give it a try.
Thanks again! Sebastian


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How to avoid Macro pop-up?

2007-11-06 Thread sebastian guttenberg
> Stefan has a personal version of 1.5 with the macro rework if you 
> prefer that. It's available in:
> svn://svn.lyx.org/lyx/lyx-devel/branches/personal/sts/dynmacro

Thanks again! Unfortunately I have no support for the protocoll svn. 
Do I need to install all the subversion packages to make that work?


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How to avoid Macro pop-up?

2007-11-06 Thread James Sutherland
If you are using linux or mac, svn is typically installed.

On windows, the best SVN client I have seen by far is
http://tortoisesvn.tigris.org/

This has a natural interface through windows explorer.

James



On 11/6/07 8:07 AM, "sebastian guttenberg" <[EMAIL PROTECTED]>
wrote:

>> Stefan has a personal version of 1.5 with the macro rework if you
>> prefer that. It's available in:
>> svn://svn.lyx.org/lyx/lyx-devel/branches/personal/sts/dynmacro
> 
> Thanks again! Unfortunately I have no support for the protocoll svn.
> Do I need to install all the subversion packages to make that work?
> 


Re: How to avoid Macro pop-up?

2007-11-06 Thread sebastian guttenberg
Hi James!

> If you are using linux or mac, svn is typically installed.

I am using linux (Ubuntu Feisty Fawn), and my Firefox complains:
"Firefox doesn't know how to open this address, because the protocoll
(svn) isn't associated with any program"
Of course I then had a look which packages are related with svn (or
subversion), but there are plenty and I am wondering what is the minimum
I need to install?



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How to avoid Macro pop-up?

2007-11-06 Thread James Sutherland
svn is driven at the command line.

Command syntax to check out code:
svn checkout  
Where you should replace  by the location (server) where you want to
check out from and  is where you want it put on your machine.

Look at http://svnbook.red-bean.com/ for more helpful information.

James


On 11/6/07 9:38 AM, "sebastian guttenberg" <[EMAIL PROTECTED]>
wrote:

> Hi James!
> 
>> If you are using linux or mac, svn is typically installed.
> 
> I am using linux (Ubuntu Feisty Fawn), and my Firefox complains:
> "Firefox doesn't know how to open this address, because the protocoll
> (svn) isn't associated with any program"
> Of course I then had a look which packages are related with svn (or
> subversion), but there are plenty and I am wondering what is the minimum
> I need to install?
> 
> 


Re: How to avoid Macro pop-up?

2007-11-06 Thread Andre Poenitz
On Tue, Nov 06, 2007 at 09:42:26AM +0200, sebastian guttenberg wrote:
> > Guess what, the possibility was there all the time. It was called
> > 'locking' and usually accessed by typing Ctrl-I.
> 
> Hi Andre! Very nice that you reply! I was aware of Ctrl-I (actually I
> mentioned it just in my last post of this thread
> http://www.mail-archive.com/lyx-users@lists.lyx.org/msg59864.html , at
> the very end of it).  I learned about Ctrl-I from you three years ago,
> when you answered to a long list of suggestions of mine in
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg70338.html .
> But Ctrl-I is not what I mean, because I want to navigate through the
> arguments. And now I am really puzzled that even you don't know about
> the possibility to switch off the pop-up-feature while still being
> able to enter the argument. The reason why I am so insisting is only
> that my lyx 1.5.2 was for a while behaving exactly in this way!! I
> want this back! It's like knowing there is free beer around, and
> nobody tells you, where! ;-) Sorry, perhaps you will tell me that I
> was just halluzinating, when I believed to see this behaviour, but in
> case there is a chance to switch this behaviour, could you please find
> out for me? It is really important for me.  Thanks for reading,
> Sebastian
> 
> P.S.: If you don't see why this is so important for me, I can send you
> a sample file...

Try recent svn. There has been a complete overhaul of the macro stuff
by Stefan Schimanski that was recently merged into the current
development version.

Andre'


Re: How to avoid Macro pop-up?

2007-11-06 Thread Andre Poenitz
On Tue, Nov 06, 2007 at 05:07:37PM +0200, sebastian guttenberg wrote:
> > Stefan has a personal version of 1.5 with the macro rework if you 
> > prefer that. It's available in:
> > svn://svn.lyx.org/lyx/lyx-devel/branches/personal/sts/dynmacro
> 
> Thanks again! Unfortunately I have no support for the protocoll svn. 
> Do I need to install all the subversion packages to make that work?

A client is enough.

Andre'


Re: How to avoid Macro pop-up?

2007-11-06 Thread Stefan Schimanski

Hello!

First about the popups: I think in 1.5.x, if they don't appear it's a  
bug in the rendering code in fact because the math mode does not  
detect the cursor correctly going into the macro.


The behaviour that macros popup was the starting point for me to think  
about redoing the LyX macro code. In my thesis I define terms with a  
lot of macros and moreover a lot of macro nesting. With the macro  
editing bahaviour in 1.5.x the vertical space grows exponentially with  
the nesting depth. So you need a very big screen if you want to nest  
them more than a few times.


The new approach is discussed on http://wiki.lyx.org/Devel/Macros.  
Meanwhile the option D is implemented in the development version. Some  
time ago I did a screencast at http://www.youtube.com/watch?v=68Gys4rp3u4 
 . You can see there how the macros are looking and bahaving now in  
the svn repository.


It seems that there is still interest in the old list-like editing  
bahaviour by some people. So probably you will have the choice between  
both.


As Abdel pointed out there is the branch of the 1.5 version where I  
developed all this. It's not very up to date. In fact I am not even  
sure that it compiles because I tried the merge to the 1.6 version  
there at the beginning. Not sure whether I reverted properly.


If you have suggestions for improvements, please tell me. Now is the  
time to think about how to get it right. I use the code frequently in  
my work and I am mostly happy with them. But there is certainly room  
for improvements.


Regards,
  Stefan

Am 02.11.2007 um 19:25 schrieb sebastian guttenberg:


Hi lyx-team (Or others)!
Thanks for the great work! I was about to post a couple of bug-reports
and suggestions about the 1.4-version, and discovered yesterday that  
my
system is out of date and that 1.5 has fixed a lot of problems and  
added

very nice features! Nevertheless, I guess I will contribute frequently
now feedbacks and perhaps bug-reports to these formus. So hope you  
will

appreciate ;-)
But for now, I have only one silly question: I was absolutely happy to
see that math-macros do not any longer pop up automatically when one
navigates through them  (something that annoyed me very much in the
past). But by chance I have changed this feature (don't know how), and
the macros are popping up again :-(
Please, can anybody tell me, how to switch this off???
Thanks a lot, Sebastian


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





Re: How to avoid Macro pop-up?

2007-11-06 Thread sebastian guttenberg
Hi Stefan! 
Thanks a lot for this great news! First of all, it's a great relief to
hear that I am probably not driving crazy, because you consider the
possibility of a bug in 1.5.2 being responsible for the behaviour that I
would like to have. Just a pitty that this nice bug disappeared ;-)
Apart from that I had a look at your you-tube video and I really find it
great! Thanks also for the link to the lyx-wiki entry. I had not found
it before, although I was looking in the lyx-wiki for
"math-macro" (though not for "macros").
So what can I do now to make further suggestions. As far as I could see,
all what I had in mind (about macros) is already implemented, but to
really see that, it would be fine to use it.
What is your advice. Shall I compile the development version, or try to
compile your own branch? Or shall I wait for the next release?
And in case I have suggestions. Where shall I post them? At the wiki or
at the dev-mailing list?
Regards, Sebastian

P.S.: Greetings to Theresienstrasse (have done my diploma thesis in
physics there).



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How to avoid Macro pop-up?

2007-11-06 Thread Stefan Schimanski

Hallo!

So what can I do now to make further suggestions. As far as I could  
see,

all what I had in mind (about macros) is already implemented, but to
really see that, it would be fine to use it.
What is your advice. Shall I compile the development version, or try  
to

compile your own branch? Or shall I wait for the next release?


The branch was only for 1.5. I don't use it anymore. I do development  
now in the trunk, i.e. the 1.6 development version.


I use the 1.6 trunk for my thesis, but you should backup often. It's  
not so stable sometimes. But for testing the new features compiling is  
the only way.


And in case I have suggestions. Where shall I post them? At the wiki  
or

at the dev-mailing list?
Regards, Sebastian


I would prefer the mailing list, with cc to me. Then others can join  
the discussion.



P.S.: Greetings to Theresienstrasse (have done my diploma thesis in
physics there).


the world is small :)

Stefan


Re: How to avoid Macro pop-up?

2007-11-05 Thread sebastian guttenberg
I sent the following reply to Brian a while ago. Forgot to carbon-copy it to 
the list. 
Please, the problem is still open, and I am sure that there is a simple 
solution. If somebody knows, please let me know!

Hi Brian!
Thanks a lot for the quick answer, but I'm afraid we mean s.th.
different. I didn't mean the panels which pop up, but I meant the
self-defined math-macros. So for example, when I have defined in the
command line (alt-x)
math-macro justastupidexample 1, and then I enter in mathmode my new
macro \justastupidexample test, then - whenever the cursor crosses the
macro, it pops up and the whole stupid name of the macro becomes
visible. This was a new (annoying) feature of 1.4 (or even earlier?) but
now there seems to be a way to avoid it again, and I'd love to know,
how!
Do you see what I mean? Or did you have this in mind anyway? 
Cheers, Sebastian

On Fri, 2007-11-02 at 12:37 -0700, Brian Kidd wrote:
 hi Sebastian,
 
 i just figured this one out as well after prematurely posting the  
 same question about a week ago. the solution is to go into math mode  
 and then change the toolbar settings. enter math mode as if your  
 going to start a new formula and then select View - Toolbars. if the  
 cursor is within the math mode, then you'll see that Math Panels and/ 
 or Math might be set to auto. uncheck this and the math-macros will  
 no longer pop up automatically.
 
 cheers,
 -brian
 
 On Nov 2, 2007, at 11:25 AM, sebastian guttenberg wrote:
 
  Hi lyx-team (Or others)!
  Thanks for the great work! I was about to post a couple of bug-reports
  and suggestions about the 1.4-version, and discovered yesterday  
  that my
  system is out of date and that 1.5 has fixed a lot of problems and  
  added
  very nice features! Nevertheless, I guess I will contribute frequently
  now feedbacks and perhaps bug-reports to these formus. So hope you  
  will
  appreciate ;-)
  But for now, I have only one silly question: I was absolutely happy to
  see that math-macros do not any longer pop up automatically when one
  navigates through them  (something that annoyed me very much in the
  past). But by chance I have changed this feature (don't know how), and
  the macros are popping up again :-(
  Please, can anybody tell me, how to switch this off???
  Thanks a lot, Sebastian
 
 
  -- 
  This message has been scanned for viruses and
  dangerous content by MailScanner, and is
  believed to be clean.
 
 
 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How to avoid Macro pop-up?

2007-11-05 Thread Abdelrazak Younes

sebastian guttenberg wrote:
I sent the following reply to Brian a while ago. Forgot to carbon-copy it to the list. 
Please, the problem is still open, and I am sure that there is a simple solution. If somebody knows, please let me know!


Hi Brian!
Thanks a lot for the quick answer, but I'm afraid we mean s.th.
different. I didn't mean the panels which pop up, but I meant the
self-defined math-macros. So for example, when I have defined in the
command line (alt-x)
math-macro justastupidexample 1, and then I enter in mathmode my new
macro \justastupidexample test, then - whenever the cursor crosses the
macro, it pops up and the whole stupid name of the macro becomes
visible. This was a new (annoying) feature of 1.4 (or even earlier?) but
now there seems to be a way to avoid it again, and I'd love to know,
how!


How are you going to modify the macro argument if the macro is not 
expanded? And what do you mean by there seems to be a way to avoid that?


Abdel.



Re: How to avoid Macro pop-up?

2007-11-05 Thread sebastian guttenberg
 How are you going to modify the macro argument if the macro is not
 expanded? And what do you mean by there seems to be a way to avoid
 that?
 Abdel.

Hi Abdel. I just want to modify the arguments and not the macro itself and 
therefore it is enough that 
the arguments are visible and modifiable. There is no need that - when the 
cursor reaches the macro - 
suddenly a huge thing pops up. I have examples in mind, where this popping up 
takes the whole screen-width, but let me just give a very simple example:
If you define a macro which does just the same as \frac. And you call 
\stupidlongname. Then when you enter \stupidlongname{1}{2},
 you will get a fraction of 1/2. When you later touch with the cursor the 
macro, it pops up, and the stupid name becomes visible. 
But I want to edit the arguments just in the same way as for frac. Just 
navigating through the fields, not caring how the macro is defined or called 
(the name will be displayed in the status line anyway, and I can find the 
definition in the beginning). I know that there is a simple way to avoid it,
because at some point, my LyX had exactly the behavior that I wanted, but then 
I changed something (and I don't know what), and now the pop-ups have
reappeared. Also, I should add that the pop-up feature is a relatively new 
behavior which was not present in old LyX versions and I was very
happy to see that it is possible now to change back again. If I only knew how...
Perhaps I should also add that I am using a lot of \ifthenelse in my macros (of 
course only in the Latex-Version of the macro). Stupid enough, when the 
macro pops up, all this ifthenelse stuff (which can be very very long) becomes 
visible.
But even for simple examples I find it extremely annoying for navigation when 
all the macros pop-up, because then always the visible area on the screen 
changes, which is a constant source of confusion. Sometimes even the arguments 
of the macro are below the visible area then, which I would consider a bug.
Sorry for the long description. Hope you see what I mean.
Best, Sebastian

P.S.: There is a way to completely avoid expanding of the macros (not what I 
have in mind, but nevertheless useful): when you are inside the macro and 
close it with ctrl-i it is closed completely. Next time you pass, you simply 
cannot enter the arguments. If you want to do so, you have to press ctrl-i 
again.
This is not really a solution for me, because I want to navigate through the 
arguments. Also the ctrl-i doesn't always work the way one expects. It 
depends very much on the position of your cursor (even inside the macro), 
whether it works or not.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How to avoid Macro pop-up?

2007-11-05 Thread Andre Poenitz
 sebastian guttenberg wrote:
 math-macro justastupidexample 1, and then I enter in mathmode my new
 macro \justastupidexample test, then - whenever the cursor crosses the
 macro, it pops up and the whole stupid name of the macro becomes
 visible. This was a new (annoying) feature of 1.4 (or even earlier?)

Probably 1.2, at least 1.3.

 but now there seems to be a way to avoid it again, and I'd love to
 know, how!

Guess what, the possibility was there all the time. It was called
'locking' and usually accessed by typing Ctrl-I.

Andre'



Re: How to avoid Macro pop-up?

2007-11-05 Thread sebastian guttenberg
 Guess what, the possibility was there all the time. It was called
 'locking' and usually accessed by typing Ctrl-I.

Hi Andre! Very nice that you reply! I was aware of Ctrl-I (actually I mentioned 
it just in my last post of this thread
 http://www.mail-archive.com/lyx-users@lists.lyx.org/msg59864.html , at the 
very end of it).
I learned about Ctrl-I from you three years ago, when you answered to a long 
list of suggestions of mine in 
http://www.mail-archive.com/[EMAIL PROTECTED]/msg70338.html .
But Ctrl-I is not what I mean, because I want to navigate through the 
arguments. And now I am really puzzled that even you don't 
know about the possibility to switch off the pop-up-feature while still being 
able to enter the argument. The reason why I am 
so insisting is only that my lyx 1.5.2 was for a while behaving exactly in this 
way!! I want this back! It's like knowing there 
is free beer around, and nobody tells you, where! ;-)
Sorry, perhaps you will tell me that I was just halluzinating, when I believed 
to see this behaviour, but in case there is a chance to 
switch this behaviour, could you please find out for me? It is really important 
for me.
Thanks for reading, Sebastian

P.S.: If you don't see why this is so important for me, I can send you a sample 
file...


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How to avoid Macro pop-up?

2007-11-05 Thread sebastian guttenberg
I sent the following reply to Brian a while ago. Forgot to carbon-copy it to 
the list. 
Please, the problem is still open, and I am sure that there is a simple 
solution. If somebody knows, please let me know!

Hi Brian!
Thanks a lot for the quick answer, but I'm afraid we mean s.th.
different. I didn't mean the panels which pop up, but I meant the
self-defined math-macros. So for example, when I have defined in the
command line (alt-x)
math-macro justastupidexample 1, and then I enter in mathmode my new
macro \justastupidexample test, then - whenever the cursor crosses the
macro, it pops up and the whole stupid name of the macro becomes
visible. This was a new (annoying) feature of 1.4 (or even earlier?) but
now there seems to be a way to avoid it again, and I'd love to know,
how!
Do you see what I mean? Or did you have this in mind anyway? 
Cheers, Sebastian

On Fri, 2007-11-02 at 12:37 -0700, Brian Kidd wrote:
 hi Sebastian,
 
 i just figured this one out as well after prematurely posting the  
 same question about a week ago. the solution is to go into math mode  
 and then change the toolbar settings. enter math mode as if your  
 going to start a new formula and then select View - Toolbars. if the  
 cursor is within the math mode, then you'll see that Math Panels and/ 
 or Math might be set to auto. uncheck this and the math-macros will  
 no longer pop up automatically.
 
 cheers,
 -brian
 
 On Nov 2, 2007, at 11:25 AM, sebastian guttenberg wrote:
 
  Hi lyx-team (Or others)!
  Thanks for the great work! I was about to post a couple of bug-reports
  and suggestions about the 1.4-version, and discovered yesterday  
  that my
  system is out of date and that 1.5 has fixed a lot of problems and  
  added
  very nice features! Nevertheless, I guess I will contribute frequently
  now feedbacks and perhaps bug-reports to these formus. So hope you  
  will
  appreciate ;-)
  But for now, I have only one silly question: I was absolutely happy to
  see that math-macros do not any longer pop up automatically when one
  navigates through them  (something that annoyed me very much in the
  past). But by chance I have changed this feature (don't know how), and
  the macros are popping up again :-(
  Please, can anybody tell me, how to switch this off???
  Thanks a lot, Sebastian
 
 
  -- 
  This message has been scanned for viruses and
  dangerous content by MailScanner, and is
  believed to be clean.
 
 
 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How to avoid Macro pop-up?

2007-11-05 Thread Abdelrazak Younes

sebastian guttenberg wrote:
I sent the following reply to Brian a while ago. Forgot to carbon-copy it to the list. 
Please, the problem is still open, and I am sure that there is a simple solution. If somebody knows, please let me know!


Hi Brian!
Thanks a lot for the quick answer, but I'm afraid we mean s.th.
different. I didn't mean the panels which pop up, but I meant the
self-defined math-macros. So for example, when I have defined in the
command line (alt-x)
math-macro justastupidexample 1, and then I enter in mathmode my new
macro \justastupidexample test, then - whenever the cursor crosses the
macro, it pops up and the whole stupid name of the macro becomes
visible. This was a new (annoying) feature of 1.4 (or even earlier?) but
now there seems to be a way to avoid it again, and I'd love to know,
how!


How are you going to modify the macro argument if the macro is not 
expanded? And what do you mean by there seems to be a way to avoid that?


Abdel.



Re: How to avoid Macro pop-up?

2007-11-05 Thread sebastian guttenberg
 How are you going to modify the macro argument if the macro is not
 expanded? And what do you mean by there seems to be a way to avoid
 that?
 Abdel.

Hi Abdel. I just want to modify the arguments and not the macro itself and 
therefore it is enough that 
the arguments are visible and modifiable. There is no need that - when the 
cursor reaches the macro - 
suddenly a huge thing pops up. I have examples in mind, where this popping up 
takes the whole screen-width, but let me just give a very simple example:
If you define a macro which does just the same as \frac. And you call 
\stupidlongname. Then when you enter \stupidlongname{1}{2},
 you will get a fraction of 1/2. When you later touch with the cursor the 
macro, it pops up, and the stupid name becomes visible. 
But I want to edit the arguments just in the same way as for frac. Just 
navigating through the fields, not caring how the macro is defined or called 
(the name will be displayed in the status line anyway, and I can find the 
definition in the beginning). I know that there is a simple way to avoid it,
because at some point, my LyX had exactly the behavior that I wanted, but then 
I changed something (and I don't know what), and now the pop-ups have
reappeared. Also, I should add that the pop-up feature is a relatively new 
behavior which was not present in old LyX versions and I was very
happy to see that it is possible now to change back again. If I only knew how...
Perhaps I should also add that I am using a lot of \ifthenelse in my macros (of 
course only in the Latex-Version of the macro). Stupid enough, when the 
macro pops up, all this ifthenelse stuff (which can be very very long) becomes 
visible.
But even for simple examples I find it extremely annoying for navigation when 
all the macros pop-up, because then always the visible area on the screen 
changes, which is a constant source of confusion. Sometimes even the arguments 
of the macro are below the visible area then, which I would consider a bug.
Sorry for the long description. Hope you see what I mean.
Best, Sebastian

P.S.: There is a way to completely avoid expanding of the macros (not what I 
have in mind, but nevertheless useful): when you are inside the macro and 
close it with ctrl-i it is closed completely. Next time you pass, you simply 
cannot enter the arguments. If you want to do so, you have to press ctrl-i 
again.
This is not really a solution for me, because I want to navigate through the 
arguments. Also the ctrl-i doesn't always work the way one expects. It 
depends very much on the position of your cursor (even inside the macro), 
whether it works or not.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How to avoid Macro pop-up?

2007-11-05 Thread Andre Poenitz
 sebastian guttenberg wrote:
 math-macro justastupidexample 1, and then I enter in mathmode my new
 macro \justastupidexample test, then - whenever the cursor crosses the
 macro, it pops up and the whole stupid name of the macro becomes
 visible. This was a new (annoying) feature of 1.4 (or even earlier?)

Probably 1.2, at least 1.3.

 but now there seems to be a way to avoid it again, and I'd love to
 know, how!

Guess what, the possibility was there all the time. It was called
'locking' and usually accessed by typing Ctrl-I.

Andre'



Re: How to avoid Macro pop-up?

2007-11-05 Thread sebastian guttenberg
 Guess what, the possibility was there all the time. It was called
 'locking' and usually accessed by typing Ctrl-I.

Hi Andre! Very nice that you reply! I was aware of Ctrl-I (actually I mentioned 
it just in my last post of this thread
 http://www.mail-archive.com/lyx-users@lists.lyx.org/msg59864.html , at the 
very end of it).
I learned about Ctrl-I from you three years ago, when you answered to a long 
list of suggestions of mine in 
http://www.mail-archive.com/[EMAIL PROTECTED]/msg70338.html .
But Ctrl-I is not what I mean, because I want to navigate through the 
arguments. And now I am really puzzled that even you don't 
know about the possibility to switch off the pop-up-feature while still being 
able to enter the argument. The reason why I am 
so insisting is only that my lyx 1.5.2 was for a while behaving exactly in this 
way!! I want this back! It's like knowing there 
is free beer around, and nobody tells you, where! ;-)
Sorry, perhaps you will tell me that I was just halluzinating, when I believed 
to see this behaviour, but in case there is a chance to 
switch this behaviour, could you please find out for me? It is really important 
for me.
Thanks for reading, Sebastian

P.S.: If you don't see why this is so important for me, I can send you a sample 
file...


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How to avoid Macro pop-up?

2007-11-05 Thread Andre Poenitz
> sebastian guttenberg wrote:
>> "math-macro justastupidexample 1", and then I enter in mathmode my new
>> macro "\justastupidexample test", then - whenever the cursor crosses the
>> macro, it pops up and the whole stupid name of the macro becomes
>> visible. This was a new (annoying) feature of 1.4 (or even earlier?)

Probably 1.2, at least 1.3.

>> but now there seems to be a way to avoid it again, and I'd love to
>> know, how!

Guess what, the possibility was there all the time. It was called
'locking' and usually accessed by typing Ctrl-I.

Andre'



Re: How to avoid Macro pop-up?

2007-11-05 Thread sebastian guttenberg
> Guess what, the possibility was there all the time. It was called
> 'locking' and usually accessed by typing Ctrl-I.

Hi Andre! Very nice that you reply! I was aware of Ctrl-I (actually I mentioned 
it just in my last post of this thread
 http://www.mail-archive.com/lyx-users@lists.lyx.org/msg59864.html , at the 
very end of it).
I learned about Ctrl-I from you three years ago, when you answered to a long 
list of suggestions of mine in 
http://www.mail-archive.com/[EMAIL PROTECTED]/msg70338.html .
But Ctrl-I is not what I mean, because I want to navigate through the 
arguments. And now I am really puzzled that even you don't 
know about the possibility to switch off the pop-up-feature while still being 
able to enter the argument. The reason why I am 
so insisting is only that my lyx 1.5.2 was for a while behaving exactly in this 
way!! I want this back! It's like knowing there 
is free beer around, and nobody tells you, where! ;-)
Sorry, perhaps you will tell me that I was just halluzinating, when I believed 
to see this behaviour, but in case there is a chance to 
switch this behaviour, could you please find out for me? It is really important 
for me.
Thanks for reading, Sebastian

P.S.: If you don't see why this is so important for me, I can send you a sample 
file...


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How to avoid Macro pop-up?

2007-11-05 Thread sebastian guttenberg
I sent the following reply to Brian a while ago. Forgot to carbon-copy it to 
the list. 
Please, the problem is still open, and I am sure that there is a simple 
solution. If somebody knows, please let me know!

Hi Brian!
Thanks a lot for the quick answer, but I'm afraid we mean s.th.
different. I didn't mean the panels which pop up, but I meant the
self-defined math-macros. So for example, when I have defined in the
command line ()
"math-macro justastupidexample 1", and then I enter in mathmode my new
macro "\justastupidexample test", then - whenever the cursor crosses the
macro, it pops up and the whole stupid name of the macro becomes
visible. This was a new (annoying) feature of 1.4 (or even earlier?) but
now there seems to be a way to avoid it again, and I'd love to know,
how!
Do you see what I mean? Or did you have this in mind anyway? 
Cheers, Sebastian

On Fri, 2007-11-02 at 12:37 -0700, Brian Kidd wrote:
> hi Sebastian,
> 
> i just figured this one out as well after prematurely posting the  
> same question about a week ago. the solution is to go into math mode  
> and then change the toolbar settings. enter math mode as if your  
> going to start a new formula and then select View -> Toolbars. if the  
> cursor is within the math mode, then you'll see that Math Panels and/ 
> or Math might be set to auto. uncheck this and the math-macros will  
> no longer pop up automatically.
> 
> cheers,
> -brian
> 
> On Nov 2, 2007, at 11:25 AM, sebastian guttenberg wrote:
> 
> > Hi lyx-team (Or others)!
> > Thanks for the great work! I was about to post a couple of bug-reports
> > and suggestions about the 1.4-version, and discovered yesterday  
> > that my
> > system is out of date and that 1.5 has fixed a lot of problems and  
> > added
> > very nice features! Nevertheless, I guess I will contribute frequently
> > now feedbacks and perhaps bug-reports to these formus. So hope you  
> > will
> > appreciate ;-)
> > But for now, I have only one silly question: I was absolutely happy to
> > see that math-macros do not any longer pop up automatically when one
> > navigates through them  (something that annoyed me very much in the
> > past). But by chance I have changed this feature (don't know how), and
> > the macros are popping up again :-(
> > Please, can anybody tell me, how to switch this off???
> > Thanks a lot, Sebastian
> >
> >
> > -- 
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> >
> 
> 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How to avoid Macro pop-up?

2007-11-05 Thread Abdelrazak Younes

sebastian guttenberg wrote:
I sent the following reply to Brian a while ago. Forgot to carbon-copy it to the list. 
Please, the problem is still open, and I am sure that there is a simple solution. If somebody knows, please let me know!


Hi Brian!
Thanks a lot for the quick answer, but I'm afraid we mean s.th.
different. I didn't mean the panels which pop up, but I meant the
self-defined math-macros. So for example, when I have defined in the
command line ()
"math-macro justastupidexample 1", and then I enter in mathmode my new
macro "\justastupidexample test", then - whenever the cursor crosses the
macro, it pops up and the whole stupid name of the macro becomes
visible. This was a new (annoying) feature of 1.4 (or even earlier?) but
now there seems to be a way to avoid it again, and I'd love to know,
how!


How are you going to modify the macro argument if the macro is not 
expanded? And what do you mean by "there seems to be a way to avoid that"?


Abdel.



Re: How to avoid Macro pop-up?

2007-11-05 Thread sebastian guttenberg
> How are you going to modify the macro argument if the macro is not
> expanded? And what do you mean by "there seems to be a way to avoid
> that"?
> Abdel.

Hi Abdel. I just want to modify the arguments and not the macro itself and 
therefore it is enough that 
the arguments are visible and modifiable. There is no need that - when the 
cursor reaches the macro - 
suddenly a huge thing pops up. I have examples in mind, where this popping up 
takes the whole screen-width, but let me just give a very simple example:
If you define a macro which does just the same as \frac. And you call 
\stupidlongname. Then when you enter \stupidlongname{1}{2},
 you will get a fraction of 1/2. When you later touch with the cursor the 
macro, it pops up, and the stupid name becomes visible. 
But I want to edit the arguments just in the same way as for frac. Just 
navigating through the fields, not caring how the macro is defined or called 
(the name will be displayed in the status line anyway, and I can find the 
definition in the beginning). I know that there is a simple way to avoid it,
because at some point, my LyX had exactly the behavior that I wanted, but then 
I changed something (and I don't know what), and now the pop-ups have
reappeared. Also, I should add that the pop-up feature is a relatively new 
behavior which was not present in old LyX versions and I was very
happy to see that it is possible now to change back again. If I only knew how...
Perhaps I should also add that I am using a lot of \ifthenelse in my macros (of 
course only in the Latex-Version of the macro). Stupid enough, when the 
macro pops up, all this ifthenelse stuff (which can be very very long) becomes 
visible.
But even for simple examples I find it extremely annoying for navigation when 
all the macros pop-up, because then always the visible area on the screen 
changes, which is a constant source of confusion. Sometimes even the arguments 
of the macro are below the visible area then, which I would consider a bug.
Sorry for the long description. Hope you see what I mean.
Best, Sebastian

P.S.: There is a way to completely avoid expanding of the macros (not what I 
have in mind, but nevertheless useful): when you are inside the macro and 
close it with ctrl-i it is closed completely. Next time you pass, you simply 
cannot enter the arguments. If you want to do so, you have to press ctrl-i 
again.
This is not really a solution for me, because I want to navigate through the 
arguments. Also the ctrl-i doesn't always work the way one expects. It 
depends very much on the position of your cursor (even inside the macro), 
whether it works or not.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How to avoid Macro pop-up?

2007-11-02 Thread Brian Kidd

hi Sebastian,

i just figured this one out as well after prematurely posting the  
same question about a week ago. the solution is to go into math mode  
and then change the toolbar settings. enter math mode as if your  
going to start a new formula and then select View - Toolbars. if the  
cursor is within the math mode, then you'll see that Math Panels and/ 
or Math might be set to auto. uncheck this and the math-macros will  
no longer pop up automatically.


cheers,
-brian

On Nov 2, 2007, at 11:25 AM, sebastian guttenberg wrote:


Hi lyx-team (Or others)!
Thanks for the great work! I was about to post a couple of bug-reports
and suggestions about the 1.4-version, and discovered yesterday  
that my
system is out of date and that 1.5 has fixed a lot of problems and  
added

very nice features! Nevertheless, I guess I will contribute frequently
now feedbacks and perhaps bug-reports to these formus. So hope you  
will

appreciate ;-)
But for now, I have only one silly question: I was absolutely happy to
see that math-macros do not any longer pop up automatically when one
navigates through them  (something that annoyed me very much in the
past). But by chance I have changed this feature (don't know how), and
the macros are popping up again :-(
Please, can anybody tell me, how to switch this off???
Thanks a lot, Sebastian


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





Re: How to avoid Macro pop-up?

2007-11-02 Thread Brian Kidd

hi Sebastian,

i just figured this one out as well after prematurely posting the  
same question about a week ago. the solution is to go into math mode  
and then change the toolbar settings. enter math mode as if your  
going to start a new formula and then select View - Toolbars. if the  
cursor is within the math mode, then you'll see that Math Panels and/ 
or Math might be set to auto. uncheck this and the math-macros will  
no longer pop up automatically.


cheers,
-brian

On Nov 2, 2007, at 11:25 AM, sebastian guttenberg wrote:


Hi lyx-team (Or others)!
Thanks for the great work! I was about to post a couple of bug-reports
and suggestions about the 1.4-version, and discovered yesterday  
that my
system is out of date and that 1.5 has fixed a lot of problems and  
added

very nice features! Nevertheless, I guess I will contribute frequently
now feedbacks and perhaps bug-reports to these formus. So hope you  
will

appreciate ;-)
But for now, I have only one silly question: I was absolutely happy to
see that math-macros do not any longer pop up automatically when one
navigates through them  (something that annoyed me very much in the
past). But by chance I have changed this feature (don't know how), and
the macros are popping up again :-(
Please, can anybody tell me, how to switch this off???
Thanks a lot, Sebastian


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





Re: How to avoid Macro pop-up?

2007-11-02 Thread Brian Kidd

hi Sebastian,

i just figured this one out as well after prematurely posting the  
same question about a week ago. the solution is to go into math mode  
and then change the toolbar settings. enter math mode as if your  
going to start a new formula and then select View -> Toolbars. if the  
cursor is within the math mode, then you'll see that Math Panels and/ 
or Math might be set to auto. uncheck this and the math-macros will  
no longer pop up automatically.


cheers,
-brian

On Nov 2, 2007, at 11:25 AM, sebastian guttenberg wrote:


Hi lyx-team (Or others)!
Thanks for the great work! I was about to post a couple of bug-reports
and suggestions about the 1.4-version, and discovered yesterday  
that my
system is out of date and that 1.5 has fixed a lot of problems and  
added

very nice features! Nevertheless, I guess I will contribute frequently
now feedbacks and perhaps bug-reports to these formus. So hope you  
will

appreciate ;-)
But for now, I have only one silly question: I was absolutely happy to
see that math-macros do not any longer pop up automatically when one
navigates through them  (something that annoyed me very much in the
past). But by chance I have changed this feature (don't know how), and
the macros are popping up again :-(
Please, can anybody tell me, how to switch this off???
Thanks a lot, Sebastian


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.