On Wednesday, 18 November 1998, Peter Chubb writes:
> Hi,
> The attached arrangement of `Silent Night' causes Lilypond to say
> ....
> /usr/local/share/lilypond/ly/property.ly:128:11: warning: junking request: `S
+ kip_req':
> \skip 1*0;
>
> ...
> Preprocessing elements... [/usr/local/share/lilypond/afm/feta20.afm]
> Calculating column positions... [/usr/local/share/lilypond/afm/cmr10.afm]lily
+ pond: ../flower/include/array.hh:158: struct Adobe_font_char_metric & Arr
+ ay<Adobe_font_char_metric>::elem(int) const: Assertion `i >=0&&i<size_' f
+ ailed.
> IOT trap/Abort
Urg. You're using characters > 128; and those are not in groff and
tfmtodit, hence not in our broken cmr*.afm. We'll have to write a
proper tfm2afm, or read tfm's ourselves.
Anyway, here's a fix (urg):
--- ../../lilypond-1.1.5.hwn1/lily/lookup.cc Sun Nov 15 13:18:20 1998
+++ ./lookup.cc Wed Nov 18 09:31:57 1998
@@ -380,9 +380,10 @@
;
else
{
- if (afm_p)
+ int c = text[i];
+ if (afm_p && ((c >= 0) && (c < afm_p->char_metrics_.size ())))
{
- Adobe_font_char_metric m = afm_p->char_metrics_[(int)text[i]];
+ Adobe_font_char_metric m = afm_p->char_metrics_[c];
w += m.B_.x ().length ();
DOUT << to_str (m.B_.x ().length ()) << " ";
}
And i'm including a slightly modified version of silent night,
probably already a bit more what you want.
It might be that the Choirstaff needs a fix, looking at the
bar lines...
Now, i'm off to work!
Jan.
Btw, if you'd like to include your music into mutopia (yes!, more music
in mutopia), please send a patch.
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.xs4all.nl/~jantien/lilypond
%{
Return-Path: [EMAIL PROTECTED]
Received: from appel (jantien@localhost [127.0.0.1])
by appel.flower (8.8.8/8.8.7) with ESMTP id JAA00436;
Wed, 18 Nov 1998 09:19:05 +0100
Resent-From: [EMAIL PROTECTED]
Received: from pop.xs4all.nl
by appel (fetchmail-4.4.9 POP3)
for <jantien@localhost> (by default); Wed, 18 Nov 1998 09:19:06 CET
Received: from smtp3.xs4all.nl (smtp3.xs4all.nl [194.109.6.53])
by maildrop.xs4all.nl (8.8.8/8.8.8) with ESMTP id AAA26819
for <[EMAIL PROTECTED]>; Wed, 18 Nov 1998 00:33:29 +0100 (CET)
Received: from mescaline.gnu.org ([EMAIL PROTECTED]
[158.121.106.21])
by smtp3.xs4all.nl (8.8.8/8.8.8) with ESMTP id AAA24873
for <[EMAIL PROTECTED]>; Wed, 18 Nov 1998 00:33:26 +0100 (CET)
Received: (from slist@localhost)
by mescaline.gnu.org (8.9.1a/8.9.1) id SAA31487;
Tue, 17 Nov 1998 18:36:44 -0500
Resent-Date: Tue, 17 Nov 1998 18:36:44 -0500
Received: from swag.sw.oz.au ([EMAIL PROTECTED] [203.31.96.1])
by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id SAA31193
for <[EMAIL PROTECTED]>; Tue, 17 Nov 1998 18:28:07 -0500
Received: from swarm.sw.oz.au (swarm.sw.oz.au [192.41.203.66])
by swag.sw.oz.au (8.8.8+Sun/8.8.8) with ESMTP id KAA06273
for <@smtp.sw.oz.au:[EMAIL PROTECTED]>; Wed, 18 Nov 1998 10:24:37
+1100 (EST)
Received: (from peterc@localhost) by swarm.sw.oz.au
(980427.SGI.8.8.8/970903.SGI.AUTOCF) id KAA00909; Wed, 18 Nov 1998 10:24:33 +1100
(ADST)
From: Peter Chubb <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Date: Wed, 18 Nov 1998 10:24:33 +1100 (ADST)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="qEKcDKRJEC"
Content-Transfer-Encoding: 7bit
To: [EMAIL PROTECTED]
Subject: Bug in lilypond 1.1.6 ???
X-Mailer: VM 6.62 under Emacs 20.3.3
Comments: Hyperbole mail buttons accepted, v04.023.
Resent-Message-ID: <"8ZeUx1.0.ed7.FQWKs"@mescaline.gnu.org>
X-Mailing-List: <[EMAIL PROTECTED]> archive/1998/936
X-Loop: [EMAIL PROTECTED]
Precedence: list
Resent-Sender: [EMAIL PROTECTED]
X-UIDL: d98e8fd70bb64b6ff24e51406df9c4c4
--qEKcDKRJEC
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit
Hi,
The attached arrangement of `Silent Night' causes Lilypond to say
....
/usr/local/share/lilypond/ly/property.ly:128:11: warning: junking request: `Skip_req':
\skip 1*0;
...
Preprocessing elements... [/usr/local/share/lilypond/afm/feta20.afm]
Calculating column positions... [/usr/local/share/lilypond/afm/cmr10.afm]lilypond:
../flower/include/array.hh:158: struct Adobe_font_char_metric &
Array<Adobe_font_char_metric>::elem(int) const: Assertion `i >=0&&i<size_' failed.
IOT trap/Abort
Here's the file (in time for Christmas!)
--qEKcDKRJEC
Content-Type: text/plain; charset=iso-8859-1
Content-Description: Silent-Night
Content-Disposition: inline;
filename="stille.ly"
Content-Transfer-Encoding: 7bit
%}
\header {
title = "Stille Nacht";
subtitle = "(Silent Night)";
filename = "stille.ly";
enteredby = "Peter Chubb";
composer = "Franz X. Gruber";
poet = "Joseph Mohr";
}
\version "1.0.7";
global=\notes {
\time 6/4;
\key Bes;
}
sop=\notes \relative f' {
%1
f4. ( ) g8 f4 d2. |
f4. ( ) g8 f4 d2 r4 |
c'2 c4 a2 r4 |
bes2 bes4 f2. |
%5
g2 g4 bes4.( )a8 g4 |
f4.()g8 f4 d2 r4 |
g2 g4 bes4.( )a8 g4 |
f4.()g8 f4 d2 r4 |
%9
c'2 c4 es4.()c8 a4 |
bes2.~ ( <bes2-- )d2-- > r4 |
bes4 ( )f d f4.( )es8 c4 |
bes2. ~ bes2 r4 \bar "|.";
}
alt=\notes\relative c' {
d4. es8 d4 bes2. |
d4. es8 d4 bes2 r4 |
es2 es4 ges2 r4 |
f2 es4 d2. |
%5
es2 es4 es4. f8 es4 |
d4. es8 d4 bes2 r4 |
es2 es4 es4. f8 es4 |
d4. es8 d4 c( )bes r4 |
%9
es4( )f g a4. a8 ges4|
f2.~ e!2-- r4 |
d2 bes4 d4. c8 c4 |
bes2. ~ bes2 r4 \bar "|.";
}
ten=\notes\relative c' {
bes2 bes4 f2. |
bes2 a4 f2 r4 |
a2 a4 c2 r4 |
bes2 a4 f2 ( ) bes4 |
bes2 bes4 g4. a8 bes4 |
bes4. bes8 bes4 f2 r4 |
bes2 bes4 g4. a8 bes4 |
bes4. bes8 bes4 f2 r4 |
g2 bes4 c4. c8 c4 |
bes2. ~ g2-- r4 |
bes2 g4 a4. bes8 a4 | bes2. ~ bes2 r4 \bar "|.";
}
bass=\notes\relative c {
bes2 bes4 bes2. |
bes2 bes4 bes2 r4 |
f'2 f4 es2 r4 |
d2 c4 bes2. |
es2 es4 es2 es4 |
bes4. bes8 bes4 bes2 r4 |
es2 es4 es4. es8 es4 |
bes4. bes8 bes4 bes2 r4 |
c4 d es f4. f8 es4 |
d2. ~ c2-- r4 |
f2 f4 f4. g8 a4 |
bes2. ~ bes2 r4 \bar "|.";
}
chords=\lyrics{
"B\\textflat"1 ""2
"B\\textflat maj7"1 ""2
"F7"2. "E\\textflat dim"2. |
"B\\textflat /D"2 "Cm7"4 "B\\textflat"2. |
"E\\textflat"1 ""2 |
"B\\textflat"1 ""2 |
"E\\textflat"1 ""2 |
"B\\textflat"1 ""2 |
"Cm "4 "Gm7sus4/D "4 "Cm/E\\textflat "4 "F7"2 "E\\textflat dim"4 |
"B\\textflat /D"2. "C9"2 ""4 |
"B\\textflat /F"2. "F7"2. |
"B\\textflat"2 ""2 ""2
}
v1 = \lyrics {
Stil-2 le4 Nacht,2. hei-4. li-8 ge4 Nacht,2.
Al-2 les4 schläft,2. ein-2 sam4 wacht2.
Nur2 das4 trau-2 te,4 hoch-4. heil8 ige4 Paar,2.
Hold-2 er4 Knabe2 im4 lock-4. i-8 gen4 Haar2.
Schlaf2 in4 himm-4. li-8 scher4 Ruh'!2 - -
Schlaf2 in4 himm-4. li-8 scher4 Ruh'!2 - -
}
v2 = \lyrics {
Stil-2 le4 Nacht,2. hei-4. li-8 ge4 Nacht,2.
Hir-2 ten4 erst2. kund2 ge-4 macht2.
Durch2 der4 En-2 gel4 Ha-4. lle-8 lu4 ja2.
Tönt2 es4 laut2 von4 fern2 und4 nah:2.
"``Christ,"2 der4 Ret-4. ter,8 ist4 "da!''"2 - -
"``Christ,"2 der4 Ret-4. ter,8 ist4 "da!''"2 - -
}
v3 = \lyrics {
Stil-2 le4 Nacht,2. hei-4. li-8 ge4 Nacht,2.
Go-2 ttes4 Sohn,2. o-2 wie4 lacht2.
Lieb'2 aus4 dei-2 nem4 gött-4. li-8 chen4 Mund,2.
Da2 uns4 schlägt2 die4 ret-2 tende4 Stund'.2.
Christ,2 in4 Dei-4. ner8 Ge-4 burt!2 - -
Christ,2 in4 Dei-4. ner8 Ge-4 burt!2 - -
}
v1e = \lyrics {
Sil-2 ent4 night,2. Ho-2 ly4 night,2.
All2 is4 calm,2. all2 is4 bright,2.
'Round2 yon4 Vir-2 gin4 Mo-4. ther8 and4 Child2.
Ho-2 ly4 In-4. fant8 so4 ten-4. der8 and4 mild,2.
Sleep2 in4 hea-4. ven-8 ly4 peace,2 - -
Sleep2 in4 hea-4. ven-8 ly4 peace.2 - -
}
v2e = \lyrics {
Si-2 lent4 night,2. Ho-2 ly4 night,2.
Shep-2 herds4 quake2. at2 the4 sight,2.
Glo-2 ies4 stream2 from4 hea-4. ven8 a-4 far,2.
Hea-2 v'nly4 hosts2 sing4 "``A-"4. lle-8 lu-4 ia;2.
Christ2 the4 Sa-4. viour8 is4 born,2.
Christ2 the4 Sa-4. viour8 is4 "born.''"2.
}
v3e = \lyrics {
Si-2 lent4 night,2. Ho-2 ly4 night,2.
Son2 of4 God,2. love's2 pure4 light2.
Ra-2 diant4 beams4. from8 Thy4 ho-4. ly8 face,2.
With2 the4 dawn2 of4 sa-4. ving8 grace2.
Je-2 sus,4 Lord,4. at8 Thy4 birth,2.
Je-2 sus,4 Lord,4. at8 Thy4 birth.2.
}
upper= \notes {
\type Staff = upper
<
\clef "treble"; \global
{ \voiceone \sop }
{ \voicetwo \alt }
>
}
lower = \notes {
\type Staff = lower
<
\clef "bass"; \global
{ \voicethree \ten }
{ \voicefour \bass }
>
}
\score {
\type ChoirStaff
<
{ \type Lyrics = top \chords }
\upper
{ \type Lyrics = upper \v1 }
{ \type Lyrics = upper \v2 }
{ \type Lyrics = upper \v3 }
\lower
>
}
% --qEKcDKRJEC--