From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleh Subject: Re: capture, attach, link files from web Date: Tue, 8 Oct 2013 17:28:25 +0200 Message-ID: References: <87wqlpuwpl.fsf@gmail.com> <87pprg6o1o.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c33fd07b1b4404e83c6bb1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTZD6-0002BM-Ti for emacs-orgmode@gnu.org; Tue, 08 Oct 2013 11:28:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTZD1-0001Kv-Rz for emacs-orgmode@gnu.org; Tue, 08 Oct 2013 11:28:32 -0400 Received: from mail-we0-x236.google.com ([2a00:1450:400c:c03::236]:42329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTZD1-0001KG-FY for emacs-orgmode@gnu.org; Tue, 08 Oct 2013 11:28:27 -0400 Received: by mail-we0-f182.google.com with SMTP id t61so9017215wes.13 for ; Tue, 08 Oct 2013 08:28:25 -0700 (PDT) In-Reply-To: <87pprg6o1o.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Myles English Cc: "emacs-orgmode@gnu.org" --001a11c33fd07b1b4404e83c6bb1 Content-Type: text/plain; charset=ISO-8859-1 Hi Myles, Just a note, I think that there's an advantage to keep the attachments in sync with org files. This way they're never lost and are available wherever the org file is available. My system is a Firefox plugin that copies to clipboard the file name [D Gawin, L Sanavia] Simulation of cavitation in water saturated porous media considering effects of dissolved air(2010).pdf when I right click in google scholar. Then I can save the file with this name where I like. When it's necessary, I can capture it from a dired buffer in Emacs. Then the todo item will be: * TODO Read "Simulation of cavitation in water saturated porous media considering effects of dissolved air" by D Gawin, L Sanavia Since this file is an org attachment, it's synchronized along with my whole org folder to my laptop. regards, Oleh On Tue, Oct 8, 2013 at 12:43 PM, Myles English wrote: > > Hi Oleh, > > ohwoeowho writes: > > > I counter your tip with my own on capturing pdfs. > > Maybe you'll find some of this stuff useful for your case. > > My use case is slightly different: I am looking for pictures and want to > "insert a picture right here to show up in the exported document", and I > have a different solution to the use case you describe, but thanks, it > is useful to see how to attach files via capture templates. > > I get almost the same result as you but get there in a different way; > using zotero as the capture mechanism, exporting from zotero to a bibtex > file[1], hacking reftex[2] to supply a file path and then end up with a > nice TODO with a clickable link in the properties to open the pdf. > > * \cite{gawin_simulation_2009} - Simulation of Cavitation in Water > Saturated Porous Media Considering Effects of Dissolved Air > :PROPERTIES: > :Created: <2013-03-05 Tue 14:13> > :Custom_ID: gawin_simulation_2009 > :file: > [[library:/home/myles/.mozilla/firefox/5p1jxjph.default/zotero/storage/4RTT5M3F/Gawin%20and%20Sanavia%20-%20Simulation%20of%20Cavitation%20in%20Water%20Saturated%20Porous.pdf][file]] > :bib: [[bib:gawin_simulation_2009][bib]] > :END: > > The only pain is that I have to patch reftex-cite.el every time it is > overwritten as I can't get my patch accepted due to a dead project. > > Myles > > > Footnotes: > [1] http://lists.gnu.org/archive/html/emacs-orgmode/2012-06/msg00503.html > > [2] http://lists.gnu.org/archive/html/auctex-devel/2012-06/msg00002.html > --001a11c33fd07b1b4404e83c6bb1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Myles,

Just a note, I think that the= re's an advantage to keep the attachments
in sync with org fi= les. This way they're never lost and are available wherever the org fil= e is available.=A0
My system is a Firefox plugin that copies to clipboard the file name

[D Gawin, L Sanavia] Simulation of cavitation in wa= ter saturated porous media considering effects of dissolved air(2010).pdf

when I right click in google scholar. Then I can save t= he file with this name where I like.=A0

When it= 9;s necessary, I can capture it from a dired buffer in Emacs.
Then the todo item will be:

* TODO Read= "Simulation of cavitation in water saturated porous media considering= effects of dissolved air" by D Gawin, L Sanavia

Since this file is an org attachment, it's synchronized alon= g with=A0
my whole org folder to my laptop.

<= div>regards,
Oleh




On Tue, Oct 8, 2013 at 12:43 PM, Myles E= nglish <mylesenglish@gmail.com> wrote:

Hi Oleh,

ohwoeowho writes:

> I counter your tip with my own on capturing pdfs.
> Maybe you'll find some of this stuff useful for your case.

My use case is slightly different: I am looking for pictures and want= to
"insert a picture right here to show up in the exported document"= , and I
have a different solution to the use case you describe, but thanks, it
is useful to see how to attach files via capture templates.

I get almost the same result as you but get there in a different way;
using zotero as the capture mechanism, exporting from zotero to a bibtex file[1], hacking reftex[2] to supply a file path and then end up with a
nice TODO with a clickable link in the properties to open the pdf.

* \cite{gawin_simulation_2009} - Simulation of Cavitation in Water Saturate= d Porous Media Considering Effects of Dissolved Air
:PROPERTIES:
:Created: <2013-03-05 Tue 14:13>
:Custom_ID: gawin_simulation_2009
:file: [[library:/home/myles/.mozilla/firefox/5p1jxjph.default/zotero/stora= ge/4RTT5M3F/Gawin%20and%20Sanavia%20-%20Simulation%20of%20Cavitation%20in%2= 0Water%20Saturated%20Porous.pdf][file]]
:bib: [[bib:gawin_simulation_2009][bib]]
:END:

The only pain is that I have to patch reftex-cite.el every time it is
overwritten as I can't get my patch accepted due to a dead project.

Myles


Footnotes:
[1] =A0http://lists.gnu.org/archive/html/emacs-org= mode/2012-06/msg00503.html

[2] =A0http://lists.gnu.org/archive/html/auctex-dev= el/2012-06/msg00002.html

--001a11c33fd07b1b4404e83c6bb1--