From mboxrd@z Thu Jan 1 00:00:00 1970 From: Myles English Subject: [new exporter] what is the label syntax for LaTeX export? Date: Mon, 05 Nov 2012 22:05:31 +0000 Message-ID: <87fw4nyac4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVUyT-0001B9-FO for Emacs-orgmode@gnu.org; Mon, 05 Nov 2012 17:16:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVUyS-0008GA-MD for Emacs-orgmode@gnu.org; Mon, 05 Nov 2012 17:16:53 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:64516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVUnX-0005bw-BS for Emacs-orgmode@gnu.org; Mon, 05 Nov 2012 17:05:35 -0500 Received: by mail-we0-f169.google.com with SMTP id u3so3354594wey.0 for ; Mon, 05 Nov 2012 14:05:34 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs-orgmode Hi, If my org file has: #+CAPTION[Here is a table]: A nice table #+NAME: tab:niceone | a | Look at my \ref{tab:niceone}. then M-x org-export-dispatch l L gives me: \begin{table}[htb] \caption[Here is a table]{\label{tab-niceone}A nice table} \begin{center} \begin{tabular}{l} a\\ \end{tabular} \end{center} \end{table} Look at my \ref{tab:niceone}. So, the label tab:niceone exports as \label{tab-niceone}. Is that right or am I using the wrong syntax somewhere? Thanks, Myles