From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp11.migadu.com ([2001:41d0:303:e224::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms8.migadu.com with LMTPS
	id gCYVEpaMR2VQAgAA9RJhRA:P1
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 05 Nov 2023 13:37:42 +0100
Received: from aspmx1.migadu.com ([2001:41d0:303:e224::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp11.migadu.com with LMTPS
	id gCYVEpaMR2VQAgAA9RJhRA
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 05 Nov 2023 13:37:42 +0100
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 2D22160D17
	for <larch@yhetil.org>; Sun,  5 Nov 2023 13:37:42 +0100 (CET)
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=L2kDYO6R;
	dmarc=pass (policy=none) header.from=posteo.net;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699187862; a=rsa-sha256; cv=none;
	b=jDhe2q8SWl9Jjrox5prAeyiX7NHU7ZN9ouB8BfzxYmgLc4LOheeHq5po/csHHkyexu3W8A
	Dpg9EdlOjLrqvE9TiJk0u4Z2jxyclBo4h48KOcLLJwKY1ZRAeJo5zu0yDvELYntisSR53+
	n6qYeKDCF07nDqGS5SXaMObYqfEYHUlTmck9yxeSZUL8fB4MiZBayTsCZfG6lRyResZwjJ
	PqBKWcB/IlInwHo1ntwqcDcmV1wT4vFYjrk4u2k7UHEw55bR4W2Twl7QcIyxMTidGWFc3G
	eQ/lUtRYW3X9V/ujRRXydWY7PBIcBoI9XemH5luHD8KdO39i1rD3pBW4NdkslA==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=L2kDYO6R;
	dmarc=pass (policy=none) header.from=posteo.net;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1699187862;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=U76L+K7gvWc63YBQTr+iLSnPlaIT9Ua2PHtIuFVrwic=;
	b=TG7lAwAhshPVRXdahc2mtvsuRJI8DhdzJImhhAfhOaV3S1Skqaoe6gOwphITllCsNhlB9Z
	b8WdkdsiAJYi+972IcI7BcQgOBj2shC9Q3rNeBrMQw7Py5MQxC9f0U6Ff4W2CJqJ3oNth9
	yx4Ztp/LktjQztxkuhO79ykdgJmhlR8AiT9nvNYXdmukR/GPZGcA5UAHSyGrXcaLwppG5o
	l+EKRSjq3X3sx5lsKEfE9qwfGFySUtIZjoNwSgKwe5qm1jcg7weZSf2R6CIzv6IbDFpX9K
	qYRkv2UaCgTAqUjOItMVUZjcTci878phIyg1zbEPMR+UIbTKoJZbAP5TqullWg==
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces@gnu.org>)
	id 1qzcNN-0006Ao-6A; Sun, 05 Nov 2023 07:37:14 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yantar92@posteo.net>)
 id 1qzcNJ-0006AI-MO
 for emacs-orgmode@gnu.org; Sun, 05 Nov 2023 07:37:09 -0500
Received: from mout02.posteo.de ([185.67.36.66])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yantar92@posteo.net>)
 id 1qzcNH-00046a-Ai
 for emacs-orgmode@gnu.org; Sun, 05 Nov 2023 07:37:09 -0500
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 8D30B240101
 for <emacs-orgmode@gnu.org>; Sun,  5 Nov 2023 13:37:03 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1699187823; bh=0Cpuc+DyA+L8km8RaLG3WA2uVA4WnZ2sp6p59/V99ow=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From;
 b=L2kDYO6RmJDtLhT/ds28EOWvvHjzFKUXB4j0H9AiR5zugQuUvQ7+4kekhkQ7J9Cob
 S+M2LtEvn+w1ooYqz44mBx6vIl4HQTLUxz8Tlzk9vNlNwcyXRoFYnpMaNc/rhT00TY
 o9NribU7uHHLkznfnVizrAFq82a6OCVg/WanQmP98o94edhohv8oagLAVMb6e206b/
 RRLhj/X1UDQlXysca8Xs6wZ1sHEGhcpIiAVNFqztrZmnisyFCxavUiSuD1zSaL6JCP
 6wb13DwTIiSSSuBkG2vTydFcuCfyNGWjtkr7inJNLVt0pKraJIayGuOQriP8fD2PYS
 jY7B0Aysv+tDA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4SNYrt46rsz9rxK;
 Sun,  5 Nov 2023 13:37:02 +0100 (CET)
From: Ihor Radchenko <yantar92@posteo.net>
To: Max Nikulin <manikulin@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Exporting Hyperlinks ?
In-Reply-To: <ui4qpr$jq2$1@ciao.gmane.io>
References: <LV8P223MB0920555726BFCD18F103B1BAA2A7A@LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM>
 <uhtupk$uug$1@ciao.gmane.io>
 <LV8P223MB0920B4BF1D7B74EA28F1CE02A2A6A@LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM>
 <ui0ev0$elj$1@ciao.gmane.io>
 <LV8P223MB0920CAA6DB6B5FCC84C67ECBA2A5A@LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM>
 <ui2iu4$5a1$1@ciao.gmane.io>
 <CAJcAo8upgrQ37h9diXUxoJPGQXJiBp9q_j1iJMMfb3684+Tr_g@mail.gmail.com>
 <ui4qpr$jq2$1@ciao.gmane.io>
Date: Sun, 05 Nov 2023 12:38:55 +0000
Message-ID: <87y1fc4bog.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net;
 helo=mout02.posteo.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-orgmode@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
X-Migadu-Queue-Id: 2D22160D17
X-Migadu-Scanner: mx12.migadu.com
X-Migadu-Spam-Score: -6.63
X-Spam-Score: -6.63
X-TUID: L1Dc8msi6who

Max Nikulin <manikulin@gmail.com> writes:

> Human-readable link targets are susceptible to collisions. So ox-latex 
> should support links to particular locations in the specified files, 
> either an Org one or inside external PDF files. Code from ox-html should 
> be adapted for ox-latex.
>
> [[file:test.pdf::#anchor][Another document]]
>    -> \href{test.pdf\#anchor}{Another document}

AFAIK, this kind of URL cannot be opened except when opening pdf in
browser.

> [[file:test.org::#anchor][Another document]]
> Either for xr-hyper
>   -> Another document \ref{f1-orgabc123}
> with \label{orgabc123} in test.tex
> or with redefined \label to generate additional \hypertarget
>   -> \href{test.pdf\#anchor}{Another document}

And this does not fit into single-document exports. We must export
multiple files via ox-publish. ...and ox-publish does not support pdf
export.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>