Hello Achim,
Achim Gratz wrote:
Nicolas Goaziou writes:
It's very easy to have a caption on the generated output: name the code.
Hence, the following code block:
#+NAME: calculation
#+BEGIN_SRC emacs-lisp
(+ 1 1)
#+END_SRC
will produce:
#+RESULTS: calculation
2
If you
Hello,
Mike McLean mike.mcl...@pobox.com writes:
On Wed, Mar 6, 2013 at 7:28 AM, Nicolas Goaziou n.goaz...@gmail.com wrote:
Vikas Rawal vikasli...@agrarianresearch.org writes:
CAPTION keyword above a source block applies to the source block only.
If the source block generates a table,
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.
There is something strange happening. Cross-references to captions of
tables that are produced thus get
Vikas Rawal vikasli...@agrarianresearch.org writes:
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.
There is something strange happening. Cross-references to
Could you provide an ECM?
See the attached dummy file.
Vikas
#+STARTUP: hidestars
#+TITLE: Title of the paper
#+DATE:
#+AUTHOR: name of author
#+COLUMNS: %25ITEM %TAGS %PRIORITY %T
#+property: exports results
#+property: session fbi
#+OPTIONS: H:2 toc:nil num:1
#+LaTeX_CLASS: article
*
Could you provide an ECM?
Please see the attached file.
Vikas
#+STARTUP: hidestars
#+TITLE: Title of the paper
#+DATE:
#+AUTHOR: name of author
#+COLUMNS: %25ITEM %TAGS %PRIORITY %T
#+property: exports results
#+property: session fbi
#+OPTIONS: H:2 toc:nil num:1
#+LaTeX_CLASS: article
*
Vikas Rawal vikasli...@agrarianresearch.org writes:
Could you provide an ECM?
I have always used something along these lines
#+label: crop-median
just before the table to define the target. This works for your ECM.
--
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.3.50.1 and Org
Nicolas Goaziou writes:
For the same reason, caption here applies to the dynamic block, not to
its contents.
This seems to be a common enough mistake and it is currently impossible
to put captions and other arguments on results blocks save with yet
another source block that produces the correct
Vikas Rawal vikasli...@agrarianresearch.org writes:
Could you provide an ECM?
Please see the attached file.
I cannot reproduce it, i.e. I get \ref{crop-median} in the output.
Regards,
--
Nicolas Goaziou
Hello,
Achim Gratz strom...@nexgo.de writes:
Nicolas Goaziou writes:
For the same reason, caption here applies to the dynamic block, not to
its contents.
This seems to be a common enough mistake and it is currently impossible
to put captions and other arguments on results blocks save with
Nicolas Goaziou writes:
It's very easy to have a caption on the generated output: name the code.
Hence, the following code block:
#+NAME: calculation
#+BEGIN_SRC emacs-lisp
(+ 1 1)
#+END_SRC
will produce:
#+RESULTS: calculation
2
If you add a caption to the results, like:
Could you provide an ECM?
Please see the attached file.
I cannot reproduce it, i.e. I get \ref{crop-median} in the output.
This is odd!! Please see the .tex file attached with this mail. This
is what I get. Any idea, how do I debug this?
Vikas
Could you provide an ECM?
Please see the attached file.
I cannot reproduce it, i.e. I get \ref{crop-median} in the output.
Regards,
For me, it works if I change the value of org-babel-results-keyword
to NAME. Then the results block is produced with #+NAME: crop-median
The
There has been some change in the behaviour of #+CAPTION in case of
tables made by source blocks. In the old exporter, #+CAPTION just
before #+BEGIN_SRC was sufficient to place the caption before the
table when the file was exported.
The new exporter does not produce captions the same way.
When
Hello,
Vikas Rawal vikasli...@agrarianresearch.org writes:
There has been some change in the behaviour of #+CAPTION in case of
tables made by source blocks. In the old exporter, #+CAPTION just
before #+BEGIN_SRC was sufficient to place the caption before the
table when the file was exported.
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
Vikas Rawal vikasli...@agrarianresearch.org 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
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.
Got it. Thanks.
BTW, you mustn't change `org-babel-results-keyword'. I don't even know
why this is a
Vikas Rawal vikasli...@agrarianresearch.org writes:
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.
Got it. Thanks.
BTW, you mustn't change
On Wed, Mar 6, 2013 at 7:28 AM, Nicolas Goaziou n.goaz...@gmail.com wrote:
Vikas Rawal vikasli...@agrarianresearch.org 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
20 matches
Mail list logo