emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Source blocks with captions


From: Thorsten Jolitz
Subject: Re: [O] Source blocks with captions
Date: Mon, 23 Jun 2014 17:43:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Alexander Baier <address@hidden> 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
`----

?

-- 
cheers,
Thorsten




reply via email to

[Prev in Thread] Current Thread [Next in Thread]