all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug] Code snippets are not getting numbered
@ 2014-01-28  9:37 Jambunathan K
  2014-01-28 20:22 ` John Kitchin
  2014-01-28 21:11 ` Nicolas Goaziou
  0 siblings, 2 replies; 5+ messages in thread
From: Jambunathan K @ 2014-01-28  9:37 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Nicolas Goaziou


Nicolas

Code snippets are not getting numbered... Also take a look at
`org-export-resolve-coderef'.

The below example is from (info "(org) Literal examples")

--8<---------------cut here---------------start------------->8---
#+BEGIN_SRC emacs-lisp -n -r
(save-excursion                  (ref:sc)
   (goto-char (point-min))       (ref:jump)
#+END_SRC

In line [[(sc)]] we remember the current position.  [[(jump)][Line (jump)]]
jumps to point-min.
--8<---------------cut here---------------end--------------->8---

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

end of thread, other threads:[~2014-01-29  8:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-28  9:37 [bug] Code snippets are not getting numbered Jambunathan K
2014-01-28 20:22 ` John Kitchin
2014-01-28 21:11 ` Nicolas Goaziou
2014-01-28 21:24   ` Eric Schulte
2014-01-29  8:08     ` Nicolas Goaziou

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.