bug-lilypond
[Top][All Lists]
Advanced

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

Re: NR 3.2.6 Table of contents: example of \tocItemWithDotsMarkup with c


From: James
Subject: Re: NR 3.2.6 Table of contents: example of \tocItemWithDotsMarkup with custom tocItemMarkup
Date: Thu, 29 Oct 2015 14:52:05 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Hello,

On 28/10/15 21:17, Federico Bruni wrote:
> http://www.lilypond.org/doc/v2.19/Documentation/notation/table-of-contents
>
>
> At the bottom of the page there is this part:
>
> """
> Dots can be added to fill the line between an item and its page number:
>
> \header { tagline = ##f }
> \paper {
>  tocItemMarkup = \tocItemWithDotsMarkup
> }
> """
>
> which is useful, but I think that it would be better to show how a
> custom tocItemMarkup can use that function. IIUC, the only (?) way is
> redefining the variable:
>
> \paper {
>  tocItemMarkup = \markup { \fill-line { \fromproperty #'toc:text
> \fromproperty #'toc:page } }
>  tocItemMarkup = \tocItemWithDotsMarkup
> }
>
> This may be obvious for a programmer who knows the concept of
> variable, but not obvious for a musician.
>
>
>
>
> _______________________________________________
> bug-lilypond mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-lilypond
>
>
Added as

https://sourceforge.net/p/testlilyissues/issues/4649/


James



reply via email to

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