void
Ligature_engraver::override_stencil_callback ()
{
+#if 0
+ /*
+ This has been broken with the introduction of generic callbacks.
+ */
SCM target_callback = ly_symbol2scm ("print-function");
SCM source_callback = ly_symbol2scm ("ligature-primitive-callback");
SCM noteHeadProperties = updated_grob_properties (context (), ly_symbol2scm ("NoteHead"));
SCM value = scm_cdr (scm_sloppy_assq (source_callback, noteHeadProperties));
execute_pushpop_property (context (), ly_symbol2scm ("NoteHead"),
target_callback, value);
+
+#endif
}
/*
%% increases beam thickness and spacing; beams are
%% too big. We have to adjust the beam settings:
\override Beam #'thickness = #0.32
- \override Beam #'space-function =
- #(lambda (beam mult) (* 0.62 (Beam::space_function beam mult)))
+ \override Beam #'length-fraction = #0.62
%% No accidental in tablature !
\remove Accidental_engraver
(stroke-style ,string? "set to \"grace\" to turn stroke through flag on.")
(style ,symbol? "This setting determines in what style a grob is
-typeset. Valid choices depend on the @code{print-function} that is
-reading this property.")
+typeset. Valid choices depend on the @code{stencil} callback reading
+this property.")
(text ,markup? "Text markup. See @usermanref{Text markup}.")
;;FIXME -- Should both be the same?
(text-direction ,ly:dir? "This controls the ordering of the
@var{min} and @var{max} are dimensions in staff space.")
(tie-configuration ,list? "List of (@var{position} . @var{dir})
pairs, indicating the desired tie configuration.")
- (transparent ,boolean? "This is almost the same as setting
-@code{print-function} to @code{#f}, but this retains the dimensions of
-this grob, which means that grobs can be erased individually.")
+ (transparent ,boolean? "This makes the grob invisible.")
(uniform-stretching ,boolean? "If set, items stretch proportional
to their durations. This looks better in complex polyphonic patterns")
(used ,boolean? "If set, this spacing column is kept in the spacing problem")
;; [TODO: change this]
(primitive ,integer? "Pointer to a ligature primitive, i.e. an item similar to a note head that is part of a ligature. ")
- (stencil ,ly:stencil? "Cached output of the print-function.")
+ (stencil ,ly:stencil? "The symbol to print.")
(ideal-distances ,list? "(@var{obj} . (@var{dist} . @var{strength})) pairs.")
(minimum-distances ,list? "list of rods, that have the format (@var{obj} . @var{dist}).")
(string-append
"@item Set "
- (format "grob-property @code{~a} " (string-join path " "))
- (format " in @ref{~a} " context-sym)
- (if (not (null? (cddr body)))
- (format " to @code{~a}" (scm->texi value))
- "")
-
+ (format "grob-property @code{~a} " (string-join (map symbol->string path) " "))
+ (format " in @ref{~a} to @code{~a}. " context-sym (scm->texi value))
"\n")))
((equal? (object-property context-sym 'is-grob?) #t) "")
((equal? tag 'assign)