P.S. The string-or-music? definition in lines 102–103 is not used and
may be omitted.
Am 17.08.2015 um 02:22 schrieb Simon Albrecht:
Am 17.08.2015 um 00:53 schrieb Thomas Morley:
2015-08-17 0:18 GMT+02:00 Simon Albrecht <simon.albre...@mail.de>:
Lily is being very honest and makes a kind warning telling us that she
doesn’t know how to parenthesize spanners. But it would be really
nice if we
could teach her that :-)
%%%%%%%%%%%%%%%%%%%%%%%%%%
\relative { c''-\parenthesize \> c c c
c2\! -\parenthesize ~ c
}
%%%%%%%%%%%%%%%%%%%%%%%%%%
<https://code.google.com/p/lilypond/issues/detail?id=4565>
I once made the attached code.
It still compiles. You will observe several warnings, they are
intended ;)
I never had the time and energy to finish it.
May be a good starting point, though.
I made an updated version for 2.19.24 and newer (…), which you find
attached. Main differences:
– syntax updates, through convert-ly and manual
– code reformatting (minor)
– Both music functions now take a symbol list instead of a string,
which simplifies the code.
The only noticeable flaw I found is the interleaving tie parentheses
and the collisions with \par Stem or \par Flag. Also, with the first
clef, inside padding is too large and outside padding too small in my
eyes.
But other than that it works very well. Thanks again!
Simon
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond