Save history, remove latex save hook.