RE: [NTG-context] bib module: \setupcite macro
![](https://secure.gravatar.com/avatar/4d93e6d89c1355aade84cc5c1d6a2065.jpg?s=120&d=mm&r=g)
Hi Thomas,
===== Original Message From "Thomas A. Schmitz"
===== Just add an extra pair of braces: \def\citeyear[#1]{% {{\cite[year]}[#1]% }% }
Ok, does not crash but now I lose the reference completely in the output-( Best Idris ================================================ % output=pdf interface=en \setupwhitespace[big] \usemodule[bib] \setuppublications[alternative=apa] \setuppublications[autohang=yes] \setuppublications[numbering=no] \setuppublications[criterium=cite] \setuppublications[sorttype=bbl] % %\setuppublicationlist[totalnumber={},samplesize=,author={\invertedauthor}] \def\citeyear[#1]{% {{\cite[year]}[#1]% }% } \input test-bib.bbl \starttext \dots as Afghani points out \citeyear[afghani60]. \section{References}{\tfx\setupinterlinespace {\placepublications}} \stoptext ================================================ ============================ Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523
participants (1)
-
Idris Samawi Hamid