how to add a utf-8 character to the title

2009-07-19 Thread Brian Kidd
hello, this seems like a simple thing, but i've been unable to find anything in the archives and the documentation. basically, i'd like to add a title that contains an accented character (unicode = 00e9). outside of lilypond the title would be: Sinte' Intro i can create the variable

Re: how to add a utf-8 character to the title

2009-07-19 Thread David Bobroff
If you're using a UTF-8 aware editor it should be a simple matter to simply enter your accented 'e' in your input file and have it appear in the output. Is your editor UTF-8 aware/capable and are you saving the file as UTF-8? -David Brian Kidd wrote: hello, this seems like a simple thing,

Re: how to add a utf-8 character to the title

2009-07-19 Thread Brian Kidd
the long way worked. thanks! On Jul 19, 2009, at 12:33 AM, Mark Polesky wrote: Brian Kidd wrote: i can create the variable accentE = #(ly:export (ly:wide-char-utf-8 #x00e9)) and then i've tried i've tried: \header{ title = Sint \accentE Intro } however, this doesn't work. how can i

Re: how to add a utf-8 character to the title

2009-07-19 Thread James E. Bailey
On 19.07.2009, at 09:23, Brian Kidd wrote: hello, this seems like a simple thing, but i've been unable to find anything in the archives and the documentation. basically, i'd like to add a title that contains an accented character (unicode = 00e9). outside of lilypond the title would be:

Re: how to add a utf-8 character to the title

2009-07-19 Thread Mark Polesky
Brian Kidd wrote: i can create the variable accentE = #(ly:export (ly:wide-char-utf-8 #x00e9)) and then i've tried i've tried: \header{ title = Sint \accentE Intro } however, this doesn't work. how can i concatenate these strings and utf-8 character to have the correct title?

Re: how to add a utf-8 character to the title

2009-07-19 Thread Francisco Vila
2009/7/19 Brian Kidd brianki...@gmail.com: the long way worked. thanks! Use the short way, it's much shorter and comfortable e.g. for lyrics -- Francisco Vila. Badajoz (Spain) www.paconet.org ___ lilypond-user mailing list lilypond-user@gnu.org

Re: how to add a utf-8 character to the title

2009-07-19 Thread Brian Kidd
thanks to all who suggested using the short way. unfortunately, my system does not seem to be configured for this easy solution. when i run lilypond on the simple file below, i get the following error and the title is SintIntro instead of Sinté Intro. i'm happy using the long way, but

Re: how to add a utf-8 character to the title

2009-07-19 Thread Federico Bruni
Brian Kidd wrote: thanks to all who suggested using the short way. unfortunately, my system does not seem to be configured for this easy solution. when i run lilypond on the simple file below, i get the following error and the title is SintIntro instead of Sint� Intro. i'm happy using the long

Re: how to add a utf-8 character to the title

2009-07-19 Thread Brian Kidd
On Jul 19, 2009, at 9:40 AM, Federico Bruni wrote: Brian Kidd wrote: thanks to all who suggested using the short way. unfortunately, my system does not seem to be configured for this easy solution. when i run lilypond on the simple file below, i get the following error and the title is

Re: how to add a utf-8 character to the title

2009-07-19 Thread Federico Bruni
Brian Kidd wrote: On Jul 19, 2009, at 9:40 AM, Federico Bruni wrote: Are you sure you are saving your file in UTF-8? Not entirely. Which editor are you using? Vim. I guess you are a coder ;-) You may try other editors that have better support for Lilypond. jEdit with the Lilytool

Re: how to add a utf-8 character to the title

2009-07-19 Thread Mark Knoop
At 09:47 on 19 Jul 2009, Brian Kidd wrote: Are you sure you are saving your file in UTF-8? Not entirely. Which editor are you using? Vim. :set encoding=utf-8 fileencodings= -- Mark Knoop ___ lilypond-user mailing list