From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/13541 Path: news.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Specifying location of bibliography in document Date: Sun, 30 Aug 2015 22:54:19 -0700 Message-ID: <20150831055419.GC60048@MacBook-Air.local> References: <20150829140403.GA47273@MacBook-Air.local> <20150829142113.GA47586@MacBook-Air.local> <20150829154527.GA49705@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 1441000481 1704 80.91.229.3 (31 Aug 2015 05:54:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Aug 2015 05:54:41 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBGGYR6XQKGQE3WU2QYI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Aug 31 07:54:33 2015 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f190.google.com ([209.85.223.190]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZWI37-0006G2-1w for gtp-pandoc-discuss@m.gmane.org; Mon, 31 Aug 2015 07:54:33 +0200 Original-Received: by ioeu67 with SMTP id u67sf1456445ioe.0 for ; Sun, 30 Aug 2015 22:54:32 -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=H/nzo6yhrwlhUPpKV8HgpX1pJf4dJyjoHdNfWH7oc14=; b=Pc2Fkdto0k5bVaZyXx85MLe4N0ZpcpSNu77fUD4LGEQaT16QSdTI4FTqmgsQ4twib6 oGPRJnQoXrCi3eC076OJ1JL6agdC1Me9j8gPEV1J6pyYOzH/CQrYAQ9SXv9K8ESaMPmj WSVxRch0zqoW+wseamJi/W2+KQuUUqFZhLu9PfKfwpisO4Rzj7jv2A5WDsfyVRxjh+1c ir3J5rC3IhiPjaQpVU1pI9lcDVSiOXTN0uEi9dmgFbleVYOR9rJDXPM4SexEwR/fneW4 Rg8ZGpD6x7IOoiO/bPOwb1F/XCtX6wkKjs1lIuvq9aVTXL5TJnda36h6jrkMLwu2pd5+ 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=H/nzo6yhrwlhUPpKV8HgpX1pJf4dJyjoHdNfWH7oc14=; b=Sh+jYU2GwhNu+YaLyfGm1Il7lAyElAK88E/BeEiBNhEolVpg3au9MvzacfOCblDwTf udt/HLgiSraSl+lKjGFS39wX6dcw2tEBYxwKa3rkoXhWnSvRWRo9rnWV11jyai8FmN+p 2t7qnCFJfCWV/sy6xgzV0Bstd9VxbnnNdzoMTS5xcxmAfnXqIVkfH7yUoBTK/p4wPHjV BROgU0tkJ+nW4V3As7WQ68YzIPtJtcBz/Ab9Mp7xl0ejBZlx+5pqc3vA6QECmLGcvfUK PKvUswFhULXzwElUhFB0fWbaehxfGLGoD1NnEEGM5GYk4+ X-Received: by 10.182.163.1 with SMTP id ye1mr300213obb.32.1441000472757; Sun, 30 Aug 2015 22:54:32 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.182.27.39 with SMTP id q7ls2969999obg.28.gmail; Sun, 30 Aug 2015 22:54:32 -0700 (PDT) X-Received: by 10.129.103.130 with SMTP id b124mr23952671ywc.8.1441000472321; Sun, 30 Aug 2015 22:54:32 -0700 (PDT) Original-Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com. [209.85.220.51]) by gmr-mx.google.com with ESMTPS id fy14si2097666pdb.2.2015.08.30.22.54.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Aug 2015 22:54:32 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 209.85.220.51 as permitted sender) client-ip=209.85.220.51; Original-Received: by padhy3 with SMTP id hy3so22964807pad.0 for ; Sun, 30 Aug 2015 22:54:32 -0700 (PDT) X-Gm-Message-State: ALoCoQmwAV9lOtyNV8izr8jlyy4LsoA4ueuuE5GB0t7YBgvXWvvpfrd+4KusqpfQ8sjBPlutdQGx X-Received: by 10.66.148.71 with SMTP id tq7mr41611937pab.0.1441000472120; Sun, 30 Aug 2015 22:54:32 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id ll8sm13202695pab.39.2015.08.30.22.54.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Aug 2015 22:54:30 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 1B1A6A65A; Mon, 31 Aug 2015 01:54:20 -0400 (EDT) Content-Disposition: inline In-Reply-To: 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.51 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:13541 Archived-At: +++ Andrew Dunning [Aug 30 15 13:06 ]: > Will this also allow for the insertion of extra markup through a > template? (For instance, a LaTeX class I am using wants the > bibliography to be surrounded > by \begin{thebibliography}...\end{thebibliography}, and it would be > fantastic to be able to achieve that.) The bibliography was never part of a template and still isn't. It is inserted directly into the document body. There are various ways to achieve what you want. One is write a simple filter that can run after pandoc-citeproc. It would intercept a Div with id = references, and add the needed raw latex commands to the beginning and end of its contents.