Copy link to clipboard
Copied
Hi,
I think this is really simple, but I don't get it.
I have an element with the name "Step" and I have two paragraph formats for this element. Both for numbering. I use one of these formats to set the numbering back to one, so I can start with number 1 anywhere I want, so I think there is noch real context rule for this case. How do I declare this in my EDD? Is it possible to say my EDD that it is possible to use both.
Thanks.
Copy link to clipboard
Copied
Dokuteam,
In most cases I have seen context rules using the sibling indicator { first } to handle the start of numbering.
If you want to be able to control restarting of the numbering anywhere, you can add an attribute to the element, like restart = yes | no with "no" being the default value. Then your context rule would use an attribute indicator similar to
If [restart = "yes"]
use PgfFmt1
Else
use PgfFmt2
- Michael
Copy link to clipboard
Copied
I still can't believe how cool this forum is. Quick response and helpful answer. Thanks. It works!