7 Dec 2010 18:27
Re: Re: textual citation
On Thu, Dec 02, 2010 at 10:09:48PM -0800, John MacFarlane wrote: > I found another odd case with the mhra style. > > pandoc --biblio tests/biblio.bib --csl tests/mhra.csl -t markdown > <at> item3 says... > ^D > John Doe and Jenny Roeed by Sam Smith[^1] says... > > Doe, John, and Jenny Roe, ‘Why Water Is Wet’, in *Third Book*, ed > by Sam Smith (Oxford: Oxford University Press, 2007). > > [^1]: > ‘Why Water Is Wet’, in *Third Book*, (Oxford: Oxford University > Press, 2007). > > The odd part is: "JohnDoe and Jenny Roeed by Sam Smith[^1]" > Presumably "ed by Sam Smith" should not be there... I fixed this. The fix was a bit troublesome, though: now suppress-author and author-in-text will work only with actual authors and not with editors and/or translator. A different approach would be to check if there is an author and, if not, fall back to editors or translators. The problem is that with this approach the result could be unpredictable. Andrea -- -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To post to this group, send email to pandoc-discuss@... To unsubscribe from this group, send email to pandoc-discuss+unsubscribe <at> googlegroups.com. For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en.
RSS Feed