From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/19192 Path: news.gmane.org!.POSTED!not-for-mail From: thomas.hodgson-6DaNJ7gwbyQ@public.gmane.org Newsgroups: gmane.text.pandoc Subject: Re: Citation rendering Date: Tue, 9 Jan 2018 11:18:20 -0800 (PST) Message-ID: <889c2b44-32b8-4761-a381-0a6848862ffc@googlegroups.com> References: <2af417dc-b805-4e43-9b9c-d1c7db5deab4@googlegroups.com> <20180109175359.GC43599@Johns-MacBook-Pro.local> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_8831_555007703.1515525500505" X-Trace: blaine.gmane.org 1515525389 12799 195.159.176.226 (9 Jan 2018 19:16:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 9 Jan 2018 19:16:29 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDD35CXWZMJRB7NK2TJAKGQE6S5467Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jan 09 20:16:25 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot0-f192.google.com ([74.125.82.192]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eYzNi-0002Zi-9W for gtp-pandoc-discuss@m.gmane.org; Tue, 09 Jan 2018 20:16:18 +0100 Original-Received: by mail-ot0-f192.google.com with SMTP id s3sf7828557otd.16 for ; Tue, 09 Jan 2018 11:18:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=bvXCLh+pdRVDrMs6ZMH5UtkFbrNhT1yIXf29FlyC5v8=; b=QNft9LwUllTyueO1WPpKDn4G3DhuYpJQQamUgQUrA6iGB6atW/FjRtzL0DgkC1PNWY hXiGe3hLGBz7xnPrY6XKLm5jUsNEnOrJ9PoBHFAo7Dh1/2/tAm22JeOblEd9AEzdKDM/ H9Az3/mMQ0uoCvApez1c3nV4110UxRq/6xcXnV38HAW9i/s1gYNMvq+UuLzQRWHLmvCe HB18iwmquDYD0B1mAYsog+tWU2enzHGaZLUZINzD3aFojcqkAUCnOqEFlIMAY1Uocg98 qmM7+WD3rDoCCDaOv5KDCl92vXJYgZGtP+mhFkVS2ciz800nuB1WwhBVhYeRBWUcvLPB HCfw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucd-ie.20150623.gappssmtp.com; s=20150623; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=bvXCLh+pdRVDrMs6ZMH5UtkFbrNhT1yIXf29FlyC5v8=; b=bpxSZkS/AMyO4WBpDzpU9QgDz1vtq3X1QlFSZmThnjceRHauHLY3OEgxMFP3gXBthj mziMNSp+qYQNwssOers4dVzwbL+xfqvyo5aYEpbntVuJs4llXv1t3pWB2YQdLLIHMXtJ uWxs60WdfQ1ZVMBtaOJDk1mym2Yh3rtWR/l9fKHcGcfamB5ggx9iNOxgThZV+j5jdzds +JbekPaNuV4//ar/Xv67m1+/t3TUuzOpvBB+KQN12pfgHNWbs2qczXZTQANLxNC7w6rP O6fRh86Pn75Y6MsJxn5RAzCPgqFMqikwoaGADOa1F5QixBt1iVqiA7jUrDvBX0hYmmol dwNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=bvXCLh+pdRVDrMs6ZMH5UtkFbrNhT1yIXf29FlyC5v8=; b=HwYWFAUwZWiNcNyysrQpTtcUqzpTM8zeEezyo7ZHAHsMjx7qb0aml8mycpKp3BlNmF XOCCWgfqBFlG3ETIN8oeqFqaxlaGgk2iSXEVm+Wug+mT2AOd5JDwspI47RFB8yV0+wIG +Fgu1oV1cU3BrdYr6O8qxT4qrhg5bsU1PfyWpWA356PNHmA5YqE6EwtAy9S2DBBQr5jT XR5nmLvzJkgwPJWg1N7YTzu4PoS0cl9mhGdgH7g4O7VizPWejys9OXw1dKfeh38Jd6sS eiwE2ZjYoKa/nlvcdZ+burMYTPoKIvfLmZgyL2AUOR3sFjsSHUlyxNjp6QTXaNUPNgTb bgZA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AKwxytdtEi8mxyKjKtXQL4y0wFb97Mc+7JhNoTW9cTRgpVwqVy265mSm eF7tSpYGn7yv/VtJ+3kk6wU= X-Google-Smtp-Source: ACJfBosRDJV2siUgZie4ZJUP2X8YJvUyPJcAYcsMZyJde+U1Zmsppn/B/H+qmSHyogcvtn/GWykQCQ== X-Received: by 10.157.89.24 with SMTP id t24mr81592oth.12.1515525501798; Tue, 09 Jan 2018 11:18:21 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.29.36 with SMTP id m33ls1229399otm.12.gmail; Tue, 09 Jan 2018 11:18:21 -0800 (PST) X-Received: by 10.157.88.134 with SMTP id x6mr760797otg.4.1515525500979; Tue, 09 Jan 2018 11:18:20 -0800 (PST) In-Reply-To: <20180109175359.GC43599-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org> X-Original-Sender: thomas.hodgson-6DaNJ7gwbyQ@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:19192 Archived-At: ------=_Part_8831_555007703.1515525500505 Content-Type: multipart/alternative; boundary="----=_Part_8832_1955226631.1515525500506" ------=_Part_8832_1955226631.1515525500506 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It turns out that it only happens in footnotes. Sorry about that. Command: pandoc --bibliography=3Dfoo.bib foo.md Foo.md: ``` [@Chomsky2002; @Chomsky2015] Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod=20 tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim=20 veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea=20 commodo consequat. Duis aute irure dolor in reprehenderit in voluptate=20 velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat= =20 cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id= =20 est laborum.^[[@Chomsky2002; @Chomsky2015]] ``` Foo.bib: ``` @book{Chomsky2015, location =3D {{Cambridge, MA}}, edition =3D {50th Anniversary Edition}, title =3D {Aspects of the Theory of Syntax}, publisher =3D {{MIT Press}}, date =3D {2015}, author =3D {Chomsky, Noam} } @book{Chomsky2002, location =3D {{Berlin}}, edition =3D {2}, title =3D {Syntactic Structures}, publisher =3D {{Mouton De Gruyter}}, date =3D {2002}, author =3D {Chomsky, Noam} } ``` Output: ```

