On 2014-06-23 17:43 Thorsten Jolitz wrote: > Alexander Baier <alexander.ba...@mailbox.org> writes: > >> Hello org-moders! >> >> I just tried to put a caption under/on/above (or anywhere for that >> matter) my source code block. When exporting to latex, I didn't see any >> caption belonging to my code block. Other backends have not been >> tried. How can I achieve this? >> >> For reference, I run Org-mode version 8.2.6 (release_8.2.6 @ >> /home/delexi/.emacs.d/ext/org-mode/lisp/) and this is the org file: >> >> * Test >> #+CAPTION: Test >> #BEGIN_SRC java >> // some code >> #END_SRC > > shouldn't that be > > ,---- > | #+NAME: Test > `---- > > instead of > > ,---- > | #+CAPTION: Test > `---- > > ?
This does not work for me - I still see no caption or a similar thing in the vicinity of my code block. Does "#+NAME" work for you? Regards, -- Alexander Baier