Re: Equation numbering in LaTeX writer

engelbert gruber <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <CAHnbgBOxZGQGOoQvYJdbr4ab6ebfa+=MEBpK1XK7EJcRcjDQ5g@mail.gmail.com>
no advance made sorry

my problem is

1. as reST to me still is a document format not a markup
2. i do not need it

so the question is how to get the number information into the tree ?

maybe:

* add numbering of things into docutils internally for all types/classes
* and let these numbers be accessible

example::

  .. figure:: picture.png
     :scale: 50 %
     :alt: map to buried treasure

     Fig.# This is the caption of the figure (a simple paragraph).


* "#" would be replaced by docutils internal figure counter
* how writers handle captions is their business
* to get numbered equations would require :class: equations
* to get unnumbered equations, use :class: unnumbered.
  as long as the caption does not contain "#" the numbering would not
do any harm
* a table-of-... would be necessary too

AND BEFORE discussion a check of the sandboy latex-variant etal and
sphinx is mandatory

all the best


On 11 February 2015 at 14:29, Andre-Patrick Bubel <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hi,
>
> On 07/03/2014 10:25 PM, Guenter Milde wrote:
>> On 2014-06-26, Eduard Bopp wrote:
>>
>>> 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.
>>
>> ¹ http://docutils.sourceforge.net/docs/dev/todo.html
>
> has there been made any progress on this?
>
> Andre Bubel
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQQcBAEBCAAGBQJU21lTAAoJEBGM58QktFcoh+8f/0TpqStHxW2XDTLlaDEe0gec
> azaB8diYOqVlE+wSTDFAOUIIDkpYpXVqLeXnaEHwZ7L7KyBJ2dEVj30qkTlAj53m
> ORWqQSH1Mp5derylHJbE3R8yiD8CIUK+BiNQ/oc88b1EZtF6D+SEcpAKk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> lxNq7iGXsIsOji/42Bvcch1ZcJdECbupKrIcqQT48bwx//C1O1gTs+GddAPvBxAI
> /9sH0L+8mRo9ozWihGqWAU85tiGVrab8QJpO49ndUk1yyy6wXj/CeecGe8nHglc6
> O4BpNRNij5MIl4eKNPS8isSI04ZRQDDUJQ76v+Xg9RckAu1gb0lQj9Ra4jMG2/M=
> =iYzd
> -----END PGP SIGNATURE-----
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Docutils-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/docutils-users
>
> Please use "Reply All" to reply to the list.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
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.