From the manpage of pandoc-citeproc, it adds a Div with id "refs":

https://github.com/jgm/pandoc-citeproc/blob/master/man/pandoc-citeproc.1.md#filter-mode

So you could run another filter right after pandoc-citeproc, and use it to add the latex content you need right before and after the Div (i.e. \begin{..} )

On Thursday, January 5, 2017 at 2:58:17 AM UTC-5, Scot Mcphee wrote:


On 04 Jan 2017, at 02:26 , John MacFarlane <j...-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> wrote:

+++ Scot Mcphee [Jan 03 17 21:37 ]:
 On 03 Jan 2017, at 20:12 , John MacFarlane <[1]j...-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> wrote:

 +++ Scot Mcphee [Jan 03 17 14:35 ]:

    One thing I have found is that the CSL format is better at
   producing
    certain types of citations/bibliography than the formats available
   in
    “pure” biblatex format. I would love pandoc to be able to produce a
    latex file that contains the already formatted citations and
    bibliography (according to the CSL style specified).

 It can!
 pandoc --csl mystyle.csl --bibliography mybib.bib \
 -s -S input.txt -o output.tex

 Ah ha! Thanks John, I will put that into action immediately!
 It’s the simple omission of the --biblatex switch that does this, yes?

Right, --biblatex and --natbib cause pandoc to emit native
biblatex or natbib citation commands.  Without these,
pandoc-citeproc is used to process citations using the
CSL stylesheet.

Is there any way to automatically enclose the generated bibliography in an environment name?


--
Scot Mcphee
Computer Programmer, Classics PhD.
p +61 412 957414
scot....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
w http://autonomous.org/
t @scotartt


--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/f5b00512-7ef2-4480-a4ea-bdbb761805a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.