Hi Nicolas

On 26/09/16 17:34, Nicolas Goaziou wrote:
Hello,

claude fuhrer <cla...@fuhrer.ch> writes:

[...]
It should be

   #+name: MainClass
   #+begin_src ...

i.e, with dots and no blank line in-between.

Thank you for your quick answer, but I do not really understand how to use it. I've corrected the syntax as you mentioned and shows what is the generated latex code. The export process gives then:



\lstset{language=java,label=secondBlock,caption= ,captionpos=b,numbers=none}
\begin{lstlisting}
.....
\end{lstlisting}

But I wanted to have the "caption" filled with the same value as the label. Is it possible ?

Thank you once again for your help.

regards
claude



Regards,



Reply via email to