emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: Nicolas Goaziou <mail@nicolasgoaziou.fr>,
	 Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: re-scanning bibliography for org-cite
Date: Thu, 26 May 2022 18:24:16 +0800	[thread overview]
Message-ID: <87sfowmw1b.fsf@localhost> (raw)
In-Reply-To: <87leuod444.fsf@ucl.ac.uk>

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> Is there a function I can call to force a rescan?  That would satisfy me
> as I could put it into a hook for org-bibtex (or advice the function if
> no hook available).

The relevant function is org-cite-basic--parse-bibliography.

You can try 2 things:
1. Set org-cite-basic--file-id-cache to nil in :around advice before
   calling the function
2. Remove :cite-basic/bibliography from INFO plist in :around advice
   before calling the function

I you find any of these methods helpful, please report back. I have a
suspicion that :cite-basic/bibliography might be the cause.

Best,
Ihor


  reply	other threads:[~2022-05-26 10:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-21 14:11 re-scanning bibliography for org-cite Eric S Fraga
2021-10-21 14:51 ` Uwe Brauer
2021-10-21 15:02   ` Eric S Fraga
2021-10-21 15:30 ` Bruce D'Arcus
2021-11-03 16:21   ` Nicolas Goaziou
2021-11-03 16:34     ` Bruce D'Arcus
2022-05-24 12:30     ` Eric S Fraga
2022-05-26  5:00       ` Ihor Radchenko
2022-05-26  9:39         ` Eric S Fraga
2022-05-26 10:24           ` Ihor Radchenko [this message]
2022-05-26 10:46             ` Eric S Fraga
2022-05-26 11:32               ` Timothy
2022-05-26 11:58                 ` Ihor Radchenko
2022-06-09 12:23             ` Fraga, Eric
2022-06-09 14:34               ` Bruce D'Arcus
2022-06-09 16:00                 ` Fraga, Eric
2022-06-09 16:51                   ` Bruce D'Arcus
2022-07-04 16:45                   ` Bruce D'Arcus

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87sfowmw1b.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).