[O] Maybe a typo in the manual?

2012-01-11 Thread François Pinard
Hi, Org people.

I'm not familiar with referencing in documents, so I'm not sure.  The
section 11.2 Images and Tables in the manual says:


You can use the following lines somewhere before the table to assign a
caption and a label for cross references, and in the text you can refer
to the object with `\ref{tab:basic-data}':

 #+CAPTION: This is the caption for the next table (or link)
 #+LABEL:   tbl:basic-data
| ... | ...|

\ref says tab:, while #+LABEL says tbl:.  Is that a typo?

I presume, without knowing, that these prefixes are conventional, and
they do not have a preset meaning.  I could have used zzz: if I felt
like it?

François



Re: [O] Maybe a typo in the manual?

2012-01-11 Thread Thomas S. Dye
pin...@iro.umontreal.ca (François Pinard) writes:

 Hi, Org people.

 I'm not familiar with referencing in documents, so I'm not sure.  The
 section 11.2 Images and Tables in the manual says:


 You can use the following lines somewhere before the table to assign a
 caption and a label for cross references, and in the text you can refer
 to the object with `\ref{tab:basic-data}':

  #+CAPTION: This is the caption for the next table (or link)
  #+LABEL:   tbl:basic-data
 | ... | ...|

 \ref says tab:, while #+LABEL says tbl:.  Is that a typo?

 I presume, without knowing, that these prefixes are conventional, and
 they do not have a preset meaning.  I could have used zzz: if I felt
 like it?

 François

Yes, you are correct.

Tom
-- 
Thomas S. Dye
http://www.tsdye.com