From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/476 Path: news.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: pandoc/citeproc issues: multiple bibliographies, nocite, citeonly Date: Sun, 21 Nov 2010 11:32:29 -0800 Message-ID: <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 1290367967 15508 80.91.229.12 (21 Nov 2010 19:32:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 21 Nov 2010 19:32:47 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncCO38oIeaEBDS56XnBBoEFkvRuw-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Nov 21 20:32:43 2010 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pw0-f58.google.com ([209.85.160.58]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PKFeU-0001lS-Lp for gtp-pandoc-discuss@m.gmane.org; Sun, 21 Nov 2010 20:32:43 +0100 Original-Received: by pwj10 with SMTP id 10sf517641pwj.3 for ; Sun, 21 Nov 2010 11:32:41 -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:date:from:to:subject :message-id:mime-version: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=dPqHcoG2JSRL3yBC3WOrYe+hFYFVSeWbWmywLtnBavg=; b=Ydl7iZcbHyUfrzhB/XMF2A/b58gHGqBY5tI6QF6qfz7hnAo/zGXz3ralHRjxfEvmeF hxk5dkeOaWbgvR5VcjAWhki0Yx40E54XOUI9Kld8KaoegsRf2NQcvfnhrsWG5SHjFPts iMY7WdMr/1d33QMXUY3z2akWJ9QSMHZmY9rms= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:date:from:to:subject:message-id :mime-version: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=sCI0dOsLDIALLuz/wdm+KvsbQH6ooV9o6suG8WDa5STopgY2a/J3+QEvXTNdmko8+6 LHpsF4ZojkgmJgzEiR+AJMUnyKfCrtdSf+D9hiPFAhqu1aBAtOt+4efoCyCy+XFNR7RO cNLJ2hm5p4qnZENIdAuhbYLB8TO1gp1FC2zu4= Original-Received: by 10.142.149.13 with SMTP id w13mr196096wfd.28.1290367954134; Sun, 21 Nov 2010 11:32:34 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.142.249.41 with SMTP id w41ls7103757wfh.1.p; Sun, 21 Nov 2010 11:32:31 -0800 (PST) Original-Received: by 10.142.162.15 with SMTP id k15mr2988754wfe.62.1290367951701; Sun, 21 Nov 2010 11:32:31 -0800 (PST) Original-Received: by 10.142.162.15 with SMTP id k15mr2988752wfe.62.1290367951646; Sun, 21 Nov 2010 11:32:31 -0800 (PST) Original-Received: from cm01fe.IST.Berkeley.EDU (cm01fe.IST.Berkeley.EDU [169.229.218.142]) by gmr-mx.google.com with ESMTP id p40si6262577wfc.2.2010.11.21.11.32.31; Sun, 21 Nov 2010 11:32:31 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 169.229.218.142 as permitted sender) client-ip=169.229.218.142; Original-Received: from protagoras.phil.berkeley.edu ([128.32.137.142]) by cm01fe.ist.berkeley.edu with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (auth plain:jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org) (envelope-from ) id 1PKFeH-0000Y8-6C for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Sun, 21 Nov 2010 11:32:30 -0800 Original-Received: by protagoras.phil.berkeley.edu (Postfix, from userid 1000) id BF8E8131AD3; Sun, 21 Nov 2010 11:32:29 -0800 (PST) X-PGP-Key: http://johnmacfarlane.net/jgm.asc User-Agent: Mutt/1.5.20 (2009-06-14) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 169.229.218.142 as permitted sender) smtp.mail=jgm-TVLZxgkOlNX2fBVCVOL8/A@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:476 Archived-At: Currently pandoc inserts the list of works cited at the end of the document. (You can provide a label like # References at the end if you like; the references will be placed after this.) This doesn't offer much flexibility. In particular: (1) The writer doesn't know which part is a bibliography and can't style it differently or even offer the option to do so through CSS, etc. (Unlike the footnotes...) (2) You can't choose not to include the works cited. (3) You can't have per-section bibliographies in your document; the bibliography only comes at the very end, even if you've got a long book. (4) There's currently no way to include items you didn't cite, or suppress items you did cite. 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 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".) 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. John