According to Mark Taylor, --nogap should work okay if you dont use tags (VBR or id3), and during encoding the the mp3 files have to be in the same directory as the
.wav file.
There is also a small bug with the interaction between --nogap
and the Xing header.