Updates:
Status: Invalid
Comment #6 on issue 2307 by [email protected]: Arrows not displayed in
snippets PDF when using LilyPond-book
http://code.google.com/p/lilypond/issues/detail?id=2307
I don't think this is a bug. After all, you explicitly set the extents of
the arrows to zero:
splitStaffBarLineMarkup = \markup \with-dimensions #'(0 . 0) #'(0 . 0) ....
Lilypond-book crops the output from the available extent information. Since
you are telling lilypond that splitStaffBarLineMarkup has no extents, the
images will be cropped as if the arrows are not there...
The reason why it appears to work in HTML is that texi2pdf uses images for
each individual staff, while HTML uses one image for the whole score (where
the first line is shorter than the second and thus the zero-extent of the
arrows has no effect on cropping).
Apparently, you are using the zero-extent as a workaround to get the arrow
printed after the stafflines, but that workaround simply breaks the
cropping...