Different manganite systems studied by x-ray absorption and emission techniques at the Mn absorption edge