ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Formula number conversion
Date: Fri, 24 Feb 2012 12:16:51 +0100	[thread overview]
Message-ID: <E6CA0894-C21F-4F3C-B28F-AE885C410251@googlemail.com> (raw)
In-Reply-To: <64B11CC7-AB12-4574-A38C-08EEC426125B@ecp.fr>


Am 24.02.2012 um 10:09 schrieb Jean-Philippe Rey:

> Hello everybody,
> 
> I have a problem with formula numbering in relation with a customized section conversion set. I am using ConTeXt current 
> 
> ConTeXt  ver: 2011.05.18 18:04 MKIV  fmt: 2011.7.31  int: english/english
> 
> Here is a minimal example
> 
> \definestructureconversionset[CCS][numbers,Character,Romannumerals,numbers,character][numbers]
> \setupheads[sectionconversionset=CCS]
> \starttext
> \chapter{Lorem}
> \section{Ipsum}
> \placeformula[f1]   % The formula is numbered (1.1) instead of (A.1)
> \startformula
> a^2 + b^2 = c^2
> \stopformula
> \section{Dolor}
> The famous formula \in[f1] % The reference correctly appears as A.1
> \stoptext
> 
> 
> I tried different options to \setupformulas but could not get the formula number right. Could someone give me the right setting.

\setupformulas[prefixconversionset=CCS]

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:[~2012-02-24 11:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-24  9:09 Jean-Philippe Rey
2012-02-24 11:16 ` Wolfgang Schuster [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=E6CA0894-C21F-4F3C-B28F-AE885C410251@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).