From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/13534 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 07:21:13 -0700 Message-ID: <20150829142113.GA47586@MacBook-Air.local> References: <20150829140403.GA47273@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 1440858101 7306 80.91.229.3 (29 Aug 2015 14:21:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Aug 2015 14:21:41 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBZX7Q2XQKGQERAI4DLA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Aug 29 16:21:28 2015 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qk0-f191.google.com ([209.85.220.191]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZVh0Z-0005E1-M1 for gtp-pandoc-discuss@m.gmane.org; Sat, 29 Aug 2015 16:21:27 +0200 Original-Received: by qkfn3 with SMTP id n3sf19885382qkf.0 for ; Sat, 29 Aug 2015 07:21:27 -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=6HKmhE+iso3kAW+RtCkTHtWSj5MughNEzH6QBgeacs4=; b=jbsh7TUTc2FAJwj+LULruZdWQCL8hjsQmTs50DAyY40Ul96wg+5ihF6xYJponVRNT+ JvRmou9pEMGrjaQjPIB/Al/iFCkLV7vGP2sII8G7OOgwj5FHt/sByaEzN6dRFwOWiZXI D8KuuhnxodIPcmuzs3ILm4Cw1d9+kamsatSD8zr3XrL4xSff1P/HTLe93XC5o0YeyzT0 YUzZQVI08GG6ZHGkcnxjY2DBn4xg5VQf6o5oJGKqINNkdcjtclrva4YA3DMXFdY6MAry qw5SspwCz3mCMUcka9SIOAlbDMbKTrHdSdJNbOYP+Z1AreKT9H8xB5Up9PifwTfeK6M1 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=6HKmhE+iso3kAW+RtCkTHtWSj5MughNEzH6QBgeacs4=; b=HlLF0QePLRp/etbRCIV92YPpOEdM823nuOy4TyTQ18KQp45xYCcyBzRnxOqS1xM24O O74HF1dJMZeaycolLp9cMQEdSvNcc+yFj3eYOUiX/w9yvsB4pMA+M0uVbKhUiYUryJNU NxyJK8PdtCTcjrD9BZPsuYXatf+qsQaNbyH2Nn6ElMb4Gt9Li0p2tWxmvXYwDyPD0G9q OO6eCvxNieN9MymZR797Wor3t8ubJdt0KxUDZESmaLQ1BIEI5FiPnXc6rj9Ei07xgPQc GI0FAdOLUGNdxc0e9R/3kt3gmOdeY5AJJhDeRIjXlAiNMA X-Received: by 10.50.79.193 with SMTP id l1mr130657igx.2.1440858086986; Sat, 29 Aug 2015 07:21:26 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.27.66 with SMTP id b63ls999570iob.5.gmail; Sat, 29 Aug 2015 07:21:26 -0700 (PDT) X-Received: by 10.107.170.212 with SMTP id g81mr20317147ioj.19.1440858086642; Sat, 29 Aug 2015 07:21:26 -0700 (PDT) Original-Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com. [209.85.220.42]) by gmr-mx.google.com with ESMTPS id ys2si1397151pac.0.2015.08.29.07.21.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Aug 2015 07:21:26 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 209.85.220.42 as permitted sender) client-ip=209.85.220.42; Original-Received: by pacgr6 with SMTP id gr6so5115317pac.0 for ; Sat, 29 Aug 2015 07:21:26 -0700 (PDT) X-Gm-Message-State: ALoCoQkENqDgFg0t9l2VY04G4pc4iWrUpnN5bHLQdItISPaUp8emc61jtaB5UR+xBvYy5Wd8W5ye X-Received: by 10.66.217.138 with SMTP id oy10mr23755832pac.83.1440858086428; Sat, 29 Aug 2015 07:21:26 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id uh10sm6142745pab.41.2015.08.29.07.21.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Aug 2015 07:21:23 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id EED7AA65A; Sat, 29 Aug 2015 10:21:12 -0400 (EDT) Content-Disposition: inline In-Reply-To: <20150829140403.GA47273-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.42 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:13534 Archived-At: 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.