lilypond-user
[Top][All Lists]
Advanced

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

insertion of UTF-8 characters


From: Tom Cloyd
Subject: insertion of UTF-8 characters
Date: Mon, 13 Oct 2008 18:08:55 -0700
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

The documentation [/Lilypond notation reference.pdf/, “3.3.3 Text encoding”, pdf p. 318.] states that UTF-8 coding is used in Ly and that UTF-8 hex codes can be inserted into text. An example is given, and I show it here using the code of interest to me - that for the Copyright sign:

#(ly:export (ly:wide-char->utf-8 #xc2a9))|

|This example has no context, and when I put it in one I cannot get it to work. I suggest that the documentation be modified to give one. Meanwhile, I need a solution to the problem of how to insert a Copyright sign into the copyright line. Here's what I tried:

\header {...
copyright = "#(ly:export (ly:wide-char->utf-8 #xc2a9)) 2008"
...

It produced this in the PDF output:

#(ly:export (ly:wide-char->utf-8 #xc2a9)) 2008

Placing the UTF code export line outside of the quotes wouldn't even compile.

Can anyone suggest how to do this?

Thanks!

Tom


||

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< address@hidden >> (email)
<< TomCloyd.com >> (website) << sleightmind.wordpress.com >> (mental health weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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