emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Martin Gürtler" <martin.guertler@gmx.de>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Is it possible to refer to section numbers in links?
Date: Wed, 29 Feb 2012 21:17:24 +0100	[thread overview]
Message-ID: <1330546644.13890.22.camel@basil> (raw)
In-Reply-To: <81boohr0a8.fsf@gmail.com>

Am Mittwoch, den 29.02.2012, 23:26 +0530 schrieb Jambunathan K:
> 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.
Yes. I think of 

As explained in Sec. [[*some_chapter]] it is highly desirable to be able
to refer to section numbers.

resulting in

As explained in Sec. 2.1.3. it is highly desirable to be able to refer
to section numbers.
 
Probably we need some option that tells the exporter to export section
numbers for description-less links referring to org-mode headlines.
I could also imagine  the word "Sec." to trigger the insertion of a
section number, but then the thing becomes language dependent.

Thanks,

Martin 

  reply	other threads:[~2012-02-29 20:17 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
2012-02-29 20:17   ` Martin Gürtler [this message]
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=1330546644.13890.22.camel@basil \
    --to=martin.guertler@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=kjambunathan@gmail.com \
    /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).