combining quotes and tags

2013-04-16 Thread Jean-Charles Malahieude

Hi all,


I've got a problem when combining \include \tag and \quoteDuring :
where should I put the addQuote statement? This is on a big project 
(notes and lyrics in separate files for everybody). I tried to 
instantiate it in the quoting file, but with no result.


Nevertheless, trying to find my path and a solution, I now block on the 
following: I would expect the E from the sopranos to appear

on the violin staff. Am I doing something wrong?

-- 8 --
\version 2.17.15

sopran = \relative c' {
  f1
  \tag #'Full { R1^one }
  \tag #'(Chor Part) { R1^foo }
  e^sop
  f1
}

violin = \relative c' {
  d1
  \tag #'Full { s1*2 }
  \tag #'Part { R1^bar \quoteDuring Soprano { s1 } }
  a1
}

\addQuote Soprano { \sopran }

\score {
  \keepWithTag #'Part
  \new Staff { \violin }
}
-- 8 --

which results in
D bar foo A
instead of D bar E A

TIA,
Jean-Charles

___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: combining quotes and tags

2013-04-16 Thread Keith OHara
Jean-Charles Malahieude lilyfan at orange.fr writes:

 I've got a problem when combining \include \tag and \quoteDuring :

 where should I put the addQuote statement? 

Where you have it is fine.

You have tagged segments in sequence, and all the tagged segments go into
\addQuote, creating 5 bars of music, from which the violin quotes bar 3.

You could filter the sequence from which you quote,
  \addQuote Soprano { \keepWithTag #'Part \sopran }
but I am usually happier if I write my optional notation in parallel
  \tag #'Full { s1*2 }
\tag #'Part { R1^bar \quoteDuring Soprano { s1 } } 
more in -user


___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond