Re: [NTG-context] TeX capacity exceeded, sorry (was: mkiv: 'extras' option in cite command = error)
> >>> 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: > >>> > >> > >> Did you regenerate the format? > > > > I did run > > mtxrun --generate > > context --generate > > luatools --generate > > > > and compiled the document thereafter (context ). I'm still > getting the error. > > You need “context --make”. Ha! That's it. Somehow I associated "regenerate" with "generate" and not with make :-\ It works now, problem solved. Thank you for fixing this! ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / 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 ___
Re: [NTG-context] TeX capacity exceeded, sorry (was: mkiv: 'extras' option in cite command = error)
Am 22.07.2011 um 15:03 schrieb Christian: >>> 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: >>> >> >> Did you regenerate the format? > > I did run > mtxrun --generate > context --generate > luatools --generate > > and compiled the document thereafter (context ). I'm still getting > the error. You need “context --make”. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / 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 ___
Re: [NTG-context] TeX capacity exceeded, sorry (was: mkiv: 'extras' option in cite command = error)
> > 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: > > > > Did you regenerate the format? I did run mtxrun --generate context --generate luatools --generate and compiled the document thereafter (context ). I'm still getting the error. BTW: mtx-context | current version: 2011.07.19 11:22 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / 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 ___
Re: [NTG-context] TeX capacity exceeded, sorry (was: mkiv: 'extras' option in cite command = error)
On 07/22/2011 12:22 PM, Christian wrote: 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: Did you regenerate the format? Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / 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 ___
Re: [NTG-context] TeX capacity exceeded, sorry (was: mkiv: 'extras' option in cite command = error)
> > > > 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 : ntg-context@ntg.nl / 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 ___
Re: [NTG-context] TeX capacity exceeded, sorry (was: mkiv: 'extras' option in cite command = error)
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 : ntg-context@ntg.nl / 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 ___
[NTG-context] TeX capacity exceeded, sorry (was: mkiv: 'extras' option in cite command = error)
> Example files: > > <---example.bib---> > @BOOK{Eijkhout1991, > title = {\TeX\ by Topic. A \TeX nician's Reference}, > publisher = {Addison-Wesley}, > year = {1991}, > author = {Victor Eijkhout}, > address = {London}, > keywords = {general}, > } > <---EOF---> > > <---example.mkiv---> > \setupbibtex[database=example] > \setuppublications[alternative=apa,refcommand=data] > \setupinteraction[state=start] > \starttext > Let's test adding specific page numbers in the cite > command\footnote{\cite[extras={, page 12}][Eijkhout1991]} \page > \placepublications[criterium=all] \stoptext > <---EOF---> Here is the error: ... publications> loading database from example.bbl (example.bbl) ! TeX capacity exceeded, sorry [node memory size=80796627]. 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}... l.1 \cite [extras={, page 12}][Eijkhout1991] \currentnotedescriptiontext ...ptionnumberentry )} \handlenoteitself ... \currentnotedescriptiontext \endstrut \dostopstoreddes... \handlenoteinsert ... {\handlenoteitself {#1}{#2}} \egroup \the \everyafterno... ... l.5 ...te{\cite[extras={, page 12}][Eijkhout1991]} \page ! ==> Fatal error occurred, no output PDF file produced! mtx-context | fatal error: return code: 1 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / 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 ___