Hi,

Or would it be possible to just add a "list=" option to placeformula similar to placefigure? (although that might conflict with the combination of "title=")

All I am really after is to label or name numbered formulas in the placelist.

---
\starttext

% 1   This is a picture of a cow  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  1
\startplacefigure[title={My cow},list={This is a picture of a cow}] \externalfigure[cow] \stopplacefigure

% Mass-energy equivalence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
\startplaceformula[reference=eq:one,title={Mass-energy equivalence}] \startformula e=mc^2 \stopformula \stopplaceformula

% 1   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  1
% list option could give: 1   Mass-energy equivalence . . . . . . . . . . . . . . . . . . . . . . .  1
\startplaceformula[reference=eq:one,list={Mass-energy equivalence}] \startformula e=mc^2 \stopformula \stopplaceformula

\placelistoffigures[criterium=all,alternative=c]
\placelist[formula][criterium=all,alternative=c]

\stoptext
--

Adam

On Tue, Mar 16, 2021 at 5:28 AM Adam Reviczky <reviczky@gmail.com> wrote:
Hi,

I want to use placenamedformula to list a formula in the placelist with both the formula name and the formula number (alongside the pagenumber).

The example in the wiki (https://wiki.contextgarden.net/Math/Display) and the test suite (cont-tst/doc/context/tests/mkiv/math/formulas-003.tex) shows what I would like to have.

Using MKII I get the desired output (1 formulaname ... and 3b formulaname ...) but with MKIV and LMTX I only get the reference from the placeformula (as 1 and correctly not listed in the placelist) and none of the placenamedformula numbers. The placeformula number is then carried onto the second placenamedformula as 1 (resulting in formulaname ... and 1 formulaname ...).

I have attached the test suite file output with both MKII and MKIV.

Is there a way to get the MKII output with MKIV/LMTX somehow?

Adam