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 AIY3AYiwtmFz6wAAgWs5BA (envelope-from ) for ; Mon, 13 Dec 2021 03:31:36 +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 eBleOIewtmHWSgAAbx9fmQ (envelope-from ) for ; Mon, 13 Dec 2021 02:31:35 +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 8265FA34D for ; Mon, 13 Dec 2021 03:31:35 +0100 (CET) Received: from localhost ([::1]:54758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwb7l-0001BG-Tf for larch@yhetil.org; Sun, 12 Dec 2021 21:31:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwb6u-0001AC-0l for emacs-orgmode@gnu.org; Sun, 12 Dec 2021 21:30:40 -0500 Received: from [2a00:1450:4864:20::129] (port=46617 helo=mail-lf1-x129.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mwb6s-0007EC-2W for emacs-orgmode@gnu.org; Sun, 12 Dec 2021 21:30:39 -0500 Received: by mail-lf1-x129.google.com with SMTP id b1so28152187lfs.13 for ; Sun, 12 Dec 2021 18:30:37 -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=hXyHK4bzcF8LigfdwQRTsHSHDNzkX2XOHkOG03+D+DA=; b=HM+O/EICCotE12+hjMoxkjmG+xEFThKxrTu5Ipekxj35PmD74Q4ynlB9xtTh0Lzi1X UDlIn8oGK6jiBwGL4rXDhuHoJNzWCF6dcJ/LUqUVslyg6noqBJHHbPV0HVrrblWNLyJ3 Hwa+Br7r8ysBjxVPb51gQJlEZ3IZFhbnUR5nqej+KFWGZbMhaMabTZ/gn4pySAfgf27O TBpQvTjmR8tkp0giXB4gof9SLYEmaVgT1aeHnvI/1UFxYC0980QK44YE5AkKFcPmAY7K cCDHvvOGPyILA9soMUwBG7BMPvnUqpmW/BKwkx6T3M7DqMSHw3GLYQpTncScNr4hkYmc siQA== 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=hXyHK4bzcF8LigfdwQRTsHSHDNzkX2XOHkOG03+D+DA=; b=Xtg1Fgs/KgV81TX8WDi0R+tXlruJ6t7cO6F018vsA4TiPsbgPvdZ8wG/wFUe7LZy3H MOMGndUxdm5DUIXLHAsOXZvKm5xTKUfdh12x+cGwpvjrHuKO7PTnOi6KLjBSc+rMxv1/ cPHBW5OvRMG4wkygJrqq9MLrI4mbS9b99IEd89NVERHabwhxxzCyNWeBTkruFM8CZ0s8 HPZ4cV4RO5stfuyM6mLiaroWQ25aSxSo7lfq4tyApeVkosgYwrDbPWfh1mo00Be84yvS LRuMGq2fWdllENgqAgDuBSEIR3Zm8ePQBXSVFlPwgDln8kfJA7rZLTYdgLDSfTxij5pU z9Rw== X-Gm-Message-State: AOAM531OLr15+oIME1RI3AR2hwJsEdnsAC6Oo2eVLzVqGaXUufu31BD8 wuGB5Q9WqZ9VFSBj1x2vxSgyKOziu7aHS0yhXg0= X-Google-Smtp-Source: ABdhPJweYGbHFbeMimxsuKNqy9ikVdwA9dB43e/OPD/sDXH7Fw+/gY3aXh7kTbLrQnA1y7/8TkJVDl2OJzus4ygJttg= X-Received: by 2002:ac2:4d8d:: with SMTP id g13mr26305823lfe.49.1639362636263; Sun, 12 Dec 2021 18:30:36 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a05:6504:1491:0:0:0:0 with HTTP; Sun, 12 Dec 2021 18:30:35 -0800 (PST) In-Reply-To: References: <877dc9clou.fsf@alshehhi.io> From: Samuel Wales Date: Sun, 12 Dec 2021 19:30:35 -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::129 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=samologist@gmail.com; helo=mail-lf1-x129.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=1639362695; 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=hXyHK4bzcF8LigfdwQRTsHSHDNzkX2XOHkOG03+D+DA=; b=jAPk3V111btenhsBYx6O/keek1cGXhVoa6wQmxC4Qi8nN4ivYovtszxGb2Yoa+tS0WiLx3 8K5fNxwPInn5X916tGrFqj+lCL2EXqJbo5GDmWuyoBdB4cr+Gryb2NjEutjag7SV0Pqieh fbfiM28aJ0oEYxWboNlh+sqkNTfChsVZBmEeXf+Q869Q4i9Ez+62irugn1a1wAP0wJ4XUI T9IJWC8r3IQZX6obpcfDhJZMd72D34hsZDaKq7pT2eYNJOUbcrp1TSht97yjOfgNaNhAHs qcaWCxNRPBt12tBosbkmdpsKYpMUkEv3caeag78igU8j9K+bKsjJ1M/EkK0Ceg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639362695; a=rsa-sha256; cv=none; b=mq+s4+bJGiQVkFmGIhTSpE2YAxfKPPlSsJG0TRBkHAOU7sXqdcswPKXUCaAPQNhqhZpBk0 vjqOoYshk0XRWZF8CzDPlrTVQnLad0e6UcPeUHalM08Z7vWtRyftktg6tYsxv9rHlCKpWz hXTGRMNg0PXWcMI3VjB0l6x3Ub2MnAKjnyyEo7C3nO6OpZFfX9OBDjjfdmyQpCS7hodkHY RjNwQGJzfenRe5N6PftUIFXyY5gNDRnysVNF8kUwB4xHVNtQ2wLOZwhFSq6hQA1tlTU3YD GKJ9aOMLKPxA6gV7mmzhF1BC42TOWYVAxlZIuJJITCma74O/M59d64G25lBJ5g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="HM+O/EIC"; 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="HM+O/EIC"; 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: 8265FA34D X-Spam-Score: -4.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: YuIqTxc+fB4h you can also use inline footnotes.google[fn::https://google.com] which will be exported like you like as a kludge if there is noe. On 12/12/21, Samuel Wales wrote: > 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 > -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com