From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33100 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: Can a given publisher's citations be listed first? Date: Mon, 11 Sep 2023 10:11:08 +0000 Message-ID: References: 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="20681"; mail-complaints-to="usenet@ciao.gmane.io" To: 'William Lupton' via pandoc-discuss Original-X-From: pandoc-discuss+bncBDCINCES2QJRBROP7OTQMGQEGRE7AYY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Sep 11 12:11:22 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f58.google.com ([209.85.167.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qfdt4-0005GU-Bw for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 11 Sep 2023 12:11:22 +0200 Original-Received: by mail-lf1-f58.google.com with SMTP id 2adb3069b0e04-502a52cae6bsf2271134e87.1 for ; Mon, 11 Sep 2023 03:11:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1694427081; cv=pass; d=google.com; s=arc-20160816; b=lfeRD0JO+HTHVv+oXeZgG5a+iDphadgX8VCqB7WehAInbj66fngdIu8x4KsbZ26NKw aI1NoOmEXE9fNV54Aa/YjMe2MN0KzbmMXwwe+9xUh6Hee0o40GBKBsH/vsiqNfivH7Mv Hw89Y6ghs6mj5etB4H7QsyGsr/Ak+4uzonS5Lkx/jvI5vpxqU2qBfkjNSQnueX7Bc/az RdRFjGHNDhiQa8goJYEjU1mqhA4b/S5TpVtqbBfBNiv9Spp1b+IP4Yzq7I36BGOXkAGG mMHHQozMRD3CZMUAQiOIWzwMYpxonE8fUjykF1ssuRNhiy4B79DC48ZZkW2CcFFYwGUd crag== 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=/wfkLsynipsbCMGhsIHlrvkh5pLBPM845tbXo6gSu2k=; fh=M65ZQKprWs5k0z+X/yoE2Hlb8uFxMAo8Ww+8Sge/44w=; b=IYDZcb1fhhjawSuHmoXQ0BHuUDC1LF/nER9ttUc3Jj4F0Gv/YyzTp1hxfLaRHCloBI kip8WmyK2nRnjTUXdiCD+KjTNSorWZs0K3kveMXuY8IWmLCT709LHXwxCYe+12sPBvKH oG8OMfnAUGNv6nHJRPZ3wlDF0S5gOpJcM/xw11BOnwsv4g1AOiN+Wk9RsV51z/OHRn0s vk+ImeVUdK+2LkN9+gwvInchQ1YKcg4YUWBQkidH9y3YSAkf42F2flEjW2QIIeTo8lmT 4wOs6EP0rtVPuEMvMUm/Po34GPtd7KM+AiuSWN1t/zEHHUxTFD4e8+C6DxgiAyAk51E2 7jCQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=Szrj9oWa; 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=20230601; t=1694427081; x=1695031881; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=/wfkLsynipsbCMGhsIHlrvkh5pLBPM845tbXo6gSu2k=; b=HbdeuvgCzee+lv1Ta/+zfVtXIfLubhXwztkN2Mb68eUYiwFsWybdD0Zeo4S4xjaQS2 pDyvKR2oB2ZcB12rW4o0zCnfYRCfJUUXYlOumyvyP8onN2QSSdOtwOtqIPyqbfH88Imc FDCmolAKnkRs55aCbrGlesNlokkcxqrunVa1Z8JCZlvBeXWJ69FYEz3vpsoj3ulSJKQ5 HdvNv84IZDxZ29Z0zuQxdEjTjD7wdljss2M8G8lEd82lZDr7S+VEK808K2OTiLxhzdr2 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694427081; x=1695031881; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=/wfkLsynipsbCMGhsIHlrvkh5pLBPM845tbXo6gSu2k=; b=BhVd7mCk7iNIWf8SINC+vPZBN3Eskjgrra5mwdPKazk2p8yeOG7D9ObWFhtuwCXvpf ZcH2JG44BHOonezN3WZu7nOmmLl6rvtgIMDCEDM8/R/MH1BcWUbfrWKTGuV9BJ1vkF9/ f9VKCJ0lV6cdiFU27d3/ceqLdiotzi/IwLg23/w2E/1TOL8NhxiXSME0Oqb1POtxkKcE wmD+CGhFmrDK/OI2zBzy4ejF/c/T Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YwBPpmHchdUj0hwSvl+LCsBGqdVADCL7A6in6viq1efFMfWM4tN JvdLP5ZjNkezWwWX1+whEi4= X-Google-Smtp-Source: AGHT+IGJ7O58Zx6Yx+ykebbutWK4XGOOlUU1kZZJygRkO4FZA+E9waDLnxGlxp1Iy9npJYUeyW525Q== X-Received: by 2002:a19:910f:0:b0:500:a397:d4f0 with SMTP id t15-20020a19910f000000b00500a397d4f0mr6470301lfd.31.1694427081241; Mon, 11 Sep 2023 03:11:21 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac2:5b87:0:b0:500:83e8:9d2c with SMTP id o7-20020ac25b87000000b0050083e89d2cls79289lfn.1.-pod-prod-04-eu; Mon, 11 Sep 2023 03:11:15 -0700 (PDT) X-Received: by 2002:a05:6512:2251:b0:4f8:e4e9:499e with SMTP id i17-20020a056512225100b004f8e4e9499emr7968901lfu.12.1694427075785; Mon, 11 Sep 2023 03:11:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694427075; cv=none; d=google.com; s=arc-20160816; b=xzn6mtj35ou8M52rwGcPwFyyzA6hjoZlhfzCKsNiA3tyxeGC8fLvOA53ZolEtESfSq rZqtyajzFhMs6ktQv8Q9om9dc0PVPlDxulF8J/9ESV6XdNMofQBx1MMzPPlRWFwQ+5LF K6wpWrsfJ/h2jdjF7nZ+92Yr/vyjzKKybf2QN7chXI7Iv4UVx9E5HSByyHIuKxuwGIDF 4iq8ZNNZ6rJIXVl3wsAG3zTH0EqYTzKLwN5a6ZQHNw7NTTWivuN4zWMLZKeGtJzVway5 n3gGjiEFgTIY0lk0L2p/pkKChLW4lGNbRvqiRmc2kAUugNflsnSWS1l/JtqHi3r2SJz5 9PaA== 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=89jd4/kysXSVkugA2E58AHFleoposoteO08tQsYr0v0=; fh=M65ZQKprWs5k0z+X/yoE2Hlb8uFxMAo8Ww+8Sge/44w=; b=OjUKo2lOL9BfQopt7c41Lzn9xx7itZYKEaSwtdxhcfV04ZA8P2pQzPoMoE7rSecUiI pLcjQlXYftK2aALPZaki43GtEbBG34Hv3BJLuLl2aZdeT+CYir8TaraynFDv+5t36Czc nVbNsUXvxbWrnfAWH5fr5CirK6v0SvtNpW5KlBlMwPA8xV2eACM3jh6J1PujuI8W1LKw f8sr+TIkcS21sU1drmMxIKh/K/cs9Hzgdg+T5WZbdlLYomsiSLv42PP87SBs53nKdokX x+1LpDVQ/DMetTz39+KT3Jc6F9OD3RC7rTdfm99RCw/ByQ37CMk8us/ShYh306q1cbck UWNA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=Szrj9oWa; 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 d16-20020a056512369000b004fbcd4b8b84si494007lfs.0.2023.09.11.03.11.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Sep 2023 03:11:15 -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 [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 043A8240029 for ; Mon, 11 Sep 2023 12:11:15 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RkjD24Nnwz6tvp for ; Mon, 11 Sep 2023 12:11:14 +0200 (CEST) Content-Disposition: inline In-Reply-To: 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=Szrj9oWa; 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:33100 Archived-At: Actually I meant this filter: https://github.com/pandoc/lua-filters/tree/ma= ster/multiple-bibliographies It seems to be an older version of multibib, but I never had the problemm y= ou report with it. Le Monday 11 September 2023 =C3=A0 10:59:26AM, 'William Lupton' via pandoc-= discuss a =C3=A9crit : > I'm hitting a (non-fatal but annoying) problem. The multibib filter first= runs > citeproc to generate a list of all citations, then it reruns citeproc onc= e for > each supplied bibliography file, and this generates warnings for the cita= tions > in the _other_ bibliography=C2=A0files. >=20 > For example, the test in the repo works ... but apparently doesn't (and i= t took > me a while to realise this)! >=20 > % make > [WARNING] Citeproc: citation Bae not found > [WARNING] Citeproc: citation Knu86 not found > [WARNING] Citeproc: citation Bel not found > [WARNING] Citeproc: citation Nie72 not found >=20 > I think that the best way to avoid the warnings would be to capture and i= gnore > them, but I'd (much) rather do that only for the secondary=C2=A0citeproc = runs that > are _expected_ to output warnings. >=20 > Is there a way to do this using the existing utils.citeproc() function? I= tried > naively temporarily redefining io.stderr but perhaps that was never going= to > work in the presumably-Haskell utils.citeproc(). >=20 > Thanks, > William >=20 > On Fri, 8 Sept 2023 at 13:03, William Lupton <[1]wlupton@broadband-forum.= org> > wrote: >=20 > Thanks!=C2=A0[2]https://github.com/pandoc-ext/multibib I assume. I'll= look into > it. >=20 > On Fri, 8 Sept 2023 at 12:53, Bastien DUMONT <[3]bastien.dumont@poste= o.net> > wrote: >=20 > I would split my bibliography file in two and use the > multiple-bibliographies filter. That's a sometimes irritating > limitation of CSL: you can check if a variable is set, but not te= st its > value. >=20 > Le Friday 08 September 2023 =C3=A0 11:17:57AM, 'William Lupton' v= ia > pandoc-discuss a =C3=A9crit : > > Hello, > > > > I'd like to sort references so a given publisher's ("BBF") refe= rences > are > > listed first, and am wondering whether it's possible to compare= the > publisher > > variable with=C2=A0"BBF". I tried, but it doesn't seem to work = (and the > CSL spec. > > doesn't appear to indicate that you can do this), so I've falle= n back > on using > > original-publisher (I'll have to make sure that all the BBF > references use this > > rather than publisher). This works, but I'd prefer the first > approach. Any > > suggestions? > > > > CSL is attached. > > > > Thanks, > > William > > > > -- > > 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][4]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [2][5]https:// > groups.google.com/d/msgid/ > > pandoc-discuss/ > > CAEe_xxi5Q%2BBhE%2BO2EjfnYZAyF%3D_hr7HMcgKHcNKEYoFiJNSraw%[6] > 40mail.gmail.com. > > > > References: > > > > [1] mailto:[7]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [2] [8]https://groups.google.com/d/msgid/pandoc-discuss/ > CAEe_xxi5Q%2BBhE%2BO2EjfnYZAyF%3D_hr7HMcgKHcNKEYoFiJNSraw%40mail.= gmail.com? > utm_medium=3Demail&utm_source=3Dfooter >=20 >=20 > -- > 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 [9]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [10]https://groups.googl= e.com/ > d/msgid/pandoc-discuss/ZPsLPLC_YQ-aiL_A%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= email > to [11]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [12]https://groups.google.com/d/= msgid/ > pandoc-discuss/ > CAEe_xxgf_LcjS%3DZ%3D482ShAeMvMLdrmfHvYbEfMkVShcEuncROw%40mail.gmail.com. >=20 > References: >=20 > [1] mailto:wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org > [2] https://github.com/pandoc-ext/multibib > [3] mailto:bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org > [4] mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [5] https://groups.google.com/d/msgid/ > [6] http://40mail.gmail.com/ > [7] mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [8] https://groups.google.com/d/msgid/pandoc-discuss/CAEe_xxi5Q%2BBhE%2BO= 2EjfnYZAyF%3D_hr7HMcgKHcNKEYoFiJNSraw%40mail.gmail.com?utm_medium=3Demail&u= tm_source=3Dfooter > [9] mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [10] https://groups.google.com/d/msgid/pandoc-discuss/ZPsLPLC_YQ-aiL_A%40= localhost > [11] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [12] https://groups.google.com/d/msgid/pandoc-discuss/CAEe_xxgf_LcjS%3DZ%= 3D482ShAeMvMLdrmfHvYbEfMkVShcEuncROw%40mail.gmail.com?utm_medium=3Demail&ut= m_source=3Dfooter --=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/ZP7nvJBEK7kmVHuU%40localhost.