From: "Bruce D'Arcus" <bdarcus@gmail.com>
To: org-mode-email <emacs-orgmode@gnu.org>
Subject: [org-cite, oc-csl] citation fontification and previews?
Date: Fri, 28 May 2021 08:17:00 -0400 [thread overview]
Message-ID: <CAF-FPGP_WJrqHGA=CsH_jeAGTqCz7Va+=aCYR8vYiPE16muJmA@mail.gmail.com> (raw)
In an earlier discussion, people raised the issue of fontification and previews.
But I'm wondering what Nicolas has already implemented, and what he or
others might still add.
Details:
John Kitchin (based on his experience with org-ref):
https://lists.gnu.org/archive/html/emacs-orgmode/2021-04/msg00438.html
He suggested a green face for known references, and red for unknown.
I think Nicolas implemented this basic idea somewhere, but I am not
noticing it; I don't see any difference with incorrect keys.
John also suggested a tooltip preview of the roughly formatted reference.
Again, I thought Nicolas had earlier implemented this, but I don't see
it ATM; hovering over keys doesn't do anything.
András Simyoni:
https://lists.gnu.org/archive/html/emacs-orgmode/2021-04/msg00289.html
He was thinking about using citeproc-el to attach some kind of preview as well.
"I'm thinking about implementing a "fontification" solution which would
use citeproc-el with a standard style to produce nice preview-like
representations of the citations in the buffer. This would require
basically the same pieces of information as citation export I think,
although it might be made strictly local, working only with the
single citation object plus the bibliography information."
Timothy:
https://lists.gnu.org/archive/html/emacs-orgmode/2021-04/msg00456.html
He was thinking about previews as well, with overlays:
"I think what would be ideal, would be if common citation styles could
define a method which produces a display string, like "Goaziou et al.
(2021)". If nothing is defined, then no overlay should be produced."
And my reply to him, based on the example of Zettlr:
https://lists.gnu.org/archive/html/emacs-orgmode/2021-04/msg00462.html
I think that example would imply overlays as well, though I don't
really understand all the technical details or org-specific pros and
cons (tooltips vs overlays and such), but am just wondering:
1. what is already included, and what should ship default? Perhaps
Andras' idea would fit for oc-csl, since it already depends on
citeproc-el?
2. if some is not included, say preview, how would one add that? I
assume the API supports it; so one would just install, say, a little
package and add that as a "follow" processor? And one could add
multiple such processors?
Bruce
next reply other threads:[~2021-05-28 12:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-28 12:17 Bruce D'Arcus [this message]
2021-05-28 12:27 ` [org-cite, oc-csl] citation fontification and previews? Bruce D'Arcus
2021-05-28 17:43 ` Nicolas Goaziou
2021-05-28 17:55 ` Bruce D'Arcus
2021-05-28 19:59 ` Nicolas Goaziou
2021-05-28 20:40 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAF-FPGP_WJrqHGA=CsH_jeAGTqCz7Va+=aCYR8vYiPE16muJmA@mail.gmail.com' \
--to=bdarcus@gmail.com \
--cc=emacs-orgmode@gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.