(Chomsky= =20 2002, 2015)

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod= =20 tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim=20 veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea=20 commodo consequat. Duis aute irure dolor in reprehenderit in voluptate=20 velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat= =20 cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id= =20 est laborum.1

Chomsky, Noam. 2002. Syntactic Structures. 2nd ed. Berlin:=20 Mouton De Gruyter. https://doi.org/10.1515/9783110218329.

=E2=80=94=E2=80=94=E2=80=94. 2015. Aspects of the Theory of Syntax. 50th Anniversary=20 Edition. Cambridge, MA: MIT Press.


  1. [Chom= sky=20 (2002); Chomsky= =20 (2015)]=E2=86=A9

    =
``` On Tuesday, 9 January 2018 17:54:14 UTC, John MacFarlane wrote: > > I'm not able to reproduce this. Can you give an exact=20 > example, with input and command line, that gives you this=20 > result?=20 > > +++ thomas....-6DaNJ7gwbyQ@public.gmane.org [Jan 09 18 08:46 ]:=20 > > I'm doing `pandoc --bibliography=3Dfoo.bib -o foo.pdf foo.md` with th= e=20 > > .deb for 2.1. When I have references that look like `[@smith04;=20 > > @doe99]` I get references like '[Smith (2004); Doe (1999)]'. It looks= =20 > > like I'm getting inline citations inside brackets, not bracketed=20 > > citations.=20 > > Has something changed in pandoc, pandoc-citeproc, or the embedded CSL= ?=20 > > (I can't see anything relevant in recent commits but I could well be= =20 > > missing something.)=20 > >=20 > > --=20 > > You received this message because you are subscribed to the Google=20 > > Groups "pandoc-discuss" group.=20 > > To unsubscribe from this group and stop receiving emails from it, sen= d=20 > > an email to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org .=20 > > To post to this group, send email to=20 > > [2]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org .=20 > > To view this discussion on the web visit=20 > > [3] > https://groups.google.com/d/msgid/pandoc-discuss/2af417dc-b805-4e43-=20 > > 9b9c-d1c7db5deab4%40googlegroups.com.=20 > > For more options, visit [4]https://groups.google.com/d/optout.=20 > >=20 > >References=20 > >=20 > > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org = =20 > > 2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org =20 > > 3.=20 > https://groups.google.com/d/msgid/pandoc-discuss/2af417dc-b805-4e43-9b9c-= d1c7db5deab4-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=3Demail&utm_source=3Dfooter=20 > > 4. https://groups.google.com/d/optout=20 > > --=20 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 e= mail 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/889c2b44-32b8-4761-a381-0a6848862ffc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_8832_1955226631.1515525500506 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It turns out that it only happens in footnotes. Sorry abou= t that.

Command: pandoc --bibliography=3Dfoo.bib foo.md

Foo.m= d:

```
[@Chomsky2002; @Chomsky2015]

Lorem ipsum dolor sit = amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labo= re et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitati= on ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure= dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nul= la pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa = qui officia deserunt mollit anim id est laborum.^[[@Chomsky2002; @Chomsky20= 15]]
```

Foo.bib:

```
@book{Chomsky2015,
=C2=A0 loca= tion =3D {{Cambridge, MA}},
=C2=A0 edition =3D {50th Anniversary Edition= },
=C2=A0 title =3D {Aspects of the Theory of Syntax},
=C2=A0 publish= er =3D {{MIT Press}},
=C2=A0 date =3D {2015},
=C2=A0 author =3D {Chom= sky, Noam}
}

