[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [BUG] HTML Export/Broken coderef links?
From: |
Jambunathan K |
Subject: |
[O] [BUG] HTML Export/Broken coderef links? |
Date: |
Tue, 12 Apr 2011 17:31:54 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) |
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.
--
- [O] [BUG] HTML Export/Broken coderef links?,
Jambunathan K <=