I was surprised to see that normal punctuation rules apply after a closing em dash (raya de cierre). For example:
Esperaba a Emilio —un gran amigo—, que, lamentablemente, no vino.
There's a comma after the dash [—,], which would be incorrect in English.
However, I'm doing a typographic revision of a book in English and Spanish, and have noticed that the author doesn't apply that rule with parentheses. For example:
Si desea más información sobre este tema (la bibliografía es bastante extensa —incluso en español), deberá acudir a otras fuentes.
Is that second example an error? Should it be "... en español—), deberá ..." Or does the rule about punctuation not apply for a closing parentheses?