\cite fails with “Extra ...”
![](https://secure.gravatar.com/avatar/5ef3be2c0e949ae4c891de058ebf4d76.jpg?s=120&d=mm&r=g)
Hi all, when updating some module documentation I came across this one: ································································· \startpublication [ k=mt, t=book, a={Bodoni}, y=1818, n=1, s={Manuale}, ] \author[]{Giambattista}[]{}{Bodoni} \pubyear{1818} \title{Manuale Tipografico, 2~vols} \city{Parma} \stoppublication \starttext foo \cite[authoryear][mt] bar \stoptext ································································· This definitely works with the beta from 2011-11-04, but not with the one from 2012.01.25. Has there been a change? Regards Philipp
![](https://secure.gravatar.com/avatar/36a7c1a25aadb9a4218af43f54d0e2bb.jpg?s=120&d=mm&r=g)
On Mon 30 Jan 2012, Philipp Gesang wrote:
Hi all,
when updating some module documentation I came across this one:
·································································
\startpublication [ k=mt, t=book, a={Bodoni}, y=1818, n=1, s={Manuale}, ] \author[]{Giambattista}[]{}{Bodoni} \pubyear{1818} \title{Manuale Tipografico, 2~vols} \city{Parma} \stoppublication
\starttext
foo \cite[authoryear][mt] bar
\stoptext
·································································
This definitely works with the beta from 2011-11-04, but not with the one from 2012.01.25. Has there been a change?
I confirm that this works for me with v2011.10.01. This seems to be the same bug that was reported three days ago by Michel Green: http://archive.contextgarden.net/message/20120127.202303.001f5202.en.html (his example also works with my v2011.10.01). Unfortunately I don't know how to fix it or work around it. Pont
![](https://secure.gravatar.com/avatar/5ef3be2c0e949ae4c891de058ebf4d76.jpg?s=120&d=mm&r=g)
On 2012-01-30 14:54, Pontus Lurcock wrote:
On Mon 30 Jan 2012, Philipp Gesang wrote:
Hi all,
when updating some module documentation I came across this one:
·································································
\startpublication [ k=mt, t=book, a={Bodoni}, y=1818, n=1, s={Manuale}, ] \author[]{Giambattista}[]{}{Bodoni} \pubyear{1818} \title{Manuale Tipografico, 2~vols} \city{Parma} \stoppublication
\starttext
foo \cite[authoryear][mt] bar
\stoptext
·································································
This definitely works with the beta from 2011-11-04, but not with the one from 2012.01.25. Has there been a change?
I confirm that this works for me with v2011.10.01. This seems to be the same bug that was reported three days ago by Michel Green: http://archive.contextgarden.net/message/20120127.202303.001f5202.en.html (his example also works with my v2011.10.01). Unfortunately I don't know how to fix it or work around it.
I just dove through the git repo and it seems to me that version 2012-01-24 is the culprit, more precisely: the newly introduced “strc-lst.mkvi”: ··· line 169ff. ················································· \def\strc_lists_write_data_to[#tag][#settings][#userdata]% we can overload location {\doif{\namedlistparameter{#tag}\c!state}\v!start {\ifthirdargument - \strc_lists_inject_yes[#tag][#settings,\c!type=\s!userdata][#userdata]% + \strc_lists_inject[#tag][#settings,\c!type=\s!userdata][#userdata]% \else - \strc_lists_inject_yes[#tag][\c!type=\s!userdata][#settings]% + \strc_lists_inject[#tag][\c!type=\s!userdata][#settings]% \fi}} ································································· Works for me. Regards Philipp
Pont ___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
participants (2)
-
Philipp Gesang
-
Pontus Lurcock