Measuring the photon fragmentation function at LEP