[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Name of code pieces when exported to PDF
From: |
claude fuhrer |
Subject: |
Re: [O] Name of code pieces when exported to PDF |
Date: |
Mon, 26 Sep 2016 18:48:34 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
Hi Nicolas
On 26/09/16 17:34, Nicolas Goaziou wrote:
Hello,
claude fuhrer <address@hidden> 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,