Hey
This is already implemented: {counter:<attrname>[:<seed>]} [1]
Bela
[1] http://www.methods.co.nz/asciidoc/userguide.html#X24
On Dec 31, 2:32 pm, pixelou <[email protected]> wrote:
> Hi!
> I found this previous post about the counter
> :http://groups.google.com/group/asciidoc/browse_thread/thread/8d51e1d0...
> but afaik the function has not been implemented yet.
>
> What about adding a simple couter function like this:
>
> counter //returns 1 the first time
> .
> .
> blablabla
> .
> .
> counter //returns 2
>
> I think this might be helpful in many cases :
> -> when writing exam subjects : most people won't use lists for the
> number of the exercice.
> -> when giving a number to figures like here
> :http://books.google.fr/books?id=lKEh7jH4nzEC&lpg=PP1&dq=electronic&pg....
>
> Maybe this function is already available in asciidoc, but I haven't
> read anything about it in the documentation.
>
> Thanks for your help
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.