From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29153 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.text.pandoc Subject: AW: Fwd: CSL: conditional text not printed Date: Wed, 1 Sep 2021 14:07:29 +0000 Message-ID: <9f7cdd53071b42cda9f394039bd293ae@unibe.ch> References: <201a35f6-a91a-3bb7-a01d-07ca8cd9f6c5@gmail.com> <635d04e9-a938-4e2d-8ac0-81988c8402acn@googlegroups.com> 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="3159"; mail-complaints-to="usenet@ciao.gmane.io" To: Original-X-From: pandoc-discuss+bncBCZ27W53TUFBBKUSX2EQMGQEG2JPEOY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Sep 01 16:07:42 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f64.google.com ([209.85.167.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mLQtx-0000a7-KN for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 01 Sep 2021 16:07:41 +0200 Original-Received: by mail-lf1-f64.google.com with SMTP id n5-20020a19ef05000000b003e224cd5844sf1074393lfh.12 for ; Wed, 01 Sep 2021 07:07:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1630505260; cv=pass; d=google.com; s=arc-20160816; b=LNjDSknohfDE0ljz8ByK9PbZMDwI8y11yrJFNbmdn9oPcoTruC6ywLrInMLe2bjNeB 2XPg3kLshrcdpQvERBz2Wri5VrapS5+aVkF+Uno+cc07AgUd5X08pzZ29FPccToBEs7F yBNcWpb+zHg4LLTTQ8IV+9IspM6VlrfyJgy3KZv5FsoJYxqBz0GfQuaKC3KRCno5datw 22xzJ/20FmJSb5Del1fhvQhG6GuwxF+l+IZ9fiWsNd8Ij6ZnTn5AgjQK/E0UOs25r/mF 8cX1j7XgOvjWNs9nJiOaBDNPumZbL4odUbIFKPSlKoddnWh8FIXWdjk5iOrwz5r5Cj6W 8oug== 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-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:to:from:sender:dkim-signature; bh=g2FJ6wCCV7xY2mibI3FM4e5j9U4Glm/sPA0r5Fr+TQc=; b=p3p2ltIm3bfYi/k9dMF4FYHkYKZ0oyLzzhqM5L2TJi7Rb+ZZYuDGbX8RIaEgWNyrbX +bqJN4gI/SULrbQ0Spiiq9nUYe8LT8KolWj4Bd+JGrNxLY/bAx+Thxeq4UPIPbifqJ2u kxxIkKaxu2zczGu0oJu8JURZIyTpsymqRVkNLn0ISodwtZgh3abhOdinJBuNGh4KL64W VPiHFWFW3afV3CQDd7jSE7rlsDb1tfLt/CYJfF9WYjw/OUytqE8iUheRxYU2i0Uy1N2f 3rkhiyc/nez5RptqIA2rbBJgAXNEBMaCTKDWfYOwlpWwl//yKcAdcyfAwXPo01QYaAKf 7ZWw== 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:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:accept-language:content-language :content-transfer-encoding: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=g2FJ6wCCV7xY2mibI3FM4e5j9U4Glm/sPA0r5Fr+TQc=; b=C+NTOxWeR8wYR5/eblzkKNxnPKViAfviJjxcRLo9wQL6A6u5e4RjQ91XpQ6WAcnuV0 xhUenZxp7+S+n4yQ5SvaFMLdQ9lDJO+2EcjQ1PBvigLff1Y1Tp7qoNbNzqc0CU2BkOP1 I4PgxAx4ngPBZEXIQX5L0HWUNNs61NWH9kBQIdUn3LsxyhzN0BU25p28DRDesAMbrxyb 05YuVIUVvZLeuUjq1sB3gCR8DP+m2wZAbkzC6B9hsU0d1dX+Y98z7A0q+0mnxMuVZx3e SLEFvKxRByiGrvXtAoIHJ9huWjK97EMmILkj2R++rkDQWHB0Ct X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:thread-topic:thread-index :date:message-id:references:in-reply-to:accept-language :content-language:content-transfer-encoding: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=g2FJ6wCCV7xY2mibI3FM4e5j9U4Glm/sPA0r5Fr+TQc=; b=bdyO7i9NLBCPvVy9jNB5VnzeDIty/M+D/P2pNtS4cNOn64nvCzIC6+X6B8sd/APV3y sLmsl48WXW1ofk1DTOhVoNnaSJGtn6MX39KL/Gv48fH8lktr4dA3yF5widR3Q9hAdWIB KqIhPz9DT2gwSwf9a79vcw+AuuOkP+jYA49gtqBxM09EAGDjOsQmxkn9TbrJFEg0VwGG b5cRf/Qby3alzvb5+6BcI71duf4i2wWVlbIFaJ4aMCs7e+EdQZcXcataVxZeAvl8n2jT BunPn Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530j6C1A76z92t8tw6uB+XhgkWp8cwaL9ILXqGhXRsuXduuYkwGf nm4phtGCC7AzHI7Tl1HCcsE= X-Google-Smtp-Source: ABdhPJz9LFMtViUYV2okK90JWUu6VpOmNNdtI3nX577PmUQ0UuXekvX8NHf8ZVXK3n4MB5q81u/RPA== X-Received: by 2002:a05:6512:b91:: with SMTP id b17mr13830060lfv.453.1630505260511; Wed, 01 Sep 2021 07:07:40 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:4016:: with SMTP id br22ls225018lfb.0.gmail; Wed, 01 Sep 2021 07:07:36 -0700 (PDT) X-Received: by 2002:a05:6512:3f21:: with SMTP id y33mr24468288lfa.606.1630505256312; Wed, 01 Sep 2021 07:07:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630505256; cv=none; d=google.com; s=arc-20160816; b=t8oeO8zptWvfRTlZhaBCEoWL2A6XzTECIx6ftBehXnRPMRbYU1ODEkv84VCux+CdM7 O1yvXPrEen8wA4S+OueGGQ//If8Rcdb0PiMs5fo0c/Co3R92tMqcLgYseJscdkmLndvj In6Qz3lSFGqvj+GG/Lplv+KEht/WFFuUUt4OoQFBO2nIMU8OHJBHWdrTBrYi4lKPyu22 K08F+coc2bzWCvJw210GTgVG0qvtQroqIFB3K/WcVwf8jBhYEbdbfUuWl4k+d4u+fQtX voeKJfKmxL8uSc9JURxpA7Qcc/JxmlcLPCbU0M1MKnKenYe3Tm0nZg8Gnwzss6SheHTi erDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:to:from; bh=LWJz4IvrQjyzjgMuI8i3QXLNxXBuKTZINYvtRlbD71U=; b=V3vJZ490G6YT6nM6lLUILOAoGGVmCfi/BMa5qmhgVc1xtUW/qyIKWTuddbuOk4hORt Z3uPpW/w2vpq/ER+BaQQWmzHiTmTX6T8M1SqhZADrpAJwKcRmtgiYCn9RoucEyw1kfEp W4uEqLCcv7+OfbbRm90mT58jjUuAYgPd7ASGesWBoE0EijY+JGwi9GgYj6WPGI+QJx+4 hSlWDOKrv+sHvag8k5vQtUAK+EsDd+WuySR1Qh5QO6v8IuevdziK46y1DvLvmG2ZRVEd O+uYaWRKr8ZPQ2UuioNn6/z86aFiEbauHhreQCiT9EcgckeiyM7gTeojy4j0IEaEbfKb 1zaw== 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 z4si9881lfr.2.2021.09.01.07.07.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Sep 2021 07:07:35 -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-04.campus.unibe.ch [130.92.13.146]) (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 55A895000B7 for ; Wed, 1 Sep 2021 16:07:30 +0200 (CEST) Thread-Topic: Fwd: CSL: conditional text not printed Thread-Index: AQHXnypIInrPD2svS0+pCdrSBD43YKuO+ZyAgAARKoCAAAlLgIAAIlkw In-Reply-To: Accept-Language: de-CH, en-US Content-Language: de-DE x-originating-ip: [130.92.13.161] 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:29153 Archived-At: Just a side-issue: Checking your style with https://validator.citationstyle= s.org/ gives me three errors though on "title-bib/cit". Probably not relate= d, but anyway. FWIW, I've tried to cross-check with Zotero, but Zotero refuses to install = your style at all... > -----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 fro= m > the fact that the disambiguation code is triggered in subsequent citation= s (not > in the bibliography, since the entries will be not be formatted in the sa= me way > there). If it is true, you've found a bug, but I may have missed somethin= g. >=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 including = it and a > > small example where it should be triggered? Normally it should work= : see > > the related test in citeproc's test suite: [1]https://github.com/jg= m/ > > citeproc/blob/1ce8c26a5918c641b6a70d4b4151c7a51ab9a1ed/test/csl/ > > disambiguate_ByCiteDisambiguateCondition.txt > > > > Le Wednesday 01 September 2021 =C3=A0 03:09:14PM, hakan a =C3=A9cri= t : > > > 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 hel= ps me > > > to disambiguate works of authors cited with multiple works in cit= ations > > > 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 ig= nored > > > and nothing gets printed at the relevant positions. I tried both > > > CSL-json and biblatex files as bibliography files. Shorttitle fie= lds 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 Googl= e > Groups > > > "pandoc-discuss" group. > > > To unsubscribe from this group and stop receiving emails from it,= 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.goo= gle.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, send > > 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-8a > > c0- > 81988c8402acn%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfoote > r >=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/msgid/pandoc- > discuss/YS%2BH5RUDtzym/o/t%40localhost. --=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/9f7cdd53071b42cda9f394039bd293ae%40unibe.ch.