[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-bug
Subject:    Re: NR 3.2.6 Table of contents: example of \tocItemWithDotsMarkup with custom tocItemMarkup
From:       James <pkx () gnu ! org>
Date:       2015-10-29 14:52:05
Message-ID: 56323295.5040109 () gnu ! org
[Download RAW message or body]

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
> bug-lilypond@gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-lilypond
>
>
Added as

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


James

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic