On Friday 18 January 2002 12:00 pm, Martin Vermeer wrote:
> On Fri, Jan 18, 2002 at 10:56:20AM +0000, Angus Leeming wrote:
>
> > Martin, I have applied your stuff in my tree. One problem: hitting one of
the
> > buttons in the bmtables, I get the symbol inserted AS WELL AS its LaTeX.
> > Here's a small screen shot.
> >
> > This is true for the old bmtables as well as the new ones. Presumably
it's a
> > function of the change to LFUNs?
> >
> > Angus
>
> I don't understand this at all. I don't in fact get graphic
> representations of any of the new ams symbols, even though they are in
> the lib/symbols table. Only of part of the old symbols (like before), and
then
> correctly. Whether there is a symbol or a latex rendering.
I get the symbols because I followed the instructions in
lib/examples/mathed.lyx
> You must have something in your installation that is not identical with
> mine. I wonder. I will send you a diff of frontends/xforms against
> current cvs as soon as I get compiled again.
Maybe. Maybe not.
Is this the same as yours?
void FormMathsBitmap::apply()
{
unsigned int i = latex_chosen_.find(' ');
if (i != string::npos) {
parent_.dispatchFunc(LFUN_MATH_MODE);
parent_.insertSymbol(latex_chosen_.substr(0,i));
parent_.insertSymbol(latex_chosen_.substr(i + 1), false);
} else
parent_.insertSymbol(latex_chosen_);
}
If I comment out all but the last line, then all is fine to insert a symbol
in an existing math inset.
Angus