Hi David,

you can find it in the Notation Reference under 3.4.2 Skipping corrected music. 
 lilypond.org seems to be down.  Therefore I copied the text from the 
documentation:

3.4.2 Skipping corrected music

When entering or copying music, usually only the music near the end (where you 
are adding notes) is interesting to view and correct. To speed up this 
correction process, it is possible to skip typesetting of all but the last few 
measures. This is achieved by putting

showLastLength = R1*5
\score { … }
in your source file. This will render only the last 5 measures (assuming 4/4 
time signature) of every \score in the input file. For longer pieces, rendering 
only a small part is often an order of magnitude quicker than rendering it 
completely. When working on the beginning of a score you have already typeset 
(e.g. to add a new part), the showFirstLength property may be useful as well.

Skipping parts of a score can be controlled in a more fine-grained fashion with 
the property Score.skipTypesetting. When it is set, no typesetting is performed 
at all.

This property is also used to control output to the MIDI file. Note that it 
skips all events, including tempo and instrument changes. You have been warned.

c8 d
\set Score.skipTypesetting = ##t
e8 e e e e e e e
\set Score.skipTypesetting = ##f
c8 d b bes a g c2

In polyphonic music, Score.skipTypesetting will affect all voices and staves, 
saving even more time.


hth
patrick
On 26.05.2014, at 22:36, David Stephen Grant <da...@davidgrant.no> wrote:

> Hello list,
> I'm sure I have read somewhere that it is possible to compile only the last n 
> bars of a Lilypond file, but I cannot seem to find it anywhere! Or is this a 
> feature of some front-end? Any tips or pointers to the relevant documentation 
> are much appreciated.
> Best, 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