On 07/22/2011 12:33 AM, Christian wrote:

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

Best wishes,
Taco
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to