[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [new exporter] Captions for tables made by source blocks
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [new exporter] Captions for tables made by source blocks |
Date: |
Wed, 06 Mar 2013 13:28:11 +0100 |
Vikas Rawal <address@hidden> writes:
>> CAPTION keyword above a source block applies to the source block only.
>> If the source block generates a table, you have to put a CAPTION above
>> it, as it will not inherit the caption of the source block.
>>
>> It also implies that you need to name the results. Otherwise, source
>> block will not recognize its own production, due to the CAPTION keyword
>> above it.
>>
>
> Thank you once again Nicolas.
>
> I understand from this that the variable org-babel-results-keyword has
> to be changed to NAME. I did this and it works.
>
> Is there a way that this could be file-specific?
I wasn't clear. By "naming the results", I mean that you must provide
your source block a "#+NAME: something" attribute, so the generated
table gets a "#+RESULTS: something" attribute.
BTW, you mustn't change `org-babel-results-keyword'. I don't even know
why this is a defcustom and why it is allowed to turn it into "NAME".
RESULTS refers to the name of the src-block which produced the current
element, whereas NAME refers to the name of the current element. Their
purpose is completely different.
Cc'ing Eric Schulte about it.
Regards,
--
Nicolas Goaziou
- [O] [new exporter] Captions for tables made by source blocks, Vikas Rawal, 2013/03/06
- Re: [O] [new exporter] Captions for tables made by source blocks, Nicolas Goaziou, 2013/03/06
- Re: [O] [new exporter] Captions for tables made by source blocks, Vikas Rawal, 2013/03/06
- Re: [O] [new exporter] Captions for tables made by source blocks, Mike McLean, 2013/03/06
- Re: [O] [new exporter] Captions for tables made by source blocks, Nicolas Goaziou, 2013/03/07
- Re: [O] [new exporter] Captions for tables made by source blocks, Vikas Rawal, 2013/03/07
- Re: [O] [new exporter] Captions for tables made by source blocks, Nicolas Goaziou, 2013/03/07
- Re: [O] [new exporter] Captions for tables made by source blocks, Vikas Rawal, 2013/03/07
- Re: [O] [new exporter] Captions for tables made by source blocks, Eric S Fraga, 2013/03/07
- Re: [O] [new exporter] Captions for tables made by source blocks, Vikas Rawal, 2013/03/07
- Re: [O] [new exporter] Captions for tables made by source blocks, Nicolas Goaziou, 2013/03/07