Text this: Superpotentials from singular divisors