Code: Select all
\newcommand\citesic[2]{\hyperlink{#2}{#1}}
The problem is that if we configure hyperref so that colorlinks=true, these links come out in the linkcolor, whereas we want them to come out in the citecolor. Is there a way we can define the \citesic command so that it tells hyperref to treat this kind of link as if it falls in the cite colour class, rather than the link colour class? We want the links to continue to be black if colorlinks=false and we want to be able to change the default colour using the standard citecolor=<name> hyperref option.
We do this because the xml-based source already knows the link text to use for a given labelled reference, so when we transform the xml to LaTeX for processing, we don't need to use a package such as natbib.
Any help will be appreciated.