auto compile book