Get things together for outputting RST.