Added `\textnormal` support, better shorttitle.

The previous version of shorttitle failed badly when
the title contained a span with a colon in an attribute.