Just add an extra pair of braces:

\def\citeyear[#1]{%
  {{\cite[year]}[#1]%
  }%
}


Thomas

On Oct 3, 2005, at 1:01 AM, Idris Samawi Hamid wrote:

My definition for \citeyear crashes. This used to work-)

\def\citeyear[#1]{%
  {\cite[year][#1]%
  }%
}


_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to