emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Maybe a typo in the manual?
@ 2012-01-11 16:29 François Pinard
  2012-01-11 16:39 ` Thomas S. Dye
  0 siblings, 1 reply; 2+ messages in thread
From: François Pinard @ 2012-01-11 16:29 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Maybe a typo in the manual?
  2012-01-11 16:29 Maybe a typo in the manual? François Pinard
@ 2012-01-11 16:39 ` Thomas S. Dye
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas S. Dye @ 2012-01-11 16:39 UTC (permalink / raw)
  To: François Pinard; +Cc: emacs-orgmode

pinard@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-11 16:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-11 16:29 Maybe a typo in the manual? François Pinard
2012-01-11 16:39 ` Thomas S. Dye

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