Re: [Orgmode] Okular Metadata to Org

On Mon, 22 Nov 2010 10:13:25 +0100, Rainer M Krug <address@hidden> wrote:
Hi Rainer,
Thanks for your feedback. Your thoughts are quite helpful and give me
some ideas and motivation.
>
> 1) Are you planning to also include the edits (new text, ...) into the
> org file, as it would be useful to have all those in it.
Yes, I've been working on this. The difficulty I currently face is
getting the correct regex. Because all of the data below the header is
a single string, my approach is to pull the string after the file
heading and then compare the okular string with the org-mode string.
Unfortunately, I've not yet figured out the correct regular expression.
>
> 2) Would it be possible to re-use an existing okular instance? it is a
> little bit annoying to have several instances open, when browsing
> through notes.
This is an interesting question. At the moment, I'm not sure that this
is possible. Since okular doesn't run as a daemon, there's no way (that
I know of) to communicate with a given instance, but I agree it would be
nice. I'll look into how okular manages opening files within an
instance and see if I can figure out a way.
>
> As I said, I like the script, and I am thinking about running this as a
> batch job each time I start emacs.
Sweet! I'm glad you find it useful.
>
> Now we just need the opposite: click in a pdf at a certain location and
> org opens with the link to there to add the note - am I dreaming here?
>
Now that's bold. I've been looking at this
http://orgmode.org/worg/org-contrib/org-protocol.php wondering if
there's a way to get more interaction. By looking at, I mean I just
noticed it last week, I don't know how possible it is, but you're right,
such a thing would be a great interface. Rule nothing out!
> Cheers,
>
> Rainer
>
> >
> > Hopefully someone else will find this useful,
> >
> > Ross
> >
>
>
> - --
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
> Biology, UCT), Dipl. Phys. (Germany)
>
> Centre of Excellence for Invasion Biology
> Natural Sciences Building
> Office Suite 2039
> Stellenbosch University
> Main Campus, Merriman Avenue
> Stellenbosch
> South Africa
>
> Tel: +33 - (0)9 53 10 27 44
> Cell: +27 - (0)8 39 47 90 42
> Fax (SA): +27 - (0)8 65 16 27 82
> Fax (D) : +49 - (0)3 21 21 25 22 44
> Fax (FR): +33 - (0)9 58 10 27 44
> email: address@hidden
>
> Skype: RMkrug
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkzqNDUACgkQoYgNqgF2egp9MwCfYracbYeqLz75q20SzrPY3MOv
> wEQAn3Z5GIpyVhOBbAQz8ISJI4E4udGW
> =/1s/
> -----END PGP SIGNATURE-----
--
Sent from an Emacs buffer.