On 2016-09-26 17:32, Nick Dokos wrote:
>> #+caption: MainClass
>> #+name: MainClass
>>
>> #+begin_src ...
> That seems indeed to be necessary (at least in a few experiments that
> I've run), but it's less than ideal (duplication of information).
In this peculiar case, yes. But, at least fo
John Kitchin writes:
> It is #+label that is deprecated in favor of #+name.
>
Ah, thanks!
> On Monday, September 26, 2016, Nick Dokos wrote:
>
> ...
> I was under the impression that #+CAPTION is deprecated and #+NAME is
> to be used in its place going forward. If that's the ca
It is #+label that is deprecated in favor of #+name.
On Monday, September 26, 2016, Nick Dokos > wrote:
> Sebastian Christ writes:
>
> > On 2016-09-26 18:48, claude fuhrer wrote:
> > > \lstset{language=java,label=secondBlock,caption=
> ,captionpos=b,numbers=none}
> > > \begin{lstlisting}
> >
Sebastian Christ writes:
> On 2016-09-26 18:48, claude fuhrer wrote:
> > \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
> >
On 2016-09-26 18:48, claude fuhrer wrote:
> \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 ?
>
Yes, use caption!
Hi Nicolas
On 26/09/16 17:34, Nicolas Goaziou wrote:
Hello,
claude fuhrer 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 s
Hello,
claude fuhrer writes:
> To explain a small program, I've broken it down into small pieces. My
> org file looks something like
>
> # =
> #+NAME MainClass
>
> #+BEGIN_SRC java :noweb tangle :tangle Test.java
> public cl
Hello
To explain a small program, I've broken it down into small pieces. My
org file looks something like
# =
#+NAME MainClass
#+BEGIN_SRC java :noweb tangle :tangle Test.java
public class Test
{
<>
<>
}
#+END_SRC
som