|
From: | Andrew C. Smith |
Subject: | Re: Adding line breaks within lyrics |
Date: | Sun, 19 Jun 2011 12:18:19 -0400 |
Thanks Kieren & James, This helped a lot. I actually found a lesser workaround later last night, but your solutions were way better. Continuing this conversation: I'm trying to now make a markup function, and running into trouble. Here's the function: --- #(define-markup-command (wrap-lyrics layout props line) (markup?) #:properties ((line-wrap-width 40)) "Allow lyrics to wrap at the end of the line" (interpret-markup layout props (markup #:override '(line-width . ,line-wrap-width) #:column (#:wordwrap-lines (line))))) ... \markup { \wrap-lyrics {sky's bluer than it seems sky's blue all seeming yet feeling is first yet syntax seems clear} } --- However, I get this error: error: Not a markup command: wordwrap-lines Any ideas? Running \displayLilyMusic shows that \wordwrap-lines is replaced by: #<procedure wordwrap-lines-markup-list (layout props args)> ("world's" "chaos" "when" "we" "seek" "it" "water's" "drifting" "as" "slowly" "out" "tides" "toward" "land" "twice" "daily") But is there a workaround to let me use this same built-in procedure in my scheme function? Thanks, and sorry for the gobs of code. Hopefully we'll end up with a snippet in the end. Best, Andrew On Jun 19, 2011, at 10:32 AM, James Lowe wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |