emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] protocol for PDFs?


From: Sebastian Rose
Subject: Re: [Orgmode] protocol for PDFs?
Date: Mon, 04 Jan 2010 17:09:17 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

D M German <address@hidden> writes:

>  Jan> It allows you to link to any document format which doc-view-mode
>  Jan> supports, which includes PDF files. The syntax is:
>
>  Jan> docview:<file name>::<page number>
>
>  Jan> Example:
>
>  Jan> [[docview:/home/jan/some-file.pdf::7][Page 7]]
>
> I have started modifying evince. I got to the point in evince that I can
> now call emacs-client. The problem is, what do I pass to it?
>
> Will the call to emacsclient be:
>
> emascclient 
> ort-protocol://remember://docview:/home/jan/some-file.pdf::7/TitleOfPDF/Selection

Hi Daniel,



you will have to call

 emascclient 
ort-protocol://docview:/home/jan/some-file.pdf::7/TitleOfPDF/Selection

and define a custom handler to make this work. As docview is in the
core, you could add that handler directly in lisp/org-protocol.el if
everyone is OK with that.


I'm not online very often at the moment. I probably won't read your
answers before I tried that myself (just updated Org-mode here). I'll be
back on thursday :-/



See:

http://www.youtube.com/profile?user=Nie0815#p/u/1/h7Z2PiAcgh8

and

http://orgmode.org/worg/org-tutorials/org-protocol-custom-handler.php

for more on custom handlers.



 Best wishes

   Sebastian
    




reply via email to

[Prev in Thread] Current Thread [Next in Thread]