Re: [Orgmode] protocol for PDFs?

2010-01-04 Thread Sebastian Rose
D M German 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::: > > Jan> Example: > > Jan> [[docview:/home/jan/some-file.pdf::7][Page 7]] > > I have started modifying evince. I got to the

Re: [Orgmode] protocol for PDFs?

2010-01-02 Thread D M German
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::: 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 c

Re: [Orgmode] protocol for PDFs?

2010-01-02 Thread D M German
I have implemented 'Remember' in xournal. I doubt this feature will ever make into the mainstream. You can check out my fork. it contains many features not in the current distribution, but useful, including very rudimentary search support, ability to jump to next and previous annotations: http://

Re: [Orgmode] protocol for PDFs?

2010-01-02 Thread D M German
Jan Böcker twisted the bytes to say: Jan> On 02.01.2010 16:20, Darlan Cavalcante Moreira wrote: >> Evince also has an option ("-p") to open the file in a >> given page and this would be enough for a link to a PDF file. Since I prefer >> using Evince instead of docview mode I would be very ha

Re: [Orgmode] protocol for PDFs?

2010-01-02 Thread D M German
Jan Böcker twisted the bytes to say: Jan> Example: Jan> [[docview:/home/jan/some-file.pdf::7][Page 7]] Jan> Of course, these links open the file by visiting it in emacs. Jan> I would propose to modify org-docview.el to look in org-file-apps for an Jan> entry for \.pdf\' thanks. This will

Re: [Orgmode] protocol for PDFs?

2010-01-02 Thread Jan Böcker
On 02.01.2010 16:20, Darlan Cavalcante Moreira wrote: > Evince also has an option ("-p") to open the file in a > given page and this would be enough for a link to a PDF file. Since I prefer > using Evince instead of docview mode I would be very happy to test it. I have implemented an experimental

Re: [Orgmode] protocol for PDFs?

2010-01-02 Thread Jan Böcker
On 02.01.2010 09:28, D M German wrote: > > hi there, > > I am trying to add support in Evince and Xournal for org. I have already > implemented most of it in Xournal, but now I am hitting a roadblock. > What would the form of the URI for a link to a PDF document and a page > be? > > In other wo

Re: [Orgmode] protocol for PDFs?

2010-01-02 Thread Darlan Cavalcante Moreira
If you use docview mode to view a PDF in Emacs then the link will contain the page you are viewing in the PDF file. I don't know how you will implement the support in Evince, but Evince also has an option ("-p") to open the file in a given page and this would be enough for a link to a PDF file. Si

[Orgmode] protocol for PDFs?

2010-01-02 Thread D M German
hi there, I am trying to add support in Evince and Xournal for org. I have already implemented most of it in Xournal, but now I am hitting a roadblock. What would the form of the URI for a link to a PDF document and a page be? In other words, is there support for a link to a given page in a PDF