emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: "Martin Gürtler" <martin.guertler@gmx.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Is it possible to refer to section numbers in links?
Date: Wed, 29 Feb 2012 23:26:31 +0530	[thread overview]
Message-ID: <81boohr0a8.fsf@gmail.com> (raw)
In-Reply-To: <1330524644.7974.14.camel@quino> ("Martin \=\?utf-8\?Q\?G\=C3\=BCrt\?\= \=\?utf-8\?Q\?ler\=22's\?\= message of "Wed, 29 Feb 2012 15:10:44 +0100")

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

Martin Gürtler <martin.guertler@gmx.de> writes:

> Hi,
>
> I wonder whether there is an easy way to refer to section numbers in ODT
> export. TOCs including these numbers can be produced automatically
> during export. Does anybody have an idea how one could access that
> information inside the org file?

What you ask for, is currently not possible. It is easily doable
though. I will add your request to my TODO list. I will let you know
once I am done with it.

For the sake of clarity and for my own later reference, does the
attached Org file/ODT file capture what you want? One of the links in
the ODT file is hand-edited with LibreOffice for the sake of
illustration.
-- 

[-- Attachment #2: xref.odt --]
[-- Type: application/vnd.oasis.opendocument.text, Size: 16391 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: xref.org --]
[-- Type: text/x-org, Size: 545 bytes --]

#+TITLE:     xref.org
#+AUTHOR:    Jambunathan K
#+EMAIL:     kjambunathan@gmail.com
#+DATE:      2012-02-29 Wed
#+DESCRIPTION:
#+KEYWORDS:
#+LANGUAGE:  en
#+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:dvipng skip:nil d:t todo:t pri:nil tags:t

#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:   
#+LINK_HOME: 
#+XSLT:



* First Headline

* Second Headline

  This is what ODT exporter does right now - [[First%20Headline][First Headline]].This is
  what I want instead - .

  reply	other threads:[~2012-02-29 17:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-29 14:10 Is it possible to refer to section numbers in links? Martin Gürtler
2012-02-29 17:56 ` Jambunathan K [this message]
2012-02-29 20:17   ` Martin Gürtler
2012-02-29 20:28     ` Nicolas Goaziou

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=81boohr0a8.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=martin.guertler@gmx.de \
    /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).