> On 19/01/2016, 18:29, "Simon Albrecht" <simon.albre...@mail.de> wrote:
> There are the text replacements, see NR A.13 (2.19.35).
Andrew Bernad:
> Isn’t it the OP’s point that this set is not rich enough to express Swedish?
ä Ä ö and Ö is missing.
///
BTW, does someone know why add-text-replacements in attached file
doesn't work ?
I got the syntax from:
http://www.gnu.org/software/guile/manual/html_node/String-Syntax.html#String-Syntax
I found the codes for åäö in:
http://www.unicode.org/charts/PDF/U0080.pdf
Regards,
/Karl Hammar
-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57
\version "2.18.0"
%#(read-enable 'r6rs-hex-escapes)
\paper {
#(include-special-characters)
#(add-text-replacements!
'(
(":a" . "\u00E4" )
(":A" . "\u00C4" )
(":o" . "\u00F6" )
(":O" . "\u00D6" )
))
}
Ms = \relative c' { a4 b c a }
Ls = \lyricmode {
åäöÃ
ÃÃ
\markup { \concat { \char ##x00E5 \char ##x00C5 \char ##x00E4 \char ##x00C4 \char ##x00F6 \char ##x00D6 } }
&aa;&AA;&:a;&:A;&:o;&:O;
fin.
}
\score {
<<
\new Staff \context Voice = Vs { \Ms }
\lyricsto Vs { \context Lyrics = Ls { \Ls } }
>>
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user