public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Bastien DUMONT <bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org>
To: 'William Lupton' via pandoc-discuss
	<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Can a given publisher's citations be listed first?
Date: Mon, 11 Sep 2023 10:11:08 +0000	[thread overview]
Message-ID: <ZP7nvJBEK7kmVHuU@localhost> (raw)
In-Reply-To: <CAEe_xxgf_LcjS=Z=482ShAeMvMLdrmfHvYbEfMkVShcEuncROw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Actually I meant this filter: https://github.com/pandoc/lua-filters/tree/master/multiple-bibliographies

It seems to be an older version of multibib, but I never had the problemm you report with it.

Le Monday 11 September 2023 à 10:59:26AM, 'William Lupton' via pandoc-discuss a écrit :
> 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 once for
> each supplied bibliography file, and this generates warnings for the citations
> in the _other_ bibliography files.
> 
> For example, the test in the repo works ... but apparently doesn't (and it took
> me a while to realise this)!
> 
> % 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
> 
> I think that the best way to avoid the warnings would be to capture and ignore
> them, but I'd (much) rather do that only for the secondary citeproc runs that
> are _expected_ to output warnings.
> 
> 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().
> 
> Thanks,
> William
> 
> On Fri, 8 Sept 2023 at 13:03, William Lupton <[1]wlupton@broadband-forum.org>
> wrote:
> 
>     Thanks! [2]https://github.com/pandoc-ext/multibib I assume. I'll look into
>     it.
> 
>     On Fri, 8 Sept 2023 at 12:53, Bastien DUMONT <[3]bastien.dumont@posteo.net>
>     wrote:
> 
>         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 test its
>         value.
> 
>         Le Friday 08 September 2023 à 11:17:57AM, 'William Lupton' via
>         pandoc-discuss a écrit :
>         > Hello,
>         >
>         > I'd like to sort references so a given publisher's ("BBF") references
>         are
>         > listed first, and am wondering whether it's possible to compare the
>         publisher
>         > variable with "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 fallen 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 Google
>         Groups
>         > "pandoc-discuss" group.
>         > To unsubscribe from this group and stop receiving emails from it,
>         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=email&utm_source=footer
> 
> 
>         --
>         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 [9]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>         To view this discussion on the web visit [10]https://groups.google.com/
>         d/msgid/pandoc-discuss/ZPsLPLC_YQ-aiL_A%40localhost.
> 
> --
> 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.
> 
> References:
> 
> [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%2BO2EjfnYZAyF%3D_hr7HMcgKHcNKEYoFiJNSraw%40mail.gmail.com?utm_medium=email&utm_source=footer
> [9] mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [10] https://groups.google.com/d/msgid/pandoc-discuss/ZPsLPLC_YQ-aiL_A%40localhost
> [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=email&utm_source=footer

-- 
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/ZP7nvJBEK7kmVHuU%40localhost.


  parent reply	other threads:[~2023-09-11 10:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-08 10:17 'William Lupton' via pandoc-discuss
     [not found] ` <CAEe_xxi5Q+BhE+O2EjfnYZAyF=_hr7HMcgKHcNKEYoFiJNSraw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-09-08 11:53   ` Bastien DUMONT
2023-09-08 12:03     ` 'William Lupton' via pandoc-discuss
     [not found]       ` <CAEe_xxhJ=OgH-FR9U5Q8H7guSuXufC3XxUfKiMVa+mZhjp45Sg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-09-11  9:59         ` 'William Lupton' via pandoc-discuss
     [not found]           ` <CAEe_xxgf_LcjS=Z=482ShAeMvMLdrmfHvYbEfMkVShcEuncROw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-09-11 10:11             ` Bastien DUMONT [this message]
2023-09-11 10:27               ` 'William Lupton' via pandoc-discuss
     [not found]                 ` <CAEe_xxgw3Ys_prePE_gxqJqe4HWZWW8CsrwyyY7Y2VovDD9crg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-09-13 10:22                   ` 'William Lupton' via pandoc-discuss
     [not found]                     ` <CAEe_xxg92Yut7LZgw1+QrSW9EWxje5jVta6WAppctkfKsCxLDw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-10-06 14:50                       ` Bernardo C. D. A. Vasconcelos
     [not found]                         ` <76dc5598-cf59-4fee-b516-1ab7171fbe5en-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-10-13 10:28                           ` 'William Lupton' via pandoc-discuss
     [not found]                             ` <CAEe_xxg4TLjd_Htgaws32VnYiBmCaH0tWtfcZecopf0jTBCY0A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-10-13 16:28                               ` bernardovasconcelos-Re5JQEeQqe8AvxtiuMwx3w

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZP7nvJBEK7kmVHuU@localhost \
    --to=bastien.dumont-vwifzpto/vqstnjn9+bgxg@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).