Hello Vaughan,
there is a known issue with caps/smallcaps and fromproperty (or nested
markups? see below):
http://code.google.com/p/lilypond/issues/detail?id=1482
If you take the little snippet from that site, you can use this
(exchange caps/smallCaps as you like):
--snip--
#(define-markup-command (frompropertysmallcaps layout props
symbol)(symbol?)
(let ((m (chain-assoc-get symbol props)))
(if (markup? m)
(interpret-markup layout props (markup #:smallCaps m))
empty-stencil)))
lyrcaps = #(define-lyric-markup (markup #:caps
(#:frompropertysmallcaps 'lyric:text)))
--snip--
But still there is a problem with nested parts. Also the following
will not work:
--snip--
\markup {
\caps { Hello \italic World }
}
--snip--
The world will be italic but no caps?!
Cheers,
Jan-Peter