[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New, more powerful version of \shape!
From: |
David Kastrup |
Subject: |
Re: New, more powerful version of \shape! |
Date: |
Fri, 18 Oct 2013 09:12:38 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Urs Liska <address@hidden> writes:
> Urs Liska <address@hidden> schrieb:
>>
>>
>>
>>
>>David Kastrup <address@hidden> schrieb:
>>>Janek Warchoł <address@hidden> writes:
>>>
>>>> Hi all,
>>>>
>>>> \shape is an awesome function, indispensable for creating
>>>> publication-quality slurs. However, after using it 1107 times in a
>>>> recent project (this number is not a joke!),
>>>
>>>Well, it should be. It means that our slur shaping and quanting is
>>>apparently not doing its job.
>>>
>>>--
>>>David Kastrup
>>>
>>>
>>
>>Janek, can you come up with a reliable way of determining the total
>>number of slurs, ties etc in the project?
>
> Maybe with assistance from Frescobaldi's parser?
Probably easier to do with assistance from LilyPond's parser.
#(define slur-count 0)
oldSlur = (
"(" =
#(define-event-function (parser location) ()
(set! slur-count (1+ slur-count))
oldSlur)
...
#(format #t "\nSlur count: ~S\n" slur-count)
Now that's just the number of input slurs. If you want the number of
output slurs, you probably would make an engraver.
--
David Kastrup
- Re: New, more powerful version of \shape!, (continued)
Re: New, more powerful version of \shape!, Urs Liska, 2013/10/17
Re: New, more powerful version of \shape!, David Nalesnik, 2013/10/17
Re: New, more powerful version of \shape!, Paul Morris, 2013/10/17
Re: New, more powerful version of \shape!, David Kastrup, 2013/10/18
- Re: New, more powerful version of \shape!, Urs Liska, 2013/10/18
- Re: New, more powerful version of \shape!, Urs Liska, 2013/10/18
- Re: New, more powerful version of \shape!,
David Kastrup <=
- Re: New, more powerful version of \shape!, Urs Liska, 2013/10/18
- Re: New, more powerful version of \shape!, Janek Warchoł, 2013/10/18
- Re: New, more powerful version of \shape!, David Kastrup, 2013/10/18
- Re: New, more powerful version of \shape!, Janek Warchoł, 2013/10/18
- Re: New, more powerful version of \shape!, Urs Liska, 2013/10/18
Re: New, more powerful version of \shape!, Jan-Peter Voigt, 2013/10/18