You didn't mention your version. ;)
Yes, sorry for that, my fault.
Try the following version. Though, 2.16.2 returned better Slurs/PhrasingSlurs at linebreak: \version "2.14.2" spaceRight = #(define-music-function (parser location space)(number?) (let* ((amount (+ space 0.5)) (space-right `(extra-space . ,amount))) #{ %% Maybe additional layout-objects must be affected!? \override Score.BarLine #'space-alist #'right-edge = $space-right \override Score.KeySignature #'space-alist #'right-edge = $space-right \override Score.KeyCancellation #'space-alist #'right-edge = $space-right \override Score.TimeSignature #'space-alist #'right-edge = $space-right #})) { \spaceRight #30 %\key d\major a\( b c d~( %\breathe \break %\time 8/8 %\clef alto \key cis\major d4 b) c\) d \bar "|." }
Thanks a lot, this seems to work indeed! Actually I was dreaming of something like \hfill\break in TeX, so that I could either do
notes \bar "|." \hfill \break or notes \hfill \bar "|." \break for example, but your solution is already very good.
Though, I'm a little surprised about the 2.14.2 _segfault_. Compiling the initial 2.16-code with LilyPond 2.14.2 should return: Unbound variable: space-right That's ok, and expected, but a segfault?
Indeed, I was a bit surprised to see this too. It's the first time I see LilyPond segfault (but I did not use it much till now). I looked at bit closer at the error message, and it seems that the origin of the segfault is actually not (only) in the unbound variable:
Parsing... <string>:3:73: error: GUILE signaled an error for the expression beginning here \override Score.BarLine #(quote space-alist) #(quote right-edge) = # space-right Unbound variable: space-right [three more like this] Interpreting music... Preprocessing graphical objects...Segmentation fault It produces a rather ugly backtrace: #0 0x0000000000461b71 in ?? () #1 0x00000000004d285b in ?? () #2 0x00000000004d8912 in ?? () #3 0x00000000004d285b in ?? () #4 0x00000000004d9f23 in ?? () #5 0x00000000004dac6e in ?? () #6 0x00000000004335be in ?? () #7 0x00000000004336ca in ?? () #8 0x00000000004d285b in ?? () #9 0x00000000004daca1 in ?? () #10 0x00000000005df3df in ?? () #11 0x00000000005e7397 in ?? () #12 0x00000000004d285b in ?? () #13 0x00000000006137b8 in ?? () #14 0x0000000000575f4c in ?? () #15 0x00000000004c4d1f in ?? () #16 0x00000000005ae592 in ?? () #17 0x000000000045e04c in ?? () #18 0x000000000045e270 in ?? () #19 0x000000000045bc26 in ?? () #20 0x00007ffff792df6e in ?? () from /usr/lib/libguile.so.17 #21 0x00000000005783e7 in ?? () #22 0x00000000006549f2 in ?? () #23 0x00000000006589bb in ?? () #24 0x00000000004fabd4 in ?? () #25 0x00000000004f9021 in ?? () #26 0x00007ffff792e783 in ?? () from /usr/lib/libguile.so.17 #27 0x00007ffff7981719 in scm_c_catch () from /usr/lib/libguile.so.17 #28 0x00007ffff798189e in scm_catch_with_pre_unwind_handler () from /usr/lib/libguile.so.17 #29 0x00007ffff792df6e in ?? () from /usr/lib/libguile.so.17 #30 0x00007ffff792e36c in ?? () from /usr/lib/libguile.so.17 #31 0x00007ffff26c2251 in scm_srfi1_for_each () from /usr/lib/libguile-srfi-srfi-1-v-3.so #32 0x00007ffff792e994 in ?? () from /usr/lib/libguile.so.17 #33 0x00007ffff792e36c in ?? () from /usr/lib/libguile.so.17 #34 0x00007ffff792ecfb in ?? () from /usr/lib/libguile.so.17 #35 0x000000000050a50a in ?? () #36 0x00007ffff794542f in ?? () from /usr/lib/libguile.so.17 #37 0x00007ffff791c87a in ?? () from /usr/lib/libguile.so.17 #38 0x00007ffff7981719 in scm_c_catch () from /usr/lib/libguile.so.17 #39 0x00007ffff791cdcb in scm_i_with_continuation_barrier () from /usr/lib/libguile.so.17 #40 0x00007ffff791ce60 in scm_c_with_continuation_barrier () from /usr/lib/libguile.so.17 #41 0x00007ffff7980494 in scm_i_with_guile_and_parent () from /usr/lib/libguile.so.17 #42 0x00007ffff79454e5 in scm_boot_guile () from /usr/lib/libguile.so.17 #43 0x000000000040f6f3 in ?? () #44 0x00007ffff588aead in __libc_start_main (main=<optimized out>, argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe308) at libc-start.c:228 #45 0x0000000000413ebd in ?? () #46 0x00007fffffffe308 in ?? () #47 0x000000000000001c in ?? () #48 0x0000000000000002 in ?? () #49 0x00007fffffffe5b2 in ?? () #50 0x00007fffffffe5c4 in ?? () #51 0x0000000000000000 in ?? () _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user