public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: Joseph Reagle
	<joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>,
	pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Update on new citation processing -- please help test!
Date: Mon, 05 Oct 2020 10:05:25 -0700	[thread overview]
Message-ID: <m28scksiwa.fsf@MacBook-Pro.hsd1.ca.comcast.net> (raw)
In-Reply-To: <40579bf4-8842-f778-98f7-7769cb64a470-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>

Joseph Reagle <joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> writes:

> On 10/4/20 11:42 AM, John MacFarlane wrote:
>> I think you'll notice quite a few improvements in citation
>> processing, both in accuracy and speed.
>
> In terms of speed, it's about 40% slower when run with my big YAML bibliography and typical parameters.

Hm, what version of pandoc are you running normally? I know that
our shift a little while back from the (C library) yaml to the
(pure Haskell) HsYAML for YAML metadata parsing had a big cost
for large bibliographies.  See

https://github.com/jgm/pandoc/issues/6084

My guess is that the slowdown you're seeing is from pandoc's YAML
metadata parsing (not part of the new library) and not the
library itself.  You could test this hyphothesis by trying both
versions with a CSL JSON bibliography.  (Conveniently, you can
use pandoc to convert the YAML to csljson.)

> Also, something is different with respect to locating the CSL file.

Yes. I should have mentioned this.  It now looks the csl
subdirectory of your pandoc user data directory (~/.pandoc or
~/.local/share/pandoc) instead of in ~/.csl.  You can just
symlink one to the other for now, so both versions will work.

    ln -s ~/.csl ~/.pandoc/csl


  parent reply	other threads:[~2020-10-05 17:05 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-04 15:42 John MacFarlane
     [not found] ` <m2o8liro9n.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-10-05 13:56   ` Joseph Reagle
     [not found]     ` <40579bf4-8842-f778-98f7-7769cb64a470-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2020-10-05 17:05       ` John MacFarlane [this message]
     [not found]         ` <m28scksiwa.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-10-05 19:47           ` Joseph Reagle
     [not found]             ` <7a090173-6b56-7dc1-05f1-5210d17391d9-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2020-10-05 23:04               ` John MacFarlane
     [not found]                 ` <m2a6x0qnou.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-10-05 23:47                   ` John MacFarlane
     [not found]                     ` <m27ds4qlp1.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-10-06  0:01                       ` John MacFarlane
     [not found]                         ` <m2362sql35.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-10-06  0:22                           ` John MacFarlane
     [not found]                             ` <m2wo04p5it.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-10-06  4:44                               ` John MacFarlane
     [not found]                                 ` <m2r1qcote5.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-10-06  6:47                                   ` John MacFarlane
2020-10-06 12:59                   ` Joseph Reagle
     [not found]                     ` <4a67cf5a-cfa8-4bd9-6697-ab2a9ad0a339-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2020-10-06 13:33                       ` Albert Krewinkel
2020-10-06 13:12                   ` Joseph Reagle
     [not found]                     ` <579252e9-aaab-33e4-e1f9-6470008a8bb8-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2020-10-06 17:11                       ` John MacFarlane
     [not found]                         ` <m2k0w3p9cx.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-10-06 21:14                           ` Joseph Reagle
     [not found]                             ` <1f98a4af-d866-d411-a716-e79244c7ace0-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2020-10-07  4:23                               ` John MacFarlane
     [not found]                                 ` <m2pn5uoe8z.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-10-07  5:30                                   ` John MacFarlane
2020-10-07 14:03                                   ` Joseph Reagle
     [not found]                                     ` <eb0c24b5-c3cb-1fb9-7213-95fda828684b-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2020-10-07 23:08                                       ` John MacFarlane
     [not found]                                         ` <m2zh4xmy7g.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-10-08 17:16                                           ` Joseph Reagle
     [not found]                                             ` <8901e820-71d6-28b1-a1ca-65b73022e706-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2020-10-08 18:00                                               ` John MacFarlane
     [not found]                                                 ` <m2eem8mwc7.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-10-08 18:57                                                   ` Joseph Reagle
     [not found]                                                     ` <f39ba337-3a91-77ea-c419-6e68b41ddd23-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2020-10-08 19:29                                                       ` John MacFarlane
2020-10-05 17:06       ` John MacFarlane
     [not found]         ` <m25z7osiug.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-10-05 17:13           ` John MacFarlane
2020-10-07 13:55   ` William Lupton
     [not found]     ` <CAEe_xxgUSgtOZLkKcwLGKNvTfKcqUMkZg-8t=QjEpzWq=95esA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-10-07 13:57       ` 'Denis Maier' via pandoc-discuss
     [not found]         ` <5322f662-bd0e-41d2-90a4-eca07ddf0271-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>
2020-10-07 14:00           ` William Lupton

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=m28scksiwa.fsf@MacBook-Pro.hsd1.ca.comcast.net \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=joseph.2011-T1oY19WcHSwdnm+yROfE0A@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).