lilypond-user
[Top][All Lists]
Advanced

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

Re: code for previous version doesn't work in 2.2.2


From: Mats Bengtsson
Subject: Re: code for previous version doesn't work in 2.2.2
Date: Tue, 21 Sep 2004 10:42:43 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803

As a first step, use convert-ly to update the syntax to that of
version 2.2.2. If you still have problems after that, you can
come back to the list with questions.

   /Mats

address@hidden wrote:
I was looking for the code to create some jazz articulations, which I
found in the archive, and tried a test in v2.2.2. But the code below
does not work. The errors are below the code...
What needs to be done to make these articulations work in this version?
Thanks for the help,
Regards,
Chip
PS
Would it be possibe to get these articulations added to the
feta font?

---------------
The code...
---------------
\version "2.2.0"
\include "english.ly"
\paper  {
    #(paper-set-staff-size (* 7 mm))
    linewidth = #(* mm 170)
    indent = 0\mm
    interscoreline = 5.\mm
    }
\header {
  title = "Test"
}

raise = #"\\embeddedps{0.2 setlinewidth 0.2 -0.2 moveto 0 -1 -0.7 -1.8
-1.2 -2 rcurveto stroke}"

fall =  #"\\embeddedps{0.2 setlinewidth -0.2 -0.2 moveto 0.5 -0.2 1.2 -1
1.2 -2 rcurveto stroke}"

raisez = #"\\embeddedps{0.1 setlinewidth 0.4 -0.2 moveto 1 1 5 { -0.7
0.1 rlineto 0.5 -0.5 rlineto } for stroke}"

fallz =  #"\\embeddedps{0.1 setlinewidth -0.4 -0.2 moveto 1 1 5 { 0.7
0.1 rlineto -0.5 -0.5 rlineto } for stroke}"

bend = #"\\embeddedps{0.2 setlinewidth -0.5 0.3 moveto 0.8 -0.5 1.6 -0.5
2.4 0 rcurveto stroke}"

sleft = {
    \set \property Voice.scriptHorizontal = ##t
    \set \property Voice.TextScript \override #'direction = #-1
    \set \property Voice.TextScript \override #'X-extent-callback = ##f
}

sright = {
    \set \property Voice.scriptHorizontal = ##t
    \set \property Voice.TextScript \override #'direction = #1
}


\score {
  \notes \relative c'' {
      \sleft a-\raise
      \sright a-\fall
      a^\bend
      \sleft a-\raisez
      \sright a-\fallz
  \bar "|."
  }
}
--------------
The errors...
--------------
Parsing...

/usr/home/chip/test.ly:34:18: error: unknown escaped string:
`\property':    \set \property
                   Voice.scriptHorizontal = ##t

/usr/home/chip/test.ly:34:23: error: parse error, unexpected STRING,
expecting '=':    \set \property Voic
                       e.scriptHorizontal = ##t

/usr/home/chip/test.ly:34:24: error: Have to be in Lyric mode for
lyrics:    \set \property Voice
                        .scriptHorizontal = ##t

/usr/home/chip/test.ly:34:42: error: Have to be in Lyric mode for
lyrics: Failed files: test.ly \set \property Voice.scriptHorizontal = ##t

/usr/home/chip/test.ly:35:18: error: unknown escaped string:
`\property':    \set \property
                   Voice.TextScript \override #'direction = #-1

/usr/home/chip/test.ly:35:24: error: Have to be in Lyric mode for
lyrics:    \set \property Voice
                        .TextScript \override #'direction = #-1

/usr/home/chip/test.ly:35:44: error: Have to be in Lyric mode for
lyrics:    \set \property Voice.TextScript \overrid
                                            e #'direction = #-1

/usr/home/chip/test.ly:36:18: error: unknown escaped string:
`\property':    \set \property
                   Voice.TextScript \override #'X-extent-callback = ##f

/usr/home/chip/test.ly:36:24: error: Have to be in Lyric mode for
lyrics:    \set \property Voice
                        .TextScript \override #'X-extent-callback = ##f

/usr/home/chip/test.ly:36:44: error: Have to be in Lyric mode for
lyrics:    \set \property Voice.TextScript \overrid
                                            e #'X-extent-callback = ##f

/usr/home/chip/test.ly:40:18: error: unknown escaped string:
`\property':    \set \property
                   Voice.scriptHorizontal = ##t

/usr/home/chip/test.ly:40:23: error: parse error, unexpected STRING,
expecting '=':    \set \property Voic
                       e.scriptHorizontal = ##t

