I commonly use certain types of formulae over and over and it would be nice if I could somehow embed them into the pre-defined examples. In fact, I have never used any of those so it would be great if there was a way to edit the list of samples altogether. I have not been able to poinpoint the location of the given samples in my filesystem so I suppose they are somehow embedded in the source-code. Maybe the most comfortable would be loading the examples from a certain location that could be a configurable path, similar to templates in Writer. Thanks for any comments and consideration, and many thanks for the great office suite!
The examples are hard coded in source. Currently no means via UI and profile to modify the examples or provide user curated collection of their preferred formula. But agree that would be a good enhancement to the sm Formula editor. Doubly so given the pain most LaTeX users have with formula entry (e.g. bug 73593 or bug 96208) allowing a means to do the entry/conversion once and have it available would be helpful. =-ref-= [1] https://opengrok.libreoffice.org/xref/core/starmath/source/ElementsDockingWindow.cxx
A more direct link to the formula examples in the Elements panel: https://opengrok.libreoffice.org/xref/core/starmath/source/ElementsDockingWindow.cxx?r=c37022ff#436
I'd rather go with another category "User-defined". When selected we show an Add button (and Delete) that allows to store the current function.
(In reply to Heiko Tietze from comment #3) > I'd rather go with another category "User-defined". When selected we show an > Add button (and Delete) that allows to store the current function. That makes a lot of sense! Just leave the hardcoded examples alone. And probably cleanest UI as a new SB deck. Feasible since Mike migrated the Elements and Properties panels into the SB framework (bug 125931). Also would imagine such "User-defined" StarMath/MathML snippets would go into a path on the user's profile with a config folder there (similar to autocorr and autotext), and not dumped into the registrymodifications.xcu
I just wanted to thank you for the welcoming reactions to my modest proposal. It is really wonderful to be able to suggest modifications to such a huge and great piece software. Your answers make it sound like it could be done and I hope that this eventually becomes reality. Thanks for
(In reply to sm8ps from comment #5) > I just wanted to thank you for the welcoming reactions.. That's what makes open source software great. And your kind words encourage developers to look into the proposal :-).