From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mMSBOqnD32KtHAEAbAwnHQ (envelope-from ) for ; Tue, 26 Jul 2022 12:36:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mG48OqnD32LYCwAAauVa8A (envelope-from ) for ; Tue, 26 Jul 2022 12:36:25 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9A02A8481 for ; Tue, 26 Jul 2022 12:36:25 +0200 (CEST) Received: from localhost ([::1]:52760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGHvM-0004Gc-Ls for larch@yhetil.org; Tue, 26 Jul 2022 06:36:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGHty-0004ED-D4 for emacs-orgmode@gnu.org; Tue, 26 Jul 2022 06:34:59 -0400 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]:40548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGHts-00029C-OM for emacs-orgmode@gnu.org; Tue, 26 Jul 2022 06:34:54 -0400 Received: by mail-lf1-x12b.google.com with SMTP id b16so9500328lfb.7 for ; Tue, 26 Jul 2022 03:34:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=41IzH6/Uw/QyMNFFA3unVAfr4zVRZpnjrbVWLz6RIrY=; b=Ovk3vdBrKwMS8jNu09oMtKMeOauQOjZkzIJEcsDsswnZ9f5faSlx4CIR3bI5dJZKE7 LX/dOKi9DB3TNzcGM2qn84tsQWn0GP1VSHTN4dH2LJHDJB1yVMVGi6VzDP1yOSS6VVox n7npFsQdCDDNjLsAXZaHOK2Err6NF707kXJSbM0IlqD9HmGCAF3WESnGQir6NyuBo+Fo k28o7e+ikeWk5w/0vbI8+AueUIT+nkU60aL3lg/hVo9Wy7vEiGkTI8ExY1Cj9Th3TNuW MST6hYJi4EYsbcYfGVS3hQaHxLdR0unMjSMQrfyP8lf6fDoNPJdqfn9lEw7Zlwo3kDqm 52rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=41IzH6/Uw/QyMNFFA3unVAfr4zVRZpnjrbVWLz6RIrY=; b=TDc+1k8DpNeyVdQ88if8X1juW+ooVUqu6/MyDpLn4Yf0oJXqJVYzH4d2d3Ecu/b/WY jARvsmyEI2M0RWfaRZkK2wgPqLtes5Q65Wsv0c8Ka8ntWqH2O3RP1llvYXB8fZ3GYaMu /0FYsUK5D1ffcFByNeIZz87mYD/PdyONICgpJuWwGZLIcNxV1rrHCKHbzY4G0ItMi5yw rDEuB1Xq+Q0hwlBUfetQ5LtLytDCU01ZtAfoA8yy2lgQPZyJY2WWC6qfixFW2G2zO3VU xL3gk5gEdEcdG/COeC4IlwBQ3TzPPoVfjdoaWOLjMk+TeqZXtIu/Vdigc6n67ixEeiEL wkLA== X-Gm-Message-State: AJIora8GyZioXHid4DT1s3Dw1ubbXOfC6JJtzCVvwq8sgeYImsHPOv5M qKrBZ7XzE+pDctcO0s50yLWcImvDi1v7dUbgkEY= X-Google-Smtp-Source: AGRyM1s6XAdmBK78UhQtsJUa3cAPg3AjLkeLagz82RjuvtKDqE82g7C4RAzvWlnPLzVRr5Hw3TjZqxZqDX8fLVC5uVg= X-Received: by 2002:a05:6512:3d11:b0:489:d28c:10d9 with SMTP id d17-20020a0565123d1100b00489d28c10d9mr5892069lfv.467.1658831690250; Tue, 26 Jul 2022 03:34:50 -0700 (PDT) MIME-Version: 1.0 References: <87pmihurhi.fsf@localhost> <874jzhe7rf.fsf@localhost> <87tu7fi96i.fsf@localhost> <87v8rt43vf.fsf@localhost> In-Reply-To: <87v8rt43vf.fsf@localhost> From: Henrik Frisk Date: Tue, 26 Jul 2022 12:34:53 +0200 Message-ID: Subject: Re: org-cature-ref To: Ihor Radchenko Cc: org-mode-email Content-Type: multipart/alternative; boundary="000000000000a3bfb405e4b2d91e" Received-SPF: pass client-ip=2a00:1450:4864:20::12b; envelope-from=frisk.h@gmail.com; helo=mail-lf1-x12b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658831785; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=41IzH6/Uw/QyMNFFA3unVAfr4zVRZpnjrbVWLz6RIrY=; b=EQGxWOXE3/1eLyi2Dkjd84xHrD6vqqUarzaUFQkd9OE1mHwRiXFjE7fWY5Q7S8iTsm0PTo R9WemkyLZCpvlDuu0AXfnNZM9tOK3JIhYG0NoHkgTC0631BjYGPCpyAOlFzP5SX+v9N9Lx 8lpTZjB+YZUJyeqpnTq4wMo4MuU3iYab2QfVmP8IhpzaJNx1wjXnzdINtXofxkf6eSV2uz v6kPGJaVnOHhP27qS/ogXfgeVOojq0gdNEsI8kUpSp65kUTlwXdujBBYOO3c/S54O2hKL2 DzIZ40VMr3dWIKno/DbbwqDH6/fHQ+Umhc7QPh6Kwt7vcufbLeT5tcjpEeWCdg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658831785; a=rsa-sha256; cv=none; b=neVg/aNBdSwVJu8FHzDGL1Kj9nwdaWqksX2lJ7wpejf+iZ04d8CpS7UT2bIPR4/scoDYGV F7SHwISfwYZoVoR9IJpOcW8JJ/kKWS8Pm81O6TUAQiD2Y79QXtWBbfmPEohvFrYfoKC35R x1vYi2f0PAJjODb74BwEFfNgtjdwtojhK3fZ14LVYQzmK5JVelIA43j5KzsgFfuJ6EioTN HawovmWZaB+qNUR8XVRBMy5ZlzdlnQ11JX1xIpflM3Vra+gMLD90/1/u5JWMltVDB8mhbA I/7nhG7t3IU6P4G8+a5xqvnQbSVTxJrg6NmAB3bQtle0HwzH6lfh3OMhRXdrlA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Ovk3vdBr; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.43 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Ovk3vdBr; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9A02A8481 X-Spam-Score: -7.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: UoL+RFeeuLF1 --000000000000a3bfb405e4b2d91e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Den tis 19 juli 2022 kl 15:39 skrev Ihor Radchenko : > > There is nothing fancy there. Just > > "%{fetch-bibtex}* TODO %?%(org-capture-ref-get-bibtex-field :title)" > ":PROPERTIES:" > ":ID: %(org-capture-ref-get-bibtex-field :key)" > ":CREATED: %U" > ":END:" > "#+begin_src bibtex" > "%(org-capture-ref-get-bibtex-field :bibtex)" > "#+end_src bibtex" > > Yeah, now that I see it I'm embarrased I didn't figure it out by myself. Sigh. > > 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 the= n > > choose BiBTeX, I don't get the expected result, but maybe you are > referring > > to something else? > > I am referring to what you said: "Cite" =E2=86=92 "BibTeX". The opened pa= ge > should contain the BibTeX entry text. This page can be captured. > > For example, the first item (Cite =E2=86=92 BibTeX) in > https://scholar.google.com.sg/scholar?q=3Dtest > > can be captured on my side. > > I do not recommend this method though. Google Scholar does not provide > high quality BibTeX entries with DOI and sometimes provides plain wrong > entries. > > This doesn't actually work for me. From the link above I'm getting: #+begin_src bibtex @misc{Scholar_Googleusercontent__506, created =3D {[2022-07-26 tis 12:31]}, howpublished =3D {Scholar.Googleusercontent}, note =3D {Online; accessed 26 juli 2022}, url =3D { https://scholar.googleusercontent.com/scholar.bib?q=3Dinfo:4QIfrBW26fcJ:sch= olar.google.com/&output=3Dcitation&scisdr=3DCgXRptZKEN2CnUnCgY8:AAGBfm0AAAA= AYt_EmY-OX1Eyi54caLD4JrIGdgFtjnKP&scisig=3DAAGBfm0AAAAAYt_EmSP-yLhTDNSeuVdq= tJ0UcrDks5SL&scisf=3D4&ct=3Dcitation&cd=3D-1&hl=3Dsv }, } #+end_src bibtex where the expected would be #+begin_src bibtex @article{algozzine2001effects, title=3D{Effects of interventions to promote self-determination for individuals with disabilities}, author=3D{Algozzine, Bob and Browder, Diane and Karvonen, Meagan and Test, David W and Wood, Wendy M}, journal=3D{Review of Educational Research}, volume=3D{71}, number=3D{2}, pages=3D{219--277}, year=3D{2001}, publisher=3D{Sage Publications Sage CA: Thousand Oaks, CA} } #+end_src bibtex But, for the reasons you note below, this is not that important. I'm really happy to have the general capture template working. Thanks again! --000000000000a3bfb405e4b2d91e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
Den tis 19 juli 2022 kl 15:39 skrev I= hor Radchenko <yantar92@gmail.com<= /a>>:

