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

2014-01-29 Thread Nicolas Goaziou
Hello, Eric Schulte schulte.e...@gmail.com writes: Nicolas Goaziou n.goaz...@gmail.com 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

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

2014-01-28 Thread Jambunathan K
Nicolas Code snippets are not getting numbered... Also take a look at `org-export-resolve-coderef'. The below example is from (info (org) Literal examples) --8---cut here---start-8--- #+BEGIN_SRC emacs-lisp -n -r (save-excursion (ref:sc)

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

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

2014-01-28 Thread Nicolas Goaziou
Hello, Jambunathan K kjambunat...@gmail.com 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

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

2014-01-28 Thread Eric Schulte
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Jambunathan K kjambunat...@gmail.com 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