Re: button tools

2003-09-22 Thread Andre Poenitz
On Sat, Sep 20, 2003 at 12:31:58PM -0400, William O. Bray wrote:
 find that I often use this as well as the insert matrix dialog and it would 
 be convenient to reach these without going through the math panel.
 It is easy to add buttons for \sum or \int. 

Apart from what John said:

You can add pairs of matching delimiters by simply typing  M-m (, M-m [,
M-m {.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: button tools

2003-09-22 Thread Andre Poenitz
On Sat, Sep 20, 2003 at 12:31:58PM -0400, William O. Bray wrote:
 find that I often use this as well as the insert matrix dialog and it would 
 be convenient to reach these without going through the math panel.
 It is easy to add buttons for \sum or \int. 

Apart from what John said:

You can add pairs of matching delimiters by simply typing  M-m (, M-m [,
M-m {.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: button tools

2003-09-22 Thread Andre Poenitz
On Sat, Sep 20, 2003 at 12:31:58PM -0400, William O. Bray wrote:
> find that I often use this as well as the insert matrix dialog and it would 
> be convenient to reach these without going through the math panel.
> It is easy to add buttons for \sum or \int. 

Apart from what John said:

You can add pairs of matching delimiters by simply typing  M-m (, M-m [,
M-m {.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: button tools

2003-09-21 Thread Angus Leeming
John Levon wrote:

 On Sat, Sep 20, 2003 at 12:31:58PM -0400, William O. Bray wrote:
 
 Dear list, I wonder if it is possible to add a tool button which will
 open the delimiter and bracket dialog directly without going through the
 math panel. I
 
 I don't think this is possible in 1.3.

... but will in 1.4 (by a lucky chance ;-)

You would add an entry to lib/ui/stdtoolbars.ui along the lines of
Item Show Math Delimiter dialog dialog-show mathdelimiter
You would also need to create a button pixmap with the rather unweidly name 
dialog-show_mathdelimiter.ppm...

In fact, most of the sub-dialogs present in xforms have dissappeared from 
the Qt interface. All that's left are
dialog-show mathdelimiter
dialog-show mathmatrix

The maths sub dialogs available to the xforms user are:
matharrows, mathaccents, mathoperators, mathrelations, mathgreek, mathmisc, 
mathdots, mathbigoperators, mathamsmisc, mathamsarrows, mathamsrelations, 
mathamsnegatedrelations, mathamsoperators, mathdelimiter, mathmatrix, 
mathspace, mathstyle

-- 
Angus



Re: button tools

2003-09-21 Thread Angus Leeming
John Levon wrote:

 On Sat, Sep 20, 2003 at 12:31:58PM -0400, William O. Bray wrote:
 
 Dear list, I wonder if it is possible to add a tool button which will
 open the delimiter and bracket dialog directly without going through the
 math panel. I
 
 I don't think this is possible in 1.3.

... but will in 1.4 (by a lucky chance ;-)

You would add an entry to lib/ui/stdtoolbars.ui along the lines of
Item Show Math Delimiter dialog dialog-show mathdelimiter
You would also need to create a button pixmap with the rather unweidly name 
dialog-show_mathdelimiter.ppm...

In fact, most of the sub-dialogs present in xforms have dissappeared from 
the Qt interface. All that's left are
dialog-show mathdelimiter
dialog-show mathmatrix

The maths sub dialogs available to the xforms user are:
matharrows, mathaccents, mathoperators, mathrelations, mathgreek, mathmisc, 
mathdots, mathbigoperators, mathamsmisc, mathamsarrows, mathamsrelations, 
mathamsnegatedrelations, mathamsoperators, mathdelimiter, mathmatrix, 
mathspace, mathstyle

-- 
Angus



Re: button tools

2003-09-21 Thread Angus Leeming
John Levon wrote:

> On Sat, Sep 20, 2003 at 12:31:58PM -0400, William O. Bray wrote:
> 
>> Dear list, I wonder if it is possible to add a tool button which will
>> open the delimiter and bracket dialog directly without going through the
>> math panel. I
> 
> I don't think this is possible in 1.3.

... but will in 1.4 (by a lucky chance ;-)

You would add an entry to lib/ui/stdtoolbars.ui along the lines of
Item "Show Math Delimiter dialog" "dialog-show mathdelimiter"
You would also need to create a button pixmap with the rather unweidly name 
dialog-show_mathdelimiter.ppm...

In fact, most of the sub-dialogs present in xforms have dissappeared from 
the Qt interface. All that's left are
dialog-show mathdelimiter
dialog-show mathmatrix

The maths sub dialogs available to the xforms user are:
matharrows, mathaccents, mathoperators, mathrelations, mathgreek, mathmisc, 
mathdots, mathbigoperators, mathamsmisc, mathamsarrows, mathamsrelations, 
mathamsnegatedrelations, mathamsoperators, mathdelimiter, mathmatrix, 
mathspace, mathstyle

-- 
Angus



button tools

2003-09-20 Thread William O. Bray
Dear list, I wonder if it is possible to add a tool button which will open the 
delimiter and bracket dialog directly without going through the math panel. I 
find that I often use this as well as the insert matrix dialog and it would 
be convenient to reach these without going through the math panel.
It is easy to add buttons for \sum or \int. 
Perhaps my patience is required here; I have seen hints that version 1.4 of 
Lyx will make steps toward breaking the rather cumbersome (opinion) math 
panel in smaller pieces.
thanks, Bill
-- 
**
William O. Bray, Professor  Chair
Department of Mathematics  Statistics
University of Maine
Orono, Maine 04469-5752
**



Re: button tools

2003-09-20 Thread John Levon
On Sat, Sep 20, 2003 at 12:31:58PM -0400, William O. Bray wrote:

 Dear list, I wonder if it is possible to add a tool button which will open the 
 delimiter and bracket dialog directly without going through the math panel. I 

I don't think this is possible in 1.3. However, you CAN add buttons
for each type of bracket:

   Icon math-delim ( )

in the default.ui file in ~/.lyx/ui/ (put it there)

Note it won't be able to find an icon for you ...

 Perhaps my patience is required here; I have seen hints that version 1.4 of 
 Lyx will make steps toward breaking the rather cumbersome (opinion) math 

Some steps, yes ...

john
-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.


button tools

2003-09-20 Thread William O. Bray
Dear list, I wonder if it is possible to add a tool button which will open the 
delimiter and bracket dialog directly without going through the math panel. I 
find that I often use this as well as the insert matrix dialog and it would 
be convenient to reach these without going through the math panel.
It is easy to add buttons for \sum or \int. 
Perhaps my patience is required here; I have seen hints that version 1.4 of 
Lyx will make steps toward breaking the rather cumbersome (opinion) math 
panel in smaller pieces.
thanks, Bill
-- 
**
William O. Bray, Professor  Chair
Department of Mathematics  Statistics
University of Maine
Orono, Maine 04469-5752
**



Re: button tools

2003-09-20 Thread John Levon
On Sat, Sep 20, 2003 at 12:31:58PM -0400, William O. Bray wrote:

 Dear list, I wonder if it is possible to add a tool button which will open the 
 delimiter and bracket dialog directly without going through the math panel. I 

I don't think this is possible in 1.3. However, you CAN add buttons
for each type of bracket:

   Icon math-delim ( )

in the default.ui file in ~/.lyx/ui/ (put it there)

Note it won't be able to find an icon for you ...

 Perhaps my patience is required here; I have seen hints that version 1.4 of 
 Lyx will make steps toward breaking the rather cumbersome (opinion) math 

Some steps, yes ...

john
-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.


button tools

2003-09-20 Thread William O. Bray
Dear list, I wonder if it is possible to add a tool button which will open the 
delimiter and bracket dialog directly without going through the math panel. I 
find that I often use this as well as the insert matrix dialog and it would 
be convenient to reach these without going through the math panel.
It is easy to add buttons for \sum or \int. 
Perhaps my patience is required here; I have seen hints that version 1.4 of 
Lyx will make steps toward breaking the rather cumbersome (opinion) math 
panel in smaller pieces.
thanks, Bill
-- 
**
William O. Bray, Professor & Chair
Department of Mathematics & Statistics
University of Maine
Orono, Maine 04469-5752
**



Re: button tools

2003-09-20 Thread John Levon
On Sat, Sep 20, 2003 at 12:31:58PM -0400, William O. Bray wrote:

> Dear list, I wonder if it is possible to add a tool button which will open the 
> delimiter and bracket dialog directly without going through the math panel. I 

I don't think this is possible in 1.3. However, you CAN add buttons
for each type of bracket:

   Icon "math-delim ( )"

in the default.ui file in ~/.lyx/ui/ (put it there)

Note it won't be able to find an icon for you ...

> Perhaps my patience is required here; I have seen hints that version 1.4 of 
> Lyx will make steps toward breaking the rather cumbersome (opinion) math 

Some steps, yes ...

john
-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.