Holomorphic couplings in string theory