emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] bug exporting code blocks to html


From: Eric Schulte
Subject: Re: [Orgmode] bug exporting code blocks to html
Date: Mon, 22 Mar 2010 12:40:23 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux)

Hi Martin,

This appears to be a bug in org-mode at large, rather than anything
specifically babel related.

notice that the following slight alteration of your new reference syntax
works as expected

#+begin_src xml -n -r -l "ref:%s"
<test>
  <important/> ref:imp
</test>
#+end_src

Line no. [[(imp)]] is important!

Best -- Eric

"Martin G. Skjæveland" <address@hidden> writes:

> Hi,
>
> when I export
>
> -----------------------------------start
> * test
> #+begin_src xml -n -r -l "<!--(ref:%s)-->"
> <test>
>   <important/> <!--(ref:imp)-->
> </test>
> #+end_src
>
> Line no. [[(imp)]] is important!
> -----------------------------------end
>
> to html I get (copying from my browser)
>
> -----------------------------------start
> 1 test
>
> 1:  <test>
> 2:    <important/> <!--(ref:imp)-->
> 3:  </test>
>
> Line no. nil is important!
> -----------------------------------end
>
> I would like "<!--(ref:imp)-->" in line 2 of the block to be removed
> from output and the last line to read "Line no. 2 is important!".
>
> Thanks!
>
> Martin
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode




reply via email to

[Prev in Thread] Current Thread [Next in Thread]