[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: insertion of UTF-8 characters
From: |
Neil Puttock |
Subject: |
Re: insertion of UTF-8 characters |
Date: |
Tue, 14 Oct 2008 21:33:51 +0100 |
Hi Trevor,
2008/10/14 Trevor Daniels <address@hidden>:
> 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 }
Regards,
Neil