[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tie minimum length
From: |
David Kastrup |
Subject: |
Re: Tie minimum length |
Date: |
Fri, 18 Jan 2019 16:37:23 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Andrew Bernard <address@hidden> writes:
> The NR for 2.19.82 in section 3.2.128 'tie interface' states:
>
> min-length
> If the tie is shorter than this amount (in staff-spaces) an increasingly
> large length penalty is incurred.
>
> But if I use this an error is thrown. Using minimum-length works fine.
>
> warning: cannot find property type-check for `min-length' (backend-type?).
> perhaps a typing error?
>
> warning: skipping assignment
>
>
>
> Is this a mistake in the manual for the name?
Yes and no.
address@hidden:/usr/local/tmp/lilypond$ git grep min-length
Documentation/included/font-table.ly: (define (min-length lst n)
Documentation/included/font-table.ly: (1+ (min-length (cdr lst) (1- n)))))
Documentation/included/font-table.ly: (let* ((n (min-length names 2))
Documentation/misc/ChangeLog-2.10: sliding score for min-length.
lily/tie-details.cc: min_length_ = get_real_detail ("min-length", 1.0);
lily/tie-details.cc: min_length_penalty_factor_ = get_real_detail
("min-length-penalty-factor", 1.0);
lily/tie.cc: "@item min-length\n"
lily/tie.cc: "@item min-length-penalty-factor\n"
lily/tie.cc: " @code{min-length}.\n"
scm/define-grobs.scm: (min-length-penalty-factor . 26)
Part of the code uses it but it is not properly defined. It's not as
much a "mistake in the manual" as completely broken code.
--
David Kastrup