From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: [bug] Code snippets are not getting numbered Date: Tue, 28 Jan 2014 15:07:30 +0530 Message-ID: <87iot48n1h.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W853z-0004Tq-0B for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 04:34:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W853p-0007ey-7r for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 04:34:34 -0500 Received: from plane.gmane.org ([80.91.229.3]:45103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W853p-0007eu-1o for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 04:34:25 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W853j-0001wt-Jz for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 10:34:19 +0100 Received: from 101.63.220.74 ([101.63.220.74]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Jan 2014 10:34:19 +0100 Received: from kjambunathan by 101.63.220.74 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Jan 2014 10:34:19 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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---