Bug 32415 - Add an option to use English names for Greek characters on Math
Summary: Add an option to use English names for Greek characters on Math
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: ⁨خالد حسني⁩
URL:
Whiteboard: target:24.2.0
Keywords:
: 55240 78397 138570 156832 (view as bug list)
Depends on:
Blocks: Formula-Editor
  Show dependency treegraph
 
Reported: 2010-12-15 09:27 UTC by RGB
Modified: 2023-08-24 11:26 UTC (History)
12 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot for RGB (38.09 KB, image/png)
2011-01-25 14:12 UTC, tester8
Details
Greek character names on Spanish LibO build (17.90 KB, image/png)
2011-01-25 14:53 UTC, RGB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description RGB 2010-12-15 09:27:15 UTC
On Calc there is now an option to use the English function names: I think an option to use English names for Greek characters on Math expressions will be useful also, specially for those coming from LaTeX.
Comment 1 Cédric Bosdonnat 2010-12-16 01:07:28 UTC
Isn't that the same than http://qa.openoffice.org/issues/show_bug.cgi?id=115956 ?
Comment 2 RGB 2010-12-16 12:54:33 UTC
(In reply to comment #1)
> Isn't that the same than http://qa.openoffice.org/issues/show_bug.cgi?id=115956
> ?

No. It is just about the possibility to use, on a Spanish intall, %alpha instead of %alfa, or %mu instead of %my, for example. People coming from LaTeX will be thankful...
Comment 3 tester8 2011-01-25 14:06:42 UTC
> No. It is just about the possibility to use, on a Spanish intall, %alpha
> instead of %alfa, or %mu instead of %my, for example. People coming from LaTeX
> will be thankful...

I always use english names for greek letters in OO and LO and have no problem with that. More over %alpha and %mu works for me but russian variants: %альфа and %мю don't work.

I think english names for greek letters is only good way.
Comment 4 tester8 2011-01-25 14:12:53 UTC
Created attachment 42494 [details]
Screenshot for RGB

Screenshot with english names for greek letters.
Comment 5 RGB 2011-01-25 14:53:29 UTC
Created attachment 42496 [details]
Greek character names on Spanish LibO build

At least the Spanish build have all the Greek character names translated... "%alpha" do not work :(
Comment 6 Björn Michaelsen 2011-12-23 11:34:39 UTC Comment hidden (obsolete)
Comment 7 RGB 2011-12-23 17:04:47 UTC
The feature requested is not implemented on 3.5 beta2.
Comment 8 Thomas Arnhold 2014-05-20 15:57:44 UTC
*** Bug 55240 has been marked as a duplicate of this bug. ***
Comment 9 Thomas Arnhold 2014-05-20 15:58:36 UTC
*** Bug 78397 has been marked as a duplicate of this bug. ***
Comment 10 QA Administrators 2014-10-23 17:31:35 UTC Comment hidden (obsolete)
Comment 11 dante19031999 2020-06-30 03:52:10 UTC
(In reply to RGB from comment #0)
> On Calc there is now an option to use the English function names: I think an
> option to use English names for Greek characters on Math expressions will be
> useful also, specially for those coming from LaTeX.

Hello, if you still there, please answer.
Doing that may be complicated.
But there is an easier solotion: a greek command to insert greek letters.
If it works for you I'll implement it.
Comment 12 RGB 2020-06-30 09:41:16 UTC
(In reply to dante19031999 from comment #11)
> (In reply to RGB from comment #0)
> > On Calc there is now an option to use the English function names: I think an
> > option to use English names for Greek characters on Math expressions will be
> > useful also, specially for those coming from LaTeX.
> 
> Hello, if you still there, please answer.
> Doing that may be complicated.
> But there is an easier solotion: a greek command to insert greek letters.
> If it works for you I'll implement it.

It depends on how it's implemented, but yes, it sounds interesting. 

A really neat feature in LyX (a LaTeX front-end) is that you have "sequential keyboard shortcuts," in the sense that a first keyboard shortcut enables some "mode" and the second one does an action. In the case of Greek characters, in LyX you first press Alt-M to enter "math mode," then G to enter "Greek mode" and then a character (a for alpha, b for beta, etc.). I think that that kind of "sequential shortcuts" are not possible in LibreOffice, but a simplified version of them, or something else, could be really useful. This may even open a road for more options. 

Thanks for your interest!
Comment 13 dante19031999 2020-07-15 01:49:12 UTC
(In reply to RGB from comment #12)
> It depends on how it's implemented, but yes, it sounds interesting. 
> 
> A really neat feature in LyX (a LaTeX front-end) is that you have
> "sequential keyboard shortcuts," in the sense that a first keyboard shortcut
> enables some "mode" and the second one does an action. In the case of Greek
> characters, in LyX you first press Alt-M to enter "math mode," then G to
> enter "Greek mode" and then a character (a for alpha, b for beta, etc.). I
> think that that kind of "sequential shortcuts" are not possible in
> LibreOffice, but a simplified version of them, or something else, could be
> really useful. This may even open a road for more options. 
> 
> Thanks for your interest!

The solution I shall implement: char charname.
Wich shall be valid for greek letters and also others.
It shall also support char hex HEXCODE and %_HEXCODE.
It should be ready for 7.1.
About the lyx stuff it sounds very nice, I'll study how to do it. But I recommend to create a new feature request. If you don't mind I'm gonna copy-paste your text.

Whatch: Bug 134815
Comment 14 Jean-Baptiste Faure 2020-11-30 21:26:15 UTC
*** Bug 138570 has been marked as a duplicate of this bug. ***
Comment 15 Xisco Faulí 2021-02-09 13:12:06 UTC
Removing Assignee. No action done in a while
Comment 16 dante19031999 2021-02-09 16:00:36 UTC
(In reply to Xisco Faulí from comment #15)
> Removing Assignee. No action done in a while

Please, ignore this for 2 or 3 years. It depends on the opensymbol 2, wich means a lot of time.
Comment 17 Xisco Faulí 2022-05-02 14:48:14 UTC
Dear Dante,
This bug has been in ASSIGNED status for more than 3 months without any
activity. Resetting it to NEW.
Please assign it back to yourself if you're still working on this.
Comment 18 ⁨خالد حسني⁩ 2023-08-10 11:15:01 UTC
I’m adding a simple solution that would allow English names together with localized names (i.e. if the name in not in localized names, it will look for it in the English names).

In the long run we should do way with all of this and use the proper Unicode math code points.
Comment 19 Commit Notification 2023-08-10 13:43:56 UTC
Khaled Hosny committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/25b2e4a4e2f9b2191bdd80cca5a015e5b6089399

tdf#32415: Always accept English symbol names in math

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 20 ⁨خالد حسني⁩ 2023-08-24 11:26:16 UTC
*** Bug 156832 has been marked as a duplicate of this bug. ***