From: Philipp Gesang <gesang@stud.uni-heidelberg.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: strc-lst.mkvi [was: \cite fails with “Extra ...”]
Date: Wed, 1 Feb 2012 20:40:23 +0100 [thread overview]
Message-ID: <20120201194022.GB1649@phlegethon> (raw)
In-Reply-To: <20120130015401.GY23782@rae.vm.bytemark.co.uk>
[-- 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
___________________________________________________________________________________
prev parent reply other threads:[~2012-02-01 19:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-29 23:52 \cite fails with “Extra ...” Philipp Gesang
2012-01-30 1:54 ` Pontus Lurcock
2012-02-01 19:40 ` Philipp Gesang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120201194022.GB1649@phlegethon \
--to=gesang@stud.uni-heidelberg.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).