On Thu, Jan 21, 2016 at 4:20 AM, Nicolas Goaziou
wrote:
> That and the fact that one might introduce forbidden characters in the
> name (e.g., ask the user to know about forbidden characters in the
> target format). The generic names are pretty safe.
>
> Anyway, what about using special blocks to
Hello,
Adam Aviv writes:
> Interesting. I don't know if it is a bug, though, as this seems intentional
> and matches my experience. The idea being that if you want to label
> something, you use the :name tag, but this will make it so the second item
> is evaluated, producing a unique identifier.
On Mon, Jan 4, 2016 at 1:29 PM, Nick Dokos wrote:
> It may be a bug: the code (in org-html-src-block) looks like this
>
> (label (let ((lbl (and (org-element-property :name src-block)
> (org-export-get-reference src-block
> info
>
Adam Aviv writes:
> Hi all,
>
> I've been using org-mode for some time to manage a course website, and I
> developed a hack for source
> blocking where if I use the +NAME tag for source doe like so:
>
> #+NAME: helloworld.cpp
> #+BEGIN_SRC c++ -r
> #include (ref:include)
>
> using namespace std
Hi all,
I've been using org-mode for some time to manage a course website, and I
developed a hack for source blocking where if I use the +NAME tag for
source doe like so:
#+NAME: helloworld.cpp
#+BEGIN_SRC c++ -r
#include (ref:include)
using namespace std; (ref:namespace)
// Hello World in C++