From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/497 Path: news.gmane.org!not-for-mail From: Andrea Rossato Newsgroups: gmane.text.pandoc Subject: Re: pandoc/citeproc issues: multiple bibliographies, nocite, citeonly Date: Tue, 23 Nov 2010 00:21:35 +0100 Message-ID: <20101122232135.GG13438@eeepc.istitutocolli.org> References: <20101121193229.GB25657@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 1290468113 18896 80.91.229.12 (22 Nov 2010 23:21:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Nov 2010 23:21:53 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncCNzq99GEChCE9qvnBBoE8NcnRg-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Nov 23 00:21:48 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 1PKfhj-0006OK-O8 for gtp-pandoc-discuss@m.gmane.org; Tue, 23 Nov 2010 00:21:47 +0100 Original-Received: by wyi11 with SMTP id 11sf4508362wyi.3 for ; Mon, 22 Nov 2010 15:21:47 -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=KgxrwCvDVq36idlU5F4xIbCb3O6CwgnVlIInkEIEojk=; b=EwftAO9nd9sZTY7YqjBjmT/aaylQSr3C/7C6qmpg0dv1meqZwemBmrEfoHNjul6a8M kPb53tpOV4ahUFOe0Eyd+6atL7pHeAU7L2Z/SLIQFz01BpppWzwLjGVLE5wjLXbQabti dagT1g5HZLno+dZe/DpwsmPICUdwT77+3fw6Y= 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=4XPzkP6j/jxRSKgAkGAn0N93V76g4PCn5nmGLrlrla/NTi4X4osCH3Ki3DiXTzBIZb wt8fN1JyENKiCEqLoAhUhMDm3T7oKPQhnILuPUcFWVN1QRxGTe/Mzgd3p5TjAzJ2+d2m qw1sU+BBqVQONMmOP9n/IIdor2P+P+pJPtUZY= Original-Received: by 10.216.231.154 with SMTP id l26mr668196weq.9.1290468100504; Mon, 22 Nov 2010 15:21:40 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.227.198.213 with SMTP id ep21ls2241673wbb.2.p; Mon, 22 Nov 2010 15:21:39 -0800 (PST) Original-Received: by 10.227.129.147 with SMTP id o19mr274761wbs.21.1290468099062; Mon, 22 Nov 2010 15:21:39 -0800 (PST) Original-Received: by 10.227.129.147 with SMTP id o19mr274760wbs.21.1290468099027; Mon, 22 Nov 2010 15:21:39 -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 q27si781130wbv.1.2010.11.22.15.21.38; Mon, 22 Nov 2010 15:21:38 -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 oAMNLb6W015750 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 23 Nov 2010 00:21:37 +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 oAMNLaaa010828 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 23 Nov 2010 00:21:36 +0100 Original-Received: (from andrea@localhost) by eeepc.nowhere.net (8.14.4/8.14.4/Submit) id oAMNLZZP010822 for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Tue, 23 Nov 2010 00:21:35 +0100 In-Reply-To: <20101121193229.GB25657-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:497 Archived-At: On Sun, Nov 21, 2010 at 11:32:29AM -0800, John MacFarlane wrote: > There's a proposal at > > http://gitit.net/PandocCitationGrammar > > that would address (2-4) by requiring the user to put an explicit > > > > tag where the bibliography goes; this would then turn into a list of > works cited since the last . It would include attributes > to "omit" or "include" citation keys. I think it would be nice if we could follow the way citeproc-js deals with this problem: http://gsl-nagoya-u.net/http/pub/citeproc-doc.html#selective-output This is basically a list of ("field","value") tuples for selecting entries include in or exclude from the bibliography (there are four commands: include/select or exclude/quash depending on whether all or any of the tuples are to be matched). What do you think? > (I suppose we could even have a "source" tag that specifies the > bib file to use, but this would only work if we no longer had to > read the bib file prior to parsing the markdown -- see the previous > "issue".) What about parsing the markdown text for the reference field, if present read the source file with the bibliographic data and then parse the actual markdown text? > We could address (1) as well by adding a special Bibliography block > to pandoc. This would have some cost, as each writer would have to > be told how to treat it, but it would give more flexibility. For > example, in HTML, the bibliography could be put in a special >
. (Note that with the current system, if you want your bibliography in a > div, you can put it in a section and use the --section-divs option.) > > I'd like to get some feedback on whether we want this flexibility, > or whether the current simple behavior sufficies. There would be also some specific needs for bibliographic formatting to be taken into account, like second field alignment or per-author listing. See more about it here: http://citationstyles.org/downloads/specification.html#id73 I must admit I didn't have yet the time to dig into those issues and I'd prefer to leave them for future enhancements. I think we should focus on getting the citation part right, first, since it involves syntax modification. The bibliography, instead, is a matter which does not affect the way documents are written. Andrea