emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Brand <michael.ch.brand@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: new exporter: link abbrev
Date: Mon, 3 Dec 2012 16:20:22 +0100	[thread overview]
Message-ID: <CALn3zojCbY4f4s8Zv0AANaaFNOzKC6HAsD3t0wG=GGSVu2cWmw@mail.gmail.com> (raw)

Hi all

I think the new exporter should still expand link abbreviations also
when in the heading and for all backends. Example with html link on
today’s release_7.9.2-646-g664217:

- Org file:
  #+LINK: orgmode http://www.orgmode.org/
  * Org Mode doc [[orgmode:#docs]]

- export to html:
  - old exporter expands link:
    <h2 id="sec-1"><span class="section-number-2">1</span> Org Mode doc
    <a href="http://www.orgmode.org/#docs">http://www.orgmode.org/#docs</a></h2>
  - new exporter leaves link abbreviated:
    <h2 id="sec-1"><span class="section-number-2">1</span> Org Mode doc
    <i>orgmode:#docs</i></h2>

- export to ascii:
  - old exporter expands link:
    1 Org Mode doc [http://www.orgmode.org/#docs]
  - new exporter omits link:
    1 Org Mode doc

Michael

             reply	other threads:[~2012-12-03 15:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-03 15:20 Michael Brand [this message]
2012-12-04 11:40 ` new exporter: link abbrev Jambunathan K
2012-12-04 14:59   ` Bastien
2012-12-05 21:05 ` Nicolas Goaziou
2012-12-06 15:13   ` Michael Brand
2012-12-18 21:21     ` Nicolas Goaziou
2012-12-19 11:10       ` Michael Brand

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='CALn3zojCbY4f4s8Zv0AANaaFNOzKC6HAsD3t0wG=GGSVu2cWmw@mail.gmail.com' \
    --to=michael.ch.brand@gmail.com \
    --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).