emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Henrik Frisk <frisk.h@gmail.com>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: org-cature-ref
Date: Sun, 17 Jul 2022 22:25:04 +0200	[thread overview]
Message-ID: <CAO0LSb6QchNd4vmE370ZnYAHVsbXZRV1egoaEAc81hFrc3RdXA@mail.gmail.com> (raw)
In-Reply-To: <874jzhe7rf.fsf@localhost>

[-- Attachment #1: Type: text/plain, Size: 1500 bytes --]

Den lör 16 juli 2022 kl 11:16 skrev Ihor Radchenko <yantar92@gmail.com>:

> Henrik Frisk <frisk.h@gmail.com> writes:
>
> >>> Is so, you probably need
> >>>
> >>> org-protocol://capture?template...
> >>> instead of
> >>> org-protocol://capture-html?template...
> >>>
> >>> Thanks, that was the issue and it works fine now. However, I can't seem
> >> to get the org-capture-ref-get-bibtex-field to work by simply replacing
> org-capture-ref-headline-format
> >> with it. Not sure where the ":bibtex-string" should go in the template
> >> which is probably why it doesn't work.
>
> Could you please provide a bit more details on what you did, what you
> expected to get, and what you got?
>
> Yes, of course!

I saw in another thread recently that you had the bibtex captured as a code
block (begin_src bibtex) which I wasn't able to get. In the documentation
at https://github.com/yantar92/org-capture-ref#org819faa2 it says:

"Alternatively it is possible to use org-capture-ref-get-bibtex-field to
get metadata directly (:bibtex-string field will contain formatted BiBTeX
entry).

This, I thought, was the way to achieve this. What I get is:

:BOOKMARK:misc:
:PROPERTIES:
:TITLE:    Something
:BTYPE:    misc
:ID:       Something_org_captur_ref_extrac_9c0
:AUTHOR:   someone
:CREATED:  [2022-07-12 tis 17:26]
:HOWPUBLISHED: Github
:NOTE:     Online; accessed 12 juli 2022
:RSS:      https://something.org
:URL:       https://something.org
:END:

/Henrik

[-- Attachment #2: Type: text/html, Size: 2330 bytes --]

  reply	other threads:[~2022-07-17 20:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-06  9:21 org-cature-ref Henrik Frisk
2022-07-07 10:50 ` org-cature-ref Ihor Radchenko
     [not found]   ` <CAO0LSb5or=sec3ZMU2jVvVv57qe_Z_4cW9=--92iA8aqkJAN_g@mail.gmail.com>
2022-07-12 16:53     ` org-cature-ref Henrik Frisk
2022-07-16  9:17       ` org-cature-ref Ihor Radchenko
2022-07-17 20:25         ` Henrik Frisk [this message]
2022-07-17 23:57           ` org-cature-ref Ihor Radchenko
2022-07-18  8:39             ` org-cature-ref Henrik Frisk
2022-07-19 13:40               ` org-cature-ref Ihor Radchenko
2022-07-26 10:34                 ` org-cature-ref Henrik Frisk

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=CAO0LSb6QchNd4vmE370ZnYAHVsbXZRV1egoaEAc81hFrc3RdXA@mail.gmail.com \
    --to=frisk.h@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@gmail.com \
    /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).