Page 1 of 1

Suggestions for a "more intelligent" formula editor

Posted: Sun Aug 31, 2025 9:19 pm
by Albretch Mueller
* there should be a direct key combination to the formula editor (instead of having to go: Insert > Object > Formula)
* once you reduce the size of a font in relation to the rest of the text, there should be an option to keep that setting for all other formulas
* with a little bit of "deep learning", "AI" all formulas in a text document could be found and encoded pretty much at once ("human" editor is supposed to eyeball, commit the final edition anyway)
lbrtchx

Re: Suggestions for a "more intelligent" formula editor

Posted: Sun Aug 31, 2025 11:18 pm
by Lupp
First point: Alt+IOF does it in AOO/OO.o V 4.1.7 (and also in any LibreOffice version) with English UI.
Second point: ANY formula formatting can be done for one single formula which then can be used as a formatting template for all the other Math formulas in the document. AFAIK this isn't supported by a built-in tool, but it isn't really difficult to do it with user code. I wrote such code, but it's probably not well shaped for a release.
There is also the extension "FAF" (format all formulas) which i only know for LibO and never used myself.
See https://extensions.libreoffice.org/en/e ... h-formulas
Third point: ???

Re: Suggestions for a "more intelligent" formula editor

Posted: Sun Aug 31, 2025 11:38 pm
by Lupp
Just tested my mentioed code for "harmonizing" Math formulas with AOO V 4.1.7.
It didn't work because the formula object didn't "kow" its hosting Writer document.
You may find a way to identify that document searching through the open documents using the StarDesktop object.