From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/486 Path: news.gmane.org!not-for-mail From: Nathan Gass Newsgroups: gmane.text.pandoc Subject: Re: pandoc/citeproc issues: multiple bibliographies, nocite, citeonly Date: Mon, 22 Nov 2010 17:02:06 +0100 Message-ID: <4CEA93FE.8070502@trizeps.ch> References: <20101121193229.GB25657@protagoras.phil.berkeley.edu> <0ebd5c02-7660-4f20-8da0-ee93a034850a@w2g2000yqb.googlegroups.com> 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; format=flowed X-Trace: dough.gmane.org 1290441741 18299 80.91.229.12 (22 Nov 2010 16:02:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Nov 2010 16:02:21 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncCMXB5ZuNCxCAqKrnBBoEQYHAjg-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Nov 22 17:02:17 2010 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-fx0-f58.google.com ([209.85.161.58]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PKYqO-0006MP-3e for gtp-pandoc-discuss@m.gmane.org; Mon, 22 Nov 2010 17:02:16 +0100 Original-Received: by fxm13 with SMTP id 13sf3689fxm.3 for ; Mon, 22 Nov 2010 08:02:15 -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:message-id:date:from:user-agent :mime-version:to:subject:references:in-reply-to: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; bh=Kd4KqkEf59ohjQEIzizGoQM8CsrMSH9FRJoar+qhmG4=; b=shJtDnxA+jVFnIFs8RrkgGvjsJXXZk1dOrcfKvItic1cOfFjpGnF8F9gpJhNWH9sbk NssDZY8As/Jxz2a05Jg0M0ncTOKPUdF8xtJ7Nw0cO9S+vpq7G7A0Ro78FdqnMiA0P9N0 d22cls0aFDTSSZfPfuV1kvvLJphjX4HLjJMF8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:message-id:date:from:user-agent :mime-version:to:subject:references:in-reply-to: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; b=0jgGn5hc2NYwyp9MSABH2YjbPvWUvcgNkAxczwYPeMRo36+qUBKVppoieODp+mFqW5 qoolSkHCGu1R/7rJTzxa+0arNoD+rP+6vVLcZcwK6OdGvQNAAFFp0r11S+/jXATV8M46 voSJBfQGmrQNKjZ9brK7lQ92HtJ92O9aPAobs= Original-Received: by 10.223.73.195 with SMTP id r3mr317092faj.31.1290441728502; Mon, 22 Nov 2010 08:02:08 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.204.81.69 with SMTP id w5ls339655bkk.2.p; Mon, 22 Nov 2010 08:02:07 -0800 (PST) Original-Received: by 10.204.80.146 with SMTP id t18mr500194bkk.20.1290441727872; Mon, 22 Nov 2010 08:02:07 -0800 (PST) Original-Received: by 10.204.80.146 with SMTP id t18mr500193bkk.20.1290441727820; Mon, 22 Nov 2010 08:02:07 -0800 (PST) Original-Received: from lvps178-77-97-180.dedicated.hosteurope.de (lvps178-77-97-180.dedicated.hosteurope.de [178.77.97.180]) by gmr-mx.google.com with ESMTP id 15si409450faj.15.2010.11.22.08.02.07; Mon, 22 Nov 2010 08:02:07 -0800 (PST) Received-SPF: neutral (google.com: 178.77.97.180 is neither permitted nor denied by best guess record for domain of xabbu-8UOIJiGH10pyDzI6CaY1VQ@public.gmane.org) client-ip=178.77.97.180; Original-Received: from 75-100.199-178.cust.bluewin.ch ([178.199.100.75] helo=vroomfondel.local) by lvps178-77-97-180.dedicated.hosteurope.de with esmtpsa (SSL3.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PKYqF-0004C2-A5 for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Mon, 22 Nov 2010 17:02:07 +0100 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 In-Reply-To: <0ebd5c02-7660-4f20-8da0-ee93a034850a-bhUrjG+0PUy4o898BNfOI1YGCWtFR9XvQQ4Iyu8u01E@public.gmane.org> X-Original-Sender: xabbu-8UOIJiGH10pyDzI6CaY1VQ@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 178.77.97.180 is neither permitted nor denied by best guess record for domain of xabbu-8UOIJiGH10pyDzI6CaY1VQ@public.gmane.org) smtp.mail=xabbu-8UOIJiGH10pyDzI6CaY1VQ@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: , Xref: news.gmane.org gmane.text.pandoc:486 Archived-At: On 21.11.10 22:46, Bruce wrote: > > > On Nov 21, 2:32 pm, John MacFarlane wrote: >> 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 another issue that will inevitably come up, so I should > mention it now: > > (5) You can't have multiple sections per bibliography. Common use case > is you need a section for legal cases, another for primary documents, > and a third (which we might call default) of the secondary academic > literature. > > I believe there are one or more LaTeX packages that support this sort > of thing, but I don't recall their solution. And IIRC, discussion > around this in the CSL world has tended to center around bib groups, > where you might optionally assign references to a named group, which > would correspond to an equivalent names section. As I understand the common use case, the section a reference belongs into is given by the type of the reference? So this info could actually be encoded in the bibliography? Pandoc then only needs a way to add all needed bibliography sections, and not a way to mark references belonging to a specific section. How individual are this sections named? I ask this because currently I consider attaching the bibliographic info to specific named sections the best solution. For this to work we need to cover most/all possible names for such a section. This way we don't need any new syntax to support this use case. Legal cases would be marked as such in the bibliography file, and pandoc would attach the rendered bibliographic info to a differently named section if it finds such a section in the text. Nathan