[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Feature request: \shape warnings
From: |
Urs Liska |
Subject: |
Feature request: \shape warnings |
Date: |
Thu, 11 Oct 2012 17:41:45 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 |
Hi list,
several months ago David Nalesnik (together with input from others)
updated the older \shape function that allows shaping the control-points
of curve grobs - which provided a massive increase in productivity when
dealing with slurs etc.
For example, one major improvement was the handling of broken curves.
After it was finished the function has been incorporated in LilyPond's code
(http://code.google.com/p/lilypond/issues/detail?id=2572)
and was recently changed further
(http://code.google.com/p/lilypond/issues/detail?id=2873)
However, David removed one very interesting feature from the function in
order to be able to provide a more concise and clean patch. In 'our'
version of the function the function issued warnings (and optionally
colored the curves) when it found a mismatch between the number of curve
siblings (broken parts of the curve) and lists of offset-pairs.
This is a very useful feature because you get noticed if changed line
breaking results in a different number of curve parts (which is most
likely to spoil your tweaking).
See the attachment for the older version of the function. Please note
that it just redefines the built-in \shape function and doesn't use it.
It isn't meant as the model for a new implementation (as I know the
function has in the meantime been changed already) but to show the
mentioned functionality.
What I would like to achieve with this email is that someone opens a new
issue with the request for inclusion of this functionality to the \shape
function now included in Lilypond.
David suggested he might revisit his code to make it more stable.
What i consider essential is the part that issues warnings on the
console output.
Personally I like the coloring very much, but I could imagine that some
people would find this too intrusive (even if the default color would be
black?)
Best
Urs
shapingCurves.ly
Description: Text Data
- Feature request: \shape warnings,
Urs Liska <=