lilypond-user
[Top][All Lists]
Advanced

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

Re: Word wrapping section headers (book-titling.ily)


From: Olivier Biot
Subject: Re: Word wrapping section headers (book-titling.ily)
Date: Thu, 1 Nov 2012 17:12:09 +0100

On Sun, Oct 28, 2012 at 10:15 PM, Thomas Morley
<address@hidden> wrote:
> 2012/10/28 Thomas Morley <address@hidden>:
>> 2012/10/28 Olivier Biot <address@hidden>:
>>> On Sun, Oct 28, 2012 at 8:29 PM, Thomas Morley
>>> <address@hidden> wrote:
>>>> 2012/10/28 Olivier Biot <address@hidden>:
>>>>> Hi all,
>>>>>
>>>>> I'm using the book-titling.ily macros by Nicolas Sceaux to create an 
>>>>> etude book.
>>>>>
>>>>> I can't however get long section titles to word wrap.
>>>>>

> Hi again,
>
> the mail-program inserted a line-break in a commented line, which
> could be misunderstood.
>
> Here I've deleted that:
>
> section =
> #(define-music-function (parser location arg) (string?)
>   (let* ((title (markup #:override '(line-width . 40)
>                   #:justify-string arg)))
>   (add-toc-item parser 'tocSectionMarkup title)
>   (add-toplevel-markup parser (markup #:section-title title))
>   (add-no-page-break parser)
>   (make-music 'Music 'void #t)))
>
> Cheers,
>   Harm

Hi Thomas,

Many thanks! That did the trick!

Best regards,

Olivier



reply via email to

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