Gauge and matter fields coupled to N = 2 supergravity