Line and page breaking

MIDI2TEX keeps track of the space that is occupied by the typesetted music and inserts \alaligne and \alapage at the proper moments. It uses an \elemskip of 10pt for musicsize=20 and 8pt for musicsize=16. Inclusion of \autolines is not required anymore. \elemskip can be directly altered with the -e option.

When translating a file into a document with musicsize 16 you may end up in a TEX  capacity exceeded  error. During processing all measures are stored in memory until an \alapage is encountered. When selecting musicsize 16 there are so many notes on a single page that occasionally TEX  may run out of storage space. There are two ways out: use BTEX   or translate the MIDI file with musicsize 20.