On 2/24/2016 6:19 AM, Alan BRASLAU wrote:
In strc-mat.mkiv, we have:
\let\startplaceformula\placeformula \let\stopplaceformula \relax
But would it not be more coherent with respect to ConTeXt syntax for it to be used as:
\startplaceformula [reference=ref] \stopplaceformula
rather than the present
\startplaceformula [ref] \stopplaceformula
? \startplaceformula should take all of the options of \setupformulas.
In the case of named formulas (\placenamedformula), one could have
\startplaceformula [reference=ref,title=name] \stopplaceformula
This would of course require some minor modifications.
i made the next ... so it's not entirely compatible (we need to keep the explicit \start..\stop because there can be matrices as well (unless i also patch those but let's not go too fast) \starttext \startplaceformula \startformula e=mc^2 \stopformula \stopplaceformula \startplaceformula[-] \startformula e=mc^2 \stopformula \stopplaceformula \startplaceformula[x] \startformula e=mc^2 \stopformula \stopplaceformula \startplaceformula[reference=foo] \startformula e=mc^2 \stopformula \stopplaceformula \startplaceformula[title=whatever] \startformula e=mc^2 \stopformula \stopplaceformula \startplaceformula[suffix=x] \startformula e=mc^2 \stopformula \stopplaceformula \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------