Re: Change color for some symbols in a sylable

2012-02-18 Thread Svetlana
Hi David! 14.02.2012, 18:16, David Nalesnik david.nales...@gmail.com: Hi Svetlana! Sorry about my (very) late response! This looks good to me.  Apart from some minor changes, I'll probably add a note about the Unicode issue, since the snippet might prove helpful to someone working with

Re: Change color for some symbols in a sylable

2012-02-14 Thread David Nalesnik
Hi Svetlana! On Sat, Jan 28, 2012 at 6:11 AM, Svetlana eurid...@yandex.ru wrote: Sorry for the late answer, too many things require my attention these days. Thank you for making the code better, I've tested it and it works as supposed. I've finally prepared the description for LSR. Also,

Re: Change color for some symbols in a sylable

2012-01-28 Thread Svetlana
28.01.2012, 15:46, "Svetlana" eurid...@yandex.ru:Hi, David! 19.01.2012, 20:14, "David Nalesnik" david.nales...@gmail.com:  Hi again Svetlana,  I’ve revisited the functions for coloring symbols, and I've eliminated the need to provide a list of every character your text might include.  This was

Re: Change color for some symbols in a sylable

2012-01-19 Thread David Nalesnik
Hi again Svetlana, I’ve revisited the functions for coloring symbols, and I've eliminated the need to provide a list of every character your text might include. This was liable to cause problems (omissions not showing up in the score, the problem with the non-breaking space you found, etc.) and

Re: Change color for some symbols in a sylable

2012-01-14 Thread Carl Sorensen
From: David Nalesnik david.nales...@gmail.com Date: Fri, 13 Jan 2012 09:23:14 -0600 To: Carl Sorensen c_soren...@byu.edu Cc: Светлана eurid...@yandex.ru, lilypond-user lilypond-user@gnu.org, Francisco Vila paconet@gmail.com Subject: Re: Change color for some symbols in a sylable Hi

Re: Change color for some symbols in a sylable

2012-01-13 Thread David Nalesnik
Hi Carl, 2012/1/11 Carl Sorensen c_soren...@byu.edu * * Guile has utf-8 string handlers: http://www.gnu.org/software/guile-gnome/docs/glib/html/Unicode-Manipulation.html I've tried a number of these functions and all appear to be unavailable within my .ly files. I find gLib 2.0

Re: Change color for some symbols in a sylable

2012-01-13 Thread David Nalesnik
Hi Svetlana, 2012/1/12 Светлана eurid...@yandex.ru This works perfectly! I've included all the symbols, that can be used by znamya font and also found some more symbols that should be colored (those that are not available directly from keyboard), so now we have an universal coloring script

Re: Change color for some symbols in a sylable

2012-01-13 Thread Светлана
Hi. David,13.01.2012, 21:47, "David Nalesnik" david.nales...@gmail.com:Hi Svetlana,I'm so glad to hear that this works!I happened to notice that several characters are duplicated in the all-characters list, among these the space :)  I took out a few obvious ones.  (I realize that some characters

Re: Change color for some symbols in a sylable

2012-01-12 Thread James
Svetlana, 2012/1/12 Светлана eurid...@yandex.ru: 12.01.2012, 06:16, David Nalesnik david.nales...@gmail.com: Hi Svetlana, Yes, the problem lies in the fact that the representations of many of the Cyrillic letters are more than one byte in length, and the Guile functions which deal with

Re: Change color for some symbols in a sylable

2012-01-11 Thread Светлана
11.01.2012, 03:01, "David Nalesnik" david.nales...@gmail.com:Hi Svetlana,Thanks for the explanation and the examples!  I think I understand better, and it's not as difficult as I first thought. (At least, I hope so...)I've attached a new version of the functions.  They work fine with my "Twinkle,

Re: Change color for some symbols in a sylable

2012-01-11 Thread Christopher R. Maden
On 01/11/2012 03:54 AM, Светлана wrote: Yeah, this works like I wanted, but there is one problem. The problem is called UTF-8. All is fine if you have latin lyrics and symbols to color from ANSI encoding. Then if you add cyrillic lyrics - the function messes all the letters. If you try to add

Re: Change color for some symbols in a sylable

2012-01-11 Thread David Nalesnik
Hi Svetlana, On Wed, Jan 11, 2012 at 11:04 AM, Christopher R. Maden cr...@maden.orgwrote: On 01/11/2012 03:54 AM, Светлана wrote: Yeah, this works like I wanted, but there is one problem. The problem is called UTF-8. All is fine if you have latin lyrics and symbols to color from ANSI

