From: Vikas Rawal <vikaslists@agrarianresearch.org>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: exporting cross-references to source block results
Date: Thu, 11 Apr 2013 14:16:34 +0530 [thread overview]
Message-ID: <20130411084634.GA10767@panahar> (raw)
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
next reply other threads:[~2013-04-11 8:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-11 8:46 Vikas Rawal [this message]
2013-04-11 9:42 ` exporting cross-references to source block results Christian Moe
2013-04-11 9:57 ` Vikas Rawal
2013-04-11 10:37 ` exporting cross-references to source block results CORRECTION Christian Moe
2013-04-11 10:46 ` Vikas Rawal
2013-04-11 11:31 ` Christian Moe
2013-04-11 12:00 ` Nicolas Goaziou
2013-04-11 12:18 ` Vikas Rawal
2013-04-11 14:30 ` Nicolas Goaziou
2013-04-11 15:24 ` Vikas Rawal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130411084634.GA10767@panahar \
--to=vikaslists@agrarianresearch.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).