An -- ti -- cons -- ti --
tu -- tion -- nel -- le --
\override LyricHyphen #'minimum-length = #0.7
- \override LyricHyphen #'spacing-procedure =
+ \override LyricHyphen #'callbacks #'springs-and-rods =
#Hyphen_spanner::set_spacing_rods
men -- taire -- ment. ouf~!
}
we can't kill the children, since we don't want to the
previous note to bump into the span arpeggio; so we make
it transparent. */
- arpeggios_[j]->set_property ("print-function", SCM_EOL);
+ arpeggios_[j]->set_callback (ly_symbol2scm ("stencil"), SCM_EOL);
}
span_arpeggio_ = 0;
Sven Axelsson, the Murray Pipes & Drums of Gothenburg
(http://www.murrays.nu)
- $Id: bagpipe.ly,v 1.6 2005/08/23 03:04:09 gpercival Exp $
+ $Id: bagpipe.ly,v 1.7 2005/10/17 00:48:17 hanwen Exp $
%}
-\version "2.6.0"
+\version "2.7.13"
% Notes of the scale of the Great Highland Bagpipe. Extra high notes for bombarde.
% Flat notes used mainly in some modern music.
hideKeySignature = {
% We normally don't want to show the key signature.
- \override Staff.KeySignature #'print-function = ##f
+ \override Staff.KeySignature #'callbacks #'stencil = ##f
\set Staff.extraNatural = ##f
\key d \major
#(set-accidental-style 'forget)
}
showKeySignature = {
% Show the key signature e.g. for BMW compatibility.
- \override Staff.KeySignature #'print-function = #'Key_signature_interface::print
+ \override Staff.KeySignature #'callbacks #'stencil = #'Key_signature_interface::print
\set Staff.extraNatural = ##f
\key d \major
#(set-accidental-style 'forget)
-\version "2.6.0"
+\version "2.7.13"
%%%%%%%%
%%%%%%%% shortcuts common for all styles of gregorian chant notation
\breathe
}
divisioMinima = {
- \once \override BreathingSign #'print-function = #Breathing_sign::divisio_minima
+ \once \override BreathingSign #'callbacks #'stencil = #Breathing_sign::divisio_minima
% Workaround: add padding. Correct fix would be spacing engine handle this.
\once \override BreathingSign #'extra-X-extent = #'(-1.0 . 0)
\breathe
}
divisioMaior = {
- \once \override BreathingSign #'print-function = #Breathing_sign::divisio_maior
+ \once \override BreathingSign #'callbacks #'stencil = #Breathing_sign::divisio_maior
\once \override BreathingSign #'Y-offset-callbacks = #'()
% Workaround: add padding. Correct fix would be spacing engine handle this.
\breathe
}
divisioMaxima = {
- \once \override BreathingSign #'print-function = #Breathing_sign::divisio_maxima
+ \once \override BreathingSign #'callbacks #'stencil = #Breathing_sign::divisio_maxima
\once \override BreathingSign #'Y-offset-callbacks = #'()
% Workaround: add padding. Correct fix would be spacing engine handle this.
\breathe
}
finalis = {
- \once \override BreathingSign #'print-function = #Breathing_sign::finalis
+ \once \override BreathingSign #'callbacks #'stencil = #Breathing_sign::finalis
\once \override BreathingSign #'Y-offset-callbacks = #'()
% Workaround: add padding. Correct fix would be spacing engine handle this.
%#(define (add-staccato m)
% (add-script m "staccato"))
%
-% % \applymusic #(lambda (x) (music-map add-staccato x)) { c c }
+% % \applyMusic #(lambda (x) (music-map add-staccato x)) { c c }
%
% % \climacus { x y z ... }:
% % \[ \virga x \inclinatum y \inclinatum z ... \]
% property-init.ly
-\version "2.6.0"
+\version "2.7.13"
stemUp = \override Stem #'direction = #UP
stemDown = \override Stem #'direction = #DOWN
}
setEasyHeads = \sequential {
- \override NoteHead #'print-function = #Note_head::brew_ez_stencil
+ \override NoteHead #'callbacks #'stencil = #Note_head::brew_ez_stencil
\override NoteHead #'font-size = #-7
\override NoteHead #'font-family = #'sans
\override NoteHead #'font-series = #'bold
arpeggio = #(make-music 'ArpeggioEvent)
arpeggioUp = \sequential {
- \revert Arpeggio #'print-function
+ \revert Arpeggio #'callbacks % stencil
+
\override Arpeggio #'arpeggio-direction = #UP
}
arpeggioDown = \sequential {
- \revert Arpeggio #'print-function
+ \revert Arpeggio #'callbacks % stencil
+
\override Arpeggio #'arpeggio-direction = #DOWN
}
arpeggioNeutral = \sequential {
- \revert Arpeggio #'print-function
+ \revert Arpeggio #'callbacks % stencil
+
\revert Arpeggio #'arpeggio-direction
}
arpeggioBracket = \sequential {
- \override Arpeggio #'print-function = #Arpeggio::brew_chord_bracket
+ \override Arpeggio #'callbacks #'stencil = #Arpeggio::brew_chord_bracket
}
glissando = #(make-music 'GlissandoEvent)
(MeasureGrouping
. (
(Y-offset-callbacks . (,Side_position_interface::aligned_side))
- (callbacks . (stencil . ,Measure_grouping::print))
+ (callbacks . ((stencil . ,Measure_grouping::print)))
(padding . 2)
(direction . 1)
(thickness . 1)
"")
"\n")))
- ((equal? (object-property sym 'is-grob?) #t) "")
+ ((equal? (object-property context-sym 'is-grob?) #t) "")
((equal? tag 'assign)
(format "@item Set translator property @code{~a} to @code{~a}"
context-sym