Bug 40436 - Custom colours in Math
Summary: Custom colours in Math
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version: 3.3.3 release
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-28 08:55 UTC by v_2e
Modified: 2014-11-10 14:18 UTC (History)
5 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description v_2e 2011-08-28 08:55:19 UTC
Hello!
  LibreOffice Math supports only few pre-defined colours to use in the equation. It is very inconvenient itself, but moreover the colours defined there are too dark to be used for usual tasks (at least, in my case).

  It would be nice to have an ability to use custom colours in equations, and it looks like a lot of people wish such a feature.
  Here is the corresponding OOo bug: http://openoffice.org/bugzilla/show_bug.cgi?id=5156

  Regards,
    Vladimir
Comment 1 Björn Michaelsen 2011-12-23 12:40:00 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 2 Florian Reisinger 2012-08-14 14:00:09 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 3 Florian Reisinger 2012-08-14 14:01:17 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 4 Florian Reisinger 2012-08-14 14:06:02 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 5 Florian Reisinger 2012-08-14 14:08:03 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 6 Ruslan Kabatsayev 2013-01-01 01:26:20 UTC
It seems the bug is still present. At least I've not found any evidence that there's a way to use custom colors in LO Math.
(I'm using Version 4.1.0.0.alpha0+ (Build ID: 6869aaa2b36316e50b512e0ba4819743d834cea)).
Comment 7 Christophe Strobbe 2013-08-13 18:52:18 UTC
The new URL of the corresponding Apache OpenOffice bug is https://issues.apache.org/ooo/show_bug.cgi?id=5156.
Comment 8 José Guilherme Vanz 2013-11-02 22:51:00 UTC
@marcos, do you have implemented it right?
Comment 9 Marcos Souza 2013-11-03 14:40:50 UTC
(In reply to comment #8)
> @marcos, do you have implemented it right?

No, what I did was introducing a more easy way to users can change the colors of the formula.

We need to take a look in the code for trying to extend to more colors...
Comment 10 Gerry 2014-10-31 08:37:08 UTC
It seems that a first step is made with regards to custom colours in Math:

http://cgit.freedesktop.org/libreoffice/core/commit/?h=aoo/trunk&id=529e59d90037748d0030191b93252e597935243e

Now, 16 colours are possible instead of 8. 

However, I think it is not yet accessible from the UI, is it? (I mean the left formula bar in Math which shows the eight colours)
Comment 11 Regina Henschel 2014-10-31 12:11:16 UTC
I have no build system for LibreOffice (I'm still on MSVC 2008) and Apache OpenOffice does not have this side pane. Therefore I could not adapt the pane in my patch.

The patch is about the named colors on MathML. The #rrggbb and #rgb cases are still missing. But 16 colors are better then 8 ;)
Comment 12 Gerry 2014-11-10 11:35:28 UTC
@Regina: thanks for the increase to 16 colors in Math. Marcos Souza has put them to the Math elements bar, so they will be accessible from the UI in LibreOffice 4.4. See here: https://wiki.documentfoundation.org/ReleaseNotes/4.4#Color_support

There might be a small bug, though: Magenta and Fuchsia look exactly the same. On screen and PDF output one cannot tell a difference. Also, Cyan and Aqua are the same. Do you also see this problem on your system?
Comment 13 Regina Henschel 2014-11-10 14:18:41 UTC
They must be the same, see table in http://www.w3.org/TR/SVG/types.html#ColorKeywords. The table handles more color names than allowed in MathML, but W3C holds naming consistent throughout the standards, only some standards have more names than others. We should follow the color names used by W3C.

I have kept cyan and magenta in the UI although they do not belong to the color names allowed in MathML, because that names are used in StarMath, and people are nowadays used to that names because of inks in color printer.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.