fix building latex tutorial