From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SF6JAuKvtmHC7QAAgWs5BA (envelope-from ) for ; Mon, 13 Dec 2021 03:28:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mN7WOeGvtmHQKQAA1q6Kng (envelope-from ) for ; Mon, 13 Dec 2021 02:28:49 +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 245DA16968 for ; Mon, 13 Dec 2021 03:28:45 +0100 (CET) Received: from localhost ([::1]:52406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwb50-0007uh-Mp for larch@yhetil.org; Sun, 12 Dec 2021 21:28:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwb4M-0007uW-MO for emacs-orgmode@gnu.org; Sun, 12 Dec 2021 21:28:02 -0500 Received: from [2a00:1450:4864:20::22a] (port=43915 helo=mail-lj1-x22a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mwb4H-0006p3-Ua for emacs-orgmode@gnu.org; Sun, 12 Dec 2021 21:27:59 -0500 Received: by mail-lj1-x22a.google.com with SMTP id 207so21668931ljf.10 for ; Sun, 12 Dec 2021 18:27:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=UfumjAen7NOMS5gZ/2rrBvoW7HNHtfWXPqgnwkrqDkE=; b=C1pCnJIOIID/ZPC183ex3ZZCn8m4C745L0Q+/xqLEzYmMk6ZZUbn0ELd9944XS9l72 EhwuAkob/cjicHzlAqCnZNmFROoFm4UaJK+ZctWQeAuJySBP40uWM9+Eluz5Qs5RMhAW IKmsC8SWEb7XV+/6Gmt0aFVOomPOJQzMl2uYfAZoHTdN6VmWvQfReKmE47RNj/qbYs1A K96nf2jMJ/CS40NOHzdiMVutFiJ/AaraW4W4/yj9xw5WQnziq10vRSvg0tdDW5vbj4PN tyFL7EtGwOyjJ6ExT7aSAcXtFPRHGEC8Za0rBmOPSq7bLxKkeOzwk39ggJHY435TXJaM +hEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=UfumjAen7NOMS5gZ/2rrBvoW7HNHtfWXPqgnwkrqDkE=; b=KfwQKCx0FECPMU9zT6w6jnl0sME7W/qWYoFzSM2FBFPCCZByI+zBF+KMFahPk1dDwn 2UzvCWB2Tn/ZGr4ng6Sz3BKDyrbEA82nu2y+eAsetPwDpMujOOcEPtt3Ama3oOS20mPo iZ/OzIXGdiISvcX1VPOPm/HTgmP/rjrZpXBl8LL2P7kUFnu58Iooa9Pg/070jzhJiyTo 3EfUEsBVGWSFCNSgM/lvjKlKf7lRpAx//SO76PDF3E9emqEMrxV+0IW2lEtFrT1/BhaG ODEnF8aJfpHokRs1KW97Y5ShnPBnsf+VaQK3MTNCJAymnjUgfHWDa/7O19YLWc5MDpRS c9Hg== X-Gm-Message-State: AOAM531lC1Ymt+K6yIQ3KDFLu20jzJscJNj80diP61j58mRlSRbzHlyM ZDgtURQSItZ94QNLmjTxlol0mfaUpxPfEWBKHyQ= X-Google-Smtp-Source: ABdhPJzKhVHoiBAynzhETSV/mRauDiKME1utnF0If+W5maoemndZzYFZTFi4eNTBX6b94KVeBZEKYWHh38k0tATkhNo= X-Received: by 2002:a2e:a175:: with SMTP id u21mr27836391ljl.284.1639362475244; Sun, 12 Dec 2021 18:27:55 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a05:6504:1491:0:0:0:0 with HTTP; Sun, 12 Dec 2021 18:27:54 -0800 (PST) In-Reply-To: <877dc9clou.fsf@alshehhi.io> References: <877dc9clou.fsf@alshehhi.io> From: Samuel Wales Date: Sun, 12 Dec 2021 19:27:54 -0700 Message-ID: Subject: Re: Org-mode ASCII Export to support numbered references for links To: Husain Alshehhi Content-Type: text/plain; charset="UTF-8" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::22a (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::22a; envelope-from=samologist@gmail.com; helo=mail-lj1-x22a.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, 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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639362525; 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=UfumjAen7NOMS5gZ/2rrBvoW7HNHtfWXPqgnwkrqDkE=; b=hRsjRILTfx/mdcrpbHzf6yh0P1iodKXFGtjLHuAQ0SWqOjX+LZIURbrcR0NBaNOFN7zaWP /dk9y4apxeov9SnYTjfvH8eUScRRD5iqesXm5xzEEnjkD8+WCfmu8OomQPyykxlrI60Z6K y6Xv0oKXhzlgQwN0ypyEzpdYlUiOn7QQFG14BtHDP4/etlv0cmg39loCsAoiE6dYGpc3JN JHi0mXblSAtATRHRM2E2dm8YybGkbDKp07Wz/FdNnHoKHWWOuAGV7Lqsie+9DbTEDs6I8+ oiH8L9zOJfJnUPN6zo+bH4yXA3PKMWvmqfj8Wdm3LFxHNnlzQ8Ovc8upjXMRGQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639362525; a=rsa-sha256; cv=none; b=eSqDTKles5ghSQ2jrEUpBPP3LTCJ/tyePWCuO2nImc01+VbBqkJPI9I1vzq15SX5sWJaHX 7zmfG2rJuZbLjhsgC5Et8wX13tJzhMqOZTZqImxr7q98TIxupdrMMrrN3GyhMzsHAfbMIh 5DVO8kfb7BVOqTL8YspFRPil6sX3Zmvp771TLdvjQxSSAPelljRoyd9G298wFvp+GxQ/tb mncGS4stjhV4OXNJnC71zOjKw0LTHxoqID7CDc1Ya+SLUE2l2H8u3/amBpzoW36K9HqMIe zkOiAOBpUbKWGG4U2g4QnvOVhvwWDiX3Zrt0w3DabqB5icUrhsvxaXhXkk2Z1A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=C1pCnJIO; dmarc=pass (policy=none) header.from=gmail.com; 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: -4.17 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=C1pCnJIO; dmarc=pass (policy=none) header.from=gmail.com; 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: 245DA16968 X-Spam-Score: -4.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: VMBdI0aqcTCP idk but you can put them in place using org-ascii-links-to-notes for a dry effect. On 12/12/21, Husain Alshehhi wrote: > Org-mode's ascii export uses the link's description to create a reference to > it at the end of the document. For example, a link to google will look like > this: > > ,---- > | This is a [link to google]. > | > | [link to google] > `---- > > Is there a way to modify this behavior to using a number reference rather > than link description? Such as: > > ,---- > | > | This is a link to google[1]. > | > | [1] > `---- > > The reasoning behind this is that using numbers is more intuitive (as it is > the common practice it plain text posts, emails etc.) Also, when there are > two different links with the same description, the export is going to be > confusing to the reader. This happens when I use the description "link". > > > -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com