From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6NRWGceURGWBUwAAauVa8A:P1 (envelope-from ) for ; Fri, 03 Nov 2023 07:35:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6NRWGceURGWBUwAAauVa8A (envelope-from ) for ; Fri, 03 Nov 2023 07:35:51 +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 062AE3468E for ; Fri, 3 Nov 2023 07:35:51 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=LpUkbPQy; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); arc=pass ("microsoft.com:s=arcselector9901:i=1"); 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698993351; 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=HeLRcoyGlOqer6vza0sCAt0SrPoA3mnROSOlznk+OKc=; b=E44NpE50xyAn0LiyNww7Boz98CAvset43U5xhC1dCxo+ly58lIER3o5oleo2fzjIVmFHeZ 7z1v4eJmhQbpql2PqSj4QAOdPY3rKJE6Ge2JI6LDrXToUFO0jhBOwl9Vn6/9UYwxDdh5aq ZPHSJGzzOGIjuXv25ET27emklRYTr0KQGbfhMt0/PlqwBOkEkFV832Fm0ZyepyvymBwhWe 6SYLxvNZUv0ESFB0hdPpCpRf9Ba7yL2wQeMtLbYneaeruuA+P3BuPSaOgBgRch1iC7hJxJ Qx+F/XdyhGBOualBaiYpT5j/baFo1EuRGLq/q/TDIum5C8iyJyjmVStdqM2FHA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=LpUkbPQy; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); arc=pass ("microsoft.com:s=arcselector9901:i=1"); 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=2; s=key1; d=yhetil.org; t=1698993351; a=rsa-sha256; cv=pass; b=bb5P8qTNH412N4Wlzu1rt3dwnqVXaPQZldrV4MVgysxGqCxFPiFVjSm5f5ksR/rANt2ESH us5B5otWZ7lBlRoydj7FxW/7IQ+zJ0dGq++SaG6hJIdyzipQrYAJLjkRDTyZkZqCMaRfvK UsgHeW4lAMFbqBcZg1CEd9tXnuvD/iHc3e6CFA2HQcEWKZrP9HAFnN5Bv87m2bSd/lZH+V 0QPQKfOizhBxbGEhCJ5SPo1YR72ZO4hw3L6lOWUsY5mBaWSUKjgdD9RZrfcvkvVKMWIKLb xBxXTJcXG6Sm2nqRGYIgwyIdzs2KvUcC2lQifsZ8RGLQw7EyrwMjRqdopJToZQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qynlm-0006fe-52; Fri, 03 Nov 2023 02:35:02 -0400 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 1qynlk-0006bx-3h for emacs-orgmode@gnu.org; Fri, 03 Nov 2023 02:35:00 -0400 Received: from mail-co1nam11olkn20828.outbound.protection.outlook.com ([2a01:111:f400:7eab::828] helo=NAM11-CO1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qynlg-0006mW-RS for emacs-orgmode@gnu.org; Fri, 03 Nov 2023 02:34:59 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GnoxNl7YFLWW9htcuRAf1Y6hgdc1g96DHPMvjBQH2Y2+ed27hLYjfut/uov7g6nTv/QnreSE03FYyMplF/hXQBdH9Xj/f3WMb4ZCGOE0nC3PfVTVkiOyR4hBV7GjmNq4BhB+qRczheH9TbW/odpjkVfxAPGJJ8fhaPaSlR+G3KNVfOLr/hzhvao5vlTdbn4HIpmBW/1rasxauGKu/1epXI/dv+6DaXm3nyKwTFs3D+ONKnwMmz3r8X94lextEQRfSIvjZUM/xrhv7w3t2K9ATTWwBW51PgHXj1UcISY6r8MVEnKWW9GxDR75Cq89Ny1dq7Us0D8l13m5qaLaZE2KTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HeLRcoyGlOqer6vza0sCAt0SrPoA3mnROSOlznk+OKc=; b=ki+Eb/rfR+2W3330GkKtAyVdd6riFGeoSAXb6X121+GQ7aSydSVi20saqx/4mSopz4rXwKJNdPujwogx1HXRrVw+atsLAMLYFYMuL5T07m43EJ8NgEEdtdhEnXbx/cEHNj62ecOrkoLKSpAlAvxMy2wpN+Br8HJIIoyFofK1BueY4XI9omHhNAwg1kf40v0cubQe6sm8Q5hxgMS1DgD/qLTSimuoU0JvH3WMImlvhpHUmMKSn/lUSpzgSYDPjitXwzeLgGmkucbu+4hwY8KvkPCutJhuHWU1QNmNp5Je/LVZygKoOJbfU7iOvY8U4cG2v29rNljkjIc7+accMcXP3g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HeLRcoyGlOqer6vza0sCAt0SrPoA3mnROSOlznk+OKc=; b=LpUkbPQynKXayNgOg3LPAhkOSzMyAGORcCKl3ymPqLCXZOaq5B/XUjBRz8tscS4OSEFEtszKB6RsunX2vFAXHo8vW0fejQXIhQNBiRr0YcJWiaZ5+hMOnRuPZgoYj2I/4r7QpvVvLxAcZubES+IWxjUQoapYYWe7XA/L87sRWufGflINIA9EsRsuKqakBtn52mC/U/oRXHyqiBupouASxXGanVGoBOWkfTTN971SByvQw1ltk0VrNydDUvVroJN1iO5eTXCHZ4PnKkYX4qLAPbXvB7UJ7+n4fTuxOyIC0hZN65k/RIjJe1IktAGHmVZOOusPHo5a6T/+ri4Exolntg== Received: from LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1be::16) by CH3P223MB0804.NAMP223.PROD.OUTLOOK.COM (2603:10b6:610:17f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.21; Fri, 3 Nov 2023 06:29:49 +0000 Received: from LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM ([fe80::7d35:185f:bb01:ebd8]) by LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM ([fe80::7d35:185f:bb01:ebd8%4]) with mapi id 15.20.6954.021; Fri, 3 Nov 2023 06:29:48 +0000 From: David Masterson To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: Exporting Hyperlinks ? References: Date: Thu, 02 Nov 2023 23:29:46 -0700 In-Reply-To: (Max Nikulin's message of "Thu, 2 Nov 2023 22:24:14 +0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Content-Type: text/plain X-TMN: [91MX6umXoIEVEW0ZNKB44Rd7fhnWcf5z7IIFEmT8gqoCCKq3tA0ihuYDxgd8bmUj] X-ClientProxiedBy: BYAPR01CA0067.prod.exchangelabs.com (2603:10b6:a03:94::44) To LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1be::16) X-Microsoft-Original-Message-ID: <87bkcb2vtx.fsf@penguin> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV8P223MB0920:EE_|CH3P223MB0804:EE_ X-MS-Office365-Filtering-Correlation-Id: 5871682c-f0c3-4b66-b1df-08dbdc36472d X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Gmn1xP74X3MniKYVdrsBCBPbyt9/fX6+rgl2WqJ2DmGNx+ySefsgjfTmDxE506S45Td7SGuiRjnrEButalr4MffM5KZ/HVRdfx6K798C+1hsyT7MiIXS7oup3yIAa8A/vgIJ5rU81hWjwtv94x4YOsWBkd1773aPU0lQgX/wI5ZyW8CqnGlVPOHrMpYZkxMuSYUBX20qaDiWjOaak7pLLJ0zHzN69f+RXvlOhdtuCwXInmG7Mn0r8OTmHS0Lq5cFQrl7FooBwg8BIlL7yvQpu/s26X+Om6suD+XttTqI2NjLy8VpjuL8wPfxbGHXTH9MzTT7LnvQbvaAIFDQgFVrckGcPZWBSJVn1bHuFhgKafR129Lq+0AJsUljBfGe/KaC6lEOl9JSmAoWASvik6NHUpLD2yUjWN5I7Pz33jnSL9rEDILKYtaiNmp5V2M4Os1SnmmaagR/7AK8T8tzYYBfUAQm5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yQiHBz9eA6VjqBr/1l4nOBuPEjVa3kr2JpZxfdPh1khSoV4az6RT?= =?us-ascii?Q?885YlQY2FWER1ps+DsFHRlB3oY7Cl/uot2cZkV+0bx/n959aVejELjvGjCSK?= =?us-ascii?Q?GhPL763Gw2smeL6IgzZoU7quuQYC46aw3PvnczA8/8ElfUk9s1JBfS2Pkpcj?= =?us-ascii?Q?zq2O9fnSJiUE7Y1B+k643WNVP70qWEx1htZcWvqOC3fRwN0UHvWPBqHFtV3A?= =?us-ascii?Q?tCJ1iFZ8XgJQOYlZ2pMK58g5fmtk/ocn1VnDg4EwEI/DSUi5JbClJXUAmk0U?= =?us-ascii?Q?+cGctVd2/g1BCAeYkIH94LOcBq+HLA9YTzwenphnlV0//wzCXp5Sx9CsBvQ4?= =?us-ascii?Q?qYOGgou2nxx6ChDRTlqcPUTX5MqAde07uZka/aLyuNcvKAuvkF39AVVTT+FP?= =?us-ascii?Q?qbYYrw9MAG1IU4VX3ur7dCQaOI3aVH6wh/L2A+spmz0bD5U5vVMez1qsmeKY?= =?us-ascii?Q?rGhaJBSPRaOxdxMWeXD44rJrN/3yUSrtYy7EEUK4BwaHFf3q8t9sWkh+eels?= =?us-ascii?Q?EyAkXht747tkjigEZ6L8WhSIdBRP5iJTg3svnpdCGVgLcRkAVGQZlNEkb4Ym?= =?us-ascii?Q?ADX57FqdTgxavzmTFDhKWlL4?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5871682c-f0c3-4b66-b1df-08dbdc36472d X-MS-Exchange-CrossTenant-AuthSource: LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Nov 2023 06:29:48.6163 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3P223MB0804 Received-SPF: pass client-ip=2a01:111:f400:7eab::828; envelope-from=outlook_98C99531806B1C22@outlook.com; helo=NAM11-CO1-obe.outbound.protection.outlook.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FORGED_GMAIL_RCVD=1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: -0.52 X-Spam-Score: -0.52 X-Migadu-Queue-Id: 062AE3468E X-Migadu-Scanner: mx10.migadu.com X-TUID: qWHdNGe5YBG1 Max Nikulin writes: > On 02/11/2023 09:11, David Masterson wrote: >> If I understand what you mean by "anchor", does Org create an anchor in >> exporting to Latex when it sees a CUSTOM_ID property in an item? Then, >> would the search in the hyperlink reference the anchor? Your examples >> weren't precise enough for me to follow. > > You are right. Despite `org-latex-prefer-user-labels' exists, it > currently affects LaTeX label names only, so it is possible to > reference them as #page.2, #section.3, but not as > #custom_id. ox-beamer however adds \hypertarget{anchor}... for Org > <>, so in PDF it can be referenced as #anchor. > > So ox-latex should be improved to add \hypertarget commands for CUSTOM_ID. I agree. For a link of: [[file:contacts.org::#custom_id][My text]] the generated LaTeX href looks like \href{contacts.tex}{My text} which looks wrong. > Originally I suspected only issues with links. > > To get links between HTML documents where CUSTOM_ID are not used, it > is necessary to rely on org-publish to track autogenerated anchors. I > am unsure if publish works for LaTeX. I use publish for LaTex (org-latex-publish-to-pdf) -- David Masterson