emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] exporting cross-references to source block results


From: Christian Moe
Subject: Re: [O] exporting cross-references to source block results
Date: Thu, 11 Apr 2013 11:42:00 +0200
User-agent: mu4e 0.9.9.5-dev6; emacs 24.3.1

Hi,

I confirm the same behavior, in ODT and HTML, and think it's a
bug. Additional info:

Vikas Rawal didn't say if he also added a `#+NAME: foo' line above the
generated table. I expected that to solve it, so I tried. This did give
the table an `id="foo"' attribute on HTML export for a cross-reference
to target. However, the cross-reference still behaved the same way.

Yours,
Christian

Vikas Rawal writes:

> I had raised this on the mailing list earlier but my problem has not
> been resolved. I shall be grateful if somebody could help debug.
>
> My org-version is: 
>
> Org-mode version 8.0-pre(release_8.0-pre-247-gbc3ccd @ 
> /home/vikas/lisp/org-mode/lisp/)
>
> When I have a named source block (say crop_median), I get named
> results in a table with #+RESULTS: crop_median at the top of it. I
> then add a #+CAPTION to it.
>
> Then I cross-refer to crop_median using [[crop_median]] elsewhere in
> the file. When I export this to latex, the tex file shows that this
> cross-reference is convered to \texttt{crop_median} rather than to
> \ref(crop_median}.
>
> The pdf file, accordingly, says crop_median where it should say the
> table number.
>
> On the other hand, a named table which is directly entered with
> "#+NAME: crop_median" and is not result of a source block is
> cross-referred correctly.
>
> The same behaviour is seen when I export to odt. That is, the
> cross-references to tables having #+RESULTS show up literally (as
> crop_median etc) while cross-references to tables named using #+NAME
> show up correctly.
>
> Could somebody help debug. Is there something in the setup I need to
> specify how to export cross-references?
>
> Vikas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]