lilypond-user
[Top][All Lists]
Advanced

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

Re: Edition Engraver -- multiple editions


From: Craig Dabelstein
Subject: Re: Edition Engraver -- multiple editions
Date: Thu, 1 Mar 2018 19:07:29 +1000

Jan-Peter,

Thank you so much. Now I get it!

I'm working on critical editions of band music from the French Revolution -- at the moment an Ouverture by Charles-Simon Catel. The edition engraver has just become invaluable to me.

All the best,

Craig


On 1 March 2018 at 18:14, Jan-Peter Voigt <address@hidden> wrote:
Hi Craig,

you remind me to rethink wording/naming of the different identifiers!

In your example you point on two different ID-types. With \addEdition you add one target-ID to the current compilation. You can add multiple targets like fullscore, global-mods, original-page-breaks at once.

With \editionID inside a layout-context block you assign a context-identifier. There is one context-identifier - one might call it context-address - per context-instance.
So the score will have a contextID like perhaps:

\layout {
  \context {
    \Score
    \editionID ##f bwv.247.marco.11.choral
  }
}

and the different context are created with e.g.
\new Staff \with { \editionID flute } << ... >>
so this Staff receives the ID `bwv.247.marco.11.choral.flute`.
This should be stable across all compilations for all targets.
Now you can enter modifications like
\editionMod score 2 3/4 bwv.247.marco.11.choral.Staff <do something in score>
\editionMod part 2 3/4 bwv.247.marco.11.choral.Staff <do something in part>
\editionMod global 2 3/4 bwv.247.marco.11.choral.Staff <do something>

(you can shorten this significantly with a variable!)

Inside the respective files for the core and the part you can add targets as you like:
\addEdition score
\addEdition global

The EE will apply all modifications for all active targets. In the part files you might use the shorter variant
\setEditions part.violin.global

To activate the "part", "violin" and "global" targets. If lilypond reads the mods for the score while compiling the violin part, it doesn't matter, as long as the score-target is not active.

The edition-engraver is using pointers/IDs/addresses in three dimensions:
1. the target of the current compilation-run
2. the context-address
3. the timestep

Right now target IDs can not be changed within a file/a compilation for different scores. So you will have one file for the fullscore and one for each part. These files will include the music from other files and then apply the mods needed for the current target.

HTH
Jan-Peter

Btw.:
One of the projects I have been working on over the last two years is typesetting a new reconstruction of the "Markus-Passion" from Johann Sebastian Bach (Ortus-Verlag/Berlin - fullscore ISMN 979-0-502340-65-0, piano reduction ISMN 979-0-502340-66-7, choir part ISMN 979-0-502340-67-4, instrumental parts ISMN 979-0-502340-68-1)
by Andreas Fischer (St.Katharinen, Hamburg, Germany).
I am going to write a description of this project when my schedule allows.




Am 01.03.2018 um 02:34 schrieb Craig Dabelstein:
Hi all,

I thought I had my head around the edition engraver but I'm going wrong somewhere. If I want to have different mods for a score, the parts, and a selection of mods applicable to both the score and the parts, do I need to create three different editions such as this:

\addEdition score
\addEdition parts
\addEdition scoreandparts

If so, how do I switch between them?

I was trying to use different editionIDs for everything but it's not working. Can a score have multiple IDs such as:

\layout{
\context {
     \Score
     \editionID ##f score
     \editionID ##f both
     }
}

Thanks in advance,

Craig

--
*Craig Dabelstein*
Maxime's Music
address@hidden <mailto:address@hidden.com>
/http://maximesmusic.com/


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



--
Craig Dabelstein
Maxime's Music

reply via email to

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