Consider the following example (background in this question).
\setupbibtex[database={library},sort=author]
\setuppublications[alternative=apa]
%\define[1]\reference{\cite[data][#1]}
\starttext
\cite[data][Bohr:1923tl]
%\reference{Bohr:1923tl}
\section{References}
\placepublications[criterium=all]
\stoptext
after running it through Mk-IV is shows the expected behavior:
Simply defining a macros by uncommenting define
– without even using it – breaks it. (def
does not help either).
How to define citation macros?
\reference
is an internal Context macro which is used to, well, place references (for internal links). Every entry in the bibliography happens to have such a reference, but as you changed the macro definition, breakage ensues as expected ... call it\bibref
and things should work.[bibtex]
from this question as MkIV does not rely on Bibtex even though it takes.bib
files as input.