emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Husain Alshehhi <husain@alshehhi.io>
Cc: emacs-orgmode@gnu.org
Subject: Re: Org-mode ASCII Export to support numbered references for links
Date: Sun, 12 Dec 2021 19:27:54 -0700	[thread overview]
Message-ID: <CAJcAo8uObKhss+-MypTqFVOTwFqVQwaOw4Zx=ZPCF5W-b6QbdQ@mail.gmail.com> (raw)
In-Reply-To: <877dc9clou.fsf@alshehhi.io>

idk but you can put them in place using org-ascii-links-to-notes for a
dry effect.

On 12/12/21, Husain Alshehhi <husain@alshehhi.io> 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] <https://www.google.com>
> `----
>
> 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] <https://www.google.com>
> `----
>
> 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


  reply	other threads:[~2021-12-13  2:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-13  1:56 Org-mode ASCII Export to support numbered references for links Husain Alshehhi
2021-12-13  2:27 ` Samuel Wales [this message]
2021-12-13  2:30   ` Samuel Wales
2021-12-19  4:55     ` Husain Alshehhi
2021-12-19  4:52   ` Husain Alshehhi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJcAo8uObKhss+-MypTqFVOTwFqVQwaOw4Zx=ZPCF5W-b6QbdQ@mail.gmail.com' \
    --to=samologist@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=husain@alshehhi.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).