[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in 2.13.x?
From: |
James Bailey |
Subject: |
Re: Bug in 2.13.x? |
Date: |
Sat, 8 Jan 2011 09:48:50 +0100 |
I can reproduce this error by including the pop-chords.ly file. Perhaps the
problem is that, as neil says, pop-chords.ly is being included somewhere?
On Jan 8, 2011, at 1:53 AM, Tim McNamara wrote:
> I had posted previously about having .ly file fail to compile in 2.13.44-1
> which worked in 2.12. This was not repeatable for others. I tried
> downloading 2.13.45-1 and it, too, fails. The error massage is:
>
> /Applications/LilyPond.app/Contents/Resources/share/lilypond/current/scm/chord-ignatzek-names.scm:208:9:
> In procedure chord-name->pop-markup in expression (name-root root
> lowercase-root?):
>
> /Applications/LilyPond.app/Contents/Resources/share/lilypond/current/scm/chord-ignatzek-names.scm:208:9:
> Wrong number of arguments to #<procedure chord-name->pop-markup (pitch)>
>
> I had a look at the lines specified, comparing 2.13.45-1 with 2.12.3-1.
>
> Here's the lines from 2.13.45-1 (200-214):
>
> (define (ignatzek-format-exception
> root
> exception-markup
> bass-pitch
> lowercase-root?)
>
> (make-line-markup
> `(
> ,(name-root root lowercase-root?)
> ,exception-markup
> .
> ,(if (ly:pitch? bass-pitch)
> (list (ly:context-property context 'chordNameSeparator)
> (name-note bass-pitch #f))
> '()))))
>
>
> And the comparable lines from 2.12.3-1 (188-201):
>
> (define (ignatzek-format-exception
> root
> exception-markup
> bass-pitch)
>
> (make-line-markup
> `(
> ,(name-root root)
> ,exception-markup
> .
> ,(if (ly:pitch? bass-pitch)
> (list (ly:context-property context 'chordNameSeparator)
> (name-note bass-pitch))
> '()))))
>
>
> I don't speak Scheme and have no idea if the differences are important or are
> the cause of the problem I am seeing. But there is a difference: note that
> in 2.13.45-1, we find:
>
> ,(name-root root lowercase-root?)
>
> whereas in 2.12.3-1 we find:
>
> ,(name-root root)
>
> Is that what the error message is complaining about (too many arguments)?
> And, if so, why would this fail on my computer and not on the computers of
> other people? Compiling fails on on 2.13.44 and 2.13.45-1 with every one of
> my files that use \chordmode. It doesn't matter which editor I use (Emacs,
> Aquamacs, Fraise/Smultron or the built-in editor in the Mac package).
>
>
>
> \version "2.12.2"
>
> #(ly:set-option 'delete-intermediate-files #t)
>
> \paper {
> indent = 0.0
> ragged-last = ##f
>
> }
>
> \header {
> title = "Finn McCool"
> subtitle = "Concert Instruments"
> composer = "McNamara"
> meter = "Swing Ballad"
> copyright = "Tim McNamara 2010, All Rights Reserved"
> }
>
> harmonies = \chordmode {
>
> r8
> % 1
> bes2:min7 ges2:7
> des1:maj7
> bes2:min7 ges2:7
> des1:maj7
>
> % 5
> bes2:min7 ges2:7
> bes2:min7 ees2:7
> ees2:min7 aes2:7
> des1:maj7
>
> % 9
> ces1:min6
> ges1:maj7
> ces1:min6
> ges1:maj7
>
> % 13
> ces1:min6
> ges1:maj7
> aes1:7
> des1:maj7
>
>
> }
>
> melody = \relative c' {
> \override Staff.TimeSignature #'style = #'()
> \time 4/4
> \clef treble
> \key des\major
>
> % 1
> r1
> r1
> r1
> r1 \break
>
> % 5
> r1
> r1
> r1
> r1 \break
> % 9
> r1
> r1
> r1
> r1 \break
>
> % 13
> r1
> r1
> r1
> r1 \break
>
> \bar ":|"
>
> }
>
>
>
> \score
>
> {
> <<
>
> \new ChordNames {
> \set chordChanges = ##t
> \harmonies
> }
> \new Staff \melody
>>>
>
> }
>
>
>
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user