gnu-music-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .ly files in input which don't produce .dvi files


From: Mats Bengtsson
Subject: Re: .ly files in input which don't produce .dvi files
Date: Wed, 21 Mar 2001 23:57:44 +0100

> I wrote a script that runs ly2dvi on all the .ly files in the input
> directory.  Attached is the list of files which didn't produce a .dvi
> file.  This is probably ok for a few of these, which are intended to
> be included in some other file, or to only produce MIDI output or
> something.  The rest, someone should do something about.

Here's a patch to fix some of the files.


> ./test/transposition.ly  Fixed
> ./test/updown.ly         Fixed
> ./test/pedal.ly          Compiled fine
> ./test/lyrics.ly         Fixed
> ./regression/arpeggio-collision.ly   Fixed
> ./les-nereides.ly        Compiles fine if you read the instructions
> ./denneboom.ly           staff-margin is broken
> ./just-friends.ly        Didn't manage to get any bar lines
> ./praeludium-fuga-E.ly   Fixed
> ./scarlatti-properties.ly Used by scarlatti-test
> ./scarlatti-paper.ly      Used by scarlatti-test
> ./twinkle-pop.ly         Fixed
> ./minimal.ly             Gives SIGSEGV!


There are still many examples the compile without errors but
don't provide the desired result.

   /Mats

Generated by (address unknown),
>From = lilypond-1.3.140.mb1, To = lilypond-1.3.140.mb2

usage 

    cd lilypond-source-dir; patch -E -p1 < lilypond-1.3.140.mb2.diff

Patches do not contain automatically generated files 
or (urg) empty directories, 
i.e., you should rerun autoconf, configure

diff -urN ../lilypond-1.3.140.mb1/CHANGES ./CHANGES
--- ../lilypond-1.3.140.mb1/CHANGES     Tue Mar 20 10:04:18 2001
+++ ./CHANGES   Wed Mar 21 00:35:43 2001
@@ -1,3 +1,8 @@
+1.3.140.mb2
+===========
+
+* Bugfix: Some more examples in input/test/ work again.
+
 1.3.140.mb1
 ===========
 
diff -urN ../lilypond-1.3.140.mb1/VERSION ./VERSION
--- ../lilypond-1.3.140.mb1/VERSION     Tue Mar 20 10:03:34 2001
+++ ./VERSION   Wed Mar 21 00:34:56 2001
@@ -2,7 +2,7 @@
 MAJOR_VERSION=1
 MINOR_VERSION=3
 PATCH_LEVEL=140
-MY_PATCH_LEVEL=mb1
+MY_PATCH_LEVEL=mb2
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
diff -urN ../lilypond-1.3.140.mb1/input/denneboom.ly ./input/denneboom.ly
--- ../lilypond-1.3.140.mb1/input/denneboom.ly  Sun Mar  4 02:16:55 2001
+++ ./input/denneboom.ly        Wed Mar 21 23:28:58 2001
@@ -4,6 +4,7 @@
 copyright =     "public domain";
 }
 %{ file tests silly line shapes %}
+% Broken since 1.3.55
 
 \include "paper20.ly"
 
@@ -66,7 +67,7 @@
 }
 
 verseOneStaff =  \context Lyrics = one 
-       \verse_one
+       \verseOne
 
 
 verseTwo =  \notes{
@@ -77,7 +78,7 @@
 }
 
 verseTwoStaff =  \context Lyrics = two 
