emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] (1) global cycling for numbered lists? (2) adaptive links to lis


From: Eric S Fraga
Subject: Re: [O] (1) global cycling for numbered lists? (2) adaptive links to list item numbers?
Date: Fri, 5 Jun 2015 08:18:37 +0100
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.4 (gnu/linux)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]