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
[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
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
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)).
The new URL of the corresponding Apache OpenOffice bug is https://issues.apache.org/ooo/show_bug.cgi?id=5156.
@marcos, do you have implemented it right?
(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...
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)
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 ;)
@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?
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.
in 4.4 was added 16 HTML colors for Math. this is not enough? =)
In my opinion, and for my use, it is definitely not enough. LibreOffice is great program; I use it for desktop publishing. And in this case, it is a great downside that the colors for formulas are limited and not precisely customizable. In the OpenOffice-Bugzilla (https://bz.apache.org/ooo/show_bug.cgi?id=5156), Mathias Bauer (Comment 12) wrote that it would be possible to use RGB values, and he asked if that was what users want. – I would say: Definitely! benji2, in Comment 13, suggested a "hex-tuple like #FFCC00". I think this would be good, as well. Is it possible to implement one – or even both – of these ways?
Some news ?
*** Bug 130779 has been marked as a duplicate of this bug. ***
Please also allow hexadecimal values. Currently you can enter something like "color red 1 = color blue 2" but not "color #FF0000 1 = color #0000FF 2". See bug 130779.
(In reply to Heiko Tietze from comment #18) > Please also allow hexadecimal values. Currently you can enter something like > "color red 1 = color blue 2" but not "color #FF0000 1 = color #0000FF 2". > See bug 130779. I would prefer a sytax like this too.
*** Bug 133072 has been marked as a duplicate of this bug. ***
dante committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/e7fee907fa8240c742bd8f6268768d1acad2774f tdf#40436 tdf#47914 RGB personalized color for math and laplace symbol 2 It will be available in 7.1.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.
dante committed a patch related to this issue. It has been pushed to "libreoffice-7-0": https://git.libreoffice.org/core/commit/bcec35810326c09dccac168e0411c5bb42475732 tdf#40436 tdf#47914 RGB personalized color for math and laplace symbol 2 It will be available in 7.0.0.1. 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.
Would be cool add info about it into our Help, Olivier?
Hi. I'm the coder. I do not know how to change the help, but the syntax is: rgb r g b { "text" } Example: rgb 0 100 0 { "text" } Does not suppor #00FF00 mode because # is already used for matrix separator. It should be enaought for the help.
(In reply to dante19031999 from comment #24) > Hi. I'm the coder. It's awesome! > Example: rgb 0 100 0 { "text" } color rgb 0 100 0 { "text" } - it works! So verified, thanks Dante