improve conversion from notebook to RST