Hi David,

Urs already answered. I understand your concerns about the input and I am always open for ideas to ease the input for the edition-engraver. Like Urs already mentioned your proposal will be difficult to implement because it doesn't use the standard parser schemes. But it sheds light on how others might expect an easy/consistent input.


What is not explained in the demo files (yet) is: You are always free to use constructs like

\editionMod test 1 0/4 Voice {
  <>(
  \once \override NoteHead.color = #red
  \once \override Beam.color = #red
}

To address multiple time steps at once you can use \editionModList, to address multiple contexts at once you can use regular expressions and wildcards like in https://github.com/openlilylib/edition-engraver/blob/master/usage-examples/development-3.ly

Your example implies that it would be a useful feature if one can split timing and context information into several layers. I'll think about it.

I am going to focus on the edition-engraver development in April or May.

Jan-Peter


Am 19.02.2018 um 11:59 schrieb David Sumbler:
As a newcomer to using Edition Engraver, and looking at the example
files etc., I wondered why they were written with so much repetition.
  "Perhaps it is just to keep things easy for newcomers like me to
understand," I thought.

So I experimented with reformatting using braces as Lilypond does,
which seemed the method most likely method.  For instance,

\editionMod test 1 0/4 Voice \(
\editionMod test 1 1/4 Lyrics #(make-music 'ExtenderEvent)
\editionMod test 1 2/8 Voice [
\editionMod test 2 0/4 Score \time 3/4
\editionMod test 2 0/4 Score \tempo "Allegro" 4=135
\editionMod test 2 0/4 Voice \p
\editionMod test 2 0/4 Voice \<
\editionMod test 2 1/4 Lyrics #(make-music 'HyphenEvent)

might become

\editionMod test {
   1 {
     0/4 Voice \(
     1/4 Lyrics #(make-music 'ExtenderEvent)
     2/8 Voice [
     }
   2 {
     0/4 {
       Score {
        \time 3/4
        \tempo "Allegro" 4=135
       }        
       Voice {
         \p
         \<
       }
     }
     1/4 Lyrics #(make-music 'HyphenEvent)
   }    
}

This is much clearer to me, and it would potentially be much easier to
find one's way around the file for maintenance and the addition of new
items.  I appreciate that one might not necessarily want all entries in
the order they appear in the score.

Unfortunately, what I wrote doesn't work.

Is there any likelihood that something similar to what I have suggested
might be added to Edition Engraver in the forseeable future?

And how near are we to seeing Edition Engraver included in Lilypond
itself?

David

_______________________________________________
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

Reply via email to