Neil Puttock wrote Tuesday, October 14, 2008 9:33 PM

Hi Trevor,

2008/10/14 Trevor Daniels <[EMAIL PROTECTED]>:
Tom

It has to be within a \markup and not in quotes. And xc2a9 should be 00a9.

Try

  c'4^\markup { #(ly:export (ly:wide-char->utf-8 #x00a9)) }

or just

  \markup { "Copyright 2008" #(ly:export (ly:wide-char->utf-8 #x00a9)) }

outside the score block to place it in text, or for the copyright line, try

copyright = \markup { #(ly:export (ly:wide-char->utf-8 #x00a9)) "2008" }

For the docs examples, I think it would be better to replace the
Scheme hack with \char, which uses ly:wide-char->utf-8 internally.

c'4^\markup { \char ##xa9 }

Absolutely!  This -was- documented, I now realise, in App B.8.6, but
I hadn't met it before.  I'll change the new examples I added today to
use it, as you suggest.  And remove the Scheme hack.  Thanks.

Regards,
Neil

Trevor



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to