emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mats Kindahl <mats.kindahl@oracle.com>
To: emacs-orgmode@gnu.org
Subject: Replacing links with section numbers in ASCII export
Date: Thu, 25 Oct 2012 14:44:57 +0200	[thread overview]
Message-ID: <50893449.9010407@oracle.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 449 bytes --]

Hi all,

I would like to get references to sections replaced with the section
number in ASCII export instead of the link name, that is, something
similar to how LaTeX handles \label and \ref (but for ASCII export). Is
this possible?

For example:

    * Top Header

    ** Inner Header

    Some text...

    ** Other Inner Header

    Here I would like to have a reference to [[Inner Header]] as a
    section /number/.

Best wishes,
Mats Kindahl


[-- Attachment #2: Type: text/html, Size: 915 bytes --]

             reply	other threads:[~2012-10-25 12:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-25 12:44 Mats Kindahl [this message]
2012-10-25 12:44 ` Replacing links with section numbers in ASCII export Nicolas Goaziou
2012-10-25 14:12   ` Mats Kindahl
2012-10-25 14:15     ` Nicolas Goaziou
2012-10-25 14:21       ` Mats Kindahl

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=50893449.9010407@oracle.com \
    --to=mats.kindahl@oracle.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).