emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vikas Rawal <vikaslists@agrarianresearch.org>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: label and ref in latex export
Date: Thu, 11 Oct 2012 10:21:32 +0900	[thread overview]
Message-ID: <20121011012131.GA20544@panahar> (raw)

The following has been taken from my org file.


#+CAPTION: Average output, cost and net income per acre, by area, (2005-06 prices)
#+LABEL: tab:avprofit
#+ATTR_LATEX: table * tabulary width=\textwidth align=l|RRRR
#+BEGIN_SRC R :results value raw :colnames yes :hline yes
  names(a1)<-c("Area","output","Cost","Net income")

\ref{tab:avprofit} shows that the average levels of are highest in
Area 7.


When I export it to latex/pdf, \ref{tab:avprofit} is just shown as ??.
What am I not doing correctly? 

Also, is it okay if the text where the table is referenced comes
before the table (and therefore its label) itself?


             reply	other threads:[~2012-10-11  1:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-11  1:21 Vikas Rawal [this message]
2012-10-11  3:04 ` Thomas S. Dye
2012-10-11  3:53   ` Vikas Rawal
2012-10-11  7:15     ` Thomas S. Dye
2012-10-11  8:34       ` Vikas Rawal
  -- strict thread matches above, loose matches on Subject: below --
2009-01-19 19:26 Manish
2009-01-19 20:47 ` Carsten Dominik
2009-01-20  2:30   ` Manish

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:

  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=20121011012131.GA20544@panahar \
    --to=vikaslists@agrarianresearch.org \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: label and ref in latex export' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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).