emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: emacs-orgmode@gnu.org
Subject: Re: (1) global cycling for numbered lists? (2) adaptive links to list item numbers?
Date: Fri, 5 Jun 2015 08:18:37 +0100	[thread overview]
Message-ID: <87oakulj1u.fsf@delle7240.chemeng.ucl.ac.uk> (raw)
In-Reply-To: loom.20150604T174912-48@post.gmane.org

On Thursday,  4 Jun 2015 at 16:06, Ulva wrote:

[...]

> (2) Taking a cue from Insert>Cross-Reference in LibreOffice, suppose I would
> like to refer in section (say) 4.1.1 to section 2.1. Something like "As
> mentioned in 2.1, frogs are often green". But I would like this "2.1"
> reference to update automatically if later the 2.1 content ends up somewhere
> else in the document. E.g. if a first-level section is added at the top of
> the list and everything else shifts, 4.1.1 becomes 5.1.1 and should update
> to "As mentioned in 3.1, frogs are often green". Is this possible in
> emacs/org-mode?

Use internal targets and link to them:

[[info:org#Internal%20links][info:org#Internal links]]

Basically, the following should work:
#+begin_src org
  ,* test
  <<section-test>>
  Some introductory text
  ,* more stuff
  In this section, we summarise what we saw in [[section-test]].
#+end_src

HTH,
eric
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-1195-g1a7364

      parent reply	other threads:[~2015-06-05  8:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-04 16:06 (1) global cycling for numbered lists? (2) adaptive links to list item numbers? Ulva
2015-06-05  7:10 ` Nicolas Goaziou
2015-06-05  7:18 ` Eric S Fraga [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=87oakulj1u.fsf@delle7240.chemeng.ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --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).