ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: setupformulas
Date: Tue, 11 Jun 2013 11:30:52 +0200	[thread overview]
Message-ID: <CF552A7C-E6BF-4B3B-B71E-98A577F728F8@gmail.com> (raw)
In-Reply-To: <745B48E2-7E16-4EA7-83AF-FE1600FD5A03@st.estfiles.de>


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
___________________________________________________________________________________


  reply	other threads:[~2013-06-11  9:30 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     ` Wolfgang Schuster [this message]
2013-06-11  9:41       ` setupformulas Steffen Wolfrum

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=CF552A7C-E6BF-4B3B-B71E-98A577F728F8@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --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).