ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Steffen Wolfrum <context@st.estfiles.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: setupformulas
Date: Tue, 11 Jun 2013 11:41:46 +0200	[thread overview]
Message-ID: <A2D153F8-D586-43AB-9CE8-789CD968A9F4@st.estfiles.de> (raw)
In-Reply-To: <CF552A7C-E6BF-4B3B-B71E-98A577F728F8@gmail.com>


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
___________________________________________________________________________________


      reply	other threads:[~2013-06-11  9:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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       ` Steffen Wolfrum [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A2D153F8-D586-43AB-9CE8-789CD968A9F4@st.estfiles.de \
    --to=context@st.estfiles.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).