From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30701 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.text.pandoc Subject: AW: pandoc citation problem Date: Tue, 7 Jun 2022 10:17:21 +0000 Message-ID: <4ec832d4d4014c428d3675fca0bd87df@unibe.ch> References: <5a7614fb-9721-417e-bd54-48552ab4cac9n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_4ec832d4d4014c428d3675fca0bd87dfunibech_" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16758"; mail-complaints-to="usenet@ciao.gmane.io" Cc: To: Original-X-From: pandoc-discuss+bncBCZ27W53TUFBBNOL7SKAMGQEA5EGCHQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jun 07 12:17:31 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f186.google.com ([209.85.208.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nyWHC-00049U-3V for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 07 Jun 2022 12:17:30 +0200 Original-Received: by mail-lj1-f186.google.com with SMTP id g3-20020a2e9cc3000000b00253cc2b5ab5sf2885874ljj.19 for ; Tue, 07 Jun 2022 03:17:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1654597049; cv=pass; d=google.com; s=arc-20160816; b=zg+1nTqx+/IeoLwYeJ1RAU+J2P1TpMDtHLcJxTELyZLdAIlDWRJ6IlzQAGtjsoqAt3 ti9pnxjV5qPAT5ATdWGRCmM7MjIH8xp+mtNaoXggIzk7J4SONu9c77ruTiwpcNMcmsoc iqr4CiXZMhUd1sXO5M4vCrWEKQBCeWaKb18CwHIPBm8zVFUSoMQtk87IuoyOyHfO6ABK rfWQD5VBxWlSyqLCB00cOaPTli8RcVTaNQz8NqWFVDpsPZnLtI5oOoHtuG9ao2Wj7dhX Z7gaIKC18wdbw+1LAcep54xohQ18ejoBJQW1ln7oMejvYTYEdWJfLlpnPiA9fvpn3LFE GvEQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:sender :dkim-signature; bh=kX6rStYCksH12cQV4hs9GL+tELp+ToQ50bY+SIaiHbI=; b=QbSqeCh/vdBpcv0ulGMKvb1xuov+h8vwedfDRmRVExakMxpCOsNevxN6EGZNR833Rb pLdHfCz3HI0lth/tlbKlACbej4d4BIWSJP/57SfmlzuHWcS2+v45WNUGgjjrmP5Z0nGC hCbHOo37ZiGYZrfhxw6gcTokEy6GnjLb3V3CG2N0m2ruGsp1bB5KlMUReIjf7SqSw2Gv Da/8EbDYmcT3eLX9NV3w7O3KH9xwqpjOmpjXQmW/IU5CodWRC4K7QvrsJ7MZWBywaCb2 Gsgu/0s8YjrD1lyn7ijilT90xjWZ2Ce2jZgmb+y/pBcbQ6oYPbaRqxMHJo88kVxk79Be psvQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.83 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:cc:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:accept-language:content-language :mime-version:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=kX6rStYCksH12cQV4hs9GL+tELp+ToQ50bY+SIaiHbI=; b=bZN2eNHmTYtW0zv7iGfPiqeAwBWPhrrlCd5wPvijLsq9j8nxorOO2OORXHo038UOM0 D7aL9+8PJNCqa7dZLr9swurkC9MleMmrdNFHwP3kwvt71lBL0aW6sxOEXVPuSDbqYQNT EiBInp7uPQP/lqfQDKYXwhyceRR6pK/5f1doUnQcjAt2i/2nXEz06giZlh4pPD10SrZh +GLLHxNwX1jbgCzxSDLgmw7xdGYZzWJsIzTptz+3DEmeZusI5P7FD1QQsecaG+oYI8BO d/lRJF7d3DRlv4RMjMNGa8lJ9ZB/ymOoLiZrerWCOC9ylYgnGmUYx7s2y8EgRpgugTPy SI5g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:cc:subject:thread-topic :thread-index:date:message-id:references:in-reply-to:accept-language :content-language:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=kX6rStYCksH12cQV4hs9GL+tELp+ToQ50bY+SIaiHbI=; b=kdI+mR3LPMxDKQRU8u+DAEa3fQDiloYkMqVKkJwghOXDTY8G8L40yiRM/1ZiO4XUZx bmDIl3adl/nGDXXRKROVil+bNRQaNUky6ObNYbpmTbWDmBvymm0tvRXlv5RvgMq3bQ9d Idji49SK7jzfpTH8iApsB/19T9+FJiJ4igbOEKHTK9OaxDGRI53ymyFT/x1YE/qr+dgS LHhk5/HUca6pjB/dMPLMR5do2QJkxe1JCCxEwTgg/A3BLbAtK1bNKpjE7JgxPg/P2aE8 Q5g01v9irj5pvpwJOf9kDFLNlwYt Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5323QmEzA5iD5T3kjozW0MzMGb/E8hhQQurxohO5ElEHBmlcT2SR C1bIbLiAKX5VRp8HnLL0PoM= X-Google-Smtp-Source: ABdhPJyXwg10BueoA8mlJcW5KPmIerM/wfKgi2USyxAN5GJF6F+/hFZrFr1OhmHWBvZNinM4nlzLXw== X-Received: by 2002:ac2:5201:0:b0:479:3923:9559 with SMTP id a1-20020ac25201000000b0047939239559mr7734405lfl.553.1654597049334; Tue, 07 Jun 2022 03:17:29 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:1693:b0:448:3742:2320 with SMTP id bu19-20020a056512169300b0044837422320ls2372709lfb.1.gmail; Tue, 07 Jun 2022 03:17:24 -0700 (PDT) X-Received: by 2002:ac2:54b9:0:b0:479:a29:c1ec with SMTP id w25-20020ac254b9000000b004790a29c1ecmr17564592lfk.358.1654597044067; Tue, 07 Jun 2022 03:17:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654597044; cv=none; d=google.com; s=arc-20160816; b=LxRyIpP/065QUopK/XBVEao+KhTqLeTCK+fCMv1K1SJCd5VCDpG4oWcfI/NiNbn7aV UxevHm+vXk7zOCcOUOaM8wGLyH4EnudkEyptSoCuW4lh1T/WPnHmnNOlpY0ZS2XgVVzp kriqWmcEagDTf6vsgKS2HaG//4xcqXROa8fKXulV08PNiAKWkGbiamQ83F0M16p1Cuqv mXM0I/CRtsAlN5omfQX+KwUk3BB1rk/Cq5TwyGKwHOd7XsSf4ch26dGEGigDA6g1NlgL qsUkB3L96bzdP4cUCTGErXIdY/xWHZD5DaVAZWIy1rSsmZFcFNPo1dbhHFoAqHHuinmr 2bhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from; bh=FLeensRJK9j8M7UhTbWUo87314cqne1XTQR9idnP7sQ=; b=iM5usu5M+/Vmh2nP8qRBAUc7xW8ALWuBFUfFDjIg4KRfNM9Z/xqoAtoM10/whIcC0a oiI+/3t396KDJWDVKEK7U0kVDFwQwBEq4y+XqWZU8rDeAv1pYKkdvyTvAwrkJFwMHpIY kqFlzSCw7SAhnMj43nfFcltx9BNnL5w0j+aWpLwIfgrF0MwxEIUBQzq1/HNSIBoGt8Up w86iZTgc8W6peALq97xZ/qXFGa5G2RYOoKqYleNyio73PBP2QQa4at+NTfXSg92UCpeC Iv6+2Qp7xcR/bbClN/tE3ONI7gVCpp5v6/cYjWhc+N/DJFcK6YpvZ+GA1vmE/pokfq70 aj4w== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.83 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch Original-Received: from mailhub-lb2.unibe.ch (mailhub-lb2.unibe.ch. [130.92.0.83]) by gmr-mx.google.com with ESMTPS id b14-20020a0565120b8e00b004785b6eac92si818757lfv.7.2022.06.07.03.17.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 03:17:24 -0700 (PDT) Received-SPF: pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.83 as permitted sender) client-ip=130.92.0.83; X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-01.campus.unibe.ch [130.92.13.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb2.unibe.ch (Postfix) with ESMTPS id 76F2B5000AD; Tue, 7 Jun 2022 12:17:22 +0200 (CEST) Thread-Topic: pandoc citation problem Thread-Index: AQHYelb7CKgZCOHtGkmMBPAMbOLWp61DumJg In-Reply-To: <5a7614fb-9721-417e-bd54-48552ab4cac9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Accept-Language: de-CH, en-US Content-Language: de-DE x-originating-ip: [172.18.72.2] X-Original-Sender: denis.maier-NSENcxR/0n0@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.83 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch 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:30701 Archived-At: --_000_4ec832d4d4014c428d3675fca0bd87dfunibech_ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Line 1847, change givenname-disambiguation-rule=3D"primary-name-with-initia= ls" to givenname-disambiguation-rule=3D"per-cite". But I=E2=80=99m pretty s= ure that=E2=80=99s on purpose. Best, Denis Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Im A= uftrag von Tina Su Gesendet: Dienstag, 7. Juni 2022 12:12 An: pandoc-discuss Betreff: pandoc citation problem Hi, I have two references which same publication year and the authors have same= last name: Zhao, K. (2015). The motivation behind China=E2=80=99s public diplomacy. Th= e Chinese Journal of. Zhao, Q., & Lei, W. (2015). Blue book of public diplomacy=E2=80=94Annual re= port of China=E2=80=99s public diplomacy development (2015). Social Science= s 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 "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org. To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/5a7614fb-9721-417e-bd54-48552ab4cac9n%40googlegroups.com. --=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/4ec832d4d4014c428d3675fca0bd87df%40unibe.ch. --_000_4ec832d4d4014c428d3675fca0bd87dfunibech_ Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Line 1847, change givenname-disambiguation-rule=3D"primary-name-= with-initials" to givenname-disambiguation-rule=3D"per-cite"= . But I=E2=80=99m pretty sure that=E2=80=99s on purpose.<= /p>


Best,

Denis

 

 

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

 

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-d= iscuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
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/4ec832d4d4014c428d3675fca0bd87df%40unibe.ch.
--_000_4ec832d4d4014c428d3675fca0bd87dfunibech_--