/usr/home/chip/test.ly:40:24: error: Have to be in Lyric mode for
lyrics:    \set \property Voice
                        .scriptHorizontal = ##t

/usr/home/chip/test.ly:40:42: error: Have to be in Lyric mode for
lyrics: \set \property Voice.scriptHorizontal = ##t

/usr/home/chip/test.ly:41:18: error: unknown escaped string:
`\property':    \set \property
                   Voice.TextScript \override #'direction = #1

/usr/home/chip/test.ly:41:24: error: Have to be in Lyric mode for
lyrics:    \set \property Voice
                        .TextScript \override #'direction = #1

/usr/home/chip/test.ly:41:44: error: Have to be in Lyric mode for
lyrics:    \set \property Voice.TextScript \overrid
                                            e #'direction = #1
Interpreting music... /usr/home/chip/test.ly:34:23: warning: Junking event: `LyricEvent':
    \set \property Voic
                       e.scriptHorizontal = ##t

/usr/home/chip/test.ly:34:40: warning: Junking event: `LyricEvent':
    \set \property Voice.scriptHorizonta
                                        l = ##t

/usr/home/chip/test.ly:35:23: warning: Junking event: `LyricEvent':
    \set \property Voic
                       e.TextScript \override #'direction = #-1

/usr/home/chip/test.ly:35:34: warning: Junking event: `LyricEvent':
    \set \property Voice.TextScrip
                                  t \override #'direction = #-1

/usr/home/chip/test.ly:36:23: warning: Junking event: `LyricEvent':
    \set \property Voic
                       e.TextScript \override #'X-extent-callback = ##f

/usr/home/chip/test.ly:36:34: warning: Junking event: `LyricEvent':
    \set \property Voice.TextScrip
                                  t \override #'X-extent-callback = ##f

/usr/home/chip/test.ly:40:23: warning: Junking event: `LyricEvent':
    \set \property Voic
                       e.scriptHorizontal = ##t

/usr/home/chip/test.ly:40:40: warning: Junking event: `LyricEvent':
    \set \property Voice.scriptHorizonta
                                        l = ##t

/usr/home/chip/test.ly:41:23: warning: Junking event: `LyricEvent':
    \set \property Voic
                       e.TextScript \override #'direction = #1

/usr/home/chip/test.ly:41:34: warning: Junking event: `LyricEvent':
    \set \property Voice.TextScrip
                                  t \override #'direction = #1

/usr/home/chip/test.ly:34:23: warning: Junking event: `LyricEvent':
    \set \property Voic
                       e.scriptHorizontal = ##t

/usr/home/chip/test.ly:34:40: warning: Junking event: `LyricEvent':
    \set \property Voice.scriptHorizonta
                                        l = ##t

/usr/home/chip/test.ly:35:23: warning: Junking event: `LyricEvent':
    \set \property Voic
                       e.TextScript \override #'direction = #-1

/usr/home/chip/test.ly:35:34: warning: Junking event: `LyricEvent':
    \set \property Voice.TextScrip
                                  t \override #'direction = #-1

/usr/home/chip/test.ly:36:23: warning: Junking event: `LyricEvent':
    \set \property Voic
                       e.TextScript \override #'X-extent-callback = ##f

/usr/home/chip/test.ly:36:34: warning: Junking event: `LyricEvent':
    \set \property Voice.TextScrip
                                  t \override #'X-extent-callback = ##f

/usr/home/chip/test.ly:40:23: warning: Junking event: `LyricEvent':
    \set \property Voic
                       e.scriptHorizontal = ##t

/usr/home/chip/test.ly:40:40: warning: Junking event: `LyricEvent':
    \set \property Voice.scriptHorizonta
                                        l = ##t

/usr/home/chip/test.ly:41:23: warning: Junking event: `LyricEvent':
    \set \property Voic
                       e.TextScript \override #'direction = #1

/usr/home/chip/test.ly:41:34: warning: Junking event: `LyricEvent':
    \set \property Voice.TextScrip
                                  t \override #'direction = #1
[8]
Preprocessing graphical objects... Calculating line breaks... [3][6][8]

paper output to `test.tex'...

writing header field `instrument' to `test.instrument'...
writing header field `title' to `test.title'...
writing header field `arranger' to `test.arranger'...
writing header field `poet' to `test.poet'...
writing header field `opus' to `test.opus'...


lilypond: error: LilyPond failed on input file test (exit status 1)
lilypond: warning: Running LilyPond failed. Rerun with --verbose for a
trace. Process lilypond exited with code 0


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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