]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/utf-8.ly
LSR: Update.
[lilypond.git] / Documentation / snippets / utf-8.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.29"
5
6 \header {
7   lsrtags = "text"
8
9   texidoc = "
10 Various scripts may be used for texts (like titles and lyrics) by
11 entering them in UTF-8 encoding, and using a Pango based backend.
12 Depending on the fonts installed, this fragment will render Bulgarian
13 (Cyrillic), Hebrew, Japanese and Portuguese.
14
15 "
16   doctitle = "UTF-8"
17 } % begin verbatim
18
19 % end verbatim - this comment is a hack to prevent texinfo.tex
20 % from choking on non-European UTF-8 subsets
21
22 %% Edit this file using a Unicode aware editor, such as GVIM, GEDIT, Emacs
23
24 %{
25
26 You may have to install additional fonts.
27
28 Red Hat Fedora
29
30     taipeifonts fonts-xorg-truetype ttfonts-ja fonts-arabic \
31    ttfonts-zh_CN fonts-ja fonts-hebrew
32
33 Debian GNU/Linux
34
35    apt-get install emacs-intl-fonts xfonts-intl-.* \
36   ttf-kochi-gothic ttf-kochi-mincho \
37   xfonts-bolkhov-75dpi xfonts-cronyx-100dpi xfonts-cronyx-75dpi
38 %}
39
40 % Cyrillic font
41 bulgarian = \lyricmode {
42   Жълтата дюля беше щастлива, че пухът, който цъфна, замръзна като гьон.
43 }
44
45 hebrew = \lyricmode {
46   זה כיף סתם לשמוע איך תנצח קרפד עץ טוב בגן.
47 }
48
49 japanese = \lyricmode {
50   いろはにほへど ちりぬるを
51   わがよたれぞ  つねならむ
52   うゐのおくや  まけふこえて
53   あさきゆめみじ ゑひもせず
54 }
55
56 % "a legal song to you"
57 portuguese = \lyricmode {
58   à vo -- cê uma can -- ção legal
59 }
60
61 \relative c' {
62   c2 d
63   e2 f
64   g2 f
65   e1
66 }
67 \addlyrics { \bulgarian }
68 \addlyrics { \hebrew }
69 \addlyrics { \japanese }
70 \addlyrics { \portuguese }