Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-12 Thread Pavel Sanda
Uwe Stöhr wrote: >> current argumets i see: >> pros: >> - CTRL+B for \boldsymbol is more logically consistent > works also for Greek characters. yes, i forgot on this. >> cons: >> - more people want CTRL+B for bold + upright though > > I don't see this. There is currently only one but several oth

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-12 Thread Uwe Stöhr
Pavel Sanda schrieb: but the last discussions in this thread are not whether \mathbf or \boldsymbol is correct, but that we have two LFUNs one for \mathbf and second for \boldsymbol and two bindings CTRL+B and CTRL+ALT+B. But that's what I was talking about. \boldymbol is the correct one and

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-12 Thread Pavel Sanda
Uwe Stöhr wrote: > Pavel Sanda schrieb: > >> please could you bring some link to that discussion? somehow i fail to see >> arguments why is the current state improvement. > > See my last post in this topic: > > \mathbf: - changes characters to bold AND upright (this is not correct) > - doe

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-12 Thread Enrico Forestieri
On Fri, Sep 12, 2008 at 07:24:36PM -0400, rgheck wrote: > Enrico Forestieri wrote: > > On Fri, Sep 12, 2008 at 11:29:08PM +0200, Pavel Sanda wrote: > > > > > >> Enrico Forestieri wrote: > >> > >>> I am not really sure that that is the best option. Maybe the two > >>> attached patches make

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-12 Thread rgheck
Enrico Forestieri wrote: On Fri, Sep 12, 2008 at 11:29:08PM +0200, Pavel Sanda wrote: Enrico Forestieri wrote: I am not really sure that that is the best option. Maybe the two attached patches make everybody happy. The first one restores the toggle behavior on \boldsymbol (Ctrl-B), and

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-12 Thread Uwe Stöhr
Pavel Sanda schrieb: please could you bring some link to that discussion? somehow i fail to see arguments why is the current state improvement. See my last post in this topic: \mathbf: - changes characters to bold AND upright (this is not correct) - doesn't work for Greek characters

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-12 Thread Pavel Sanda
Uwe Stöhr wrote: >>> Note that the math toolbar also provides \mathbf, so its your decision >>> what to use. >> have you tried it? currently i don't see howto cause toggle-like behaviour >> through math-insert \mathbf. ideas? > > This never worked. This should be fixed but is a different issue. >

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-12 Thread Uwe Stöhr
Pavel Sanda schrieb: Note that the math toolbar also provides \mathbf, so its your decision what to use. have you tried it? currently i don't see howto cause toggle-like behaviour through math-insert \mathbf. ideas? This never worked. This should be fixed but is a different issue. imho two

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-12 Thread Enrico Forestieri
On Fri, Sep 12, 2008 at 11:29:08PM +0200, Pavel Sanda wrote: > Enrico Forestieri wrote: > > I am not really sure that that is the best option. Maybe the two > > attached patches make everybody happy. The first one restores the > > toggle behavior on \boldsymbol (Ctrl-B), and the second one on > >

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-12 Thread Pavel Sanda
Enrico Forestieri wrote: > I am not really sure that that is the best option. Maybe the two > attached patches make everybody happy. The first one restores the > toggle behavior on \boldsymbol (Ctrl-B), and the second one on > \mathbf (Ctrl-Alt-B). you are probably right. my last question is why \

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-12 Thread Enrico Forestieri
On Fri, Sep 12, 2008 at 04:14:24AM +0200, Pavel Sanda wrote: > Richard Heck wrote: > > Enrico Forestieri wrote: > >> Another option would be the following. When the user enters > >> \mathbf{x\alpha y}, we could output the following latex code: > >> \mathbf{x\boldsymbol{\alpha}y}. > >> > >> > >

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-11 Thread Pavel Sanda
Richard Heck wrote: > Enrico Forestieri wrote: >> Another option would be the following. When the user enters >> \mathbf{x\alpha y}, we could output the following latex code: >> \mathbf{x\boldsymbol{\alpha}y}. >> >> > Surely this far and away the best option. The user in this case does not > ca

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-10 Thread Konrad Hofbauer
rgheck wrote: I'm fairly puzzled about this, because previously \mathbf seems to have created an InsetMathFont, whereas we also have InsetMathBoldSymbol, which is where \boldsymbol would previously have been found. Now we have both, and we basically have a conflict, as I've mentioned in another

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-10 Thread Richard Heck
Enrico Forestieri wrote: Another option would be the following. When the user enters \mathbf{x\alpha y}, we could output the following latex code: \mathbf{x\boldsymbol{\alpha}y}. Surely this far and away the best option. The user in this case does not care what LaTeX code is output, only tha

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-10 Thread Enrico Forestieri
On Wed, Sep 10, 2008 at 05:19:26PM +0200, Pavel Sanda wrote: > hrrm much discussed, if it means the thread around this commit, > it just follows the scenario of unadvertised commit and revert > request :) maybe Enrico can say something about this? > > http://www.mail-archive.com/lyx-devel@lists.l

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-10 Thread Pavel Sanda
Richard Heck wrote: > Pavel Sanda wrote: >> Richard Heck wrote: >> >>> I think maybe what we need is another LFUN, say LFUN_FONT_MATHBF, and we >>> need to make that toggleable. A preference seems the wrong way to go. One >>> might want both of these easily available, in toggleable form. >>>

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-10 Thread Richard Heck
Pavel Sanda wrote: Richard Heck wrote: I think maybe what we need is another LFUN, say LFUN_FONT_MATHBF, and we need to make that toggleable. A preference seems the wrong way to go. One might want both of these easily available, in toggleable form. i propose to introduce LFUN_FONT_BOL

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-09 Thread Pavel Sanda
Richard Heck wrote: > I think maybe what we need is another LFUN, say LFUN_FONT_MATHBF, and we > need to make that toggleable. A preference seems the wrong way to go. One > might want both of these easily available, in toggleable form. i propose to introduce LFUN_FONT_BOLD_MATHBF, which does exa

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-09 Thread rgheck
Georg Baum wrote: Pavel Sanda wrote: imho two more issues which should be done: - RELEASE-NOTES should note this change - provide some way how ctrl+b works as in 1.5, otherwise i would call this regression. Agreed. I understand the reasons for the change, but I personally almost alw

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-09 Thread Georg Baum
Pavel Sanda wrote: > imho two more issues which should be done: > - RELEASE-NOTES should note this change > - provide some way how ctrl+b works as in 1.5, otherwise i would call this > regression. Agreed. I understand the reasons for the change, but I personally almost always need mathbf, so in

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-09 Thread rgheck
Pavel Sanda wrote: Uwe Stöhr wrote: When you really only need upright bold math, then change the binding of Ctrl-b using LyX 1.6's new binding dialog. Note that the math toolbar also provides \mathbf, so its your decision what to use. have you tried it? currently i don't see howto cau

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-09 Thread Pavel Sanda
Uwe Stöhr wrote: > When you really only need upright bold math, then change the binding of > Ctrl-b using LyX 1.6's new binding dialog. Note that the math toolbar also > provides \mathbf, so its your decision what to use. have you tried it? currently i don't see howto cause toggle-like behaviour

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-09 Thread Uwe Stöhr
Matthew Bromberg wrote: For most mathematical documents, the convention is that a bold font on a variable name represents a vector or a matrix. These should not be in italics! They should be in the same font as the normal text. That is the standard used in most mathematical text that I'm a

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-08 Thread Pavel Sanda
Pavel Sanda wrote: > > In some cases, for some greek variables used as vectors and matrices, one > > might need \boldsymbol reading the bug report, this was the reason for \boldsymbol change, and perhaps nobody knew about the regressions you report. i think it should be reverted, but will wait w

Re: Bold key binding is not right in Lyx 1.6.0rc2

2008-09-08 Thread Pavel Sanda
Matthew Bromberg wrote: > While I think there are some great improvements in Lyx 1.6.0rc2, there are > some serious issues with regards to the bold font change ctrl-B. For most > mathematical documents, the convention is that a bold font on a variable > name represents a vector or a matrix.