I think something like the following patch should be applied so that the \Dynamics context supports the `to-barline' property of hairpins. However, I haven't tested whether it has any negative side effects.
Werner ====================================================================== --- engraver-init.ly.old 2009-09-16 22:22:31.000000000 +0200 +++ engraver-init.ly 2009-09-25 21:03:23.000000000 +0200 @@ -350,6 +350,7 @@ \name Dynamics \alias Voice \consists "Output_property_engraver" + \consists "Bar_engraver" \consists "Piano_pedal_engraver" \consists "Script_engraver" \consists "New_dynamic_engraver" _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel