Re: [NTG-context] bib things broken in mkiv?
Hans van der Meer wrote: The following I didn't use for some time. Is it replaced or broken in mkiv? Is there a quick fix? I must retypsetting something I need on short notice. Perhaps the quickest fix is to downgrade your context release for a bit. This looks like an expansion bug, but I have no idea what could have changed nor when. Best wishes, Taco \setuppublications [numbering=short,refcommand=data] % separate -- see doc p2 systems : begin file literature at line 8 (../literature.tex (/Users/hans/Documents/TeX/context/beta/tex/texmf-context/tex/context/base/m-obsolete.tex systems : skipping obsolete module ) system : module bib loaded publications: loading database from literature.bbl (../literature.bbl) publications: loading formatting style from bibl-apa (/Users/hans/Documents/TeX/context/beta/tex/texmf-context/tex/context/bib/bibl-apa.tex) ! Parameters must be numbered consecutively. to be read again ## argument \def \@@pbinumbercommand 1{\bibgetvars \currentpublicationkey } \p!compareprocessaction ...commalistelement {#3}#2 \expandafter \quitcommalis... \next1 #1,-\p!doprocessaction {#1} \doprocesscommaitem argument ...bibgetvars \currentpublicationkey }, \v!bib =\def \@@pbinumbe... \processnextcommalist ...dodoprocesscommaitem #4#5 ,]\relax \global \advance ... ... l.17 ...ications [numbering=short,refcommand=data] % separate -- see doc p2 Hans van der Meer ___ 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 ___ ___ 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] bib things broken in mkiv?
On 22-3-2010 10:51, Taco Hoekwater wrote: Hans van der Meer wrote: The following I didn't use for some time. Is it replaced or broken in mkiv? Is there a quick fix? I must retypsetting something I need on short notice. Perhaps the quickest fix is to downgrade your context release for a bit. This looks like an expansion bug, but I have no idea what could have changed nor when. mayhe hans can track down what command is triggering it, probably some command in the bib databae file Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] bib things broken in mkiv?
I have similar problem. Try modify parameters of \setuppublications macro. Any parameters get result without error (for me) (but format is diferent) J. I have (for Czech lang.)\setuppublications[setupinteraction=start, alternative=ams, sorttype=cite, criterium=cite] When I compile mkiv and mkii, efect is unmatched. Dne 22.3.2010 10:49, Hans van der Meer napsal(a): The following I didn't use for some time. Is it replaced or broken in mkiv? Is there a quick fix? I must retypsetting something I need on short notice. \setuppublications [numbering=short,refcommand=data] % separate -- see doc p2 systems : begin file literature at line 8 (../literature.tex (/Users/hans/Documents/TeX/context/beta/tex/texmf-context/tex/context/base/m-obsolete.tex systems : skipping obsolete module ) system : module bib loaded publications: loading database from literature.bbl (../literature.bbl) publications: loading formatting style from bibl-apa (/Users/hans/Documents/TeX/context/beta/tex/texmf-context/tex/context/bib/bibl-apa.tex) ! Parameters must be numbered consecutively. to be read again ## argument \def \@@pbinumbercommand 1{\bibgetvars \currentpublicationkey } \p!compareprocessaction ...commalistelement {#3}#2 \expandafter \quitcommalis... \next1 #1,-\p!doprocessaction {#1} \doprocesscommaitem argument ...bibgetvars \currentpublicationkey }, \v!bib =\def \@@pbinumbe... \processnextcommalist ...dodoprocesscommaitem #4#5 ,]\relax \global \advance ... ... l.17 ...ications [numbering=short,refcommand=data] % separate -- see doc p2 Hans van der Meer ___ 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 ___ ___ 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] bib things broken in mkiv?
Sorry it took a few hours before responding, but first things first (luckily old setup of mkii turned to be working still). Pinpointed the origin of the error message to this call: \the\everysetuppublications I will search a bit further, but perhaps Taco has already enough clues from this experiment. Something with processcomma? By the way, could it be related to some other error I get in mkiv in processing a description? There in the log similarly something with parameterlists seems at hand: ! Use of \@@startdescription doesn't match its definition. \doifnextoptionalelse ...\nextoptionalcommandyes { #1}\def \nextoptionalcomma... \setuptextrules ...odoubleargument \getparameters [\??tl ] Back to bib: From inserted code from bibl-tra.mkiv: \writestatus{HVDM-TESTING =}{\string \setuppublicationlist[numbering=short,refcommand=data]} \unprotect \def\dosetuppublications[#1]% {\getparameters[\??pb][\c!alternative=,#1]% \writestatus{HVDM-TESTING =}{after \string\getparameters 1}% \doifsomething\@@pbalternative {\readsysfile{bibl-\@@pbalternative.tex} {\showmessage\m!publications{6}{bibl-\@@pbalternative}} {\showmessage\m!publications{1}{bibl-\@@pbalternative}}% \let\@@pbalternative\empty}% \getparameters[\??pb][#1]% as bibl-* can have set things back \writestatus{HVDM-TESTING =}{after \string\getparameters 2}% \the\everysetuppublications \writestatus{HVDM-TESTING =}{after \string\the\string \everysetuppublications}% \ignorespaces} \protect \usepublications[literature] \setuppublications [alternative=apa] \setuppublications [numbering=short,refcommand=data] % separate -- see doc p2 And in the log: HVDM-TESTING =: after \getparameters1 publications: loading formatting style from bibl-apa (/Users/hans/Documents/TeX/context/beta/tex/texmf-context/tex/context/ bib/bibl-apa.tex HVDM-TESTING =: after \getparameters1 HVDM-TESTING =: after \getparameters2 HVDM-TESTING =: after \the\everysetuppublications ) HVDM-TESTING =: after \getparameters2 HVDM-TESTING =: after \the\everysetuppublications HVDM-TESTING =: after \getparameters1 HVDM-TESTING =: after \getparameters2 ! Parameters must be numbered consecutively. to be read again ## argument \def \@@pbinumbercommand 1{\bibgetvars \currentpublicationkey } \p!compareprocessaction ...commalistelement {#3}#2 \expandafter \quitcommalis... \next1 #1,-\p!doprocessaction {#1} \doprocesscommaitem argument ...bibgetvars \currentpublicationkey }, \v!bib =\def \@@pbinumbe... \processnextcommalist ...dodoprocesscommaitem #4#5 ,]\relax \global \advance ... ... l.32 ...ications[numbering=short,refcommand=data] On 22 mrt 2010, at 10:56, Hans Hagen wrote: On 22-3-2010 10:51, Taco Hoekwater wrote: Hans van der Meer wrote: The following I didn't use for some time. Is it replaced or broken in mkiv? Is there a quick fix? I must retypsetting something I need on short notice. Perhaps the quickest fix is to downgrade your context release for a bit. This looks like an expansion bug, but I have no idea what could have changed nor when. mayhe hans can track down what command is triggering it, probably some command in the bib databae file Hans Hans van der Meer ___ 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] bib things broken in mkiv?
Further tracked the error down to calling: \setuppublications[numbering=short] while \setuppublications[nrefcommand=data] does not give the error. Hans van der Meer On 22 mrt 2010, at 13:53, Hans van der Meer wrote: Sorry it took a few hours before responding, but first things first (luckily old setup of mkii turned to be working still). Pinpointed the origin of the error message to this call: \the\everysetuppublications I will search a bit further, but perhaps Taco has already enough clues from this experiment. Something with processcomma? By the way, could it be related to some other error I get in mkiv in processing a description? There in the log similarly something with parameterlists seems at hand: ! Use of \@@startdescription doesn't match its definition. \doifnextoptionalelse ...\nextoptionalcommandyes { #1}\def \nextoptionalcomma... \setuptextrules ...odoubleargument \getparameters [\??tl ] Back to bib: From inserted code from bibl-tra.mkiv: \writestatus{HVDM-TESTING =}{\string \setuppublicationlist[numbering=short,refcommand=data]} \unprotect \def\dosetuppublications[#1]% {\getparameters[\??pb][\c!alternative=,#1]% \writestatus{HVDM-TESTING =}{after \string \getparameters 1}% \doifsomething\@@pbalternative {\readsysfile{bibl-\@@pbalternative.tex} {\showmessage\m!publications{6}{bibl-\@@pbalternative}} {\showmessage\m!publications{1}{bibl-\@@pbalternative}}% \let\@@pbalternative\empty}% \getparameters[\??pb][#1]% as bibl-* can have set things back \writestatus{HVDM-TESTING =}{after \string \getparameters 2}% \the\everysetuppublications \writestatus{HVDM-TESTING =}{after \string\the\string \everysetuppublications}% \ignorespaces} \protect \usepublications[literature] \setuppublications [alternative=apa] \setuppublications [numbering=short,refcommand=data] % separate -- see doc p2 And in the log: HVDM-TESTING =: after \getparameters1 publications: loading formatting style from bibl-apa (/Users/hans/Documents/TeX/context/beta/tex/texmf-context/tex/ context/bib/bibl-apa.tex HVDM-TESTING =: after \getparameters1 HVDM-TESTING =: after \getparameters2 HVDM-TESTING =: after \the\everysetuppublications ) HVDM-TESTING =: after \getparameters2 HVDM-TESTING =: after \the\everysetuppublications HVDM-TESTING =: after \getparameters1 HVDM-TESTING =: after \getparameters2 ! Parameters must be numbered consecutively. to be read again ## argument \def \@@pbinumbercommand 1{\bibgetvars \currentpublicationkey } \p!compareprocessaction ...commalistelement {#3}#2 \expandafter \quitcommalis... \next1 #1,-\p!doprocessaction {#1} \doprocesscommaitem argument ...bibgetvars \currentpublicationkey }, \v!bib =\def \@@pbinumbe... \processnextcommalist ...dodoprocesscommaitem #4#5 ,]\relax \global \advance ... ... l.32 ...ications[numbering=short,refcommand=data] On 22 mrt 2010, at 10:56, Hans Hagen wrote: On 22-3-2010 10:51, Taco Hoekwater wrote: Hans van der Meer wrote: The following I didn't use for some time. Is it replaced or broken in mkiv? Is there a quick fix? I must retypsetting something I need on short notice. Perhaps the quickest fix is to downgrade your context release for a bit. This looks like an expansion bug, but I have no idea what could have changed nor when. mayhe hans can track down what command is triggering it, probably some command in the bib databae file Hans Hans van der Meer ___ 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 ___ ___ 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] bib things broken in mkiv?
On 22-3-2010 14:08, Hans van der Meer wrote: Further tracked the error down to calling: \setuppublications[numbering=short] while \setuppublications[nrefcommand=data] does not give the error. are there tex commands in yout bin database? - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___