Re: [O] question about org-coderef-label-format and HTML export

2016-12-07 Thread Nicolas Goaziou
Hello, D M German 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: > >

Re: [O] question about org-coderef-label-format and HTML export

2016-12-07 Thread D M German
Nicolas Goaziou twisted the bytes to say: Nicolas> Hello, Nicolas> dmg writes: >> I was playing with org-coderef-label-format to reference lines of code >> in blocks. >> >> I created a small example that overrides the default value: >> >> #+BEGIN_SRC C++

Re: [O] question about org-coderef-label-format and HTML export

2016-12-06 Thread Nicolas Goaziou
Hello, dmg writes: > I was playing with org-coderef-label-format to reference lines of code > in blocks. > > I created a small example that overrides the default value: > > #+BEGIN_SRC C++ :main no :flags -std=c++14 -Wall --pedantic -Werror > :results output :exports

[O] question about org-coderef-label-format and HTML export

2016-12-05 Thread dmg
hi everybody, I was playing with org-coderef-label-format to reference lines of code in blocks. I created a small example that overrides the default value: #+BEGIN_SRC C++ :main no :flags -std=c++14 -Wall --pedantic -Werror :results output :exports both -r -l "//(ref:%s)" +n #include int