Hi, the last beta includes the chapter number in formulas, former betas didn't. Example: \starttext \startchapter [title=Foo] \startplaceformula \startformula E=mc^2 \stopformula \stopplaceformula \stopchapter \stoptext ∙ Is this intended? ∙ How to remove the chapter number from the formula? Marco
Hi Marco, It's a bug, I think. The keys that control this are way and prefixsegments: \setupformulas[way=bychapter, prefixsegments=chapter] way=bychapter means 'resume numbering at each chapter' prefixsegments=chapter means 'precede each formula number with the chapter number': chapter.formula Right now, as soon as I set 'prefixsegments' to 'section' or 'chapter' or a number, the prefix segments disappear. Ditto when I set 'way' to anything. This suggests that it is a bug. Is it indeed, Hans? I've attached a test file for you. You can use \setupformulas[prefixsegments=] to solve your problem if you never want prefixes; that also specifies the correct behaviour once the bug is fixed. Cheers, Sietse
2012-09-17 Sietse Brouwer
It's a bug, I think. The keys that control this are way and prefixsegments: \setupformulas[way=bychapter, prefixsegments=chapter]
way=bychapter means 'resume numbering at each chapter' prefixsegments=chapter means 'precede each formula number with the chapter number': chapter.formula
Right now, as soon as I set 'prefixsegments' to 'section' or 'chapter' or a number, the prefix segments disappear. Ditto when I set 'way' to anything. This suggests that it is a bug. Is it indeed, Hans? I've attached a test file for you.
You can use \setupformulas[prefixsegments=] to solve your problem if
Thanks, that fixed it. Marco
participants (2)
-
Marco Patzer
-
Sietse Brouwer