> >
> > system> tex> error on line 1 in file example.mkiv: TeX capacity exceeded,
> sorry [ ...
> >
> > 1>> \setupbibtex[database=example]
> > 2 \setuppublications[alternative=apa,refcommand=data]
> > 3 \starttext
> > 4 Let's test adding specific page numbers in the cite
> > 5 command\footnote{\cite[extras={, page 12}][Eijkhout1991]} \page
> > 6 \placepublications[criterium=all] \stoptext
> > 7
> >
> >
> > \@@pvdataright ->, page 12
> > \@@pvdataright \docite ...secondargument
> > \dowhatevercite {#1}{#2}
> > \else \donumberedcite
> > {#1}...
>
> Looks like a macro recursion bug: \@@pvdataright contains \@@pvdataright
> which contains \@@pvdataright ...
>
> bibl-tra.mkiv needs this patch:
>
>
> @@ -945,6 +945,10 @@
> \ifx\LOextras\empty
> \setupcite[\@@currentalternative][#1]%
> \else
> + \expandafter\ifx\csname \??pv
> \@@currentalternative\c!right\endcsname\relax
> + % avoids tail recursion
> + \expandafter\let\csname \??pv
> \@@currentalternative\c!right\endcsname\empty
> + \fi
> \expandafter\ifx\csname LOright\endcsname \relax
> \edef\LOextras{{\LOextras\bibalternative\c!right}}%
> \else
How do I apply this patch? I changed (inserted the code above) & saved
C:\ConTeXt\tex\texmf-context\tex\context\base\bibl-tra.mkiv so that the lines
945–954 now look like this:
945 \ifx\LOextras\empty
946 \setupcite[\@@currentalternative][#1]%
947 \else
948 \expandafter\ifx\csname \??pv
949 \@@currentalternative\c!right\endcsname\relax
950% avoids tail recursion
951 \expandafter\let\csname \??pv
952 \@@currentalternative\c!right\endcsname\empty
953 \fi
954 \expandafter\ifx\csname LOright\endcsname \relax
But the error still persists. Thanks for looking into this.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________