From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id OKwkGvwuSmULFgAAG6o9tA:P1 (envelope-from ) for ; Tue, 07 Nov 2023 13:35:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OKwkGvwuSmULFgAAG6o9tA (envelope-from ) for ; Tue, 07 Nov 2023 13:35:08 +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 0852E461F8 for ; Tue, 7 Nov 2023 13:35:08 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=RZ3sPSzV; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699360508; 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=PPtPvYBksmvki4oveCNtZqBRe8dNUPmSM+qvXtKqTXs=; b=oBVL3nOyKuYqPQqLdyaCuROrxpzFulnme+yGAwh5fEXhMJaSvUdRnXawLOde5JorZdiB6C R6TTz9+GagVvCAJax5OLzOoO4qm/OFBCcq5czRF5mr2ofF8UwKcoWk4qEp/uApmj7CLWys EaZzmub8UZviOGb/24LFp/ET2ZwyB0yfyv43FLpfx5VyvBZXlENGX23U/NFj8B/Rpfdms8 +/HXrXzP03QSJ2vcRRs23e79NUGuDF9YrS8lW7tGNiqQciece5r8ER2AAUfeb2fPNAWWwA tcMl58TKbXvjA4n0YP17eLTatqdoNjl2fZhJz1kNypKl0b2Kx9GafkoogI9IMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=RZ3sPSzV; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699360508; a=rsa-sha256; cv=none; b=PS04k4OFUZL5/NnySCKnFGXBmJH9yGUAcMPBYSVEM2N1n/h6Ci89LW6oej4JYh6bOhq3Ph MlQIdBBNtGhzTxBXM21V/Y53PfEABFkQeVKKxIHKc/cf78jmBpUawYRBHnarTtN+7DMCUf Xnokxp7Cn9NPemP9mXbtFVkwoix8KZeYOvbQnpm/wxab9Pjn+RO1ktKtCuIhJdqiMNH2tN mHsDA9bCcLEB8jXMiHplcvF5CR88hIqaurHT7yM8tvl1md2xAJg2Fe+VEMKufKVqS+btqJ g6zdzNXE67O9tNaxiqM03lh8TypZ4zo7D8m5W+j+nHJLECfWjDHHPQYjoz9tHw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r0LHq-0001Nr-Vy; Tue, 07 Nov 2023 07:34:31 -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 1r0LHp-0001LY-LP for emacs-orgmode@gnu.org; Tue, 07 Nov 2023 07:34:29 -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 1r0LHn-0007IX-DN for emacs-orgmode@gnu.org; Tue, 07 Nov 2023 07:34:29 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id F3CB8240103 for ; Tue, 7 Nov 2023 13:34:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699360465; bh=eot6kk7ajCtDBlrUyD6nn/cg19NpWvL0srzuH1dpG4E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=RZ3sPSzVQfyo+4eOcnaolOT8SVKRzsSEfD4fKmcUEOuKki3kYW5rtuoBIVw00/ST7 zrmwx380DKpmFZuDczRkevI1cbUH/jfSjWDjbSbzwTRvO7ESq1fpEsJu2a7w99uPc7 rt1cVO6ljDX6iIlOhvsA3HUsClbsufmab9eNk+Hr8xCL7PcOkwBBRI6WEXigriE6dD A15HnBF3VE45Y9UoBXDtr1XEjm72DrcrJDB+NjC/ZX2v7cjdtXJj6n+r7Lu9r6h87w +72JPWiYlya/HG40BZaOE3TvmCrr5NimuOZt7S515nXjO7pFGiPKbCJUR9q1IlkUsJ sb+ocFC+G8u+Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SPnhw0bVGz6tsg; Tue, 7 Nov 2023 13:34:23 +0100 (CET) From: Ihor Radchenko To: Max Nikulin Cc: David Masterson , emacs-orgmode@gnu.org Subject: Re: Exporting Hyperlinks ? In-Reply-To: References: <87y1fc4bog.fsf@localhost> <875y2f43yg.fsf@localhost> Date: Tue, 07 Nov 2023 12:36:19 +0000 Message-ID: <87a5rpoi4c.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-Spam-Score: -8.31 X-Spam-Score: -8.31 X-Migadu-Queue-Id: 0852E461F8 X-Migadu-Scanner: mx13.migadu.com X-TUID: K5GgTwVyetIW Max Nikulin writes: > I just have tried > > file-a.tex: > > \documentclass{article} > \usepackage{hyperref} > \begin{document} > A 1 > > \href{file-b.pdf#b-2}{b-2 in file b} > \newpage > \section{Section in A} > \hypertarget{a-2}{}A 2 > \end{document} > > file-b.tex: > > \documentclass{article} > \usepackage{hyperref} > \begin{document} > B 1 > > \href{file-a.pdf#a-2}{a-2 in file a} > \newpage > \section{Section in B} > \hypertarget{b-2}{}B 2 > \end{document} > > Cross-links between files work. This is interesting. I am wondering if it is document (it should...). If \href{file.pdf#anchor} can work, we should indeed use it when publishing org->pdf. In particular, we can introduce something similar to `org-html-link-org-files-as-html', but for pdf export. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at