From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30702 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tina Su Newsgroups: gmane.text.pandoc Subject: Re: pandoc citation problem Date: Tue, 7 Jun 2022 03:43:14 -0700 (PDT) Message-ID: <1e5e4f58-0350-4b18-b310-eafe491d6e56n@googlegroups.com> References: <5a7614fb-9721-417e-bd54-48552ab4cac9n@googlegroups.com> <4ec832d4d4014c428d3675fca0bd87df@unibe.ch> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_6536_854497723.1654598594056" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14219"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDM3ZYNMXIOBBQ6X7SKAMGQE2DBQ6AQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jun 07 12:43:20 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f186.google.com ([209.85.167.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nyWgA-0003Uo-KJ for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 07 Jun 2022 12:43:18 +0200 Original-Received: by mail-oi1-f186.google.com with SMTP id bo43-20020a05680822ab00b0032b4274054dsf10143930oib.9 for ; Tue, 07 Jun 2022 03:43:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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=q7zr2MPKMa/eoS3o0kU2OdcVsPptt9XNY01rgqY+emk=; b=YGKUe8RgJwLn0ymAv3N7ndW+9VW4hfJDhy8xn0gJOJWawK+0NTm7/PvdD1hk4uDvHQ VInnM3UzwoiU3Ppsgx1DBPBm0GTg8PujhiIsCdZEyp5bsDiNWSKrku2HJuetmy9ILVQE ubsqajE/zn6cYLCbgPA2NVMrI5ruQdDqEULxsCOgyEkUTqae+qyqN/58WxfSxLyb/vpI JwV+UuB0oQJl7PUhb3/KYPEtMw/x9MyNRBLMoBO6+hJInTk3pSV1xrat6ul0baMUONgV aSpfXi5ceBaC3GAy5AKXQ1dFr/2+p6d69tObg4bP4Ab1Lt2M/xBQLGODVwIrjJmZdDOB xjVw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=q7zr2MPKMa/eoS3o0kU2OdcVsPptt9XNY01rgqY+emk=; b=FSZpma1LPbnbdEIego2J7C2zX3rWk7D5ehOBf1+DvWB9kb3XbU/ZgPlY4AY23j8ea/ p7Lfz4jVIGGUWlt+Zk+6TRZyDqvENtW5v/alQ4a65Xgj9IZ7GVpXL+pNdCOMZODMAaQt pcCCyP4CzwQyz5n2e66zcC4Xhwrtr+bUUXC3FGgvQd627CoW5rLfCzYd+d6R05+REzsD 0lSmM5LQTmQ3r2JfZGKw7hTnXJrlzRrIDOzPrYj3KHjV18xiTpRPgt0XIAD7HHDASHvq DWZLYtybmKHP0sgM2S7XGU39vql6NalGPmn6PpkQDBoRG2+jjxrNHPnpaglqDzGGz8RM yhfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=q7zr2MPKMa/eoS3o0kU2OdcVsPptt9XNY01rgqY+emk=; b=kXHqk0kqfSdnOo+1+EKFwFb4LhdLhcdmLLYMgGNI43/TqyF9LYiOzaLt6fOzPMi1w0 4RGpBg+xtRrPlUVjQCrjfnbPe2VJseHSEjqXgbPRKsdlN+k30V1T5oYYKTshuURxZU8r 9XGZ0LCWLo0HcVg+1LwMS/afIhyy3GfOfJtA+zDcubO0uN5A4r3G8fzVbGhBfA71C8jM XWGM+xWRR9K8U6GM8xbcxpRpyT4uRBaR0fihLis/m2Lnd7FrhgODKUt28VQhIQklNZJz v08nQktcCbnOTzaH+NVvNO/spDyeSad70De/fG8S2HwcP036XvUDWRYzioLGyYSZFifI 712A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530Yd7HhdtKNB2MIUStijQRmC+psC1IQy0WL4GUmAbCRBu1s3q8m sNXyzpfuIyjlFlfuwlE9jgc= X-Google-Smtp-Source: ABdhPJziQP6VyJxbY2PL7wcezEr+Ib3E196/aEKx6kEL/T/NMsVSslR+yPDJiwovLKbqeLpH8s001Q== X-Received: by 2002:a05:6870:600d:b0:f2:6c00:4878 with SMTP id t13-20020a056870600d00b000f26c004878mr34193714oaa.249.1654598597430; Tue, 07 Jun 2022 03:43:17 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:a9a4:b0:f2:dc5c:8024 with SMTP id ep36-20020a056870a9a400b000f2dc5c8024ls4798960oab.0.gmail; Tue, 07 Jun 2022 03:43:15 -0700 (PDT) X-Received: by 2002:a05:6870:e612:b0:f2:91f3:9c07 with SMTP id q18-20020a056870e61200b000f291f39c07mr16442405oag.203.1654598594911; Tue, 07 Jun 2022 03:43:14 -0700 (PDT) In-Reply-To: <4ec832d4d4014c428d3675fca0bd87df-NSENcxR/0n0@public.gmane.org> X-Original-Sender: yisuoyanyu.su-Re5JQEeQqe8AvxtiuMwx3w@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-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:30702 Archived-At: ------=_Part_6536_854497723.1654598594056 Content-Type: multipart/alternative; boundary="----=_Part_6537_1146531730.1654598594056" ------=_Part_6537_1146531730.1654598594056 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable That really fixes it, thanks!!! I think it's correct that include initials in the in-text citations, which= =20 is also encouraged by APA. But unfortunately, my supervisor doesn't think= =20 so...=20 =E5=9C=A82022=E5=B9=B46=E6=9C=887=E6=97=A5=E6=98=9F=E6=9C=9F=E4=BA=8C UTC+8= 18:17:29 =E5=86=99=E9=81=93=EF=BC=9A > Line 1847, change=20 > givenname-disambiguation-rule=3D"primary-name-with-initials" to=20 > givenname-disambiguation-rule=3D"per-cite". But I=E2=80=99m pretty sure t= hat=E2=80=99s on=20 > purpose. > > > Best, > > Denis > > =20 > > =20 > > *Von:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org *Im=20 > Auftrag von *Tina Su > *Gesendet:* Dienstag, 7. Juni 2022 12:12 > *An:* pandoc-discuss > *Betreff:* pandoc citation problem > > =20 > > Hi, > > I have two references which same publication year and the authors have=20 > same last name: > > Zhao, K. (2015). The motivation behind China=E2=80=99s public diplomacy. = The=20 > Chinese Journal of. > > Zhao, Q., & Lei, W. (2015). Blue book of public diplomacy=E2=80=94Annual = report of=20 > China=E2=80=99s public diplomacy development (2015). Social Sciences Acad= emic Press. > > so my citation would be: > > [@zhao2015] > [@zhao2015a] > > With I turn .md into .docx, it covert to > > (Q. Zhao & Lei, 2015) > (K. Zhao, 2015) > > However, in a APA style, it should be > > (Zhao & Lei, 2015) > (Zhao, 2015) > > Is there any way to fix it? > > I use this command: > > pandoc --citeproc \ > --csl 'apa.csl' \ > --bibliography 'zotero.bib' \ > --filter pandoc-comments \ > -M reference-section-title=3D'References' \ > -N \ > --reference-doc 'custom-reference.docx' 'xx.md' -o 'xx.docx' > > The attached is my .bib and .csl documents: > > Thanks a lot! > > --=20 > You received this message because you are subscribed to the Google Groups= =20 > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an= =20 > email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/5a7614fb-9721-417e-bd54-= 48552ab4cac9n%40googlegroups.com=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 view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/1e5e4f58-0350-4b18-b310-eafe491d6e56n%40googlegroups.com. ------=_Part_6537_1146531730.1654598594056 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable That really fixes it, thanks!!!

I think it's correct that include in= itials in the in-text citations, which is also encouraged by APA. But unfor= tunately, my supervisor doesn't think so... 

=E5=9C=A82022=E5=B9=B46=E6= =9C=887=E6=97=A5=E6=98=9F=E6=9C=9F=E4=BA=8C UTC+8 18:17:29<denis...@unib= e.ch> =E5=86=99=E9=81=93=EF=BC=9A

Line 1847, change givenname-dis= ambiguation-rule=3D"primary-name-with-initials" to givenname-disa= mbiguation-rule=3D"per-cite". But I=E2=80=99m pretty sure that=E2= =80=99s on purpose.


Best,

Denis

=C2=A0

=C2=A0

Von: pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...@googlegroups.c= om> Im Auftrag von Tina Su
Gesendet: Dienstag, 7. Juni 2022 12:12
An: pandoc-discuss <pa= ndoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Betreff: pandoc citation problem

=C2=A0

Hi,

I have two references which same publication year and the authors have s= ame last name:

Zhao, K. (2015). The motivation behind China= =E2=80=99s public diplomacy. The Chinese Journal of.

Zhao, Q., & Lei, W. (2015). Blue book of = public diplomacy=E2=80=94Annual report of China=E2=80=99s public diplomacy = development (2015). Social Sciences Academic Press.

so my citation would be:

[@zhao2015]
[@zhao2015a]

With I turn .md into .docx, it covert to

(Q. Zhao & Lei, 2015)
(K. Zhao, 2015)

However, in a APA style, it should be

(Zhao & Lei, 2015)
(Zhao, 2015)

Is there any way to fix it?

I use this command:

pandoc --citeproc \
--csl 'apa.csl' \
--bibliography 'zotero.bib' \
--filter pandoc-comments \
-M reference-section-title=3D'References' \
-N \
--reference-doc 'custom-reference.docx' 'xx.md' -o 'xx.= docx'

The attached is my .bib and .csl documents:

Thanks a lot!

--
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 pandoc-discus...-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.org= m.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/5a7614fb-9721-417e-bd54-48= 552ab4cac9n%40googlegroups.com.

--
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 view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/1e5e4f58-0350-4b18-b310-eafe491d6e56n%40googlegroups.= com.
------=_Part_6537_1146531730.1654598594056-- ------=_Part_6536_854497723.1654598594056--