From: Jambunathan K <kjambunathan@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] HTML Export/Broken coderef links?
Date: Tue, 12 Apr 2011 17:31:54 +0530 [thread overview]
Message-ID: <81fwpnfzkd.fsf@gmail.com> (raw)
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
<div id="outline-container-1_1_1_1" class="outline-5">
<h5 id="sec-1_1_1_1"><span class="section-number-5">1.1.1.1</span> Advanced Example Blocks </h5>
<div id="text-1_1_1_1" class="outline-text-5">
<pre class="example"><span id="coderef-sc" class="coderef-off"><span class="linenr">1: </span>(save-excursion</span>
<span id="coderef-jump" class="coderef-off"><span class="linenr">2: </span> (goto-char (point-min))</span>
</pre>
<p>
In line <a href="coderef:"class="coderef" onmouseover="CodeHighlightOn(this, 'coderef-sc');" onmouseout="CodeHighlightOff(this, 'coderef-sc');">1</a> we remember the current position. <a href="coderef:"class="coderef" onmouseover="CodeHighlightOn(this, 'coderef-jump');" onmouseout="CodeHighlightOff(this, 'coderef-jump');">Line 2</a> jumps
to point-min.
</p>
</div>
</div>
#+end_src
--8<---------------cut here---------------end--------------->8---
Jambunathan K.
--
next reply other threads:[~2011-04-12 12:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-12 12:01 Jambunathan K [this message]
2011-04-12 13:18 ` [PATCH] * org-html.el (org-html-make-link): correct a bug in coderef link Manuel Giraud
2011-04-12 18:58 ` Jambunathan K
2011-04-15 11:58 ` [Accepted] " Carsten Dominik
2011-04-13 9:20 ` [BUG] HTML Export/Broken coderef links? Aankhen
2011-04-13 9:23 ` Aankhen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=81fwpnfzkd.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).