From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IG33Ec4KlWHDugAAgWs5BA (envelope-from ) for ; Wed, 17 Nov 2021 14:59:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id kGurDc4KlWFzDQAAB5/wlQ (envelope-from ) for ; Wed, 17 Nov 2021 13:59:42 +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 A14F9163A6 for ; Wed, 17 Nov 2021 14:59:41 +0100 (CET) Received: from localhost ([::1]:44650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnLTP-00055H-Vp for larch@yhetil.org; Wed, 17 Nov 2021 08:59:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnLSC-00054w-GW for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 08:58:24 -0500 Received: from ciao.gmane.io ([116.202.254.214]:38622) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnLSA-0000tr-Tu for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 08:58:24 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mnLS9-000AVv-0r for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 14:58:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-orgmode@gnu.org To: emacs-orgmode@gnu.org From: Uwe Brauer Subject: Re: insert automatically a reference to a section header and a link Date: Wed, 17 Nov 2021 14:58:09 +0100 Message-ID: <87o86ilw9a.fsf@mat.ucm.es> References: <877dd7mdx7.fsf@mat.ucm.es> <87r1bfnln2.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:S8Bkgu86CYiUiqjCPLC2+NyIO3M= Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637157581; 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:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=t0c/N09vZ9Fmsg4hFnQJOH7bZ9SkpjsM2JkJT1PVlcc=; b=uJQy+CGIAA3rNp14Acx86nx30Kz91w2Qfftxs2x3eUP1G15/qaBw3V2Uer5wOyOonnX6ce 0eojCtthEm0u6gyEroueBEdEi/K0ce/Tr2paVfSxGh7IxL7z4slV/5SXrEbZFfIN1YZPB8 WBvH8/wLD5mCAUYm3opXyImXG36rL5OWYgJ/3kfUVb9gQEHYzNXqj5sTS0P1zN/ihBcKKG O8hssSMqq0B2BnVEUoiu1TRcKMvoHzqCyQNrTrnetQrxg83ivwbd5K8MXjQHDRQdqv1fg3 bA8cXTfCx1RjpluOpEnB0bFcY8NLCzq8DC2m77jn53wuefInJTVJFs5kPF/FeA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637157581; a=rsa-sha256; cv=none; b=TfvbyBvEV/GSHnRqW6n0OsSRNTHpZ5PKcl94h6mINf/KnyUeSB4BZ8JDBQlHYmfDL3nROO X9/s8jNSARq6/r+BvRmW5zCf27VMcM0pUu3uC60kG7qv7jqRUsG0EbDWnmiW5/qd8WVCKE SKLpjhPOSQnGfdl/BwnVLDmUtwLUdo/1dhW33CeyB43Cvey7ytAgh6z88MyozzfU9HceWE SQu7T42HTiP/GSCKgXdl1vAw5IX/6DM6ZWl4cemZfrIcHktm/gBVqtFDEshQFDf3UTJ5Tm iEZ59U0+YdLkcciLQ8eaQMueKfupgIjKWo1TdCAelL7zTH2lw4q0lcA/nSl/Lg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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" X-Migadu-Spam-Score: -2.35 Authentication-Results: aspmx1.migadu.com; dkim=none; 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" X-Migadu-Queue-Id: A14F9163A6 X-Spam-Score: -2.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: hGa5neHoTPAg >>> "ESF" == Eric S Fraga writes: > 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: > * <> Introduction Right, but how do you do this automatically? Maybe I did not explain this clearly enough: in auctex+reftex, when I fire up the command LaTeX-section, I am 1. Asked for the title 2. And then the title *and* a label is inserted automatically. (I can configure what is inserted to a certain extend). Usually I obtain \section{Alternativa de Fredholm} \label{sec:altern-de-fredh} I am looking for a similar functionality in org mode > In section [[introduction]], I show something. > I prefer visible labels instead of custom IDs although the latter works > as well but you need to say [[id:introduction]]. > HTH, > eric