Oleksandr Gavenko
2016-02-15 22:46:19 UTC
This:
.. |fib| replace:: :math:`fib(n) = fib(n-1)+fib(n-2)`
works in:
Substitution of mathematic formula: |fib|.
But this:
.. |fib| math:: fib(n) = fib(n-1)+fib(n-2)
produced error:
main.rst:211: (WARNING/2) Substitution definition "fib" empty or invalid.
.. |fib| math:: fib(n) = fib(n-1)+fib(n-2)
main.rst:209: (ERROR/3) Undefined substitution referenced: "fib".
HTML output from rst2html have marked |fib| and formula shown only for
directive.
It that correct?
--
http://defun.work/
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Docutils-users mailing list
Docutils-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-users
Please use "Reply All" to reply to the list.
.. |fib| replace:: :math:`fib(n) = fib(n-1)+fib(n-2)`
works in:
Substitution of mathematic formula: |fib|.
But this:
.. |fib| math:: fib(n) = fib(n-1)+fib(n-2)
produced error:
main.rst:211: (WARNING/2) Substitution definition "fib" empty or invalid.
.. |fib| math:: fib(n) = fib(n-1)+fib(n-2)
main.rst:209: (ERROR/3) Undefined substitution referenced: "fib".
HTML output from rst2html have marked |fib| and formula shown only for
directive.
It that correct?
--
http://defun.work/
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Docutils-users mailing list
Docutils-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-users
Please use "Reply All" to reply to the list.