Philipp Gesang wrote:
Hi all,


is there any way to get \insertcrossref to get the title or the short
title of the crossref'd publication, too?  Right now it only retrieves
author/editor name and the year but that doesn't suffice for some
bibliography specifications.

\insertcrossref simply runs \cite internally, so whatever \cite fetches
is what you get. However, there is no \cite[title] command, so altering
\cite will not work.  Luckily, \insertcrossref is short, so maybe this
will work:

 \usemodule[bib]
 \unprotect
 \def\bibinsertcrossref#1#2#3%
  {\bibdoifelse{\@@p...@crossref}
     {#1\def\MYtitle{}%
        \getcitedata[title][\@@p...@crossref]to\mytitle
        [\MYtitle]%
        \...@ea\cite\@EA[\@@p...@crossref]#2}
     {#3}}
  \protect
  \starttext
  ....
  \stoptext

(untested, you have to provide a test file if it is doesn't work)


Best wishes,
Taco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to