lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feedback wanted: syntax highlighting in the LilyPond documentation


From: Peter Toye
Subject: Re: Feedback wanted: syntax highlighting in the LilyPond documentation
Date: Mon, 3 Jan 2022 11:18:21 +0000

Jean,

 

There are various types of colour-blindness - red-green is the most common. I did a quick Google on "design for colour-blind" and got several useful hits, mostly for web designers. The basic message is "don't rely on colour to get a message across", which isn't much help to you.

 

One way round this might be to allow the user to select colours for the different distinguishable syntax elements (I think this has already been suggested somewhere in this thread). And not to make it too complicated. I personally get a bit fed up with Frescobaldi's colours but being normally-sighted I can live with it.



Best regards,


Peter

mailto:lilypond@ptoye.com

www.ptoye.com


-------------------------

Sunday, January 2, 2022, 5:01:11 PM, lilypond-user-request@gnu.org wrote:


Send lilypond-user mailing list submissions to
        lilypond-user@gnu.org


To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.gnu.org/mailman/listinfo/lilypond-user
or, via email, send a message with subject or body 'help' to
        lilypond-user-request@gnu.org


You can reach the person managing the list at
        lilypond-user-owner@gnu.org


When replying, please edit your Subject line so it is more specific
than "Re: Contents of lilypond-user digest..."



Today's Topics:


   1. Re: Feedback wanted: syntax highlighting in the LilyPond
      documentation (Wols Lists)
   2. Re: Feedback wanted: syntax highlighting in the LilyPond
      documentation (Jean Abou Samra)



----------------------------------------------------------------------


Message: 1
Date: Sun, 2 Jan 2022 16:24:39 +0000
From: Wols Lists <antlists@youngman.org.uk>
To: lilypond-user@gnu.org
Subject: Re: Feedback wanted: syntax highlighting in the LilyPond
        documentation
Message-ID: <0578c098-ae48-ac16-f8ae-79ef71076b49@youngman.org.uk">0578c098-ae48-ac16-f8ae-79ef71076b49@youngman.org.uk>
Content-Type: text/plain; charset=UTF-8; format=flowed


On 02/01/2022 09:34, Marc Lanoisel?e via LilyPond user discussion wrote:
It will be necessary to keep an uncolored version for men (in principle 
women do not have this problem) who do not see well certain colors.


In principle (and practice) women DO suffer this problem. It's caused by 
a defective X chromosome so, like haemophilia, the majority of sufferers 
are men. If however a colour-blind man marries a carrier woman, any 
daughter runs a 50-50 risk of being colour-blind.


Cheers,
Wol




------------------------------


Message: 2
Date: Sun, 2 Jan 2022 17:32:32 +0100
From: Jean Abou Samra <jean@abou-samra.fr>
To: Knute Snortum <ksnortum@gmail.com>
Cc: Lilypond-User Mailing List <lilypond-user@gnu.org>
Subject: Re: Feedback wanted: syntax highlighting in the LilyPond
        documentation
Message-ID: <5ceaea96-eda8-45bb-82bf-896733085eda@abou-samra.fr">5ceaea96-eda8-45bb-82bf-896733085eda@abou-samra.fr>
Content-Type: text/plain; charset=UTF-8; format=flowed


Le 02/01/2022 ? 17:01, Knute Snortum a ?crit?:
On Sun, Jan 2, 2022 at 7:10 AM Jean Abou Samra <jean@abou-samra.fr> wrote:
...
[Marc]
It will be necessary to keep an uncolored version for men (in
principle women do not have this problem) who do not see well certain
colors.
This is taken care of -- the colors have been
chosen to have enough contrast to the white
background to be readable even for those
with impaired vision. Since I am not such a
person, I have been checking the scheme against
WCAG recommendations. The color with least
contrast has 6.15, which is quite a bit
above the WCAG AA level of 4.5. This means that
even someone not discerning colors at all
can read such highlighted code.
I am colorblind (which BTW means that it's hard to distinguish certain
colors, not that everything is gray).



Sorry if I gave a wrong impression. I didn't
mean that everything actually looked gray, just
that it was the extreme imaginary case encompassing
all types of colorblindness (I think there are
different ones, right?).



I can't see a difference
between the blue and the purple, but this doesn't cause a problem for
me -- I just miss some of the highlighting, which is unavoidable.  The
bold terms jump out at me, but the coloration seems reasonable.  All
in all, the scheme seems reasonable to me.



Thanks for the input! That's reassuring.


Best regards,
Jean





------------------------------


Subject: Digest Footer


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user



------------------------------


End of lilypond-user Digest, Vol 230, Issue 10
**********************************************

reply via email to

[Prev in Thread] Current Thread [Next in Thread]