On Thu, 2017-04-06 at 16:11 -0500, Guy Stalnaker wrote: > I thank you because you answered by question.
It seems this didn't get posted to the mailing list, which would be a shame as this reply seems to be the one that solved your problem. > This might be > worth an LSR, because it can be used to "draw" a box around anything > as > long as one knows page dimensions by pixels. It could be that there is nothing like this in the LSR - I *think* the gsave ... grestore thing was something I devised when customizing Nicholas Sceaux's title page work, so it could be a trick that is not widely known... Richard > On 4/6/2017 2:05 PM, Richard Shann wrote: > > On Thu, 2017-04-06 at 13:26 -0500, Guy Stalnaker wrote: > >> Thanks, Richard, alas, no ... that does nothing that I can discern > >> except errors in lilypond 2.19.x > >> > >> > >> I'm assuming, therefore, that I don't know what to do with your > code. > >> Use \bookTitleMarkup somewhere? > >> > > No, I was just thinking you might be able to pick out the bit you > need. > > It looks like the relevant bit is > > > > \markup > > { \postscript #" > > gsave > > initmatrix > > 1 setlinewidth 40 40 moveto 517 0 rlineto 0 760 > > rlineto -517 0 rlineto 0 -760 rlineto stroke > > 0.5 setlinewidth 45 45 moveto 507 0 rlineto 0 > 750 > > rlineto -507 0 rlineto 0 -750 rlineto stroke > > grestore" } > > > > That is, you can make a markup that draws (in this case two) boxes > > around the page independently of the music on the page, using > > postscript. That compiles on 2.19.43 I see. > > > > HTH > > > > Richard _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user