I'm using the listings package and org-version 7.4 to generate latex/pdf output including source snippets. I'd like to add captions: "Figure 1: My code" and tried with the following to no avail:
#+caption: My code
#+begin_src clojure
;; stuff
#+end_src
Do I have to wrap this in \begin{figure}\caption{} or is there a simpler
way?
--
Giles Chamberlin
Engineering Director
Cisco Systems Ltd
