Re: how to refer to partial first bar using edition-engraver

2018-07-23 Thread Mason Hock
Thanks for looking into it, and thanks as always for your work on 
edition-engraver.

Mason

On 07/23, Jan-Peter Voigt wrote:
> Hello Mason,
> 
> once again I have to dive deep into this. It is an issue I thought it
> was solved, but obviously it isn't. The right way to address a time in a
> partial bar would be
> \editionMod all 1 #(ly:make-moment -1/8) score.Score \mark "mark3"
> 
> but this doesn't work here (anymore) ... I hope to find the solution soon!
> 
> Cheers,
> Jan-Peter
> 
> Am 23.07.2018 um 00:09 schrieb Mason Hock:
> > I have a score beginning with an 8th note pickup and want to place a \mark 
> > above the first note using edition-engraver. Edition-engraver appears to 
> > consider the first complete bar to be bar "1" and the timing mark "2 0/4" 
> > places tweaks at the beginning of the second complete bar. Therefore, my 
> > instinct was to use "0 7/8" for the bar/beat timing, but nothing appeared 
> > whether I used \mark or \markup. Next I tried "0 0/4" and got the same 
> > result. Interestingly, "1 0/4" places a \markup above the first complete 
> > bar, which is what I expected, but it places \mark in two locations, over 
> > the first note and over the clef. Placing a \mark over the first complete 
> > bar directly in the music, as opposed to using edition-engraver, places it 
> > as expected.
> > 
> > What is the correct way to place an editionMod in a partial bar? Here is a 
> > minimal example of the resutls described above:
> > 
> > --
> > \version "2.21.0"
> > 
> > \include "oll-core/package.ily"
> > \loadPackage edition-engraver
> > 
> > \editionMod all 2 0/4 score.staff.Voice ->
> > \editionMod all 2 0/4 score.staff.Voice \f
> > \editionMod all 0 0/4 score.Score ^\markup { "markup1" }
> > \editionMod all 0 0/4 score.Score \mark "mark1"
> > \editionMod all 0 7/8 score.Score ^\markup { "markup2" }
> > \editionMod all 0 7/8 score.Score \mark "mark2"
> > \editionMod all 1 0/4 score.Score ^\markup { "markup3" }
> > \editionMod all 1 0/4 score.Score \mark "mark3"
> > 
> > \consistToContexts #edition-engraver Score.Staff.Voice
> > \addEdition all
> > 
> > \score {
> >   <<
> >   \new Staff \with { \editionID staff }
> > \relative c' {
> >   \partial 8 d8 |
> >   d4\mark "mark4" d d d |
> >   d d d d
> > }
> >   >>
> >   \layout {
> > indent = 18\mm
> > \context {
> >   \Score
> >   \editionID score
> > }
> >   }
> > }
> > --
> > 
> > Thanks,
> > 
> > Mason
> > 
> > 
> > 
> > ___
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
> > 
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


signature.asc
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: how to refer to partial first bar using edition-engraver

2018-07-23 Thread Jan-Peter Voigt
Hello Mason,

once again I have to dive deep into this. It is an issue I thought it
was solved, but obviously it isn't. The right way to address a time in a
partial bar would be
\editionMod all 1 #(ly:make-moment -1/8) score.Score \mark "mark3"

but this doesn't work here (anymore) ... I hope to find the solution soon!

Cheers,
Jan-Peter

Am 23.07.2018 um 00:09 schrieb Mason Hock:
> I have a score beginning with an 8th note pickup and want to place a \mark 
> above the first note using edition-engraver. Edition-engraver appears to 
> consider the first complete bar to be bar "1" and the timing mark "2 0/4" 
> places tweaks at the beginning of the second complete bar. Therefore, my 
> instinct was to use "0 7/8" for the bar/beat timing, but nothing appeared 
> whether I used \mark or \markup. Next I tried "0 0/4" and got the same 
> result. Interestingly, "1 0/4" places a \markup above the first complete bar, 
> which is what I expected, but it places \mark in two locations, over the 
> first note and over the clef. Placing a \mark over the first complete bar 
> directly in the music, as opposed to using edition-engraver, places it as 
> expected.
> 
> What is the correct way to place an editionMod in a partial bar? Here is a 
> minimal example of the resutls described above:
> 
> --
> \version "2.21.0"
> 
> \include "oll-core/package.ily"
> \loadPackage edition-engraver
> 
> \editionMod all 2 0/4 score.staff.Voice ->
> \editionMod all 2 0/4 score.staff.Voice \f
> \editionMod all 0 0/4 score.Score ^\markup { "markup1" }
> \editionMod all 0 0/4 score.Score \mark "mark1"
> \editionMod all 0 7/8 score.Score ^\markup { "markup2" }
> \editionMod all 0 7/8 score.Score \mark "mark2"
> \editionMod all 1 0/4 score.Score ^\markup { "markup3" }
> \editionMod all 1 0/4 score.Score \mark "mark3"
> 
> \consistToContexts #edition-engraver Score.Staff.Voice
> \addEdition all
> 
> \score {
>   <<
>   \new Staff \with { \editionID staff }
> \relative c' {
>   \partial 8 d8 |
>   d4\mark "mark4" d d d |
>   d d d d
> }
>   >>
>   \layout {
> indent = 18\mm
> \context {
>   \Score
>   \editionID score
> }
>   }
> }
> --
> 
> Thanks,
> 
> Mason
> 
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 


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


how to refer to partial first bar using edition-engraver

2018-07-22 Thread Mason Hock
I have a score beginning with an 8th note pickup and want to place a \mark 
above the first note using edition-engraver. Edition-engraver appears to 
consider the first complete bar to be bar "1" and the timing mark "2 0/4" 
places tweaks at the beginning of the second complete bar. Therefore, my 
instinct was to use "0 7/8" for the bar/beat timing, but nothing appeared 
whether I used \mark or \markup. Next I tried "0 0/4" and got the same result. 
Interestingly, "1 0/4" places a \markup above the first complete bar, which is 
what I expected, but it places \mark in two locations, over the first note and 
over the clef. Placing a \mark over the first complete bar directly in the 
music, as opposed to using edition-engraver, places it as expected.

What is the correct way to place an editionMod in a partial bar? Here is a 
minimal example of the resutls described above:

--
\version "2.21.0"

\include "oll-core/package.ily"
\loadPackage edition-engraver

\editionMod all 2 0/4 score.staff.Voice ->
\editionMod all 2 0/4 score.staff.Voice \f
\editionMod all 0 0/4 score.Score ^\markup { "markup1" }
\editionMod all 0 0/4 score.Score \mark "mark1"
\editionMod all 0 7/8 score.Score ^\markup { "markup2" }
\editionMod all 0 7/8 score.Score \mark "mark2"
\editionMod all 1 0/4 score.Score ^\markup { "markup3" }
\editionMod all 1 0/4 score.Score \mark "mark3"

\consistToContexts #edition-engraver Score.Staff.Voice
\addEdition all

\score {
  <<
  \new Staff \with { \editionID staff }
\relative c' {
  \partial 8 d8 |
  d4\mark "mark4" d d d |
  d d d d
}
  >>
  \layout {
indent = 18\mm
\context {
  \Score
  \editionID score
}
  }
}
--

Thanks,

Mason


signature.asc
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user