emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Bring up a screen giving option to open a series of orgmode files


From: Jean Louis
Subject: Re: Bring up a screen giving option to open a series of orgmode files
Date: Fri, 18 Dec 2020 15:35:50 +0300
User-agent: Mutt/2.0 (3d08634) (2020-11-07)

* Ihor Radchenko <yantar92@gmail.com> [2020-12-16 05:55]:
> Jean Louis <bugs@gnu.support> writes:
> 
> > For PDF and video with specific start time I am using different type
> > of hyperlinks and not Org hyperlinks. So I was under impression that
> > Org hyperlinks to PDF support specific page. I have even prepared
> > myself to start including such in instructional manual. But do they?
> > It implies that PDF viewer setting should be per user configurable to
> > accept the page argument.
> 
> Manual does not mention that. However, looking into the code handling
> opening file links, I can see that it is actually possible. By default,
> the link like file:document.pdf::10 would run system command used to
> open pdfs with "document.pdf::10" argument. Whether that system command
> supports such kind of argument is another question (answer: probably,
> no). On the other hand, user can customise org-file-apps variable and
> put a lisp function to handle link opening. That function can transform
> the "document.pdf::10" into something that can be passed to the pdf
> viewer in system.

I have seen it somewhere that way and assumed that Org does support
it. From 14000+ PDF references to specific pages I did not once use
Org link to open such. That was in the queue when I export references
to Org.

If it does not support it is easy to make it by user options.

> > One possible solution could be this. For annotations, hypothes.is uses
> > Javascript library http://annotatorjs.org/ and I have not finished
> > research of it. I just have some slight idea that the whole annotation
> > and position of annotation could be captured in a hyperlink to it by
> > using that library.
> 
> Thanks for the link.
> 
> > Maybe you know Javascript and you can try?
> 
> I don't know Javascript

What I would like to make possible is direct hyperlink annotated PDF
file that does not store any annotations online. And I am thinking
maybe that annotatorjs.org provides that possibility.

It could be something in the following sense:

http://www.example.com/annotator.js&file=https://www.example.com/my-file.pdf&page=12&annotation=my%20annotation%20here

That is how I imagine that. Then we could construct annotating
hyperlinks automatically that do not disturb the user and when opened
the annotatorjs.org could show the annotated PDF file.

If somebody could at least explain if such URL could possibly work
with the Javascript, then I can start from there.

Jean



reply via email to

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