From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/513 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 07:58:34 -0800 Message-ID: <20101123155834.GC12884@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> 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 1290528137 3625 80.91.229.12 (23 Nov 2010 16:02:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Nov 2010 16:02:17 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncCO38oIeaEBDHya_nBBoE7eUOZQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Nov 23 17:02:13 2010 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pz0-f58.google.com ([209.85.210.58]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PKvJo-0005qu-3e for gtp-pandoc-discuss@m.gmane.org; Tue, 23 Nov 2010 17:02:08 +0100 Original-Received: by pzk12 with SMTP id 12sf97206pzk.3 for ; Tue, 23 Nov 2010 08:02:06 -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; bh=Jl0YVULMMmgrFpv3Yx6SAQwKuzbc6acE2eYk4g/tHLU=; b=SKhMwz7ZTG8ZJZId/kM1pqtPff036LcNvI9KH2Oehk+LRnAH4q0nnYm4ZuwB0J7w4+ w7SWiC8GI+57Jk+jCWcatmgiF8BCJj6RqTVQTPfjh+EjUfNsIwi1I4u9LOlyQJ2cyv+m Hy39iGgBxNUessvEXMg4f2UE/Od5QYLiFBlgA= 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; b=yFNfB52JCxMeOgh9M6r56CbVQlpt07Ekz/0dotCmPLd8KnsaPUJguwz3eV4QOgGhSR /icylDqtgKNHnlwWY9ky6Qjyv+r5q259Cl1Vv/b2Ys1GOkBwx199FRTE4BPWp971aLMf JCKzgWAfoAexXkglcMp2IkBXDO2IElhM0jlBs= Original-Received: by 10.142.150.9 with SMTP id x9mr352310wfd.5.1290527943275; Tue, 23 Nov 2010 07:59:03 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.142.2.41 with SMTP id 41ls2980404wfb.0.p; Tue, 23 Nov 2010 07:58:52 -0800 (PST) Original-Received: by 10.142.165.13 with SMTP id n13mr4653647wfe.11.1290527916082; Tue, 23 Nov 2010 07:58:36 -0800 (PST) Original-Received: by 10.142.165.13 with SMTP id n13mr4653646wfe.11.1290527916053; Tue, 23 Nov 2010 07:58:36 -0800 (PST) Original-Received: from cm06fe.IST.Berkeley.EDU (cm06fe.IST.Berkeley.EDU [169.229.218.147]) by gmr-mx.google.com with ESMTP id f13si9258254wfo.0.2010.11.23.07.58.36; Tue, 23 Nov 2010 07:58:36 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 169.229.218.147 as permitted sender) client-ip=169.229.218.147; Original-Received: from protagoras.phil.berkeley.edu ([128.32.137.142]) by cm06fe.ist.berkeley.edu with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (auth plain:jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org) (envelope-from ) id 1PKvGM-0001LP-MU for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Tue, 23 Nov 2010 07:58:35 -0800 Original-Received: by protagoras.phil.berkeley.edu (Postfix, from userid 1000) id C5A1C1317C2; Tue, 23 Nov 2010 07:58:34 -0800 (PST) In-Reply-To: <4CEB91AA.5050801-8UOIJiGH10pyDzI6CaY1VQ@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.147 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:513 Archived-At: +++ Nathan Gass [Nov 23 10 11:04 ]: > 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. I want pandoc to be as fast as possible. It may not matter if you're just converting some documents at your desktop, but if pandoc is used in producing web pages, it can matter a lot, in terms of response time and server load. Benchmarks vary a lot depending on your source file. Here are some rough figures on one fairly long (178K) markdown file: Markdown.pl 5 sec php markdown extra 1.7 sec pandoc 1 sec lunamark 0.6 sec peg-markdown 0.15 sec discount 0.03 sec Pandoc does a lot more than lunamark, peg-markdown, and discount, but still, I think there's lots of room for improvement here, and the differences are certainly important to people considering using pandoc in a web app. > >>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. > > > >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. Yes, I think we all agree on that! But issues about where the bibliography is placed and what gets put into it need to be addressed in the document. JOhn