-       \verse_two
+       \verseTwo
 
 
 denneboomShape =  \paper{ 
@@ -107,7 +108,7 @@
 \score{
        \addlyrics
                \context Staff { \time 3/4; \melody }
-               \context Lyrics \verse_one
+               \context Lyrics \verseOne
        \paper{ 
                \denneboom_shape 
        }
diff -urN ../lilypond-1.3.140.mb1/input/just-friends.ly ./input/just-friends.ly
--- ../lilypond-1.3.140.mb1/input/just-friends.ly       Sun Mar  4 02:16:55 2001
+++ ./input/just-friends.ly     Wed Mar 21 23:20:58 2001
@@ -32,7 +32,7 @@
 \score{
        \context ChordNames \chords{
                \property Score.barAtLineStart = 1
-               \repeat semi 2 {
+               \repeat volta 2 {
                        f1:maj f:maj f:7 bes:7
                        c:maj c:maj es es
                        d:7 g:7 b2:7/fis e:7 a1:7\break
@@ -49,9 +49,9 @@
                linewidth = 100.0\mm;
                \translator{
                        \ChordNamesContext
-                       barAuto = "1";
+                       barNonAuto = ##f;
                        \consists Bar_engraver;
-                       \consists "Repeat_engraver";
+                       \consists "Volta_engraver";
                }
        }
 }
diff -urN ../lilypond-1.3.140.mb1/input/praeludium-fuga-E.ly 
./input/praeludium-fuga-E.ly
--- ../lilypond-1.3.140.mb1/input/praeludium-fuga-E.ly  Sun Mar  4 02:16:55 2001
+++ ./input/praeludium-fuga-E.ly        Wed Mar 21 23:08:28 2001
@@ -190,12 +190,12 @@
     \context PianoStaff <
       \context Staff = treble {
        \property Score.midiInstrument = "church organ"
-        \praeludium_right \breakmusic \fugaII_right }
+        \praeludiumRight \breakmusic \fugaIIRight }
       \context Staff = bass { 
-        \praeludium_left \breakmusic \fugaII_left }
+        \praeludiumLeft \breakmusic \fugaIILeft }
     > 
     \context Staff = pedal {
-      \praeludium_pedal \breakmusic \fugaII_pedal }
+      \praeludiumPedal \breakmusic \fugaIIPedal }
   >
 
   \paper {
diff -urN ../lilypond-1.3.140.mb1/input/regression/arpeggio-collision.ly 
./input/regression/arpeggio-collision.ly
--- ../lilypond-1.3.140.mb1/input/regression/arpeggio-collision.ly      Sun Mar 
 4 02:16:55 2001
+++ ./input/regression/arpeggio-collision.ly    Wed Mar 21 23:38:37 2001
@@ -1,8 +1,8 @@
 
-xheader = {
-texidoc = "arpeggio stays clear of accidentals and flipped note heads.
-Since Arpeggio engraver is Voice, it does nothing for voice collisions."
-};
+\header {
+texidoc = "arpeggio stays clear of accidentals and flipped note heads. 
+Since Arpeggio engraver is Voice, it does nothing for voice collisions.";
+}
 
 hairyChord = \context Staff \notes\relative c' <
     \context Voice=one {
diff -urN ../lilypond-1.3.140.mb1/input/test/lyrics.ly ./input/test/lyrics.ly
--- ../lilypond-1.3.140.mb1/input/test/lyrics.ly        Sun Mar  4 02:16:56 2001
+++ ./input/test/lyrics.ly      Wed Mar 21 00:13:28 2001
@@ -1,7 +1,7 @@
 
 
 somewhatLong =  \lyrics{
-       \property Lyrics.LyricText \set #'font-style = #'roman 
+       \property Lyrics . LyricText \set #'font-style = #'roman 
        AaaaaaA2
        BbbbbbB2
        CcccccC2 
@@ -11,7 +11,7 @@
 }
 
 ratherLong =  \lyrics{
-       \property Lyrics.LyricText \set #'font-style = #'roman 
+       \property Lyrics . LyricText \set #'font-style = #'roman 
        LLLLoooonggggg2 
        Syyllllaaabbble2 
        LLLLoooonggggg2 
@@ -21,7 +21,7 @@
 }
 
 quiteLong =  \lyrics{
-       \property Lyrics.LyricText \set #'font-style = #'roman
+       \property Lyrics . LyricText \set #'font-style = #'roman
        LLLLLLLLLooooongggggggg2 
        Syyyyyyyyyyyyylllllllaaaaaabbble2 
        LLLLLLLLLooooongggggggg2 
diff -urN ../lilypond-1.3.140.mb1/input/test/transposition.ly 
./input/test/transposition.ly
--- ../lilypond-1.3.140.mb1/input/test/transposition.ly Sun Mar  4 02:16:56 2001
+++ ./input/test/transposition.ly       Wed Mar 21 00:30:31 2001
@@ -12,6 +12,12 @@
        The solution gis=as etc. would concern both note and key transposistion
 
 Eric
+
+- Note that transpose eses of fis-major = as-major 
+- Note also that key signatures specified with \property keySignature 
+  are not transposed!
+
+  /Mats B, March 21, 2001
 %}
 
 \header{
@@ -39,12 +45,15 @@
 
 vThree =  \notes \relative c''{
         \clef"violin";
-        \keysignature fis cis;
+%        \keysignature fis cis;
+       \property Staff.keySignature = #'((0 . 1)(3 . 1))
         \time 2/4 ;
         d4 d |       
-        \keysignature bes es fis;
+%        \keysignature bes es fis;
+       \property Staff.keySignature = #'((3 . 1)(2 . -1)(6 . -1))
         fis4 fis |         
-        \keysignature fis cis gis dis ais eis;
+%        \keysignature fis cis gis dis ais eis;
+       \property Staff.keySignature = #'((2 . -1)(5 . -1)(1 . 1)(4 . 1)(0 . 
1)(3 . 1))
         cis4 ais4 |
 }
 
@@ -52,10 +61,10 @@
 
 \score {
   \context StaffGroup <
-         \vOne
-         \vTwo
-         \vThree
-         \vFour
+         \context Staff=vOne \vOne
+         \context Staff=vTwo \vTwo
+         \context Staff=vThree \vThree
+         \context Staff=vFour \vFour
   >
         \paper { linewidth= 130.\mm; }
 }
diff -urN ../lilypond-1.3.140.mb1/input/test/updown.ly ./input/test/updown.ly
--- ../lilypond-1.3.140.mb1/input/test/updown.ly        Sun Mar  4 02:16:56 2001
+++ ./input/test/updown.ly      Wed Mar 21 00:34:21 2001
@@ -1,16 +1,12 @@
 \score { 
   \context Voice \notes\relative c {
-    % this used to work:
+    % this used to work (long time ago):
        % <{\voiceOne e}
        % {\voiceTwo c}>
        
        % now we need:
-       \context Staff
-       <{\voiceOne e}
-       {\voiceTwo c}>
-       
-       
-       ; 
+       <\context Voice=one {\voiceOne e}
+       \context Voice=two {\voiceTwo c}>
        
   }
   \paper { }  
diff -urN ../lilypond-1.3.140.mb1/input/twinkle-pop.ly ./input/twinkle-pop.ly
--- ../lilypond-1.3.140.mb1/input/twinkle-pop.ly        Sun Mar  4 02:16:56 2001
+++ ./input/twinkle-pop.ly      Wed Mar 21 23:03:17 2001
@@ -33,7 +33,7 @@
 }
 
 text =  \lyrics{ 
-        \property Lyrics.LyricText \set #'font-style = #'italic
+        \property Lyrics . LyricText \set #'font-style = #'italic
 
         Ah!4 vous dir -- ai -- je ma man2
         Ce4 qui cau -- se mon tour -- ment2

reply via email to

[Prev in Thread] Current Thread [Next in Thread]