Lilypond 1.7.12 : \cresc broken ???

2003-02-19 Thread Alexandre Beneteau
Hello again :-)

I am surprised to have this kind of error message (see at the bottom) as 
I am trying to use \cresc (not to mention \decresc which seems to not 
exists ??? Why ?)

In previous versions, I believe it worked... It is a bug or my mistake ?

\decresc is it planned to be implemented.

I am sorry to ask help if this issue seems trivial to programmers. I try 
to learn scheme in my free type to be more accurate... But for now, I 
have to admit I'm very often lost when trying to dig in lylipond 
internals...

Thanks again,

	Alex.

P.S. : Example joined.

:!make test.ps | tee ./erreurs.log
ly2dvi test.ly
ly2dvi (GNU LilyPond) 1.7.12
Running lilypond...GNU LilyPond 1.7.12
Now processing: `test.ly'
Parsing...
Interpreting music...[3]
Preprocessing graphical objects...
Calculating line breaks...
paper output to `test.tex'...

Type check for `crescendoText' failed; value `((font-shape . italic) 
cresc.)' must be of type `markup'

Analyzing test.tex...
Running latex...
DVI output to `test.dvi'...
dvips -f -Z test.dvi  test.ps;
This is dvips(k) 5.86 Copyright 1999 Radical Eye Software 
(www.radicaleye.com)
' TeX output 2003.02.19:1631' -
texc.promusic-drawing-routines.psspecial.pro. [1]
(1 of 19): ly2dvi test.ly
\header { tagline =  } % for proper automatic cropping
\score { \notes { \clef bass c8 \cresc c c c c c c \! c 
  c \ c c c c c c \! c 
}
}

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



Re: Lilypond 1.7.12 : \cresc broken ???

2003-02-19 Thread Jan Nieuwenhuizen
Alexandre Beneteau [EMAIL PROTECTED] writes:

You found a bug, try this patch.  (Font selection doesn't work yet).

Jan.

--- spanners-init.ly.~1.13.~2002-11-18 01:09:27.0 +0100
+++ spanners-init.ly2003-02-19 18:04:37.0 +0100
@@ -18,7 +18,7 @@ stopTextSpan = #(make-span-event 'TextSp
 
 cresc = \notes {
   #(ly:export (make-event-chord (list cr)))
-  \property Voice.crescendoText = #'((font-shape . italic) cresc.)
+  \property Voice.crescendoText = \markup { \italic cresc. }
   \property Voice.crescendoSpanner = #'dashed-line
 }
 
@@ -33,7 +33,7 @@ endcresc = \notes {
 dim = \notes {
   #(ly:export (make-event-chord (list decr)))
 
-  \property Voice.decrescendoText = #dim.
+  \property Voice.decrescendoText = \markup { \italic dim. }
   \property Voice.decrescendoSpanner = #'dashed-line
 }
 

-- 
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



Re: Lilypond 1.7.12 : \cresc broken ???

2003-02-19 Thread Alexandre Beneteau
Thanks very much, works fine now :-)

Alex.

Jan Nieuwenhuizen wrote:

Alexandre Beneteau [EMAIL PROTECTED] writes:

You found a bug, try this patch.  (Font selection doesn't work yet).

Jan.

--- spanners-init.ly.~1.13.~	2002-11-18 01:09:27.0 +0100
+++ spanners-init.ly	2003-02-19 18:04:37.0 +0100
@@ -18,7 +18,7 @@ stopTextSpan = #(make-span-event 'TextSp
 
 cresc = \notes {
   #(ly:export (make-event-chord (list cr)))
-  \property Voice.crescendoText = #'((font-shape . italic) cresc.)
+  \property Voice.crescendoText = \markup { \italic cresc. }
   \property Voice.crescendoSpanner = #'dashed-line
 }
 
@@ -33,7 +33,7 @@ endcresc = \notes {
 dim = \notes {
   #(ly:export (make-event-chord (list decr)))
 
-  \property Voice.decrescendoText = #dim.
+  \property Voice.decrescendoText = \markup { \italic dim. }
   \property Voice.decrescendoSpanner = #'dashed-line
 }
 





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