[NTG-context] Formula number conversion

2012-02-24 Thread 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.

Thanks,

-- 
Jean-Philippe Rey Professeur - École Centrale Paris
jean-philippe@ecp.fr  92295 Châtenay-Malabry Cedex - France



___
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
___


Re: [NTG-context] Formula number conversion

2012-02-24 Thread Wolfgang Schuster

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
___