![](https://secure.gravatar.com/avatar/e79f226aa442b589932230491affa641.jpg?s=120&d=mm&r=g)
Hi, \setupformulas[way=bychapter,prefixsegments=chapter] gives (A..1) But I need (A-1)! Any idea how the key is called to change this? Best, Steffen
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Am 10.06.2013 um 16:43 schrieb Steffen Wolfrum
Hi,
\setupformulas[way=bychapter,prefixsegments=chapter]
gives (A..1)
But I need (A-1)!
Any idea how the key is called to change this?
You can change the separator between the section prefix and the formula number with \setupformula[prefixconnector=-]. Wolfgang
![](https://secure.gravatar.com/avatar/e79f226aa442b589932230491affa641.jpg?s=120&d=mm&r=g)
Am 10.06.2013 um 17:31 schrieb Wolfgang Schuster:
Am 10.06.2013 um 16:43 schrieb Steffen Wolfrum
: Hi,
\setupformulas[way=bychapter,prefixsegments=chapter]
gives (A..1)
But I need (A-1)!
Any idea how the key is called to change this?
You can change the separator between the section prefix and the formula number with \setupformula[prefixconnector=-].
Is there also a key for a own prefix, eg. "my": (my-1)? Steffen
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Am 11.06.2013 um 07:38 schrieb Steffen Wolfrum
Am 10.06.2013 um 17:31 schrieb Wolfgang Schuster:
Am 10.06.2013 um 16:43 schrieb Steffen Wolfrum
: Hi,
\setupformulas[way=bychapter,prefixsegments=chapter]
gives (A..1)
But I need (A-1)!
Any idea how the key is called to change this?
You can change the separator between the section prefix and the formula number with \setupformula[prefixconnector=-].
Is there also a key for a own prefix, eg. "my": (my-1)?
It’s not a prefix but you can set a labeltext. \setupformula[prefix=no] \setuplabeltext[formula=Steffen-] \starttext \chapter{Chapter} \placeformula \startformula c^2 = a^2 + b^2 \stopformula \stoptext Wolfgang
![](https://secure.gravatar.com/avatar/e79f226aa442b589932230491affa641.jpg?s=120&d=mm&r=g)
Am 11.06.2013 um 11:30 schrieb Wolfgang Schuster:
Am 11.06.2013 um 07:38 schrieb Steffen Wolfrum
: Am 10.06.2013 um 17:31 schrieb Wolfgang Schuster:
Am 10.06.2013 um 16:43 schrieb Steffen Wolfrum
: Hi,
\setupformulas[way=bychapter,prefixsegments=chapter]
gives (A..1)
But I need (A-1)!
Any idea how the key is called to change this?
You can change the separator between the section prefix and the formula number with \setupformula[prefixconnector=-].
Is there also a key for a own prefix, eg. "my": (my-1)?
It’s not a prefix but you can set a labeltext.
\setupformula[prefix=no] \setuplabeltext[formula=Steffen-]
\starttext \chapter{Chapter} \placeformula \startformula c^2 = a^2 + b^2 \stopformula \stoptext
nice, thank you. i was looking for a key within setupformula, and didn't think of formula within setuplabetext! st.
participants (2)
-
Steffen Wolfrum
-
Wolfgang Schuster