From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id QOK3JbKzSGVQAgAA9RJhRA:P1 (envelope-from ) for ; Mon, 06 Nov 2023 10:36:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QOK3JbKzSGVQAgAA9RJhRA (envelope-from ) for ; Mon, 06 Nov 2023 10:36:50 +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 389AC3E466 for ; Mon, 6 Nov 2023 10:36:50 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="V9/ek3Pq"; 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=1699263410; a=rsa-sha256; cv=none; b=TcC76KoQU7iUhCwjT1y6kjfxDZXugXhTT8Nu2I4i/OZ3BezB2YDALoRHwD+KikrNcWZ6Rc AyBfOTZySTFJqT6UbXm9C758e06xw5O93hshwTnDwQEBS7rxtwZJUsVfc1sSjyBvRP3XrC TmCH9Uh5f4A81LqnnrQVNe27nPqz8ByIS78HY31sdRyyVzK/XLmVDMbQ8FI6HPWwB5YBEz 0kEBP0ccB0fPCT+idaase4GUQQKHMyamrn5SALgtgA42jmW9PPX+SC9plOidW1zyS0N+Aw PN0UFuJ2HmKFXfnLotR5fczGnnSbykFsdfgvMYqhnKFlFff689kCaorAkvrpGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699263410; 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=isYpBvuF8ZTN4XhMNXwfMx7lQ/OCW4VvKGYz6wWguwM=; b=X1JBDnPgoSsG6ftQFCpHy1XRAhZ9i2125qrGsnnfMeYNH613f0EeOlJm9Y4mtyEU15f0A2 qvaN9kjOViGY+CBObw7AFBAJagQxCfj3h7QtTMZyZY9G2iME6gaE2kx0lyTVUWS7vUxm6/ 7M0eYmWIgj1lnBPDoikgklgXuQVPrK1hhCIM1/IyUmAu1CaPWgg7U4Dq9kEvZxt+5Nyzvt EP5AeNaq2x+leEtpYUAMprd0kwrqm1zsdHyc0lJiaT9GTzuL0xHLuq6H2bjikpQRurs/kj xGBhVD8W5YPsbko1EtZIR+kKP4BL7NmHBlq8JRjC6hfqlaCxiDCR3wt88D2/tw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="V9/ek3Pq"; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qzw1j-0005Fw-SE; Mon, 06 Nov 2023 04:36:12 -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 ) id 1qzw1i-0005Fg-7Q for emacs-orgmode@gnu.org; Mon, 06 Nov 2023 04:36:10 -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 ) id 1qzw1f-0004jF-Uv for emacs-orgmode@gnu.org; Mon, 06 Nov 2023 04:36:09 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id DD271240106 for ; Mon, 6 Nov 2023 10:36:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699263365; bh=IjQRuw9Z+C++E5D74qfAq7E4Uz3fU7VpWxHYPrvlz08=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=V9/ek3Pq+xZnEUepRzDe0TlL6uYouuwewWKvTWYN9xAmmflxJoOM3X/T3bJ7Eoar5 2iuWoxW9x8Q+im26h0vpp7bPgLY+icWCExsFz9OM0bhaUF17vnFVM4SW2zipaHebDI NMrrXmQ03ZAVEkfx6In/nnXz+C64WJKse0c8Vh2uLa8sVTRHLYMLm8wemy4koKGtDn xbET8QHHDQt/4IG3NCnEVUvHYfOUFZALZQQcbWZVyH1E5q9KiYHy2ri8QBvHGEz+h6 iHXih7YVtXt0cxVHIVnwyQjE2/qXLd9qvanT93R2KWKaDGdzLgx0LW7J9oLF5oE8A0 ztkoDfBlWLLzA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SP5nc5Dv3z9rxG; Mon, 6 Nov 2023 10:36:04 +0100 (CET) From: Ihor Radchenko To: David Masterson Cc: Max Nikulin , emacs-orgmode@gnu.org Subject: Re: Exporting Hyperlinks ? In-Reply-To: References: <87y1fc4bog.fsf@localhost> Date: Mon, 06 Nov 2023 09:37:59 +0000 Message-ID: <875y2f43yg.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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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-Scanner: mx11.migadu.com X-Spam-Score: -5.96 X-Migadu-Queue-Id: 389AC3E466 X-Migadu-Spam-Score: -5.96 X-TUID: P5qZkZ5rl5eL David Masterson writes: >>> [[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. > > What else is there? PDFviewer? What is the standard for Latex? Yes, PDFviewer. AFAIU, it is only possible to refer to a specific page: \href[page=X]{test.pdf} https://tex.stackexchange.com/questions/675130/open-an-external-pdf-file-on-a-specific-page >>> [[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. > > org-latex-publish-to-pdf ?? Oh, you mean that it has to go through > Latex to get to PDF. I mean that ox-publish is mostly polished for html publishing. While it is technically possible to publish with other export backends, I expect many rough edges there. In particular, `org-latex-publish-to-pdf' in ox-latex has no special arrangement to support pdf cross-references. There is even no conversion from .org references to .pdf references as .org -> .html in ox-html. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at