Urs,
no problem, I have what I've got in attachment here, and the second file
added is a file as reusable library of stuff, including things I've learned
in this conversation. The cause of the error could be in there too.
I've now tried to render the sample code of Simon with control points, and
it works fine. I did add some slurs to get to control points of course :-).
So it is something else that causes the error I guess.
grtz, and thanks for looking into it.
Bart
http://www.bartart3d.be/
On facebook <https://www.facebook.com/pages/BartArt3D/169488999795102>
On Twitter <https://twitter.com/#%21/Bart_Issimo>
On Identi.ca <http://identi.ca/bartart3d>
On Google+ <https://plus.google.com/u/0/b/116379400376517483499/>
2013/12/23 Urs Liska <u...@openlilylib.org>
> Am 23.12.2013 15:18, schrieb Federico Bruni:
>
> 2013/12/23 bart deruyter <bart.deruy...@gmail.com>
>>
>> Federico, thanks for the info.
>>>
>>> I just tried it, compiled the file but I get the same error.
>>>
>>>
>> can you compile the lilypond file "normally", without any layout control
>> option?
>> anyway, you'd better write to the frescobaldi mailing list (unless Urs
>> jumps in this thread)
>>
>>
> OK, I jump in, but I saw it merely by accident because I'm not interested
> in guitar position indications normally ;-)
>
> Bart, could you please send either the problematic file or at least a few
> lines before and after the error?
>
> I have also experienced cases where the display-control-points option
> interfered with my files (but we dismissed this as a problem because we had
> very similar functionality in the library of that project and thought it's
> probably due to this).
>
> Somehow it looks like you are trying to display control-points for a
> markup function, which wouldn't work, so I'd like to have a look at the
> actual context you are using.
>
> Urs
>
>
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
\version "2.17.97"
% Spanner layout
spanner = {
\once \override TextSpanner.bound-details.left.stencil-align-dir-y = #DOWN
\once \override TextSpanner.dash-period = #1
\once \override TextSpanner.style = #'line
%\once \override TextSpanner.dash-fraction = #0.35
\once \override Staff.TextSpanner.staff-padding = #3
}
% Position indicators
indic-pos = \once \override Staff.TextScript.staff-padding = #3
first = \markup \normal-text \roman \bold \large "I "
second = \markup \normal-text \roman \bold \large "II "
third = \markup \normal-text \roman \bold \large "III "
forth = \markup \normal-text \roman \bold \large "IV "
fifth = \markup \normal-text \roman \bold \large "V "
sixth = \markup \normal-text \roman \bold \large "VI "
seventh = \markup \normal-text \roman \bold \large "VII "
eighth = \markup \normal-text \roman \bold \large "VIII "
ninth = \markup \normal-text \roman \bold \large "IX "
tenth = \markup \normal-text \roman \bold \large "X "
eleventh = \markup \normal-text \roman \bold \large "XI "
twelfth = \markup \normal-text \roman \bold \large "XII "
% Barré positions
barreI ={ \spanner \override TextSpanner.bound-details.left.text = \markup \first }
barreII ={ \spanner \override TextSpanner.bound-details.left.text = \markup \second }
barreIII ={ \spanner \override TextSpanner.bound-details.left.text = \markup \third }
barreIV ={ \spanner \override TextSpanner.bound-details.left.text = \markup \forth }
barreV = { \spanner \override TextSpanner.bound-details.left.text = \markup \fifth }
barreVI = { \spanner \override TextSpanner.bound-details.left.text = \markup \sixth }
barreVII = { \spanner \override TextSpanner.bound-details.left.text = \markup \seventh }
barreVIII = { \spanner \override TextSpanner.bound-details.left.text = \markup \eighth }
barreIX = { \spanner \override TextSpanner.bound-details.left.text = \markup \ninth }
barreX = { \spanner \override TextSpanner.bound-details.left.text = \markup \tenth }
barreXI = { \spanner \override TextSpanner.bound-details.left.text = \markup \eleventh }
barreXII = { \spanner \override TextSpanner.bound-details.left.text = \markup \twelfth }
%Right hand fingering
RHp = \rightHandFinger #1
RHi = \rightHandFinger #2
RHm = \rightHandFinger #3
RHa = \rightHandFinger #4
%Position of left hand fingering
LHleft = \set fingeringOrientations = #'(left)
LHright = \set fingeringOrientations = #'(right)
LHup = \set fingeringOrientations = #'(up)
LHdown = \set fingeringOrientations = #'(down)
%Position of string numbers
Sleft= \set stringNumberOrientations = #'(left)
Sright = \set stringNumberOrientations = #'(right)
Sup = \set stringNumberOrientations = #'(up)
Sdown = \set stringNumberOrientations = #'(down)
\version "2.17.97"
\include "../../../library/guitarstuff.ly"
\paper {
#(set-paper-size "a4")
#(define top-margin (* 2.5 cm))
#(define bottom-margin (* 2.5 cm))
#(define left-margin (* 2 cm))
#(define right-margin (* 2 cm))
}
\header {
title = "Luitensuite nr. 3 in la klein "
subtitle = "BWV 995"
instrument = "Gitaar"
composer = "Johann Sebastian Bach"
tagline = "BartArt3D"
}
global = {
\key a \minor
\time 2/2
\tempo 4=76
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1 4)
\set Timing.beatStructure = #'(1 1 1 1)
\override StringNumber.staff-padding = #'()
\override Staff.Arpeggio #'direction = #LEFT
\override Fingering #'add-stem-support = ##t
\override StringNumber #'add-stem-support = ##t
\override StrokeFinger #'add-stem-support = ##t
\override StrokeFinger #'avoid-slur = #'outside
}
upper = \relative c' {
\global
\LHleft
<a^\RHm-2>4 ~a16 <e^\RHi-1>( <fis-4>) <gis^\RHm-1>( <a-2>) <b^\RHa-0>( <c-1> <d-4>) <c-1>( <b-0>) <c-1> <a-3> | <f'-2>4.\arpeggio \Sdown <f\2-2>8 <e-1> <f-2>16 <d\3-3> <c-1>8 <d-3>16 <b-0> |
%3
< e,-2 a-3 c-1 >2 a4\mordent~a16 a <b-0> <c-2> | \appoggiatura <c-2>8 b4. b8 \appoggiatura <d-4>8 <cis-2>2 | <f,-3 a-2 d-4 >2 \barreIII <a'-4>4.\startTextSpan a8 \stopTextSpan |
%6
\barreII <a-4>4(\startTextSpan a16) \stopTextSpan a(^\RHm g)\glissando f^\RHi <g-4^\RHm>8. <e-0>16 <f-1>8. <g-4>16 | <a,-2 d-3 f-1 >2 <d\3-4^\RHm >8(^\forth d32) <c-2^\RHi>( <b-1> <c-2>) <d-4^\RHm >8. <a-3^\RHi_\4 >16 |
%8
\Sright d4.\3^\RHm <e-1>16 <f-3> <e-1>8. <d-4>16 <c-2>8. <b-0>16 | < e,-2 a-3 c-1 >4.^\first <d'-4>32 <c-1> <b-0> <c-1> c4. b8 |
b4~ b16 b^\forth cis dis e fis^\seventh g a g( fis) g e | <dis a' c>4. c'8 g8. a32( g) fis8. g16\glissando \appoggiatura a8 gis4 r8 c,16( b) c8. e16 a8. c,16 | a'4~a16 g a fis g8. e16 bes'8. d,16 |
}
lower = \relative c' {
\global
a,4 r4 r2 | \LHright <a d gis-1 b>2\arpeggio r2
%3
a4 a4 a4 a4\rest | <gis'-1_\RHp>2 g4_\RHp~g16 \LHleft <f-3_\RHp> <g-0_\RHm > <e-1_\RHi > | a,4 a <f d'>2
%6
<a-0>4 a <cis'-2>2 | a,4 a a2\rest
%8
<gis'_\4-2>2 r2 | a,4 a a2\rest |
e'4 e, e'2\rest | e,4 e\rest e'2\rest |
<e b' d>4 e, e'2\rest | <e b' e >4 e, e'2\rest
}
\score {
\new Staff \with {
\consists "Span_arpeggio_engraver"
midiInstrument = "acoustic guitar (nylon)"
instrumentName = "Gt."
} { \clef "treble_8"\set Staff.connectArpeggios = ##t << \upper \\ \lower >> }
\layout { }
\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 100 4)
}
}
\header {
piece = "Prélude"
}
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user