Bug SS-2431
2 votes

Writer Region: Spurious whitespace to the right of embedded formulas

Created by Martin Kraska on 2/20/2017 7:02 PM Last Updated by Davide on 2/20/2017 8:59 PM
Logged: 0   (hrs)


If a formula is written using =, then the editor adds the symbols @# to the input. In math regions, this is used to provide the placeholder for units, in embedded formulas of a writer region, this is not expected, as the math stuff is dead, for display only.

This problem might be related to the changed behaviour of math regions, they also extend further to the right than what is visible.

    Davide (Monday, February 20, 2017 8:59 PM) #

I think the clipboard is the only way as for now. Yes it is a big challenge; as you mentioned there is the context menu to extend, but even the mouse and keyboard events to pass on the math region. Not prioritary, but a feasible milestone though.

    Martin Kraska (Monday, February 20, 2017 7:58 PM) #

I don't know how to input the boolean equal in the math editor except via clipboard from math regions. That's why I usually use the ordinary =. Probably a special problem with german keyboard.

I guess active math is quite a challenge, is it straightforward to provide all the context menu options (or add new ones like number of significant digits...?

    Davide (Monday, February 20, 2017 7:42 PM) #

Reproduced. This is driven internally in the MathRegion(s) embedded in the WriterRegion, when the plain math is transmitted to be elaborated, stored and rendered.

I'll see if I can hide it in some way in the front end, as for now possible workaround is to use boolean equal (like in worksheet).

BTW in future would be even possible to make them active.