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],
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
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}%
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
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
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
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'?
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