From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/13536 Path: news.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Specifying location of bibliography in document Date: Sat, 29 Aug 2015 08:45:27 -0700 Message-ID: <20150829154527.GA49705@MacBook-Air.local> References: <20150829140403.GA47273@MacBook-Air.local> <20150829142113.GA47586@MacBook-Air.local> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed X-Trace: ger.gmane.org 1440863152 15117 80.91.229.3 (29 Aug 2015 15:45:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Aug 2015 15:45:52 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBJFHQ6XQKGQERMXANFQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Aug 29 17:45:43 2015 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pa0-f59.google.com ([209.85.220.59]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZViK5-00068W-U1 for gtp-pandoc-discuss@m.gmane.org; Sat, 29 Aug 2015 17:45:42 +0200 Original-Received: by paxl1 with SMTP id l1sf20318072pax.1 for ; Sat, 29 Aug 2015 08:45:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=from:date:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:sender:list-subscribe:list-unsubscribe; bh=683cTbHefcIsWVxlvRW/6BtNocHh5ze7JIFC4T09SlU=; b=NvlwWRalUoznSQfSvA4s6u5FF/PyW7Z+2CfymTwd3tfp1li4DMWZLxxeVnXWdXMdy0 7fYzSpCcQzqrcH++8MUYEDYFCTMBVM05Sn/ixjvCCcXQDdxqVoIT/fce0FKGzsJbV3/L M4g6ytdWMDPYToK6DvjeaC/8hGfX/KldqJUAoaIOnOBeeEnSPIkIUmf+jya5yEZGHvBl +XVCZjnNahgMrbsQ7Or1BV96isI9Qj0p9Qlen675cU0EKtwe/QipKD1A0/ylCKZmOewM pn4rGjXsQTbPRL1bcTjPYXoyc/R9g5wGDM1sMgMBT4fhpIJo44QTV8C2AxcLhJ2JB0Z+ X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe; bh=683cTbHefcIsWVxlvRW/6BtNocHh5ze7JIFC4T09SlU=; b=HjLnj/fZJeF7sdcOAm/CXZ2a/KXTvYOemtu2st13Z8ddHFwh1GfZiBRNdHEF4N3TMD R1viOeTASv4Itit6P7ZhiqgqEgZ7Irgfk4mQ2yrPZBgjsjUUyZPIO+aS91EUou4cICJL LPbI5IAq9Zrm+kCZbu8gSV0jxFYi1bFRdS5Sq30edCp+2ifCHkISLzi9K+edn36y6FM8 i3R52yOgEbypG017kuo+S8exgqP7SCX+WpnkJg8BCHEehjjn+xk5vIc4kYHFy1qPlMhR /GqFnM2DGveiqKyQkhmHa7nI6J7wSJBquJ5hPu5sRxDFAS X-Received: by 10.50.137.7 with SMTP id qe7mr130375igb.17.1440863141110; Sat, 29 Aug 2015 08:45:41 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.15.197 with SMTP id 66ls987557iop.100.gmail; Sat, 29 Aug 2015 08:45:40 -0700 (PDT) X-Received: by 10.66.194.168 with SMTP id hx8mr16109714pac.19.1440863140484; Sat, 29 Aug 2015 08:45:40 -0700 (PDT) Original-Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com. [209.85.220.52]) by gmr-mx.google.com with ESMTPS id ys2si1428358pac.0.2015.08.29.08.45.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Aug 2015 08:45:40 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 209.85.220.52 as permitted sender) client-ip=209.85.220.52; Original-Received: by pacdd16 with SMTP id dd16so92431698pac.2 for ; Sat, 29 Aug 2015 08:45:40 -0700 (PDT) X-Gm-Message-State: ALoCoQkHqqLaZc3ENg3DZLMTNW58PmGnghmdbhSLDysfzDttqb+u4vI5GlZQA8ti7FSLG5gh6ibQ X-Received: by 10.69.0.166 with SMTP id az6mr23493379pbd.168.1440863140220; Sat, 29 Aug 2015 08:45:40 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id qr5sm9015228pbb.26.2015.08.29.08.45.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Aug 2015 08:45:37 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 0C5F8A65A; Sat, 29 Aug 2015 11:45:27 -0400 (EDT) Content-Disposition: inline In-Reply-To: <20150829142113.GA47586-jF64zX8BO08aTFSqC7bH4WZHpeb/A1Y/@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc User-Agent: Mutt/1.5.23 (2014-03-12) X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 209.85.220.52 as permitted sender) smtp.mailfrom=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: X-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:13536 Archived-At: I've implemented this in the dev version. You can pull from github and install using `stack install` or `cabal install` if you want to try it. +++ John MacFarlane [Aug 29 15 07:21 ]: >Followup: I think it makes more sense to use a div >with id="references" rather than a section. That gives >maximum flexibility; e.g. you can insert the bibliography >without a section header, or under a header and some >preliminary text. So the proposal is that if the document >contains a Div with id "references", the bibliography >is inserted there; otherwise at the end of the document >(in which case it is also put in a special Div, as it >is now). > > > >+++ John MacFarlane [Aug 29 15 07:04 ]: >>>Is there a way to specify a location other than the end of >>>the document for insertion of the bibliography? There >>>might, for example, need to be appendices or other material >>>following the list of references. >> >>Currently you can only do this by generating the >>bibliography as a separate document, and inserting it >>manually (e.g. using a template). >> >>There's a proposal in >>https://github.com/jgm/pandoc/issues/771 that I think should >>probably be implemented. The idea is that pandoc-citeproc >>would look for a header with id "references". If it finds >>one, it inserts the bibliography there. If it doesn't, >>it behaves like it currently does and appends the >>bibliography to the end of the document. As far as I can >>see, this would be pretty easy to implement. >> >>https://github.com/jgm/pandoc/issues/1612 makes a similar >>proposal for table of contents, and >>https://github.com/jgm/pandoc/issues/1720 for footnotes, >>but those are independent and could be done separately >>or not at all. >> >>-- >>You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. >>To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/20150829140403.GA47273%40MacBook-Air.local. >>For more options, visit https://groups.google.com/d/optout. > >-- >You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. >To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/20150829142113.GA47586%40MacBook-Air.local. >For more options, visit https://groups.google.com/d/optout.