From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aHWIHHmi3F+1bgAA0tVLHw (envelope-from ) for ; Fri, 18 Dec 2020 12:37:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OBtdGHmi3F+cVgAA1q6Kng (envelope-from ) for ; Fri, 18 Dec 2020 12:37:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8B52D940142 for ; Fri, 18 Dec 2020 12:37:12 +0000 (UTC) Received: from localhost ([::1]:59512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqF0R-0004ge-DU for larch@yhetil.org; Fri, 18 Dec 2020 07:37:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqEzY-0004gE-UO for emacs-orgmode@gnu.org; Fri, 18 Dec 2020 07:36:17 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]:46473) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqEzN-0001n5-VX for emacs-orgmode@gnu.org; Fri, 18 Dec 2020 07:36:16 -0500 Received: from localhost ([::ffff:41.202.241.37]) (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000001E440.000000005FDCA231.00000CDA; Fri, 18 Dec 2020 05:36:01 -0700 Date: Fri, 18 Dec 2020 15:35:50 +0300 From: Jean Louis To: Ihor Radchenko Subject: Re: Bring up a screen giving option to open a series of orgmode files Message-ID: References: <87y2i4bc4s.fsf@localhost> <87360a7cz2.fsf@localhost> <874kkolf1o.fsf@localhost> <87wnxjk7dx.fsf@localhost> <87tusmjw23.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <87tusmjw23.fsf@localhost> User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.82 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 8B52D940142 X-Spam-Score: -1.82 X-Migadu-Scanner: scn0.migadu.com X-TUID: HkJb6Je3gxA1 * Ihor Radchenko [2020-12-16 05:55]: > Jean Louis 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