From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29154 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: Fwd: CSL: conditional text not printed Date: Wed, 1 Sep 2021 14:13:57 +0000 Message-ID: References: <201a35f6-a91a-3bb7-a01d-07ca8cd9f6c5@gmail.com> <635d04e9-a938-4e2d-8ac0-81988c8402acn@googlegroups.com> <9f7cdd53071b42cda9f394039bd293ae@unibe.ch> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38430"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBZEVX2EQMGQE6JKEZQA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Sep 01 16:15:03 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f192.google.com ([209.85.208.192]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mLR14-0009ob-Rn for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 01 Sep 2021 16:15:02 +0200 Original-Received: by mail-lj1-f192.google.com with SMTP id r16-20020a2eb610000000b001c78e82ce96sf1234813ljn.5 for ; Wed, 01 Sep 2021 07:15:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1630505702; cv=pass; d=google.com; s=arc-20160816; b=C5ZkPYW1sh8K2qRJIIluW1844D0GyBJA6IpXEau0TL13eOzKty2V9Ui+I8nQm9iCKz +yvDeeyPtz3+/KqzewOkWWDAty/Ww7zLmNR+nrpjJ/35H0vhW+O5QbKnx3KFDVIoZRDk VRt9hQlmVZyxC9JWAmA0KhrvvUzdRWha1zRyfd8KHjOWQIJ+k5YtXmEYX/fK9tkrkhBE uCPzTxst2V9/GQAA/HoGaFAb7LpiIMz/6+clGEWfCgchAp1wqGpRaU/e+8GgsN12Tgd/ CZWpjh5QPkAdY1lZJxvZsdhL+WYBRIbASe3PpK8EC5W8kPhn588KWiZN+XpqcyrMWOAs mnAQ== 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:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:dkim-signature; bh=h4OwfbCalV4LaASRQBZu80ZhhxuEXkntJ7ABmz3kNCo=; b=Vp6Q8MRg/Uea3vEqGjImNrigL4hhrOOAOdf+U8sBnSjCk+LQnE+ta0dThY3JwsG+g2 hgeLREqzhF2KEoGCeu0hbtIqhCGNEeuOXBw2fl9eXRnQOJ1y3UvG47AB4VfgtesQD+rf jeBCPOG83+x4dExkzhQCwD1luJQ7I/m6NyNWGQ7j6goYONrqTQK1C8xNiQqOlfXiL4gv i8Zf5XkmKY2sRefOPRE0QkRljQA5KEYJps2AYS0KO3TGWdkmUU1h7joe12+xbO9gSYHC SASRHF4TkEpmYlaZ+WoKsrDVRn6p2JzZ1WH+BGhOGVVXmTZIOqfWnpfJcERrjbOCe2cr +D0w== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=UZqLF33c; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :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=h4OwfbCalV4LaASRQBZu80ZhhxuEXkntJ7ABmz3kNCo=; b=mTpISRYAjE6+2brai4We/bfacmcAOZCNV+neG0NpgGi9zy6DEv0AxzLJwnda9EobKv LvwLOJj5Vx+QphJXnHHOGoCwJA5np0iXbZ7pPL/a9xMvT72e1gV5GmiUvv91qDPOedwc RLiCKg7L7a2iiHYbYWY9MwC394gYLSVau203YsjhckkIqpB4rL7KqLv/tPCNQxTZlBY0 RftN6wv7NBdk8FNFH6kk5w8e7do7R0UHWgZaWnuk/4UAnuMxWrPidWfgTia1XrOPk/q7 flvwl+3OrlbMuDVgutJ+/gwHphEZLAQrxHn6LlKOt4UmnJ6WBJxPwxnSE4vgZwOFS7JG uf6w== 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:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to: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=h4OwfbCalV4LaASRQBZu80ZhhxuEXkntJ7ABmz3kNCo=; b=l5I570LCEtGLw+lgftl60iEeVmJo0o76yO6p/onpPK/0Gi6KIiOTPQA///E0FB4+c2 7pTccvuhEDUQi6FFIUpxEQG/gS8fDF39s6fZQtIrCcoe8iaJ0gc+ITWYwBrj8yXijrRf dT/UcqWyAvkIncoH88huGganQamDRY7HiP0EPN+CAdsWpHhF6tLTH+CII6osnLof8591 oeie3dYQIOJ6Z4WMGiisyFM77niOAHbHkW6A+7QhAAVUwp9TgJzv2GOx8bzzdY6SOE4J F8aNoABJS693FpFYBiG3sxuo0H600kk92ukYjVv96NIg Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532l3jS8PoD5p5bWshut6nAKMrsTuHrIaexjEdThS2lOnomSuMH3 7HjxzY4bOLC8HiEcxGR9O3w= X-Google-Smtp-Source: ABdhPJx5FJ/2w9A5H0Xt8Jiour5HOE/5GOELKP84B/fzeNP1TT37+HJbeYu7wLtC3mfgidrAo4ELMg== X-Received: by 2002:a05:651c:1029:: with SMTP id w9mr15972263ljm.202.1630505702000; Wed, 01 Sep 2021 07:15:02 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:9d43:: with SMTP id y3ls554236ljj.4.gmail; Wed, 01 Sep 2021 07:14:59 -0700 (PDT) X-Received: by 2002:a2e:2201:: with SMTP id i1mr7243899lji.441.1630505699202; Wed, 01 Sep 2021 07:14:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630505699; cv=none; d=google.com; s=arc-20160816; b=DdyTLfr412urV+n6I3rNvkUvtl42c+/6FCPbjHly6vMhU5XFp7FQHMnaHSKZBHS3WX IC4e/NCKNcWzW8sLPF7MHPGNaAeihVlAShJrrYPe40veq09pMgMqGhn2U/8S4Ekmnl2a xFtJU1YWLdI198jc6AT7YTrEiNQ5KLbRz0m+VBUaSugH4ghQ2q64nrgILhl9udHLci8E Er9yTnI48j2HfZzN4hhc7eZf+lWAav1fYdY70JrcxVpkFA/80nCFg7ddyALBQae5lXF8 V8c1x9jA2I5LnYIZ0ZmIXRZlM9KbsLtyTzPqjKM7473z2adQZJj4SP0ahnvRf9Fw88Fk zrOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=u9sSFUwRQXJp2Ltxula4r8vRVUhktqsslY/XJWaJLPE=; b=JQ8VCyBEbXFkQWsIT4BLB8byvriU2FSHnqplkxt9ucCsbrFCfNGPLoGvv+bQ2XLe8F NnKeyAUiEMWX/iNuzRjOE/iNAS4NYR2MAvoeBhmLY/ZigiFD/52S6/kGeTskXc/PENmi +LPajMKdXEJDAmvWzzd1AGSYO9SURHLudRmXYwydzoBxocYpTU8rz/a3YTWrE+Ct+a6B FwHSlj0nTt/a/EmyCh7tmLMJd+22m7DbMOa3+D5pBloYd4CapksSeXVztFsUlXnLS6Qx 9Jdm5vjMbfsTT/W1468OggdjaJXJcL24nNvlXgaL7r7LqgxlJKihKCRFAtCHgZ3PEvTF 58HA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=UZqLF33c; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Original-Received: from mout01.posteo.de (mout01.posteo.de. [185.67.36.65]) by gmr-mx.google.com with ESMTPS id h13si3354ljj.7.2021.09.01.07.14.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Sep 2021 07:14:59 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) client-ip=185.67.36.65; Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 5C61D240028 for ; Wed, 1 Sep 2021 16:14:58 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H05fp08hbz9rxR for ; Wed, 1 Sep 2021 16:14:58 +0200 (CEST) Content-Disposition: inline In-Reply-To: <9f7cdd53071b42cda9f394039bd293ae-NSENcxR/0n0@public.gmane.org> X-Original-Sender: bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=UZqLF33c; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net 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:29154 Archived-At: For me too, although the style appears to be valid once you replace the sla= sh by an underscore and can be used in the CSL style editor (https://editor= .citationstyles.org/codeEditor/). Le Wednesday 01 September 2021 =C3=A0 02:07:29PM, denis.maier-NSENcxR/0n0@public.gmane.org a = =C3=A9crit : > Just a side-issue: Checking your style with https://validator.citationsty= les.org/ gives me three errors though on "title-bib/cit". Probably not rela= ted, but anyway. >=20 > FWIW, I've tried to cross-check with Zotero, but Zotero refuses to instal= l your style at all... >=20 > > -----Urspr=C3=BCngliche Nachricht----- > > Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > Im Auftrag von Bastien DUMONT > > Gesendet: Mittwoch, 1. September 2021 16:02 > > An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > Betreff: Re: Fwd: CSL: conditional text not printed > >=20 > > Hm, sorry, I can't see what could be wrong here. The problem may come f= rom > > the fact that the disambiguation code is triggered in subsequent citati= ons (not > > in the bibliography, since the entries will be not be formatted in the = same way > > there). If it is true, you've found a bug, but I may have missed someth= ing. > >=20 > > Le Wednesday 01 September 2021 =C3=A0 06:28:57AM, Hakan Da=C4=9Fdelen a= =C3=A9crit : > > > Thanks a lot for the promt relpy. > > > > > > I call it under citation and bibliography layout. Here is my CSL file= : > > > https:// pastebin.com/MdzdZLXs > > > > > > Here is a bib file in json: https://pastebin.com/GgWeVU1x > > > > > > And here is a bib file in tex: https://pastebin.com/YUb73afz > > > > > > > > > > > > On Wednesday, September 1, 2021 at 3:28:38 PM UTC+3 Bastien Dumont > > wrote: > > > > > > How do you call this macro? Could you provide a CSL file includin= g it and a > > > small example where it should be triggered? Normally it should wo= rk: see > > > the related test in citeproc's test suite: [1]https://github.com/= jgm/ > > > citeproc/blob/1ce8c26a5918c641b6a70d4b4151c7a51ab9a1ed/test/csl/ > > > disambiguate_ByCiteDisambiguateCondition.txt > > > > > > Le Wednesday 01 September 2021 =C3=A0 03:09:14PM, hakan a =C3=A9c= rit : > > > > Hi, > > > > > > > > I have the following macro in my CSL style file: > > > > > > > > =C2=A0=C2=A0 > > > > =C2=A0=C2=A0=C2=A0=C2=A0 > > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > > > > =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 > > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > > > > =C2=A0=C2=A0=C2=A0=C2=A0 > > > > =C2=A0=C2=A0 > > > > > > > > I use this macro in subsequent citations and bibliography. It h= elps me > > > > to disambiguate works of authors cited with multiple works in c= itations > > > > and to add a short title information at the end of the relevant > > > > bibliography entries. > > > > > > > > When I convert org or tex documents with Pandoc, this macro is = ignored > > > > and nothing gets printed at the relevant positions. I tried bot= h > > > > CSL-json and biblatex files as bibliography files. Shorttitle f= ields are > > > > filled in. > > > > > > > > How can I have this CSL macro work with Pandoc? > > > > > > > > Thanks a lot in advance. > > > > > > > > Hakan > > > > > > > > > > > > -- > > > > You received this message because you are subscribed to the Goo= gle > > Groups > > > > "pandoc-discuss" group. > > > > To unsubscribe from this group and stop receiving emails from i= t, send an > > > email > > > > to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > > > To view this discussion on the web visit [2][2]https://groups.g= oogle.com/ > > > d/msgid/ > > > > pandoc-discuss/ > > > > CAL9QFNmVq0NzALJEQe1GCC%2BuFBBT-%3Df_orrFTiFUBok- > > BS%3D6yw%[3] > > > 40mail.gmail.com. > > > > > > > > References: > > > > > > > > [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > > > [2] [4]https://groups.google.com/d/msgid/pandoc-discuss/ > > > CAL9QFNmVq0NzALJEQe1GCC%2BuFBBT-%3Df_orrFTiFUBok- > > BS%3D6yw%40mail.gmail.com? > > > utm_medium=3Demail&utm_source=3Dfooter > > > > > > -- > > > 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, sen= d > > > an email to [5]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > > To view this discussion on the web visit > > > [6]https://groups.google.com/d/msgid/ > > > pandoc-discuss/635d04e9-a938-4e2d-8ac0- > > 81988c8402acn%40googlegroups.com. > > > > > > References: > > > > > > [1] > > > > > https://github.com/jgm/citeproc/blob/1ce8c26a5918c641b6a70d4b4151c7a51 > > > ab9a1ed/test/csl/disambiguate_ByCiteDisambiguateCondition.txt > > > [2] https://groups.google.com/d/msgid/ > > > [3] http://40mail.gmail.com/ > > > [4] > > > https://groups.google.com/d/msgid/pandoc- > > discuss/CAL9QFNmVq0NzALJEQe1G > > > CC%2BuFBBT-%3Df_orrFTiFUBok- > > BS%3D6yw%40mail.gmail.com?utm_medium=3Demail > > > &utm_source=3Dfooter [5] > > > mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > > [6] > > > https://groups.google.com/d/msgid/pandoc-discuss/635d04e9-a938-4e2d-8= a > > > c0- > > 81988c8402acn%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfoote > > r > >=20 > > -- > > You received this message because you are subscribed to the Google Grou= ps > > "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 view this discussion on the web visit > > https://groups.google.com/d/msgid/pandoc- > > discuss/YS%2BH5RUDtzym/o/t%40localhost. >=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= email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/9f7cdd53071b42cda9f394039bd293ae%40unibe.ch. --=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/YS%2BKpefndII5vVJ5%40localhost.