Closed noteflakes closed 8 years ago
Perhaps it's better to use something that could be enhanced in the future:
\mode:score ...
\mode:part ...
\mode:none ...
As for how to implement this, the easiest and perhaps most extensible method would be to add some logic in front of the WorkContext#emit method, and inhibit emitting when the mode is set and does not match the render mode.
The code will be rendered only when the rendering mode fits corresponds to the specified mode: