doc: Typeset code with listings package.