Hello,
I checked out context minimals and ran context on your sample file(OS
X Leopard), it worked. The formula is numbered 1.1.
context jh.tex
MTXrun | run 1: luatex
--fmt="/Users/yanger/mystuff/context/tex/texmf-cache/luatex-cache/context/6260f85025788ae8cf4a5735589294e1/formats/cont-en"
--lua="/Users/yanger/mystuff/context/tex/texmf-cache/luatex-cache/context/6260f85025788ae8cf4a5735589294e1/formats/cont-en.lui"
--backend=pdf "./jh.tex"
This is LuaTeX, Version beta-0.50.0-2009122422
\write18 enabled.
(jh.tex
ConTeXt ver: 2010.02.24 11:12 MKIV fmt: 2010.2.24 int: english/english
....
On Mon, Mar 1, 2010 at 3:39 AM, gummybears
Hi,
In reply to Hans, I am using the latest beta (ConTeXt version 2010.02.25 19:46. mkiv, LuaTeX version 50, LuaTeX revision 0, (LuaTeX date stamp 2009122521))
As Hans requested a small test file,
\setupnumbering[way=bysection] % <------- this used to work, but does not \setupformulas[numbercolor=blue,numberstyle=bold] \starttext \chapter{Math formulae numbering} \section{Does not work} Numbering formulae by section \placeformula \startformula a^2 + b^2 = c^2 \stopformula \section{More ...} \stoptext
Also tried the solution from Contextgarden (http://wiki.contextgarden.net/Math/Display) by using \setupnumber[formula][way=bysection] instead of \setupnumbering[way=bysection] But alas, this does not work either
On Sun, Feb 28, 2010 at 3:47 AM, gummybears
wrote: Hi, A couple of years ago, I decided to switch from LaTex to ConText. Now I have compiled a lot of documents (Physics syllabi's) which compiles fine in MK-II.
I thought I would try to make a switch to MK-IV, mainly because I want to include 3D PRC figures in my documents.
I made some test cases to test MK-IV in order to get a handle on the differences between MK-II and MK-IV
Some of my observations are *) Numbered formulas, numbered by section, don't seem to work *) I am getting a lot of warnings of identifiers, apparently used more than once, which they are not LuaTeX warning (ext4): destination with the same identifier (name{km1_chapter1_sec1}) has been already used, duplicate ignored
Question Are these observations correct, someone else can confirm them ? Question If so, is there a fix, patch, or change in ConText commands/options I am not aware of ?
TIA
___________________________________________________________________________________ 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 ___________________________________________________________________________________