Re: Equation numbering in LaTeX writer

Guenter Milde <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <[email protected]>
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


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Docutils-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.