Mats Bengtsson <[EMAIL PROTECTED]> writes:

> % Failed attempt:
> \property LyricsVoice . stanza = #'(dynamic "mf")

Turns out this was prevented only by some stale safety-pins.  With
(something like) the patch below, something like this:

   #(define dynamic-1 '((dynamic) (font-relative-size -1)))
   \score {
   ...
   \property LyricsVoice . stanza = #'(colums (dynamic-1 "mf") " 1.")
    }

should work.  Note that you only need to change two lines to get this
stanza stuff to work, you could do this manually.  Don't be bothered
with the partial ly2dvi fix.

Greetings,
Jan.


Generated by [EMAIL PROTECTED],
>From = lilypond-1.5.22.jcn3, To = lilypond-1.5.22.jcn4

usage 

    cd lilypond-source-dir; patch -E -p1 < lilypond-1.5.22.jcn4.diff

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

diff -purN ../lilypond-1.5.22.jcn3/CHANGES ./CHANGES
--- ../lilypond-1.5.22.jcn3/CHANGES     Wed Nov 14 19:16:13 2001
+++ ./CHANGES   Wed Nov 14 22:46:30 2001
@@ -1,5 +1,10 @@
-1.5.22.jcn3
+1.5.22.jcn4
 ===========
+
+* Stanza number: allow markup texts.
+
+* Partial bugfix: ly2dvi: handle spaces in .ly file names (except for
+latex calls).
 
 * Bugfix: prepend DATADIR to %loadpath too.
 
diff -purN ../lilypond-1.5.22.jcn3/VERSION ./VERSION
--- ../lilypond-1.5.22.jcn3/VERSION     Wed Nov 14 19:13:12 2001
+++ ./VERSION   Wed Nov 14 22:42:41 2001
@@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond
 MAJOR_VERSION=1
 MINOR_VERSION=5
 PATCH_LEVEL=22
-MY_PATCH_LEVEL=jcn3
+MY_PATCH_LEVEL=jcn4
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
diff -purN ../lilypond-1.5.22.jcn3/lily/stanza-number-engraver.cc 
./lily/stanza-number-engraver.cc
--- ../lilypond-1.5.22.jcn3/lily/stanza-number-engraver.cc      Mon Sep 24 01:04:29 
2001
+++ ./lily/stanza-number-engraver.cc    Wed Nov 14 22:42:24 2001
@@ -45,7 +45,7 @@ Stanza_number_engraver::process_music ()
 
 
       // TODO
-      if (gh_string_p (s))
+      if (gh_string_p (s) || gh_pair_p (s))
 
        /*
          if (i.grob_l_->has_interface (symbol ("lyric-syllable-interface")))
diff -purN ../lilypond-1.5.22.jcn3/scm/translator-property-description.scm 
./scm/translator-property-description.scm
--- ../lilypond-1.5.22.jcn3/scm/translator-property-description.scm     Tue Oct  9 
15:45:07 2001
+++ ./scm/translator-property-description.scm   Wed Nov 14 22:36:42 2001
@@ -301,7 +301,7 @@ help with debugging large scores.")
 (translator-property-description 'squashedPosition integer? " Vertical position of
 squashing for Pitch_squash_engraver.")
 (translator-property-description 'stavesFound list? "list of all staff-symbols 
found.")
-(translator-property-description 'stanza string? "Stanza `number' to print at start 
of a verse. Use in LyricsVoice context.")
+(translator-property-description 'stanza markup? "Stanza `number' to print at start 
+of a verse. Use in LyricsVoice context.")
 
 
 (translator-property-description 'stemLeftBeamCount integer? "
diff -purN ../lilypond-1.5.22.jcn3/scripts/ly2dvi.py ./scripts/ly2dvi.py
--- ../lilypond-1.5.22.jcn3/scripts/ly2dvi.py   Tue Oct 23 20:12:04 2001
+++ ./scripts/ly2dvi.py Wed Nov 14 22:45:15 2001
@@ -414,7 +414,7 @@ def run_lilypond (files, outbase, dep_pr
                if dep_prefix:
                        opts = opts + ' --dep-prefix=%s' % dep_prefix
 
-       fs = string.join (files)
+       fs = '"' + string.join (files, '" "') + '"'
 
        if not verbose_p:
                # cmd = cmd + ' 1> /dev/null 2> /dev/null'
@@ -613,6 +613,7 @@ None
        f.write (s)
        f.close ()
 
+       # FIXME: howto escape spaces in file names?
        cmd = 'latex \\\\nonstopmode \\\\input %s' % latex_fn
 
        if not verbose_p:
@@ -638,7 +639,7 @@ None.
        if extra['orientation'] and extra['orientation'][0] == 'landscape':
                opts = opts + ' -tlandscape'
 
-       cmd = 'dvips %s -o%s %s' % (opts, outbase + '.ps', outbase + '.dvi')
+       cmd = 'dvips "%s" -o"%s" "%s"' % (opts, outbase + '.ps', outbase + '.dvi')
        
        if not verbose_p:
                progress ( _("Running %s...") % 'dvips')



-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org


_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user

Reply via email to