Hans Hagen <mailto:[email protected]>
25. Februar 2016 um 14:04
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
this produces an unwanted empty brace because you forgot the dummy argument.
-\def\strc_formulas_start_place_nop
+\def\strc_formulas_start_place_nop[#1]%
{\let\currentplaceformulareference\empty
\let\currentplaceformulasuffix \empty
\strc_formulas_place_nop}
You reset also the wrong dummy parameter:
\def\strc_formulas_start_place_parameters[#1]%
- {\letdummyparameter\c!name \empty
+ {\letdummyparameter\c!title \empty
\letdummyparameter\c!reference\empty
\letdummyparameter\c!suffix \empty
\getdummyparameters[#1]%
\edef\currentplaceformulatitle {\dummyparameter\c!title}%
\edef\currentplaceformulareference{\dummyparameter\c!reference}%
\edef\currentplaceformulasuffix {\dummyparameter\c!suffix}%
\ifx\currentplaceformulatitle\empty\else
\normalexpanded{\setformulalistentry{\currentplaceformulatitle}}%
\fi
\doifelsenextbgroup\strc_formulas_place_yes\strc_formulas_place_nop}
% [ref]{}
Wolfgang
_______________________________________________
dev-context mailing list
[email protected]
https://mailman.ntg.nl/mailman/listinfo/dev-context