lilypond-1.0.12
authorfred <fred>
Tue, 26 Mar 2002 21:26:57 +0000 (21:26 +0000)
committerfred <fred>
Tue, 26 Mar 2002 21:26:57 +0000 (21:26 +0000)
input/test/time.fly [new file with mode: 0644]
make/mutopia-rules.make
scripts/ly2dvi32.py

diff --git a/input/test/time.fly b/input/test/time.fly
new file mode 100644 (file)
index 0000000..0029b15
--- /dev/null
@@ -0,0 +1,23 @@
+
+
+\property Staff.timeSignatureStyle = "C"
+\time 12/8;
+
+[c8 c c][c8 c c][c8 c c][c8 c c]
+
+\time 2/2;
+\property Staff.timeSignatureStyle = "old3_2"
+c2 c2
+
+\time 2/2;
+\property Staff.timeSignatureStyle = "oldC"
+c2 c2
+
+\time 2/2;
+\property Staff.timeSignatureStyle = "old6_4"
+c2 c2
+
+\time 2/2;
+\property Staff.timeSignatureStyle = "old9_4"
+c2 c2
+
index 23887b901c61acb09e03c518de03ad14ffaabf27..1905f1f4dd1def2bd059e0f8e0b9bb1954779bef 100644 (file)
@@ -23,9 +23,9 @@ $(outdir)/%.fly.txt: %.fly
 .PRECIOUS: $(outdir)/%.dvi
 
 $(outdir)/%.dvi: %.ly
-       sh $(depth)/scripts/ly2dvi.sh -S $(topdir) -o $(outdir)  $< 
+       $(PYTHON) $(depth)/scripts/ly2dvi32.py -o $(outdir)  $< 
        -mv $(basename $<).midi $(outdir)
 
 $(outdir)/%.dvi: %.fly
-       sh $(depth)/scripts/ly2dvi.sh -S $(topdir) -o $(outdir)  $< 
+       $(PYTHON) $(depth)/scripts/ly2dvi32.py -o $(outdir)  $< 
        -mv $(basename $<).midi $(outdir)
index 7f801b7a18c163071ff58cef99734a9a97220ade..40f1e157db939e84f4c80b80ee206c8ab18449d1 100644 (file)
@@ -15,6 +15,7 @@ Output: DVI file
 
 name = 'ly2dvi'
 version = '0.0.4'
+errorlog = ''
 
 import sys
 import os
@@ -504,10 +505,11 @@ class Properties:
         """
 
         path =''
-        cmd =('kpsewhich tex %s 2>&1' % var)
+        cmd =('kpsewhich tex %s %s' % (var,errorlog))
         pipe = os.popen (cmd, 'r')
         path = pipe.readline ()[:-1] # chop off \n
-        if pipe.close():
+       return_status =  pipe.close()
+       if return_status and not path:
             path = os.path.join(this.get('root'), 'texmf', 'tex',
                                 'lilypond', var)
        fd = open(path, 'r')