Re: Change color for some symbols in a sylable

2012-01-11 Thread David Nalesnik
One more thing... 2012/1/11 David Nalesnik david.nales...@gmail.com The variable all-characters stores every character which can appear in the lyric text. Don't forget the space ( ) ! David ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Change color for some symbols in a sylable

2012-01-10 Thread Светлана
10.01.2012, 04:51, "David Nalesnik" david.nales...@gmail.com:Hi Svetlana,I'm sure the code can be improved, but the following functions let you colorize single letters or groups of letters within lyrics.You can also apply other markup commands to them.  (There is an alternate line in

Re: Change color for some symbols in a sylable

2012-01-10 Thread Светлана
10.01.2012, 03:47, Carl Sorensen c_soren...@byu.edu: On 1/9/12 3:59 PM, Francisco Vila paconet@gmail.com wrote: #(define-markup-command (firstred layout props sone stwo) (string? string?)   Print the first string in red   (interpret-markup layout props (markup #:concat

Re: Change color for some symbols in a sylable

2012-01-10 Thread David Nalesnik
Hi Svetlana, 2012/1/10 Светлана eurid...@yandex.ru Thank you, David, for this wonderful function. No mess in lyrics at all! But for my needs there should be a list of symbols, not just one (like coloring both a and e in your example). There is a list of about 20 symbols that should be

Re: Change color for some symbols in a sylable

2012-01-10 Thread Светлана
10.01.2012, 17:15, "David Nalesnik" david.nales...@gmail.com: Hi Svetlana, This is a fun problem, and I may be able to help depending on what exactly you need.  I'm not familiar with the notation system you're using, and I haven't been able to find other examples of this type of chant (Znamenny?)

Re: Change color for some symbols in a sylable

2012-01-10 Thread Светлана
Oops, here is the file I promissed. Regards,Svetlana.  example.ly Description: Binary data ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Change color for some symbols in a sylable

2012-01-10 Thread David Nalesnik
Hi Svetlana, On Tue, Jan 10, 2012 at 1:08 PM, Светлана eurid...@yandex.ru wrote: Originaly, Znamenny chants were written only with znamya and text, no staff notes at all. Music is completely encrypted in znamya itself. But now we need notes, as only few people are familiar with the system

Re: Change color for some symbols in a sylable

2012-01-09 Thread Francisco Vila
2012/1/9 Светлана eurid...@yandex.ru: Hello all! I make notes for old Russian church music. Before I just learned lilypond, now I'm concerned with look and feel, so I have quite many questions. I'll try to ask them one by one, not making mess with multiple topics in one message. If it's

Re: Change color for some symbols in a sylable

2012-01-09 Thread Светлана
10.01.2012, 00:01, Francisco Vila paconet@gmail.com: Use complex markups as syllables. { c' } \addlyrics { \markup { \concat { \with-color #red A bc } } } -- Francisco Vila. Badajoz (Spain) www.paconet.org , www.csmbadajoz.com Well, thank you, that works! But each score has at least 30

Re: Change color for some symbols in a sylable

2012-01-09 Thread Jakub Pavlík
Původní zpráva Od: Светлана eurid...@yandex.ru Předmět: Re: Change color for some symbols in a sylable Datum: 09.1.2012 23:24:50 10.01.2012, 00:01, Francisco Vila paconet@gmail.com: Use complex markups as syllables

Re: Change color for some symbols in a sylable

2012-01-09 Thread Francisco Vila
2012/1/9 Светлана eurid...@yandex.ru: 10.01.2012, 00:01, Francisco Vila paconet@gmail.com: Use complex markups as syllables. { c' } \addlyrics { \markup { \concat { \with-color #red A bc } } } -- Francisco Vila. Badajoz (Spain) www.paconet.org , www.csmbadajoz.com Well, thank you,

Re: Change color for some symbols in a sylable

2012-01-09 Thread Carl Sorensen
On 1/9/12 3:59 PM, Francisco Vila paconet@gmail.com wrote: 2012/1/9 Светлана eurid...@yandex.ru: 10.01.2012, 00:01, Francisco Vila paconet@gmail.com: Use complex markups as syllables. { c' } \addlyrics { \markup { \concat { \with-color #red A bc } } } -- Francisco Vila. Badajoz