* \cite fails with “Extra ...”
@ 2012-01-29 23:52 Philipp Gesang
2012-01-30 1:54 ` Pontus Lurcock
0 siblings, 1 reply; 3+ messages in thread
From: Philipp Gesang @ 2012-01-29 23:52 UTC (permalink / raw)
To: ConTeXt ML
[-- Attachment #1.1: Type: text/plain, Size: 640 bytes --]
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
[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \cite fails with “Extra ...”
2012-01-29 23:52 \cite fails with “Extra ...” Philipp Gesang
@ 2012-01-30 1:54 ` Pontus Lurcock
2012-02-01 19:40 ` strc-lst.mkvi [was: \cite fails with “Extra ...”] Philipp Gesang
0 siblings, 1 reply; 3+ messages in thread
From: Pontus Lurcock @ 2012-01-30 1:54 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: strc-lst.mkvi [was: \cite fails with “Extra ...”]
2012-01-30 1:54 ` Pontus Lurcock
@ 2012-02-01 19:40 ` Philipp Gesang
0 siblings, 0 replies; 3+ messages in thread
From: Philipp Gesang @ 2012-02-01 19:40 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2887 bytes --]
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
[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-02-01 19:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-29 23:52 \cite fails with “Extra ...” Philipp Gesang
2012-01-30 1:54 ` Pontus Lurcock
2012-02-01 19:40 ` strc-lst.mkvi [was: \cite fails with “Extra ...”] Philipp Gesang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).