[NTG-context] More on XML and citations

Taco Hoekwater taco at elvenkind.com
Wed Apr 5 08:55:34 CEST 2006

Johannes Graumann wrote:
> Hans Hagen wrote:
>>however, best is not to mix tex this way with xml
> Hmmmm ... will heed that advice then ... as a remedy: Taco, how would I
> define a new 'cite' alternative along the lines
> of 'authoryear'/'authoryears' that would result in 'Author et. al., 2004'?

Easiest is by using a special macro breaking it up in two bits, like so:

   \def\mycite#1{\cite[author][#1], \cite[year][#1]}

there is a way to create 'official' alternatives, but it is quite a
bit more cumbersome.

Cheers, taco

More information about the ntg-context mailing list