Den mån 18 juli 2022 kl 01:56 skrev Ihor Radchenko : > Henrik Frisk writes: > > >> 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: > > Did you try to customize org-capture-ref-capture-template? > > Its default template is > > "%{fetch-bibtex}* TODO %?%{space}%{org-entry}" > "%{extra}" > > %{org-entry} part is responsible for generating property drawer via > org-capture-ref-headline-format-function. > > If you prefer adding bibtex directly, you may want something like > > "%{fetch-bibtex}* TODO %?%(org-capture-ref-get-bibtex-field :title)" > "#+begin_src bibtex" > "%(org-capture-ref-get-bibtex-field :bibtex)" > "#+end_src bibtex" > > That's what I was trying to do, but now it works! This is really brilliant, thank you! Note: it should be: "%(org-capture-ref-get-bibtex-field :bibtex-string)" in the above example. A couple of questions more: 1. In the examples at the beginning of the project's github you have examples that have a combination of prperties and bibtex source, with preperties such as ID and CREATED. These could be helpful but I can't figure out how to add them with my limited knowledge. 2. When you write that there is support for Google Scholar "BiBTeX page", what do you mean? In a Google scholar search, if I click "Cite" and then choose BiBTeX, I don't get the expected result, but maybe you are referring to something else? Again, thank you. This will make my life easier! /henrik