On Wed, 28 Jan 2009, J.A.J. Pater wrote:

I think I've got it.

The macro should be: \def\onlinecite[#1]{\cite[left=,right=][#1]}
- with [] around the first #1
now \onlinecite[myRef] works

You can remove the redunent [#1] from both sides.

\def\onlinecite{\cite[left=,right=]}

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

Reply via email to