From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/515 Path: news.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: pandoc/citeproc issues: multiple bibliographies, nocite, citeonly Date: Tue, 23 Nov 2010 11:02:11 -0800 Message-ID: <20101123190210.GA16682@protagoras.phil.berkeley.edu> References: <20101121193229.GB25657@protagoras.phil.berkeley.edu> <20101122232135.GG13438@eeepc.istitutocolli.org> <20101123063011.GD8500@protagoras.phil.berkeley.edu> <4CEB91AA.5050801@trizeps.ch> <68cb6920-d51b-4139-913b-4ca4e96e160c@d20g2000yqg.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 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1290538952 26976 80.91.229.12 (23 Nov 2010 19:02:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Nov 2010 19:02:32 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncCO38oIeaEBC5n7DnBBoEL91dNw-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Nov 23 20:02:26 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 1PKy8H-0003AZ-G0 for gtp-pandoc-discuss@m.gmane.org; Tue, 23 Nov 2010 20:02:25 +0100 Original-Received: by pwj10 with SMTP id 10sf725391pwj.3 for ; Tue, 23 Nov 2010 11:02:24 -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:references:mime-version:in-reply-to: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:content-transfer-encoding; bh=MG4KSIj+McS7HiLU4/Ull5Xrx8B0phMWSJ+2E3WKPfo=; b=dcOz47mLQFzUApo7UiK3QTFDMdZMaMSZtPMII8vD/XauHsAsWk3iLoY7oX4DPCMNT3 7Dp90gJjHv+/ERF71cn+KZkKsNVx1GhKc8YotEhJEz3JAKAjylsCPwaHNArVxtkdryct 4mc7N0Agb1yf5OfXwjUhVx+fWxzRcjwtuyyLc= 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-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 :content-transfer-encoding; b=v6XCxdjwZyCBcZV2KaiQCTkpjW58G4ReUUL8QK7AG6h2nBs+UHUsnNx3fCYsXvGZkp KAtMSP/qOcI0xo7CCPEfKC734Il8w4UApDC8hhK3k8sPlKFlfTk5MT/d/oBwmBPH7lID b9zKqT6kr39+w93lOuBCsb/l0CCx58fYAg/zg= Original-Received: by 10.143.26.38 with SMTP id d38mr391053wfj.38.1290538937086; Tue, 23 Nov 2010 11:02:17 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.142.2.41 with SMTP id 41ls44330wfb.0.p; Tue, 23 Nov 2010 11:02:14 -0800 (PST) Original-Received: by 10.142.156.17 with SMTP id d17mr3130581wfe.50.1290538933960; Tue, 23 Nov 2010 11:02:13 -0800 (PST) Original-Received: by 10.142.156.17 with SMTP id d17mr3130580wfe.50.1290538933932; Tue, 23 Nov 2010 11:02:13 -0800 (PST) Original-Received: from cm03fe.IST.Berkeley.EDU (cm03fe.IST.Berkeley.EDU [169.229.218.144]) by gmr-mx.google.com with ESMTP id p40si9429968wfc.6.2010.11.23.11.02.13; Tue, 23 Nov 2010 11:02:13 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 169.229.218.144 as permitted sender) client-ip=169.229.218.144; Original-Received: from protagoras.phil.berkeley.edu ([128.32.137.142]) by cm03fe.ist.berkeley.edu with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (auth plain:jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org) (envelope-from ) id 1PKy84-0001XL-B1 for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Tue, 23 Nov 2010 11:02:13 -0800 Original-Received: by protagoras.phil.berkeley.edu (Postfix, from userid 1000) id B21C41317C2; Tue, 23 Nov 2010 11:02:11 -0800 (PST) In-Reply-To: <68cb6920-d51b-4139-913b-4ca4e96e160c-LFpOzkg5VSKSsatCSt0dimB/v6IoIuQBVpNB7YpNyf8@public.gmane.org> 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.144 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:515 Archived-At: +++ Bruce [Nov 23 10 10:39 ]: >=20 >=20 > On Nov 23, 5:04=A0am, Nathan Gass wrote: > > On 23.11.10 07:30, John MacFarlane wrote: > > > > > +++ Andrea Rossato [Nov 23 10 00:21 ]: > > >> On Sun, Nov 21, 2010 at 11:32:29AM -0800, John MacFarlane wrote: > > > > >> 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? > > > > > This could be done, but there'd be a significant performance > > > penalty, so I'd rather avoid it. > > > > Do you have any benchmarks for pandoc? Performance seems to be a very > > important concern for you, while in my usage it never was an issue. Of > > course I neither have large documents to parse nor use pandoc in any > > high-traffic web environment, but I would be interested in which region > > pandoc currently is and how big this penalties are compared to that. > > > > >> 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 do= es > > >> not affect the way documents are written. > > > > > Yes, it seems fine to wait on refining the formatting of the > > > bibliography. But we ought to settle the issues above about how > > > a writer indicates where the bibliography goes, what its source > > > is, etc. > > > > For whats it worth, in my opinion the formatting of the bibliography > > belongs into the style, or some separate pandoc configuration, and not > > in the document itself. >=20 > FWIW from the CSL perspective, there are some areas over overlap > between the domain of CSL and the domain of, say, a document styling > system (line-spacing, some font details, even whether you call a > reference list a "Bibliography" or "Works Cited"). We cover what we > can (say line spacing between bib entries), but defer otherwise. >=20 > As a user of pandoc particularly interested in(X)HTML, I'd consider it > valuable at least if the bib was wrapped in a div that I can style. My current plan will make this happen. The plan is to introduce a new Bibliography block element. This will carry information about the bibliography source file, excludes & includes (see Andrea's earlier message), and a formatted Block list produced by citeproc. Writers can do what they like with it. If the writer is producing latex usi= ng natbib, for example, it will just write "\bibliography{foo}" or something l= ike that. The default, though, will be to write the formatted blocks produced by citeproc. In the HTML writer, these can be put in a div with class "bibliography". John --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@go= oglegroups.com. For more options, visit this group at http://groups.google.com/group/pandoc= -discuss?hl=3Den.