Re: [O] empty default captions for src blocks

2014-04-17 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > Well, not really. But it looks like a bug on the "listings" side, not > the Org one. If we add a workaround in Org core, it may stay here > forever, even after the bug is fixed upstream. I think the OP should > first ask "listings" maintainer about it. Domi

Re: [O] empty default captions for src blocks

2014-04-17 Thread Nicolas Goaziou
Hello, Bastien writes: > Bug confirmed and fixed in maint, with a dummy fix: > > Nicolas, do you see another way around this? Well, not really. But it looks like a bug on the "listings" side, not the Org one. If we add a workaround in Org core, it may stay here forever, even after the bug is fi

Re: [O] empty default captions for src blocks

2014-04-17 Thread Bastien
Hi Dominik, Dominik Ernst writes: > I have a small question, I hope it is right here. It is! > #+BEGIN_SRC > vmpovapd %%zmm0, %zmm1 > #+END_SRC (Btw, you need a language after BEGIN_SRC ...) > which results in the rendered pdf as two listings with the same caption, Bug confirmed and fixed

Re: [O] empty default captions for src blocks

2014-04-15 Thread Dominik Ernst
By the way, the same applies to labels. I had hoped, that moving the options from lstset into [] brackets in front of the region would make it be valid for that element only, but it did nothing.

[O] empty default captions for src blocks

2014-04-14 Thread Dominik Ernst
Hallo, I have a small question, I hope it is right here. The following org code: #+CAPTION: caption of block 1 #+BEGIN_SRC vmpovapd %%zmm0, %zmm1 #+END_SRC #+BEGIN_SRC vmpovapd %%zmm0, %zmm1 #+END_SRC is exported (in my setup) to latex as: \lstset{language=phiassembler,caption={caption of bl