Michael Murphy wrote:
I know that if I want to have clickable hyperlinks for citations, I need to turn off 'compress' for the citation type:
\setupcite[authoryears][compress=no]
The problem is that this doesn't seem to work: I get an 'unknown reference' error.
references : unknown reference [][Balachandran2008 references : unknown reference [][Balachandran2008 references : unknown reference [][Balachandran2008
Strangely, this only happens when I want to refer to multiple authors, e.g. \cite[ref1, ref2, ref3], and everything works fine if I just do \cite[ref1].
I've attached a minimal example. Where am I going wrong?
It also only happens in mkiv, something is broken there. As is usual in the mkiv version of the bib module, I can't figure it out :( However, here is a workaround: %%%%%%%% \setupinteraction[state=start] \usemodule[bib] \let\NORMALcite\cite \newif\ifSEEN \def\cite#1[#2]{\SEENfalse \def\processitem##1{\ifSEEN, \else\SEENtrue \fi \NORMALcite[##1]}% (\processcommalist[#2]\processitem )} \setuppublications[refcommand=authoryears] \setupcite[authoryears][compress=no,left=,right=] \starttext .. %%%%%%%% Best wishes, Taco