A strong earthquake shook much of eastern Mexico on Tuesday, but there were no reports of damage or injury.