Re: [O] [bug] Code snippets are not getting numbered

2014-01-29 Thread Nicolas Goaziou
Hello, Eric Schulte writes: > Nicolas Goaziou writes: > >> IIUC, there are two "flags" types in `org-babel-exp-code'. One is >> the :flags parameter and the other one are the switches of the source >> block. Unfortunately, you can have only one at a time since they are >> stored in an alist (th

Re: [O] [bug] Code snippets are not getting numbered

2014-01-28 Thread Eric Schulte
Nicolas Goaziou writes: > Hello, > > Jambunathan K writes: > >> Code snippets are not getting numbered... Also take a look at >> `org-export-resolve-coderef'. >> >> The below example is from (info "(org) Literal examples") >> >> #+BEGIN_SRC emacs-lisp -n -r >> (save-excursion (r

Re: [O] [bug] Code snippets are not getting numbered

2014-01-28 Thread Nicolas Goaziou
Hello, Jambunathan K writes: > Code snippets are not getting numbered... Also take a look at > `org-export-resolve-coderef'. > > The below example is from (info "(org) Literal examples") > > #+BEGIN_SRC emacs-lisp -n -r > (save-excursion (ref:sc) >(goto-char (point-min))

Re: [O] [bug] Code snippets are not getting numbered

2014-01-28 Thread John Kitchin
Sorry if this has been sent more than once. I was trying to reply from gnus, and it isn't clear that happened. The code block in that example is also missing a closing parenthesis. this post reminded me of this cool feature of source blocks, so I tried it out. The code block itself does not seem