On 1-3-2010 22:40, gummybears wrote:
To all interested
I found a simpler solution, not knowing how prefixsegments really work, but mainly understand from this example, is
\setupformulas[prefixsegments=chapter:section]
instead of using
\setupformulas[prefixsegments=1:100]
Both setups gives the same numbering scheme of the formula numbers. Both setups also don't reset the formula number after a new section, it just keeps numbering the formulas
I know I saw a code snippet which does some sort of reset, I think prefixreset or reset, but I cannot find it anymore.
i hope to stabelize the code this year (i have a few more options in mind) although functionality of mkii is also present in mkiv, some configuration is different (as it is more flexible); also, some obscure features have been removed. we carry a lot more info around (also userdate) and all is accessible during the run (there will be more accessors) the new structure setup is rather undocumented but you can see some in strc-def.mkiv Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------