emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* References in Org mode
@ 2014-01-19 18:12 Marcin Borkowski
  2014-01-19 19:37 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Marcin Borkowski @ 2014-01-19 18:12 UTC (permalink / raw)
  To: Org-mode mailing list

Hi list,

In LaTeX, I can reference quite a lot of things using the \label/\ref
mechanism.  Is there anything like this in Org?  Grepping the docs for
"reference" didn't help.

In particular, I'd like to be able to reference to some item on a
numbered list without hardcoding the number.  Is that possible? (Of
course, I accept that the reference might be rendered only after
exporting to LaTeX or HTML, for instance.)

TIA,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: References in Org mode
  2014-01-19 18:12 References in Org mode Marcin Borkowski
@ 2014-01-19 19:37 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2014-01-19 19:37 UTC (permalink / raw)
  To: Marcin Borkowski; +Cc: Org-mode mailing list

Hello,

Marcin Borkowski <mbork@wmi.amu.edu.pl> writes:

> In LaTeX, I can reference quite a lot of things using the \label/\ref
> mechanism.  Is there anything like this in Org?  Grepping the docs for
> "reference" didn't help.
>
> In particular, I'd like to be able to reference to some item on a
> numbered list without hardcoding the number.  Is that possible? (Of
> course, I accept that the reference might be rendered only after
> exporting to LaTeX or HTML, for instance.)

This is done with <<foo>> and [[foo]] syntax:

     1. one item
     2. <<target>>another item
     Here we refer to item [[target]].

For more information, see (info "(org) Internal links").


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-19 19:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-19 18:12 References in Org mode Marcin Borkowski
2014-01-19 19:37 ` Nicolas Goaziou

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).