From: Guenter M. <mi...@us...> - 2014-07-03 20:25:52
|
On 2014-06-26, Eduard Bopp wrote: > My current workaround is to change line 2529 of > writers/latex2e/__init__.py from > math_env = pick_math_environment(node.astext()) > to > math_env = pick_math_environment(node.astext(), numbered=True) > This enables enumeration and allows me to label and reference my > equations using raw LaTeX. While this solves my practical issue, I think > it's not exactly an elegant solution. Is there a more straightforward > and perhaps target-independent way to achieve this? Not yet. Numbered equations are on the TODO list.¹ However, as there are more objects that may/can/should be numbered (formal tables, figures) this should become a generic solution which requires some thoughts and efforts. Günter ¹ http://docutils.sourceforge.net/docs/dev/todo.html |