Mohamed Bana wrote:
> Hi Taco,
>
> 1. How do I get coloured citations? E.g., \cite[jacky:critial] should
> produce a coloured link.
\setupinteraction[state=start]
\setupcolors[state=start]
\setupcite[compress=no]
> 2. If is possible to get the list of pages an item was cited at?
Sorry, no. The backreferences are in saved in the tuo file, but
I never got around to writing the integration code for it.
In case someone is interested in writing that, it needs a loop like
this one:
\unprotect
\def\getpagelist#1%
{\let\pagelist \empty
\def\currentbibitem{#1}%
\doloop
{\doifdefinedelse{\r!cross cite-\jobname-\recurselevel}
{\doifreferencefoundelse
{cite-\jobname-\recurselevel}
{\ifx\currenttextreference\currentbibitem\relax
\doglobal\addtocommalist
{cite-\jobname-\recurselevel}\pagelist
\fi }
{}}
{\exitloop}}%
% \pagelist is now the list of backreferences for #1
\message{\pagelist}%
}
\protect
Best wishes,
Taco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________