[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Non-ASCII Characters and \header piece
From: |
Mats Bengtsson |
Subject: |
Re: Non-ASCII Characters and \header piece |
Date: |
Tue, 28 Sep 2004 17:05:22 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 |
At least if you have a reasonably new version of gedit, it
is possible to set the character encoding it uses when
saving files. This involves two steps:
- Set the environment variable LANG to en_US or en_UK or
de_DE or fr_FR or whatever language code you prefer. This
specifies the "locale" of your system and will change the
language used in your programs. Also, as long as you specify
a western European language, it will also specify that files
should be saved with Latin1 encoding (also called ISO-8859-1).
- Start gedit, open Edit->Preferences, click on Save and mark
"Use current locale's encoding" (note, separate settings for
new and existing files).
Now, you can insert the characters directly, ß, ü, ä, ö, ç,
in your .ly file, both in lyrics and in titles and your editor
will save them using an encoding that LilyPond (or at least
LaTeX) will understand.
I can't understand your problem with the "piece" header field.
What error message do you get? (You may have to use lilypond --verbose
to see it).
/Mats
address@hidden wrote:
Hi!
I (still) use lilypond 2.2.0 on Linux Kernel 2.4. with gedit.
1. I found here help for the german ß (I get it with \\\ss (without") in
Lyrics. But the ß is disregarded for the spacing, so it comes to
collisions and the syllabe is not centered.
2. Also are working ü ö ä with \"u (or o or a) and \c{c} (cedilla)
3. In the Header, it is not so easy:
ü comes with \\\"{u} (also ö and ä), and c-cedilla with \c{c},
4. but all that i tried (also try and error) never gave a ß.
(I tried: \\\ss \\\{ss} \\\"{s} \\\{"s} \\\s \\\s{s}
\ss \{ss} \"{s} \{"s} \s \s{s}
(Of course, I cant put the words in "", because it has here another
signification.)
5. Also the \header { piece = "Adagio" } doesnt work. Its ever make the
compilation collapses, except when it is empty. \header { piece = "" }
I would be pleased about some ideas! Thanks already from
Fran\c{c}ois
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
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
=============================================