Replace \xx with \textxx.

The \it and \bf commands are deprecated so use \textit and \textbf
respectively.