[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] question about org-coderef-label-format and HTML export
From: |
Nicolas Goaziou |
Subject: |
Re: [O] question about org-coderef-label-format and HTML export |
Date: |
Wed, 07 Dec 2016 23:15:34 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hello,
D M German <address@hidden> writes:
> I think I found a bug. It works in some cases but not in others:
>
> the following code properly defines the references abc and bfc. But it
> does not define the one for (ref:jump). Here is a link to the exported
> HTML file:
>
> http://turingmachine.org/~dmg/temp/ref-test.html
> http://turingmachine.org/~dmg/temp/ref-test.org
>
> #+BEGIN_SRC C++ -r -l "//(ref:%s)" +n :main no :results output :exports both
> #include <iostream>
> int main()
> { //(ref:abc)
> std::cout << "Hello world" << std::endl;
> std::cout << "Hello world 2" << std::endl;
> //(ref:jump)
> return 0; //(ref:bcf)
> }
> #+END_SRC
Fixed. Thank you.
Regards,
--
Nicolas Goaziou