From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/467 Path: news.gmane.org!not-for-mail From: Andrea Rossato Newsgroups: gmane.text.pandoc Subject: Re: Re: textual citation Date: Sat, 20 Nov 2010 03:53:50 +0100 Message-ID: <20101120025350.GA13438@eeepc.istitutocolli.org> References: <20101111014927.GP24988@eeepc.istitutocolli.org> <20101112063622.GA8676@protagoras.phil.berkeley.edu> <20101112084314.GA15038@protagoras.phil.berkeley.edu> <20101113011105.GJ19143@eeepc.istitutocolli.org> <20101113033806.GA27595@protagoras.phil.berkeley.edu> <20101113131538.GO19143@eeepc.istitutocolli.org> <20101113162702.GC1212@protagoras.phil.berkeley.edu> <20101114132646.GR19143@eeepc.istitutocolli.org> <20101117043955.GA18136@protagoras.phil.berkeley.edu> <20101119195134.GB30277@protagoras.phil.berkeley.edu> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1290221648 20881 80.91.229.12 (20 Nov 2010 02:54:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 20 Nov 2010 02:54:08 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncCNzq99GEChDE8JznBBoEQZnm-Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Nov 20 03:54:04 2010 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-wy0-f186.google.com ([74.125.82.186]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PJdaW-0004EQ-22 for gtp-pandoc-discuss@m.gmane.org; Sat, 20 Nov 2010 03:54:04 +0100 Original-Received: by wyi11 with SMTP id 11sf2594570wyi.3 for ; Fri, 19 Nov 2010 18:54:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:x-beenthere:received:received:received :received:received-spf:received:received:received:date:from:to :subject:message-id:references:mime-version:in-reply-to :x-pgp-fingerprint:x-pgp-key:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type:content-disposition; bh=wvHSFKKAMNGGIntayqJ6fEACfsak0uCstzZ/5NTDxkA=; b=Mvzj4G4RY+KZZGDGpeVl4yhWbTTlGuGTGsl8uXHlIzPr4asYWLDV8jNo8ltE0q35AD xwQKQx+AFclTBcWsAVSLqV2VssANHZQ6zbjDR9Q0/fdOFE2nsH0QLWsVc7tteuH6YdSZ F5DHWt2FihNIhFnhFqEe/b9hzaTsrgN/6qrA0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:date:from:to:subject:message-id:references :mime-version:in-reply-to:x-pgp-fingerprint:x-pgp-key:user-agent :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe:content-type :content-disposition; b=p3aR2f2FSpeOrwCeScRRKQqg0mypqZtSKy4FKvWgYdQDSNcPR1C4uuHhs/fdiaTnUg wLImseFZ7Xb4jyBiHwVyoYHb6sizFEcYIvOgUpTXwnktgN267NHwaa4CHyRnOSWaxzxr 7g9wY1BXrQ9kRMqmOYX2aN0K9ntnsX6sZfsOE= Original-Received: by 10.216.179.145 with SMTP id h17mr1234404wem.21.1290221636590; Fri, 19 Nov 2010 18:53:56 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.227.110.83 with SMTP id m19ls1292264wbp.0.p; Fri, 19 Nov 2010 18:53:55 -0800 (PST) Original-Received: by 10.227.146.196 with SMTP id i4mr123477wbv.3.1290221635475; Fri, 19 Nov 2010 18:53:55 -0800 (PST) Original-Received: by 10.227.146.196 with SMTP id i4mr123476wbv.3.1290221635437; Fri, 19 Nov 2010 18:53:55 -0800 (PST) Original-Received: from gorgias.mine.nu (host118-2-static.225-95-b.business.telecomitalia.it [95.225.2.118]) by gmr-mx.google.com with ESMTP id q27si294219wbv.5.2010.11.19.18.53.55; Fri, 19 Nov 2010 18:53:55 -0800 (PST) Received-SPF: neutral (google.com: 95.225.2.118 is neither permitted nor denied by best guess record for domain of andrea.rossato-3IIOeSMMxS4@public.gmane.org) client-ip=95.225.2.118; Original-Received: from eeepc.nowhere.net (localhost [127.0.0.1]) by gorgias.mine.nu (8.14.3/8.14.3) with ESMTP id oAK2rsj5025340 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 20 Nov 2010 03:53:54 +0100 Original-Received: from eeepc.nowhere.net (localhost [127.0.0.1]) by eeepc.nowhere.net (8.14.4/8.14.3) with ESMTP id oAK2rp3i031184 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 20 Nov 2010 03:53:52 +0100 Original-Received: (from andrea@localhost) by eeepc.nowhere.net (8.14.4/8.14.4/Submit) id oAK2rpAa031178 for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Sat, 20 Nov 2010 03:53:51 +0100 In-Reply-To: <20101119195134.GB30277-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org> X-PGP-Fingerprint: 6FB5 7A1A C6CB 9136 A001 4E7C 3329 A039 8964 D6D3 X-PGP-Key: http://www.istitutocolli.org/pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) X-Original-Sender: andrea.rossato-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 95.225.2.118 is neither permitted nor denied by best guess record for domain of andrea.rossato-3IIOeSMMxS4@public.gmane.org) smtp.mail=andrea.rossato-3IIOeSMMxS4@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: List-Post: , List-Help: , List-Archive: Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , Content-Disposition: inline Xref: news.gmane.org gmane.text.pandoc:467 Archived-At: On Fri, Nov 19, 2010 at 11:51:34AM -0800, John MacFarlane wrote: > I've pushed some improvements to the parser, and updated the > tests. The latest syntax calls for a space between key and locator, not > a comma. > > There are some tests that fail due to what I think > are problems in citeproc. > > For example, citeproc doesn't seem to like a textual citation > with both locator and suffix (the suffix is dropped). A regression indeed. Fixed. > Also, citeproc puts an extra space before the suffix, and > omits needed space between multiple page ranges: so you > get (Doe 2005, 33-35,37-39) instead of (Doe 2005, 33-35, 37-39). Well, the native processor input should be a trimmed string: "a suffix". Pandoc is sending ", a suffix". Which is fine, it is just something to be agreed on as I mentioned when I proposed an example on how to handle the suffix. I fixed that too. The second one was something I'm aware of, as I said, and is very high in my todo list. > > There are also issues with things like: > > [@item1 pp. 33-35, see also @item2 p. 35] > > This is the kind of thing that authors might well write, but currently > pandoc/citeproc mangles it. I'm not sure how to handle this. We > could forbid citations in suffixes, but I'm not sure that will seem > intuitive to writers. The second one is not a citation in a suffix: it clearly is a citation with a prefix and a wrong separator from the first one. You should fix that. Am I wrong? I'm getting ready for a release. Now citeproc-hs passes 383 tests out of 527. The last major issue, sorting, has been fixed. There are small details to be fixed, but nothing to block a 0.3 release. Before I need a release of pandoc-types (I'd have a final proposal for a new constructor: NamedInline String [Inline]. It could be used to store information while processing the pandoc document. If you are open to such an extension mechanism I could provide some use cases I'm facing - but now it is bed time). Andrea