On 05/02/2011 04:05 PM, Oliver Buerschaper wrote:
Dear all,

I'm in need for a few custom cite commands like these:

1. \cite[alternative=authortitle, extras={, p.\,13}][citekey] should yield

{\sc AuthorLastName}, AuthorFirstName, {\it title}, p.\,13

2. \cite[alternative=title][citekey]

{\it title}

How would I code these commands?

There is no quick answer to this. The easiest way is to use the \getcitedata command to create a dedicated macro for the class
you need, and that is explained in the bib module manual.

Otherwise, you will have to dive into the sources to see how e.g. '\bibauthoryearref' and '\bibshortref' are implemented. If you create the \bibtitleref and \bibauthortitleref macros, these will be executed
automatically.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to