emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Austin Frank <austin.frank@gmail.com>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-orgmode@gnu.org
Subject: Re: another org-export request regarding links
Date: Sun, 21 May 2006 11:02:24 -0400	[thread overview]
Message-ID: <44708100.1050305@gmail.com> (raw)
In-Reply-To: <72c14a76959a63e62b3e8c61ddcaf0e5@science.uva.nl>

Carsten Dominik wrote:
> Are jou suggesting that *all* links should be exported as reference
> style, or only some?  Which ones?

There are a few different ways I can see it working.

First, and probably simplest, would be to set a flag in #+OPTIONS: that
applied to all of the links in the file on ascii export.

Another idea would be to introduce a new function with an embellished
linking markup for adding an ID and title to links-- something like

    [[http://www.example.com][description][optional id][optional title]]

In this case, any link created with org-insert-reference-link (or
whatever the new function was called) would be exported in reference
style during org-export-as-ascii.  To clarify:

    I use [[http://www.yahoo.com][Yahoo search][][]].
    I use [[http://www.google.com][Google search][1][]].
    I use [[http://www.ask.com][Ask search][2][formerly Ask Jeeves]].
    I use [[http://www.altavista.com][Alta Vista search][][not really]].

might be exported as

    I use [Yahoo search].
    I use [Google search] [1].
    I use [Ask search] [2].
    I use [Alta Vista search].

    [Yahoo search]: http://www.yahoo.com
    [1]: http://www.google.com
    [2]: http://www.ask.com    "formerly Ask Jeeves"
    [Alta Vista search]: http://www.altavista.com    "not really"

I could also imagine that reference-style links might be exported
differently in org-export-as-html as well-- they would still be
functioning hyperlinks at the point where they were inserted, but they
could automatically be gathered into a list of links at the bottom of
the html file, as is common in many tech articles.


> This is going on my list of things to remember, but I don't know yet
> if/when I will get to this.

Like I said, this one is in the "would be nice to have" category for me,
too.  I'm definitely not missing it in my day-to-day use of org.

Thanks,
/au

      reply	other threads:[~2006-05-21 15:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-19 19:53 another org-export request regarding links Austin Frank
2006-05-21  7:01 ` Carsten Dominik
2006-05-21 15:02   ` Austin Frank [this message]

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=44708100.1050305@gmail.com \
    --to=austin.frank@gmail.com \
    --cc=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    /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).