From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: [BUG] HTML Export/Broken coderef links? Date: Tue, 12 Apr 2011 17:31:54 +0530 Message-ID: <81fwpnfzkd.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9cII-0006Rh-GC for emacs-orgmode@gnu.org; Tue, 12 Apr 2011 08:02:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9cID-0004GY-CE for emacs-orgmode@gnu.org; Tue, 12 Apr 2011 08:02:06 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:44680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9cID-0004GJ-5o for emacs-orgmode@gnu.org; Tue, 12 Apr 2011 08:02:01 -0400 Received: by iyh42 with SMTP id 42so1207693iyh.0 for ; Tue, 12 Apr 2011 05:02:00 -0700 (PDT) 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 On HTML export, I am unable to follow references to lines within the code examples. Firefox complains with the following message: "Firefox doesn't know how to open this address; because the protocol(coderef) isn't associated with any program." --8<---------------cut here---------------start------------->8--- **** Advanced Example Blocks #+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--- --8<---------------cut here---------------start------------->8--- #+begin_src html
1.1.1.1 Advanced Example Blocks
1:  (save-excursion
    2:     (goto-char (point-min))
    

In line 1 we remember the current position. Line 2 jumps to point-min.

#+end_src --8<---------------cut here---------------end--------------->8--- Jambunathan K. --