From 8a309227509aa8193cabc844c0002706b8cd11cc Mon Sep 17 00:00:00 2001 From: John Mandereau Date: Wed, 2 Jan 2008 18:06:38 +0100 Subject: [PATCH] Fix compilation of LSR snippets This should be done on LSR too, and we should find a way to disable verbatim lp-book option for utf-8.ly, as TeX/texinfo.tex currently does not support all UTF 8 non-european subsets. --- .../lsr/adding-the-current-date-to-a-score.ly | 2 +- input/lsr/page-label.ly | 2 +- input/lsr/text.snippet-list | 1 - input/lsr/toc.ly | 2 +- input/lsr/utf-8.ly | 65 ------------------- 5 files changed, 3 insertions(+), 69 deletions(-) delete mode 100644 input/lsr/utf-8.ly diff --git a/input/lsr/adding-the-current-date-to-a-score.ly b/input/lsr/adding-the-current-date-to-a-score.ly index e74bd664d5..31dbbb7f89 100644 --- a/input/lsr/adding-the-current-date-to-a-score.ly +++ b/input/lsr/adding-the-current-date-to-a-score.ly @@ -10,7 +10,7 @@ to enter the date manually to the @code{.ly} file. But that's very error prone. It's easy to forget updating the date. So i thought it would be useful if you can add the date on which the PDF file is generated automatically. I did't figure it out myself, but I asked on -lilypond-user@gnu.org. And guess what? Someone came with an excellent +lilypond-user@@gnu.org. And guess what? Someone came with an excellent solution! So thank you very much Toine Schreurs for sending this solution to the user mailing list. I post it here for future reference. diff --git a/input/lsr/page-label.ly b/input/lsr/page-label.ly index cc3dcffa80..05c30ecb5d 100644 --- a/input/lsr/page-label.ly +++ b/input/lsr/page-label.ly @@ -45,4 +45,4 @@ and refered to in markups." } \header { piece = "First score" } } -} \ No newline at end of file +} diff --git a/input/lsr/text.snippet-list b/input/lsr/text.snippet-list index 8c5a4fdf85..f14c2dfc89 100644 --- a/input/lsr/text.snippet-list +++ b/input/lsr/text.snippet-list @@ -6,7 +6,6 @@ demonstrating-all-headers.ly changing-the-default-text-font-family.ly how-to-put-ties-between-syllables-in-lyrics.ly aligning-and-centering-instrument-names.ly -utf-8.ly blanking-staff-lines-using-the--whiteout-command.ly combining-two-parts-on-the-same-staff.ly adjusting-lyrics-vertical-spacing.ly diff --git a/input/lsr/toc.ly b/input/lsr/toc.ly index e370e13960..a49a6e76d6 100644 --- a/input/lsr/toc.ly +++ b/input/lsr/toc.ly @@ -28,4 +28,4 @@ the @code{\\tocItem} command." { e' } \header { piece = "Second score" } } -} \ No newline at end of file +} diff --git a/input/lsr/utf-8.ly b/input/lsr/utf-8.ly deleted file mode 100644 index 4defdebc8b..0000000000 --- a/input/lsr/utf-8.ly +++ /dev/null @@ -1,65 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -%% Tags: text -\version "2.11.35" - -%% Edit this file using a Unicode aware editor, such as GVIM, GEDIT, Emacs - -%{ - -You may have to install additional fonts. - -Red Hat Fedora - - taipeifonts fonts-xorg-truetype ttfonts-ja fonts-arabic \ - ttfonts-zh_CN fonts-ja fonts-hebrew - -Debian GNU/Linux - - apt-get install emacs-intl-fonts xfonts-intl-.* \ - ttf-kochi-gothic ttf-kochi-mincho \ - xfonts-bolkhov-75dpi xfonts-cronyx-100dpi xfonts-cronyx-75dpi -%} - -\header { - - texidoc = "Various scripts may be used for texts (like titles and -lyrics) introduced by entering them in UTF-8 encoding, and using a -Pango based backend. Depending on the fonts installed, this fragment -will render Bulgarian (Cyrillic), Hebrew, Japanese and Portuguese. - -" - -} -% begin verbatim -% Cyrillic font -bulgarian = \lyricmode { - Жълтата дюля беше щастлива, че пухът, който цъфна, замръзна като гьон. -} - -hebrew = \lyricmode { - זה כיף סתם לשמוע איך תנצח קרפד עץ טוב בגן. -} - -japanese = \lyricmode { - いろはにほへど ちりぬるを - わがよたれぞ つねならむ - うゐのおくや まけふこえて - あさきゆめみじ ゑひもせず -} - -% "a legal song to you" -portuguese = \lyricmode { - à vo -- cê uma can -- ção legal -} - -\paper { - ragged-right = ##T -} - -\relative { - c2 d e f g f e -} -\addlyrics { \bulgarian } -\addlyrics { \hebrew } -\addlyrics { \japanese } -\addlyrics { \portuguese } -- 2.39.5