From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EC0nI7jYlGFD8AAAgWs5BA (envelope-from ) for ; Wed, 17 Nov 2021 11:26:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yHjhHrjYlGF4dgAAbx9fmQ (envelope-from ) for ; Wed, 17 Nov 2021 10:26:00 +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 F1166226A7 for ; Wed, 17 Nov 2021 11:25:59 +0100 (CET) Received: from localhost ([::1]:52264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnI8d-0006fE-6n for larch@yhetil.org; Wed, 17 Nov 2021 05:25:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnI80-0006f0-Um for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 05:25:21 -0500 Received: from mail-eopbgr150092.outbound.protection.outlook.com ([40.107.15.92]:60548 helo=EUR01-DB5-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 1mnI7w-0001NR-P0 for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 05:25:20 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nPQ3whnH3zTzmZyJ5ggXhgcYIz5pCZD1Pjevx+bj6A3WErJ7FLkVpC5dgEcCQuzeo9TEPifDEexbvsNwpZDsZmSiW4yA7wRkr1ikJL5ojVorzvEIHH68W7ECiAmHwpq/FBRcibe1YxTJVNxgDhWzVkRR4/kVPpr6Znn1A6XRUnuSDCumCH/83JqXn2iPh9+ZKep0cXknmx0uEx6it0kQGeRt2xQsuzaDNog5hYQ5/eW1QMsG8seTbNAbLFtx2nZeBN0tKy7WlA9MtJXb2Dtc+F6uv56lu78aC7qsdM+86ZEZf5RobnPI0QrAsjc4XCQ2B2Lgv/OqaX8NM1vf4ZtbBA== 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=WeDh7Z32O3mzmoLg9DQhHLaDnsdXjxr7zFIWN3uVG+o=; b=BJgS69Oo51fpNuG2Wmp8e3RtVWgSogBYpG0krAkyvipvV8Msvp5x7u3xbn25k92aX0tELMylv2Bde0L8zcKFTKKv8NOCjBlzdzwKnirGf0TS35bSLilUM3CXq6Yo0PP2opnPvQK5oudE2RyuARYIbpaS8fxf+D6yYleaOIR269yXOFaugCzh5jY8+BM891aCzY8CJi+DFe0lfy/847BfucHf5EeL2vQi/sQKUDeS5G5rR3iSmTMGkZPIwl0JkRVRvaFpyew7wLOeylrY3MnTyC+wv2EisQTHWYP4DMNbI+9SKoPDdKw0wmKrLA+vE696cp0sri2XJpZYWg0XjKza/g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ucl.ac.uk; dmarc=pass action=none header.from=ucl.ac.uk; dkim=pass header.d=ucl.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucl.ac.uk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WeDh7Z32O3mzmoLg9DQhHLaDnsdXjxr7zFIWN3uVG+o=; b=pgH94miv4r/NnepVyqetMW7b/SXOsX7tRulOSichklCoZEuuCUuyLW078f3CP4jfOFFgdCcJOSrKp1lhSx28WvVSbepQD7mXdLsnVBOMHTg9btVTj8g4alvEm06l8RGFJJqq/VhsCc+vOTElyy12k4/BXcoJWH0ZoQO+pZH0u/c= Received: from DU2PR01MB8429.eurprd01.prod.exchangelabs.com (2603:10a6:10:2e4::16) by DU2PR01MB8343.eurprd01.prod.exchangelabs.com (2603:10a6:10:2da::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.27; Wed, 17 Nov 2021 10:04:34 +0000 Received: from DU2PR01MB8429.eurprd01.prod.exchangelabs.com ([fe80::a09e:35a6:bb74:c20f]) by DU2PR01MB8429.eurprd01.prod.exchangelabs.com ([fe80::a09e:35a6:bb74:c20f%2]) with mapi id 15.20.4690.027; Wed, 17 Nov 2021 10:04:34 +0000 From: Eric S Fraga To: emacs-orgmode@gnu.org Subject: Re: insert automatically a reference to a section header and a link Organization: On the Interweb somewhere References: <877dd7mdx7.fsf@mat.ucm.es> X-Url: http://www.ucl.ac.uk/~ucecesf/ Mail-Followup-To: Org Mode List Date: Wed, 17 Nov 2021 10:04:33 +0000 In-Reply-To: <877dd7mdx7.fsf@mat.ucm.es> (Uwe Brauer's message of "Wed, 17 Nov 2021 08:36:36 +0100") Message-ID: <87r1bfnln2.fsf@ucl.ac.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Content-Type: text/plain X-ClientProxiedBy: LO4P265CA0043.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2ac::22) To DU2PR01MB8429.eurprd01.prod.exchangelabs.com (2603:10a6:10:2e4::16) MIME-Version: 1.0 Received: from t3610 (2.28.208.127) by LO4P265CA0043.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2ac::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.26 via Frontend Transport; Wed, 17 Nov 2021 10:04:34 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0b0533af-0e1c-4636-4cb5-08d9a9b1a7e8 X-MS-TrafficTypeDiagnostic: DU2PR01MB8343: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aQ06yc/nvCw7+wa3gQViYid2dhnXbUe8Vj5w4sjOMqWKr2j4gRNZaHbNxhWEpnWQAoOAHcEtAZhAoRR7rVk+ChvdPv+oRasudNnNRGOXoXjoHjx3S4eeIZAaQ507087AITPzr3k47rK2DM7tscIqHAbhL9xV6q2NLHeCyWdijvfXcTmMVIQp7eFe3xipIO9BtTXkwp2VRWPXRkUEWZCtYhpW+jnqyx6TmxCKrdZJefYZ7c1l5XzSo5wHuJGByL3wCBwnYTuQ37Vhl8IupV4vq7QAHoj3rCBsyGUL9Kjxz4i02E9Vy73Ehx5d2HIfUXw0QYHQAEcCQOIzjG0pu7cNOzXJTEjCs78devEw4GvaX027kSoCDy78/7KtMnZKCU5XLUr4BeoV3CZTbRUf8SMSa4M38N52inkMTZWBlP0ka0tv68D85lEpl5RDclHW3ul1+t9iiSoUiy8+p3hJSsPKsY51ghQ5iLZthyo1JHixZqzEIxSZ3fbOk4D6XkSdnAKMBY+oOXuTlkTeJf4aTal/ioBt7iEmutjmuljteLrS3Qli5aFlfF3vTt6u6tYlHgBnJlZQo9UAht+zU02GL40kgELEJ7VLDYMJ+NW2CeXcKCnK9A3/7MGRc0pXh+qcdKtnYxs955G3iR4rXhggIseDQLjzso6qP5KGf7PIuNvyzgabQdQbJWP6kMWRLBwB0eJUmMR+0cuqiqI+8HADrJmlx+FAzfTnRA8mWkOx55msd1/NFSoUorCKNakF//U2Gx47wWUq9yOBa2h4LsWZjzfcVA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR01MB8429.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(66476007)(5660300002)(66946007)(8936002)(26005)(6916009)(2906002)(36756003)(186003)(86362001)(38350700002)(38100700002)(8676002)(52116002)(316002)(6486002)(2616005)(956004)(4744005)(966005)(508600001)(36916002)(6496006)(66556008)(786003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?El+6lnQVwHFcEC9Q+rdsZG+iIgcpZ46LVLzwUrQDrHgD/a7kZxHXRq3IRRAo?= =?us-ascii?Q?8MjybZHIM1maDaN5UQ1jNqUlhCWNkn4WCQhEENx8syjb0IpKEc7sXd7MDfAG?= =?us-ascii?Q?oa+GDZHta0ZAcGoFYDF+r3nIS9brtLMarOAkYe94fmXHN7WfuHQFVk05GIun?= =?us-ascii?Q?DCbL2RvMHBEUrDJy8buirnaeTOblMlobTb8CUeHM/ZDckq5F6wLTCL8m4u3R?= =?us-ascii?Q?y06/83dKQKRo8kPYXB+FBV000YSIYkEqUE7mZmzPlZrdCJfVHzX8z3nME6JA?= =?us-ascii?Q?/girYi8oowFpQ+1XcVU5fjUOWRmrB22ORcL6k8LEznfpRuOyG3iHKyuybJBk?= =?us-ascii?Q?2s2wZXF7tFy270pLXxQRKMurYlDxcddLXFWf5Xjzjook9l9TAAnlCS09Z3pa?= =?us-ascii?Q?d2ASFsDP3Ii+Yc9iIEwvxn8MsEGxfhPW/b/IS0xEI6jQ+Ei+i5JKsZnkpv/1?= =?us-ascii?Q?HUXsjwP7XzdoQvGs1kwlplkAQ3tba9/+F3qTQZCjQkFcPNu6BXUo5wmbTqOM?= =?us-ascii?Q?A2dYfTRsszol0WMBeei6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?= =?us-ascii?Q?yiwAotRcbJGWWaCb0FMLDGLE2bSYpcepRfy3sBkSUtJepyt3+18tkoqpBz8/?= =?us-ascii?Q?QT8YJNWhmG8g4TCtJPpa16FZeh1iam1ELx2wOnV0qWQrrlHIusRLr/iC0qvX?= =?us-ascii?Q?cdkogoYkfJj4F1zJkSn6X3DXuXeoC29yBURdt+h/JpefKzcMafcoIfWY52j7?= =?us-ascii?Q?PCGEj6YJv2wCH9ffxZWqt18=3D?= X-OriginatorOrg: ucl.ac.uk X-MS-Exchange-CrossTenant-Network-Message-Id: 0b0533af-0e1c-4636-4cb5-08d9a9b1a7e8 X-MS-Exchange-CrossTenant-AuthSource: DU2PR01MB8429.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2021 10:04:34.2085 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 1faf88fe-a998-4c5b-93c9-210a11d9a5c2 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: U1PRxDipz/Q74Gkq9qxXyPzj+rM7c/kSsXFrVHpY2LIXaE+A/+05E//bpdnAUp4CU0K8yHQYoi1MO/NSNXNoHg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR01MB8343 Received-SPF: pass client-ip=40.107.15.92; envelope-from=e.fraga@ucl.ac.uk; helo=EUR01-DB5-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637144760; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=WeDh7Z32O3mzmoLg9DQhHLaDnsdXjxr7zFIWN3uVG+o=; b=u8qL6K7W1hwFXAAAu11kIZ7EtjNCmvqizzDa0AGW9laeExojD/gLvgot7738J2R4abhUM3 8vfZdKH2AR/OjCCuT0UxdaCOyn8W9h/tGB8txWjigCWlI37n6N5Ut2KiLi0rL9dY0nJH07 hjS5rLd2RD/ulWYBPSGC6oIXhh0H88voP1FiPa9cPQZRmkRVZBGPStDB3Z0/3GpcHtbvUw +E8s6WHHwwEAuAfI3h5WwpX0d6VjA4DiwfrWFiGAcFzfafTySdvR+ooGk7R92g3c9MD4Ha LVLZ1RXwoRy3is5WHRRD0zZ+iKPIsIUrxgynVIxYpX6A/ZkqRvhv42ZdiSV90g== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1637144760; a=rsa-sha256; cv=pass; b=grTMTgyDddjEeiF7XaIqYrfE5z/dKPe+ITUYF90jppNj00d/99E8CkKnmn83UdXYp882+j oaiKeV8H+5EPB/mOuFSOQz2rcckv2/c9cevHrv5wiHSYHpcqkBJmR4Yo0Ko5Sw2llPXO/B odmcPbFEMyzTLc24TQwIKC5kkDCdOjXFt6m22i3CKTOsdxBpjK95rZJ3jeBp9v48vdI+c+ Hsvj0PKUMQbuzndRlKZfmD5Bx5l3JCI43olMI0VJQn5+VvWjV9khz5G3/mZvcEHrAGSgOq sbKM4InSDevkELhRks+bAHTLSXkgFzddmOJT+l/6KLzjNB3zkg5NCcJELrCWiw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=pgH94miv; arc=pass ("microsoft.com:s=arcselector9901:i=1"); 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-Spam-Score: -6.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=pgH94miv; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=ucl.ac.uk; 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: F1166226A7 X-Spam-Score: -6.05 X-Migadu-Scanner: scn1.migadu.com X-TUID: vPvUy2RHmXNR On Wednesday, 17 Nov 2021 at 08:36, Uwe Brauer wrote: > In auctex+reftex it is possible that when I insert a new section header > a reference label is inserted automatically: I do the following usually: --8<---------------cut here---------------start------------->8--- * <> Introduction In section [[introduction]], I show something. --8<---------------cut here---------------end--------------->8--- I prefer visible labels instead of custom IDs although the latter works as well but you need to say [[id:introduction]]. HTH, eric -- : Eric S Fraga, with org release_9.5-230-g2bbac4 in Emacs 29.0.50 : Latest paper written in org: https://arxiv.org/abs/2106.05096