On Mon, Oct 21, 2002 at 10:48:11AM +0200, Andre Poenitz wrote:
> On Sun, Oct 20, 2002 at 05:04:14PM -0500, Bo Peng wrote:
> >   \bind something "command-sequence math-mode; math-insert blah; 
> >   math-insert blah;"

> What happens is you use just 'math-insert blah'?

For one math-insert blah, it is OK. In math-mode, I will continue to be 
in math-mode. In text-mode, lyx enter math-mode, insert and then leave 
math-mode.

However, if I have two or more math-insert and I start from text 
mode, lyx will leave math-mode after the first math-insert. For 
example, "command-sequence math-insert \alpha; math-subscript; 
math-inssert \beta;"  will generate something like:

a math box with \alpha. wrong math-subscript, a '_', because it is in 
text mode, another math box with beta.

-- 
Bo Peng

Reply via email to