From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacob Gerlach Subject: [BUG?] Blank line required between text and short caption Date: Mon, 27 Apr 2015 14:29:18 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmnmS-0000wx-Cl for emacs-orgmode@gnu.org; Mon, 27 Apr 2015 14:29:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmnmR-0005Rn-HY for emacs-orgmode@gnu.org; Mon, 27 Apr 2015 14:29:20 -0400 Received: from mail-ie0-x22f.google.com ([2607:f8b0:4001:c03::22f]:36321) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmnmR-0005RZ-C3 for emacs-orgmode@gnu.org; Mon, 27 Apr 2015 14:29:19 -0400 Received: by iebrs15 with SMTP id rs15so752104ieb.3 for ; Mon, 27 Apr 2015 11:29:18 -0700 (PDT) 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: Org-mode Hello, Is it required by org syntax to separate short captions from body text? In the following example: ------------------------------------ * ECM Some text that introduces this table. #+CAPTION[Short caption]: #+CAPTION: Longer caption | Foo | ------------------------------------ Latex export gives: ------------------------------------ ... Some text that introduces this table. \#+CAPTION[Short caption]: \begin{table}[htb] \caption{Longer caption} ... ------------------------------------ Adding an empty line between the text and short caption produces the expected results: ------------------------------------ * ECM Some text that introduces this table. #+CAPTION[Short caption]: #+CAPTION: Longer caption | Foo | ------------------------------------ ... Some text that introduces this table. \begin{table}[htb] \caption[Short caption]{Longer caption} ... ------------------------------------ A regular (i.e. non-short) caption works regardless of the empty line: ------------------------------------ * ECM Some text that introduces this table. #+CAPTION: A caption | Foo | ------------------------------------ Some text that introduces this table. \begin{table}[htb] \caption{A caption} ------------------------------------ Regards, Jake