lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Markuplist and formatted text


From: Fr. Samuel Springuel
Subject: Re: Markuplist and formatted text
Date: Sat, 4 May 2024 14:13:08 -0400

I’m printing out attribution information in which the title of a work from 
which the text was translated is in italics.  Attached is an example of the my 
results before I started this thread.  The comma after “Sponsa Christi” is in 
italics (as you suggested was the more normal typographic practice) because it 
was inside the \italic command (and directly attached to “Christi”.  I was 
looking to turn it upright since the comma isn’t part of the title of the 
original sequence.

The wrapping in this case is being handled by a modified \wordwrap-field, which 
was based on a discussion on the mailing list 6 years ago: 
https://www.mail-archive.com/lilypond-user@gnu.org/msg131928.html.  At the time 
I hadn’t considered the possibility of punctuation that I didn’t want formatted 
in the same way as the text it would be “attached” to, and recent work had me 
exploring that possibility.  If need be, I can post that tool in it’s current 
form, but in creating my MWE I tried to use standard LilyPond commands as much 
as possible, and would rely on applying it to my non-standard command myself 
(which I have done for the solution that has been posted using \wordwrap-lines).

I’ll point out that at this point the \wordwrap-lines solution works (now that 
I understand where it’s allowed to make wrapping decisions), at this point my 
questions are purely about understanding your (David’s) comments about 
\wordwrap-string.

✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
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:31 PM, David Kastrup <dak@gnu.org> wrote:
> 
> "Fr. Samuel Springuel" <rpspringuel@gmail.com> writes:
> 
>> 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.
> 
> What is the actual problem you are trying to solve here?
> 
> -- 
> David Kastrup

Attachment: Ordinary_Time_Sundays.pdf
Description: Adobe PDF document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]