@book{Chomsky2002,
=C2=A0 location =3D {{Berlin}}= ,
=C2=A0 edition =3D {2},
=C2=A0 title =3D {Syntactic Structures},=C2=A0 publisher =3D {{Mouton De Gruyter}},
=C2=A0 date =3D {2002},
= =C2=A0 author =3D {Chomsky, Noam}
}
```

Output:
```
<= p><span class=3D"citation" data-cites=3D"Chomsky2002 C= homsky2015">(Chomsky 2002, 2015)</span></p>
<p>= ;Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod te= mpor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, = quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo con= sequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cill= um dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non p= roident, sunt in culpa qui officia deserunt mollit anim id est laborum.<= a href=3D"#fn1" class=3D"footnote-ref" id=3D"fnref= 1"><sup>1</sup></a></p>
<div id=3D&qu= ot;refs" class=3D"references">
<div id=3D"ref-= Chomsky2002">
<p>Chomsky, Noam. 2002. <em>Syntactic = Structures</em>. 2nd ed. Berlin: Mouton De Gruyter. <a href=3D&quo= t;https://doi.org/10.1515/9783110218329" class=3D"uri">ht= tps://doi.org/10.1515/9783110218329</a>.</p>
</div><div id=3D"ref-Chomsky2015">
<p>=E2=80=94=E2=80= =94=E2=80=94. 2015. <em>Aspects of the Theory of Syntax</em>. 5= 0th Anniversary Edition. Cambridge, MA: MIT Press.</p>
</div>= ;
</div>
<section class=3D"footnotes">
<h= r />
<ol>
<li id=3D"fn1"><p>[<span = class=3D"citation" data-cites=3D"Chomsky2002">Chomsk= y (2002)</span>; <span class=3D"citation" data-cites=3D&= quot;Chomsky2015">Chomsky (2015)</span>]<a href=3D"#f= nref1" class=3D"footnote-back">=E2=86=A9</a></p&= gt;</li>
</ol>
</section>
```

On Tuesday,= 9 January 2018 17:54:14 UTC, John MacFarlane wrote:
I'm not able to reproduce this. =C2=A0Can you gi= ve an exact
example, with input and command line, that gives you this
result?

+++ thomas....-6DaNJ7gwbyQ@public.gmane.org [Jan 09 18 08:46 ]:
> =C2=A0 I'm doing `pandoc --bibliography=3Dfoo.bib -o foo.pdf <= a href=3D"http://foo.md" target=3D"_blank" rel=3D"nofollow" onmousedown=3D"= this.href=3D'http://www.google.com/url?q\x3dhttp%3A%2F%2Ffoo.md\x26sa\x= 3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH8JMTHeDHsSUT4G3TijLZJFunusA';return t= rue;" onclick=3D"this.href=3D'http://www.google.com/url?q\x3dhttp%3A%2F= %2Ffoo.md\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH8JMTHeDHsSUT4G3TijLZJFun= usA';return true;">foo.md` with the
> =C2=A0 .deb for 2.1. When I have references that look like =C2=A0`= [@smith04;
> =C2=A0 @doe99]` I get references like '[Smith (2004); Doe (199= 9)]'. It looks
> =C2=A0 like I'm getting inline citations inside brackets, not = bracketed
> =C2=A0 citations.
> =C2=A0 Has something changed in pandoc, pandoc-citeproc, or the em= bedded CSL?
> =C2=A0 (I can't see anything relevant in recent commits but I = could well be
> =C2=A0 missing something.)
>
> =C2=A0 --
> =C2=A0 You received this message because you are subscribed to the= Google
> =C2=A0 Groups "pandoc-discuss" group.
> =C2=A0 To unsubscribe from this group and stop receiving emails fr= om it, send
> =C2=A0 an email to [1]pandoc-discus...@googlegroups.com.
> =C2=A0 To post to this group, send email to
> =C2=A0 [2]pandoc-...@googlegroups.com.
> =C2=A0 To view this discussion on the web visit
> =C2=A0 [3]http= s://groups.google.com/d/msgid/pandoc-discuss/2af417dc-b805-4e43-<= /a>
> =C2=A0 9b9c-d1c7db5deab4%
40googlegroups.com.
> =C2=A0 For more options, visit [4]https:= //groups.google.com/d/optout.
>
>References
>
> =C2=A0 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> =C2=A0 2. mailto:pandoc-...@googlegroups.com
> =C2=A0 3. https://groups.google.com/d/msgid/pandoc-discuss/2af417dc-b= 805-4e43-9b9c-d1c7db5deab4@googlegroups.com?utm_medium=3Demail&am= p;utm_source=3Dfooter
> =C2=A0 4. https://groups.google.com/d/optout

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-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/889c2b44-32b8-4761-a381-0a6848862ffc%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_8832_1955226631.1515525500506-- ------=_Part_8831_555007703.1515525500505--