alb wrote:
The result I aim to would be:In [BINGO]: print pypandoc.convert(inp, 'latex', format='rst') \ref{fig:abc}
From a cursory reading of the pypandoc docs, it looks like enabling the raw_tex extension in pypandoc will give you what you want. Search for raw_tex on this page: http://johnmacfarlane.net/pandoc/README.html -- Greg -- https://mail.python.org/mailman/listinfo/python-list