Re: [NTG-context] More on XML and citations

2006-04-06 Thread Johannes Graumann
Taco Hoekwater wrote: 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],

Re: [NTG-context] More on XML and citations

2006-04-06 Thread Taco Hoekwater
Johannes Graumann wrote: Could you - maybe - point me towards the more cumbersome 'official' solution? See attached example. Cheers, taco ixbib.tex Description: TeX document ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] More on XML and citations

2006-04-06 Thread Johannes Graumann
Taco Hoekwater wrote: Johannes Graumann wrote: Could you - maybe - point me towards the more cumbersome 'official' solution? See attached example. Cheers, taco Taco, With this preamble code \unprotect \def\bibauthoryearxref[#1]% {\ixbibauthoryear{#1}%

Re: [NTG-context] More on XML and citations

2006-04-06 Thread Taco Hoekwater
Hi Johannes, Johannes Graumann wrote: What am I doing wrong? Outdated ContTeXt/bib module? Yes. Get the new one from http://modules.contextgarden.net/bib or wait 'till the new context release (tomorrow, i believe). Cheers, taco ___ ntg-context

Re: [NTG-context] More on XML and citations

2006-04-06 Thread Hans Hagen
Taco Hoekwater wrote: Hi Johannes, Johannes Graumann wrote: What am I doing wrong? Outdated ContTeXt/bib module? Yes. Get the new one from http://modules.contextgarden.net/bib or wait 'till the new context release (tomorrow, i believe). just uploaded Hans

Re: [NTG-context] More on XML and citations

2006-04-05 Thread Johannes Graumann
Hans Hagen wrote: however, best is not to mix tex this way with xml H ... 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'? Thanks for any hint, Joh

Re: [NTG-context] More on XML and citations

2006-04-05 Thread Taco Hoekwater
Johannes Graumann wrote: Hans Hagen wrote: however, best is not to mix tex this way with xml H ... 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'?

Re: [NTG-context] More on XML and citations

2006-04-04 Thread Hans Hagen
Johannes Graumann wrote: Hello again, I have a matching rule for cite commands that look as follows: cite id=hunt:86 opt=authoryear/ The rule is this (kudoos to Taco): \defineXMLargument [cite] {\expanded{\cite[\XMLpar{cite}{opt}{}][\XMLpar{cite}{id}{}]}} - reset opt, otherwise