bug-lilypond
[Top][All Lists]
Advanced

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

Re: foreign-language lyrics in LilyPond


From: Mats Bengtsson
Subject: Re: foreign-language lyrics in LilyPond
Date: Tue, 19 Feb 2008 16:59:56 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

Please always use the lilypond-user mailing list for usage questions like this one. The answer is very simple, just input the characters as usual in your text editor and make sure that the editor saves the file using a character encoding called
UTF8.
I just noted that you use a very old version of LilyPond. Actually, the answer I just wrote doesn't apply to your LilyPond version (which does not support Slovak characters at all, as far as I can remember), but if you upgrade to the latest stable
version it works like a charm for more or less any language.

  /Mats

David Biddiscombe wrote:
Can you tell me how to get characters that do not have decimal ASCII numbers
into a TeX DVI document using LilyPond (my version is 2.4.6)? I want to print
music with lyrics in Slovak - which uses many accented characters - and also
with the copyright symbol ©. Except for ©, I can't find a way to put those
characters into this message (though I can put them in an ordinary email), so
I'll have to identify them by the hexadecimal/decimal (ASCII) numbers shown
bottom right in a Special Characters window. As far as I can understand, the
only characters available when writing a plain text document ('filename'.ly) for
LilyPond are those on the keyboard, together with those that can - tediously -
be represented as \char #n, where n<255 (oddly, \char #255 produces a character
somewhat similar to the German ß, rather than y with " above it as would be
expected - not that I'm  wanting that character).

The accented characters that can be produced using \char #(ASCII) are those
where (ASCII) is 193, 196, 201, 211, 212, 218, 221, 225, 228, 233, 237, 243,
244, 250 and 253. Also, strangely, \char #169, which **should** produce the ©
that I want, gives a required modified l (hexadecimal code U+013E). But Slovak
also needs the characters identified by U+(hexadecimal), where (hexadecimal) is
0010C, 010D, 010E, 010F, 0139, 013A, 013D, 0147, 0148, 0154, 0155, 0160, 0161,
0164, 0165, 017D and 017E. How can I produce them and the copyright symbol? I
can drag them into 'filename'.ly from an OpenDocument Text, but then when
'filename'.ly is processed by LilyPond they get garbled.

I'll be most grateful for your help. My understanding of computing matters is
limited, so I hope I'll understand your reply! I clicked on Go and Re: Copyright
symbol above this form but couldn't understand from the display how to get ©
(moreover it caused me to lose the message I'd already put on the form, so I had
to compose it all over again - very time-consuming and annoying).




_______________________________________________
bug-lilypond mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-lilypond

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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