2012/11/4 Thomas Morley <[email protected]>:
> Hi Olivier,
>
> a)
> If you define a new `scoreTitleMarkup´, you have to _use_ it. :)
>
>     \paper {
>             scoreTitleMarkup = \myScoreTitleMarkup
>     }
>
>
> b)
> \fromproperty #'header:piece-tonality will return a stencil not a string.
> So every markup-command or scheme-function requiering a
> string-argument (or tries to deal with the   argument as a string)
> will fail.
> P.e: \markup \simple { \fromproperty #'header:piece-tonality }
>
> Workaround:
> Use the markup-command/scheme-function _in_ the \header:
>
>     \header {
>       piece-tonality = \markup \simple "cis-major"
>     }
>
>
> c)
> My own approach attached, converting `piece-tonality´ into german,
> french and english.
> Please note: I don't know how double-flat/sharp is called in french,
> so I used "double-bémol" and "double-dièse". Should be easy to alter.
>
>
> HTH,
>   Harm

Hi again,

forgot two things:
(1)
Please change the second line of the markup-command to:

  (let* ((arg (string-downcase (markup->string text)))

(2)
For testing I added a (commented) scheme-function. It does not work
with 2.16.0, but needs 17.6.


Regards,
  Harm

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to