Thanks for this! Yes, it would be ideal if the LaTeX writer could add this information by default. Using an environment called `thebibliography` is most common; see for the syntax. On Monday, August 31, 2015 at 5:28:43 AM UTC-4, nickba...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > > For clarity: the hanging indent filter above inserts `\item` in front of > every entry, and requires the definition of a `references` environment in > a template: > > ~~~ > \newenvironment{references} {\list{}{% hanging indent, > src/myfilters/addRefEnvItem.hs > \leftmargin1.5em% > \itemindent-\leftmargin% > \itemsep0.5ex% > \parsep0pt% > }} > {\endlist} > ~~~ > > I wonder whether the latex writer itself shouldn’t insert such a > `references` environment by default. Hanging indent is required by many > styles anyway but could be redefined as necessary. > > Even better, pandoc(-citeproc) could parse the CSL `hanging` and > `second-field-align` flags, and inject appropriate formatting instructions > into the `references` environment. > -- 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/cf0e31df-abc1-41c9-a947-b13066f11da2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.