rst and pypandoc

Gregory Ewing greg.ewing at canterbury.ac.nz
Tue Mar 3 01:40:11 EST 2015


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



More information about the Python-list mailing list