Re: ly:wide-char->utf-8

2006-11-21 Thread Johan Vromans
Martial <[EMAIL PROTECTED]> writes: > \addlyrics { \markup {"a" #(ly:export (ly:wide-char->utf-8 #x2014))"b"}} Aha! So the trick is to use \markup. I try to typeset the word "There's", with a decent apostrophe. This would lead to \markup {&qu

Re: ly:wide-char->utf-8

2006-11-21 Thread Johan Vromans
concatenating markups. You mean something like: \markup { #(ly:export (string-append "Can" (ly:wide-char->utf-8 #x2019) "t")) } Thanks for the pointers. -- Johan ___ lilypond-user mailing list lilypo

Re: ly:wide-char->utf-8

2006-11-21 Thread Johan Vromans
Mats Bengtsson <[EMAIL PROTECTED]> writes: > In addition to the answers you have already received, it should be > noted that this instruction in the manual is obsolete for version > 2.10. A better way to access a Unicode character by number is > \markup \char ##x2014 Hurray! Thanks. -- Johan _

ly:wide-char->utf-8

2006-11-21 Thread Johan Vromans
Hi, According to the docs (10.1.4): To use a Unicode escape sequence, use #(ly:export (ly:wide-char->utf-8 #x2014)) Stupid question: How can I use this to get a particular unicode character into a string (e.g. lyric)? Thanks for any examples, -- Jo

Re: ly:wide-char->utf-8

2006-11-21 Thread Martial
I try to typeset the word "There's", with a decent apostrophe. This would lead to save your LilyPond file in utf-8 format and write % \relative c' { c d c e g c2. } \addlyrics { There's a beau -- ti -- ful text } %= -- Martial

Re: ly:wide-char->utf-8

2006-11-21 Thread Mats Bengtsson
to the docs (10.1.4): To use a Unicode escape sequence, use #(ly:export (ly:wide-char->utf-8 #x2014)) Stupid question: How can I use this to get a particular unicode character into a string (e.g. lyric)? Thanks for any examples, -- Johan ___ lily