[NTG-context] Formula number conversion

Wolfgang Schuster schuster.wolfgang at googlemail.com
Fri Feb 24 12:16:51 CET 2012


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


More information about the ntg-context mailing list