Okay, so then I need to break up the string to create separate markups (except 
in the critical location around the italics text:

\version "2.24.3"

\markuplist \wordwrap-lines { test test test test test test test test test test 
test test test test test test test test test test test test test test test test 
\concat { \italic { "italic text" }"," } test test test test test test test 
test test test test test test test test test test test test test test test test 
}

I can’t seem to get \wordwrap-string to work in this context (even after 
switching \markuplist to \markup).  It barfs if \concat is inside of it 
(unrecognized  escape string) and if it’s put inside \concat, then it only 
applies to the immediate string, not the resulting concatenated whole.

✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Fr. Samuel, OSB
(R. Padraic Springuel)
St. Anselm’s Abbey
4501 South Dakota Ave, NE
Washington, DC, 20017
202-269-2300
(c) 202-853-7036

PAX ☧ ΧΡΙΣΤΟΣ

> On May 4, 2024, at 1:13 PM, David Kastrup <d...@gnu.org> wrote:
> 
> "Fr. Samuel Springuel" <rpspring...@gmail.com> writes:
> 
>> Word wrapping does not appear to be functioning in this solution:
>> 
>> \version "2.24.3"
>> 
>> \markuplist \wordwrap-lines {\concat { "test test test test test test
>> test test test test test test test test test test test test test test
>> test test test test test test test test test test test test test
>> "\italic { "italic text" }", test test test" }}
>> 
>> The text just runs of the page to the right.
> 
> That is as intended.  \wordwrap-lines breaks between individual markups,
> and you only have one.
> 
> You probably want \wordwrap-string (there is no \wordwrap-string-lines
> though that would give you a markup list).
> 
> -- 
> David Kastrup


Reply via email to