lilypond-user
[Top][All Lists]
Advanced

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

Re: fret-diagrams.scm:657:42: Wrong type: #f


From: BB
Subject: Re: fret-diagrams.scm:657:42: Wrong type: #f
Date: Thu, 20 Aug 2015 12:51:14 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

Do not know if it is helpful. But if you set the code in place in the first file you get a (may be) clearer error message

»/tmp/frescobaldi-VdzlyD/tmpjvJfHo/document.ly« wird verarbeitet

Analysieren...

Interpretation der Musik...

Vorverarbeitung der grafischen Elemente.../home/bb/lilypond/usr/share/lilypond/current/scm/fret-diagrams.scm:597:42: In procedure - in _expression_ (- string-count string):

/home/bb/lilypond/usr/share/lilypond/current/scm/fret-diagrams.scm:597:42: Wrong type: #\newline



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\version "2.18.2"


\paper {#(set-default-paper-size "a4")

indent = 0

top-margin = 0\cm

left-margin = 1\cm

right-margin = 1\cm

bottom-margin = 1\cm

between-system-space = 28\mm

ragged-last-bottom=##f

ragged-right=##f

}

%\include "DiagD.ly"


\book{

\bookpart {

\header {title = " "

subtitle = " "

subsubtitle = " "

composer = ""}


\score {

{\override Staff.Clef.color = #white

\override Staff.TimeSignature.color = #white

\clef "G_8"

\key c \major

\time 4/4

\omit Score.BarNumber

\override TextScript.fret-diagram-details.dot-color = #'white

\override TextScript.fret-diagram-details.orientation = #'landscape

\stopStaff s2 s_\markup {\bold "G dur"}^\markup{{\fret-diagram

#"s:6;h:5;6-2;6-3;6-5;5-2;5-3;5-5;4-2;4-4;4-5;3-2;3-4;3-5;2-3;2-5;1-2;1-3;1-5;"}}


\break


\override TextScript.fret-diagram-details.dot-color = #'black

\override TextScript.fret-diagram-details.orientation = #'standard

s1 s1_\markup {\bold "G"}^\markup{{\fret-diagram #"s:2;h:5;

6-3;5-5;4-5;3-4;2-3;1-3;"}}

s1_\markup {\bold "C"}^\markup{{\fret-diagram

#"s:2;h:5;6-x;5-3;4-5;3-5;2-5;1-3;"}}

s1_\markup {\bold "D"}^\markup{{\fret-diagram

#"s:2;h:5;6-x;5-5;4-4;3-2;2-3;1-2;"}}

}

}

}%bookpart ends

}



On 19.08.2015 17:53, ClausRogge wrote:
I have two nearly identical pairs of code files, one calling the other. One
of them works, the other one gives me the strange error quoted. 
Layout file one:
...



reply via email to

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