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
should I change the wiki?
The wiki suggests to make a macro:
\def\onlinecite#1{\cite[left=,right=][#1]}
for inline citations.
However it says you can use this macro with: \onlinecite[myRef]
It works for me with: \onlinecite{myRef}
But not with \onlinecite[myRef] for in that case it produces:
"Xxxxxxxxxx, 0000myRef]"
Is the wiki wrong?
Or is something else wrong?
Thanks in advance,
Adriaan.
___________________________________________________________________________________
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
___________________________________________________________________________________