ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* setupformulas
@ 2013-06-10 14:43 Steffen Wolfrum
  2013-06-10 15:31 ` setupformulas Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Steffen Wolfrum @ 2013-06-10 14:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: setupformulas
  2013-06-10 14:43 setupformulas Steffen Wolfrum
@ 2013-06-10 15:31 ` Wolfgang Schuster
  2013-06-11  5:38   ` setupformulas Steffen Wolfrum
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2013-06-10 15:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 10.06.2013 um 16:43 schrieb Steffen Wolfrum <context@st.estfiles.de>:

> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: setupformulas
  2013-06-10 15:31 ` setupformulas Wolfgang Schuster
@ 2013-06-11  5:38   ` Steffen Wolfrum
  2013-06-11  9:30     ` setupformulas Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Steffen Wolfrum @ 2013-06-11  5:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 10.06.2013 um 17:31 schrieb Wolfgang Schuster:

> 
> Am 10.06.2013 um 16:43 schrieb Steffen Wolfrum <context@st.estfiles.de>:
> 
>> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: setupformulas
  2013-06-11  5:38   ` setupformulas Steffen Wolfrum
@ 2013-06-11  9:30     ` Wolfgang Schuster
  2013-06-11  9:41       ` setupformulas Steffen Wolfrum
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2013-06-11  9:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 11.06.2013 um 07:38 schrieb Steffen Wolfrum <context@st.estfiles.de>:

> 
> Am 10.06.2013 um 17:31 schrieb Wolfgang Schuster:
> 
>> 
>> Am 10.06.2013 um 16:43 schrieb Steffen Wolfrum <context@st.estfiles.de>:
>> 
>>> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: setupformulas
  2013-06-11  9:30     ` setupformulas Wolfgang Schuster
@ 2013-06-11  9:41       ` Steffen Wolfrum
  0 siblings, 0 replies; 5+ messages in thread
From: Steffen Wolfrum @ 2013-06-11  9:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 11.06.2013 um 11:30 schrieb Wolfgang Schuster:

> 
> Am 11.06.2013 um 07:38 schrieb Steffen Wolfrum <context@st.estfiles.de>:
> 
>> 
>> Am 10.06.2013 um 17:31 schrieb Wolfgang Schuster:
>> 
>>> 
>>> Am 10.06.2013 um 16:43 schrieb Steffen Wolfrum <context@st.estfiles.de>:
>>> 
>>>> 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.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-06-11  9:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-10 14:43 setupformulas Steffen Wolfrum
2013-06-10 15:31 ` setupformulas Wolfgang Schuster
2013-06-11  5:38   ` setupformulas Steffen Wolfrum
2013-06-11  9:30     ` setupformulas Wolfgang Schuster
2013-06-11  9:41       ` setupformulas Steffen Wolfrum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).