There is nothing fancy there. Just

"%{fetch-bibtex}* TODO %?%(org-capture-ref-get-bibtex-field :title)&qu= ot;
":PROPERTIES:"
":ID: %(org-capture-ref-get-bibtex-field :key)"
":CREATED: %U"
":END:"
"#+begin_src bibtex"
"%(org-capture-ref-get-bibtex-field :bibtex)"
"#+end_src bibtex"

> 2. When you write that there is support for Google Scholar "BiBTe= X page",
> what do you mean? In a Google scholar search, if I click "Cite&qu= ot; and then
> choose BiBTeX, I don't get the expected result, but maybe you are = referring
> to something else?

I am referring to what you said: "Cite" =E2=86=92 "BibTeX&qu= ot;. The opened page
should contain the BibTeX entry text. This page can be captured.

For example, the first item (Cite =E2=86=92 BibTeX) in
https://scholar.google.com.sg/scholar?q=3Dtest

can be captured on my side.

I do not recommend this method though. Google Scholar does not provide
high quality BibTeX entries with DOI and sometimes provides plain wrong
entries.

This doesn't actually work for me. From the link = above I'm getting:

#+begin_src bibtex
@misc= {Scholar_Googleusercontent__506,
=C2=A0 created =3D =C2=A0 =C2=A0 =C2=A0= {[2022-07-26 tis 12:31]},
=C2=A0 howpublished =3D {Scholar.Googleusercon= tent},
=C2=A0 note =3D =C2=A0 =C2=A0 =C2=A0 =C2=A0 {Online; accessed 26 = juli 2022},
=C2=A0 url =3D
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 {https://scholar.googleusercontent.c= om/scholar.bib?q=3Dinfo:4QIfrBW26fcJ:scholar.google.com/&output=3Dcitat= ion&scisdr=3DCgXRptZKEN2CnUnCgY8:AAGBfm0AAAAAYt_EmY-OX1Eyi54caLD4JrIGdg= FtjnKP&scisig=3DAAGBfm0AAAAAYt_EmSP-yLhTDNSeuVdqtJ0UcrDks5SL&scisf= =3D4&ct=3Dcitation&cd=3D-1&hl=3Dsv},
}
#+end_src bibt= ex

where the expected would be

#+begin_src bibtex
@article{algozzine2001effects, title=3D{Effects of interventions to promote self-determination for indiv= iduals with disabilities}, author=3D{Algozzine, Bob and Browder, Diane and Karvonen, Meagan and Test= , David W and Wood, Wendy M}, journal=3D{Review of Educational Research}, volume=3D{71}, number=3D{2}, pages=3D{219--277}, year=3D{2001}, publisher=3D{Sage Publications Sage CA: Thousand Oaks, CA} }
#+end_src bibtex
But, for the reasons you note below, this is not that impo= rtant. I'm really happy to have the general capture template working.

Thanks again!
--000000000000a3bfb405e4b2d91e--