[IPython-dev] Use the IPython Notebook to generate reST output for SciPy proceedings?
Thomas Kluyver
takowl at gmail.com
Wed Jun 4 19:43:01 EDT 2014
On 4 June 2014 16:33, David P. Sanders <dpsanders at ciencias.unam.mx> wrote:
> OK, found the template file.
> Modifying code to code-block is trivial, but what is the correct syntax to
> add the new line and spacing after .. math:: ?
>
I've just tried it, and maths expressions in code output (e.g. from sympy)
have the spacing and indentation I'd expect. Expressions included in
markdown cells appear on the same line as the ".. math::" directive, which
I would guess is the work of pandoc. However, when I run it through
rst2html, both formats are rendered correctly, so it doesn't appear to be
incorrect rst.
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140604/85476093/attachment.html>
More information about the IPython-dev
mailing list