On 04/02/2015 08:36 AM, Lambacher, Armin wrote:
> str << "\\tweak color #magenta "; > So, would this be the correct way of marking the parallels in color? Or > should I go for something else? It's the right way to go in LilyPond terms, and the code to fish out and use this property looks sound. My only concern is placement in the stream of things. I encourage you to try as many complicated examples as you can produce. What happens when a magenta note occurs in the same place as a hairpin and a slur and a phrasing slur with some fingerings on a chord that has the stem direction set manually and all the notes have three marks? I have no idea if your placement will work perfectly, or cause subtle problems. The LilyPond export code can be really tricky this way. Things work perfectly, then you put them inside a chord, and they break, so you have to find a way to hack around it. The code is full of hacks like that, and it's a crazy mess. I always try the easiest and most obvious thing first, and it usually works. The other thing is potential LilyPond version issues. Their syntax changes constantly, and we haven't updated to support any newer versions in several years. Maybe the syntax is different in some of the versions we do support. Maybe it works with one version, but not another. You don't really have to achieve perfection, because it's impossible, so it's fine if the code still breaks in some edge cases. The LilyPond code will always break in some edge cases. It's enormously complicated, and music of the real world is full of so many edge cases it's ridiculous. -- D. Michael McIntyre ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
