Andrew Bernard <[email protected]> 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.
dak@lola:/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
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user