An earthquake struck Mexico on Friday, shaking buildings in the capital and sending people running out of offices onto the streets. Authorities in southern Mexico said the quake was also felt there. There was no immediate report on the magnitude.