bug-lilypond
[Top][All Lists]
Advanced

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

Re: \caps and \smallCaps don't work with \fromproperty


From: Ralph Palmer
Subject: Re: \caps and \smallCaps don't work with \fromproperty
Date: Wed, 19 Jan 2011 08:54:30 -0500

On Thu, Dec 16, 2010 at 1:50 AM, Mark Polesky <address@hidden> wrote:

> In the example below, \caps and \smallCaps work with simple text
> strings, but not with text fields accessed with \fromproperty.
> For some reason, this is not a problem with \sans, \italic, and
> \bold; they all work with both text strings and \fromproperty
> fields.
>
> This is not the expected behavior.  Users should be allowed to use
> \caps and \smallCaps with \fromproperty in the definitions of
> bookTitleMarkup et. al.
>
> Thanks.
> - Mark
>
> \version "2.13.44"
>
> \paper {
>  line-width = 80\mm
>  bookTitleMarkup = \markup {
>    \column {
>      \fill-line {
>        \line { \sans "Sans" }
>        \line { \caps "Caps" }
>        \line { \smallCaps "SmallCaps" }
>        \line { \italic "Italic" }
>        \line { \bold "Bold" }
>      }
>      \fill-line {
>        \line { \sans \fromproperty #'header:title }
>        \line { \caps \fromproperty #'header:title }
>        \line { \smallCaps \fromproperty #'header:title }
>        \line { \italic \fromproperty #'header:title }
>        \line { \bold \fromproperty #'header:title }
>      }
>    }
>  }
> }
>
> \header {
>  title = "Title"
>  tagline = ##f
> }
>
> \markup \null
>
>
> Thanks, Mark -

This has been added as issue 1482 :
http://code.google.com/p/lilypond/issues/detail?id=1482

Ralph


reply via email to

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